'1.0', 'info' => ['style' => 'RPC', 'product' => 'cr', 'version' => '2018-12-01'], 'directories' => [ [ 'children' => ['GetArtifactSubscriptionRule', 'ListArtifactSubscriptionRule'], 'type' => 'directory', 'title' => 'Artifact subscription management', ], [ 'children' => ['ListArtifactLifecycleRule', 'GetArtifactLifecycleRule'], 'type' => 'directory', 'title' => 'Artifact lifecycle management', ], [ 'children' => ['CreateStorageDomainRoutingRule', 'DeleteStorageDomainRoutingRule', 'GetStorageDomainRoutingRule', 'UpdateStorageDomainRoutingRule'], 'type' => 'directory', 'title' => 'Instance storage management', ], [ 'children' => ['GetInstance'], 'type' => 'directory', 'title' => 'Instance management', ], [ 'children' => ['GetInstanceVpcEndpoint'], 'type' => 'directory', 'title' => 'Instance access control management', ], [ 'children' => ['CreateRepoSyncTask', 'ListRepoSyncTask', 'ListRepoSyncRule'], 'type' => 'directory', 'title' => 'Instance synchronization management', ], [ 'children' => ['CreateNamespace', 'UpdateNamespace', 'GetNamespace', 'ListNamespace'], 'type' => 'directory', 'title' => 'Image namespace management', ], [ 'children' => ['UpdateRepository', 'ListRepository'], 'type' => 'directory', 'title' => 'Image repository management', ], [ 'children' => ['ListRepoTag', 'GetRepoTag'], 'type' => 'directory', 'title' => 'Image management', ], [ 'children' => ['CreateRepoTagScanTask', 'GetRepoTagScanStatus', 'GetRepoTagScanSummary'], 'type' => 'directory', 'title' => 'Image security management', ], [ 'children' => ['ListRepoBuildRule'], 'type' => 'directory', 'title' => 'Image build management', ], [ 'children' => ['GetAuthorizationToken'], 'type' => 'directory', 'title' => 'Access credential management', ], [ 'children' => ['GetArtifactBuildRule', 'GetArtifactBuildTask'], 'type' => 'directory', 'title' => 'Artifact build', ], [ 'children' => ['GetChain'], 'type' => 'directory', 'title' => 'Cloud native delivery chain management', ], [ 'children' => [ 'CreateScanRule', 'DeleteScanRule', 'ListScanRule', 'UpdateScanRule', 'GetScanRule', 'CancelArtifactBuildTask', 'CancelRepoBuildRecord', 'CancelRepoSyncTask', 'ChangeResourceGroup', 'CreateArtifactBuildRule', 'CreateArtifactLifecycleRule', 'CreateArtifactSubscriptionRule', 'CreateArtifactSubscriptionTask', 'CreateBuildRecordByRecord', 'CreateBuildRecordByRule', 'CreateChain', 'CreateChartNamespace', 'CreateChartRepository', 'CreateInstanceCustomizedDomain', 'CreateInstanceEndpointAclPolicy', 'CreateInstanceVpcEndpointLinkedVpc', 'CreateRepoBuildRule', 'CreateRepoSourceCodeRepo', 'CreateRepoSyncRule', 'CreateRepoSyncTaskByRule', 'CreateRepoTag', 'CreateRepoTrigger', 'CreateRepository', 'DeleteArtifactLifecycleRule', 'DeleteArtifactSubscriptionRule', 'DeleteChain', 'DeleteChartNamespace', 'DeleteChartRelease', 'DeleteChartRepository', 'DeleteEventCenterRule', 'DeleteInstanceCustomizedDomain', 'DeleteInstanceEndpointAclPolicy', 'DeleteInstanceVpcEndpointLinkedVpc', 'DeleteNamespace', 'DeleteRepoBuildRule', 'DeleteRepoSyncRule', 'DeleteRepoTag', 'DeleteRepoTrigger', 'DeleteRepository', 'GetArtifactSubscriptionTask', 'GetArtifactSubscriptionTaskResult', 'GetChartNamespace', 'GetChartRepository', 'GetInstanceCount', 'GetInstanceCustomizedDomain', 'GetInstanceEndpoint', 'GetInstanceUsage', 'GetRepoBuildRecord', 'GetRepoBuildRecordStatus', 'GetRepoSourceCodeRepo', 'GetRepoSyncTask', 'GetRepository', 'ListArtifactBuildTaskLog', 'ListArtifactSubscriptionTask', 'ListChain', 'ListChainInstance', 'ListChartNamespace', 'ListChartRelease', 'ListChartRepository', 'ListEventCenterRecord', 'ListEventCenterRuleName', 'ListInstance', 'ListInstanceEndpoint', 'ListInstanceRegion', 'ListRepoBuildRecord', 'ListRepoBuildRecordLog', 'ListRepoTagScanResult', 'ListRepoTrigger', 'ListScanBaselineByTask', 'ListScanMaliciousFileByTask', 'ListTagResources', 'ResetLoginPassword', 'TagResources', 'UntagResources', 'UpdateArtifactLifecycleRule', 'UpdateArtifactSubscriptionRule', 'UpdateChain', 'UpdateChartNamespace', 'UpdateChartRepository', 'UpdateEventCenterRule', 'UpdateInstanceCustomizedDomain', 'UpdateInstanceEndpointStatus', 'UpdateRepoBuildRule', 'UpdateRepoSourceCodeRepo', 'UpdateRepoTrigger', ], 'type' => 'directory', 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ 'AccessControlEntry' => [ 'type' => 'object', 'properties' => [ 'Entry' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'Comment' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'ArtifactLifecyclePolicy' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string'], 'Filter' => [ 'type' => 'object', 'properties' => [ 'TagWildcard' => ['type' => 'string'], ], ], 'Condition' => [ 'type' => 'object', 'properties' => [ 'LastPushOlderThanDays' => ['type' => 'integer', 'format' => 'int32'], 'LastPullOlderThanDays' => ['type' => 'integer', 'format' => 'int32'], 'LatestTagCount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], 'DiagnosisIssue' => [ 'title' => '', 'type' => 'object', 'properties' => [ 'Level' => [ 'title' => '', 'description' => 'Specifies the severity of the issue. Valid values are `INFO`, `WARN`, and `ERROR`.', 'type' => 'string', 'example' => 'INFO', 'enum' => ['INFO', 'WARN', 'FATAL'], ], 'Code' => ['title' => '', 'description' => 'A unique code that identifies the issue type.', 'type' => 'string', 'example' => 'RepoNumOverLimit'], 'FirstOccurrence' => ['title' => '', 'description' => 'The time, in ISO 8601 format, when the issue was first detected.', 'type' => 'string', 'example' => '2026-01-01T00:00:00+08:00', 'format' => 'iso8601_normal'], 'LastOccurrence' => ['title' => '', 'description' => 'The time, in ISO 8601 format, when the issue was last detected.', 'type' => 'string', 'example' => '2026-01-01T00:30:00+08:00', 'format' => 'iso8601_normal'], 'OccurrenceCount' => ['title' => '', 'description' => 'The total number of times the issue has occurred.', 'type' => 'integer', 'example' => '10', 'format' => 'int64'], 'Solution' => ['title' => '', 'description' => 'The recommended action to resolve the issue.', 'type' => 'string', 'example' => 'Buy repository quota'], 'Extra' => [ 'title' => '', 'type' => 'object', 'additionalProperties' => ['description' => 'A custom key-value pair that provides additional details about the issue. The key and its value are both strings.', 'type' => 'string', 'title' => '', 'example' => ''], 'description' => 'An object that contains additional, unstructured key-value information about the issue.', 'example' => '', ], ], 'description' => 'Provides details about a diagnosis issue.', 'example' => '', ], 'DiagnosisTarget' => [ 'title' => '', 'type' => 'object', 'properties' => [ 'Namespace' => ['title' => '', 'description' => 'The namespace that contains the repository.', 'type' => 'string', 'example' => 'test_namespace'], 'Repository' => ['title' => '', 'description' => 'The name of the repository.', 'type' => 'string', 'example' => 'test_repo'], 'Tag' => ['title' => '', 'description' => 'The container image tag.', 'type' => 'string', 'example' => 'latest'], 'RelatedId' => ['title' => '', 'description' => 'The ID of a related operation, such as a previous diagnostic task.', 'type' => 'string', 'example' => ''], 'StartTime' => ['title' => '', 'description' => 'The start of the diagnostic time window, in ISO 8601 format.', 'type' => 'string', 'example' => '2026-01-01T00:00:00+08:00', 'format' => 'iso8601_normal'], 'EndTime' => ['title' => '', 'description' => 'The end of the diagnostic time window, in ISO 8601 format. Must be after `StartTime`.', 'type' => 'string', 'example' => '2026-01-01T00:30:00+08:00', 'format' => 'iso8601_normal'], 'Extra' => [ 'title' => '', 'type' => 'object', 'additionalProperties' => ['description' => 'The value of a key-value pair in the `Extra` map.', 'type' => 'string', 'title' => '', 'example' => ''], 'description' => 'A map of key-value pairs providing additional context for the diagnosis.', 'example' => '', ], ], 'description' => 'Specifies the resource to diagnose.', 'example' => '', ], 'RepoConfiguration' => [ 'type' => 'object', 'properties' => [ 'RepoType' => [ 'type' => 'string', 'required' => true, 'enum' => ['PRIVATE', 'PUBLIC'], ], 'TagImmutability' => ['type' => 'boolean', 'required' => true], 'ArtifactBuildRuleParameters' => [ 'type' => 'object', 'properties' => [ 'ImageIndexOnly' => ['type' => 'boolean', 'required' => true], ], ], ], ], 'RouteItem' => [ 'description' => 'Instance Storage Routing Item', 'type' => 'object', 'properties' => [ 'InstanceDomain' => ['description' => 'Instance Domain', 'type' => 'string', 'required' => true, 'title' => '', 'example' => ''], 'StorageDomain' => ['description' => 'OSS Domain', 'type' => 'string', 'required' => true, 'title' => '', 'example' => ''], 'EndpointType' => [ 'description' => 'Instance Endpoint Type', 'type' => 'string', 'required' => true, 'enum' => ['Internet', 'VPC'], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], 'apis' => [ 'CancelArtifactBuildTask' => [ 'methods' => ['post', 'put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-shac42yvqzvq****', 'title' => ''], ], [ 'name' => 'BuildTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the artifact building task.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i2ei-12****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C4C7DD0C-C9D6-437A-A7EE-121EFD70D002', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'title' => 'CancelArtifactBuildTask', 'summary' => 'Cancels an artifact building task.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:CancelArtifactBuildTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"C4C7DD0C-C9D6-437A-A7EE-121EFD70D002\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nC4C7DD0C-C9D6-437A-A7EE-121EFD70D002\\nsuccess","errorExample":""}]', ], 'CancelRepoBuildRecord' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8p****', 'title' => ''], ], [ 'name' => 'BuildRecordId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '74FDBA62-30C0-4F22-BE7B-F1D36FD1****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4CE1F661-75DD-4EBD-A4AD-057B26834ABB', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CancelRepoBuildRecord', 'summary' => 'Cancels a repository building record.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:CancelBuildRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\nsuccess","errorExample":""}]', ], 'CancelRepoSyncTask' => [ 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '232709', 'abilityTreeNodes' => ['FEATUREacrLKRO80'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'SyncTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the replication task.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rst-biu4u4pm4it5****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EB9C5722-51E2-4497-A573-575B0CA5CE0C', 'title' => ''], 'Code' => ['description' => 'The response code.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the CancelRepoSyncTask request is successful. Valid values:'."\n" ."\n" .'* `true`: successful'."\n" .'* `false`: failed'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'SYNC_TASK_NOT_EXIST', 'errorMessage' => 'Sync task is not exist.', 'description' => ''], ], 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ['errorCode' => 'AUTHENTICATION_FAILED', 'errorMessage' => 'Authentication failed.', 'description' => 'Authentication failed.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CancelRepoSyncTask', 'summary' => 'Cancels a single replication task.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:CancelRepoSyncTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EB9C5722-51E2-4497-A573-575B0CA5CE0C\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true\\n}","type":"json"}]', ], 'ChangeResourceGroup' => [ 'summary' => 'Changes the resource group to which a resource belongs.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the resource.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cri-8qong6ve5p3mhlgt'], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen-finance-1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the resource group to which you want to move the resource.'."\n", 'type' => 'string', 'required' => true, 'example' => 'rg-aekz5nlvlaksnvi'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '314CB661-35A5-5F01-A623-3EC6F87FF52F'], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'NoPermission.ChangeResourceGroup', 'errorMessage' => 'You are not authorized to change resourcegroup', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceGroupId', 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', 'description' => ''], ['errorCode' => 'InvalidResourceGroup', 'errorMessage' => 'The specified ResourceGroupId is invalid', 'description' => ''], ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], ['errorCode' => 'ResourceNotFound', 'errorMessage' => ' The specified resource is not found', 'description' => ''], ], ], 'title' => 'ChangeResourceGroup', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:ChangeResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"314CB661-35A5-5F01-A623-3EC6F87FF52F\\"\\n}","type":"json"}]', ], 'CreateArtifactBuildRule' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-cxreylqvcyje****', 'title' => ''], ], [ 'name' => 'ScopeType', 'in' => 'query', 'schema' => ['description' => 'The effective range of the rule. Valid values:'."\n" ."\n" .'* `REPOSITORY`'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'REPOSITORY', 'title' => ''], ], [ 'name' => 'ScopeId', 'in' => 'query', 'schema' => ['description' => 'The ID of the effective range of the rule.'."\n" ."\n" .'* Set the value to the ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-pmajihou6cg0****', 'title' => ''], ], [ 'name' => 'ArtifactType', 'in' => 'query', 'schema' => ['description' => 'The type of the artifact.'."\n" ."\n" .'* `ACCELERATED_IMAGE`: accelerated images.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACCELERATED_IMAGE', 'title' => ''], ], [ 'name' => 'Parameters', 'in' => 'query', 'style' => 'json', 'schema' => ['description' => 'Additional parameters.'."\n", 'type' => 'object', 'required' => false, 'example' => '{}', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C8E90AB5-0A96-5D12-9E59-11EE46360642', 'title' => ''], 'BuildRuleId' => ['description' => 'The ID of the accelerated image building rule.'."\n", 'type' => 'string', 'example' => 'crabr-7dfa5qye5****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'CreateArtifactBuildRule', 'summary' => 'Create image repository acceleration rules for image building.', 'description' => 'You can create building rules of accelerated images only for image repositories of Container Registry Advanced Edition instances. You cannot create building rules of accelerated images for image repositories of Container Registry Basic Edition instances. For more information, see [Specifications of different editions](https://www.alibabacloud.com/help/en/acr/product-overview/what-is-container-registry?spm=openapi-amp.newDocPublishment.0.0.bf82281fRj7rmV#section-n3q-ps7-x6k).'."\n" ."\n" .'Accelerated images are not supported in Alibaba Finance Cloud regions or Alibaba Gov Cloud regions.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateArtifactBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"C8E90AB5-0A96-5D12-9E59-11EE46360642\\",\\n \\"BuildRuleId\\": \\"crabr-7dfa5qye5****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateArtifactLifecycleRule' => [ 'summary' => 'Creates a lifecycle management rule for an artifact.', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrQD2ZKV'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-gbwfk7qbgrxe****', 'title' => ''], ], [ 'name' => 'Auto', 'in' => 'query', 'schema' => ['description' => 'Specify whether to automatically execute the lifecycle management rule.', 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ScheduleTime', 'in' => 'query', 'schema' => ['description' => 'The execution cycle of the lifecycle management rule.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'WEEK', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.', 'type' => 'string', 'required' => false, 'example' => 'dev-backend', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'test_1', 'title' => ''], ], [ 'name' => 'TagRegexp', 'in' => 'query', 'schema' => ['description' => 'The regular expression that is used to indicate which image tags are retained.', 'type' => 'string', 'required' => false, 'example' => 'release-.*', 'title' => ''], ], [ 'name' => 'RetentionTagCount', 'in' => 'query', 'schema' => ['description' => 'The number of images that you want to retain.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'EnableDeleteTag', 'in' => 'query', 'schema' => ['description' => 'Specify whether to enable lifecycle management for the artifact.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['description' => 'The deletion scope.', 'type' => 'string', 'required' => false, 'example' => 'INSTANCE', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0AA66379-B880-5123-9F6A-96BB25D****', 'title' => ''], 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cralr-b6thg027zmk1****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'CreateArtifactLifecycleRule', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"0AA66379-B880-5123-9F6A-96BB25D****\\",\\n \\"RuleId\\": \\"cralr-b6thg027zmk1****\\"\\n}","type":"json"}]', ], 'CreateArtifactSubscriptionRule' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '141828', 'abilityTreeNodes' => ['FEATUREacr5ED6LF'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-c0o11woew0k****', 'title' => ''], ], [ 'name' => 'SourceProvider', 'in' => 'query', 'schema' => [ 'description' => 'The source of the artifact.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* DOCKER_HUB: Docker Hub'."\n" .'* GCR: GCR'."\n" .'* QUAY: Quay.io'."\n", 'type' => 'string', 'required' => true, 'enumValueTitles' => ['DOCKER_HUB' => 'Docker Hub', 'GCR' => 'GCR', 'QUAY' => 'Quay.io'], 'example' => 'DOCKER_HUB', 'title' => '', ], ], [ 'name' => 'SourceNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The source namespace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'library', 'title' => ''], ], [ 'name' => 'SourceRepoName', 'in' => 'query', 'schema' => ['description' => 'The source repository.'."\n", 'type' => 'string', 'required' => true, 'example' => 'nginx', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the Container Registry namespace.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-ns', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the Container Registry repository.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-repo', 'title' => ''], ], [ 'name' => 'TagRegexp', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'The image tag in the subscription source repository. Regular expressions are supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'release-v.*', 'title' => ''], ], [ 'name' => 'TagCount', 'in' => 'query', 'schema' => ['description' => 'The number of subscribed images.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'maximum' => '30', 'minimum' => '1', 'title' => ''], ], [ 'name' => 'Override', 'in' => 'query', 'schema' => ['description' => 'Indicates whether the original image is overwritten.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Accelerate', 'in' => 'query', 'schema' => ['description' => 'Indicates whether an acceleration link is enabled for image subscription. The subscription acceleration feature is in public preview. The feature is optimized based on scheduling policies and network links to accelerate image subscription.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Platform', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The operating system and architecture. If the source repository contains a multi-arch image, only the specified operating system and architecture are subscribed to the destination repository of the Enterprise Edition instance. Subscribe to the destination repository of an Enterprise Edition instance'."\n", 'type' => 'array', 'items' => [ 'description' => 'The operating system and architecture.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* linux/arm: linux/arm'."\n" .'* windows/x86: windows/x86'."\n" .'* \\*/\\*: \\*/\\*'."\n" .'* linux/arm64: linux/arm64.'."\n" .'* windows/x86-64: windows/x86-64.'."\n" .'* linux/amd64: linux/amd64.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['linux/arm' => 'linux/arm', 'windows/x86' => 'windows/x86', '*/*' => '*/*', 'linux/arm64' => 'linux/arm64', 'windows/x86-64' => 'windows/x86-64', 'linux/amd64' => 'linux/amd64'], 'example' => '*/*', 'title' => '', ], 'required' => true, 'maxItems' => 200, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicate whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '02B27D80-FD32-5155-931A-93700779BB9E', 'title' => ''], 'RuleId' => ['description' => 'The ID of the artifact subscription rule.'."\n", 'type' => 'string', 'example' => 'crasr-lxdfele7dg4****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'CreateArtifactSubscriptionRule', 'summary' => 'Creates an artifact subscription rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"02B27D80-FD32-5155-931A-93700779BB9E\\",\\n \\"RuleId\\": \\"crasr-lxdfele7dg4****\\"\\n}","type":"json"}]', ], 'CreateArtifactSubscriptionTask' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-4ec5xvj4j0l****', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crasr-88s7vmelc3m****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '132D314B-BDD4-564C-89FE-3E2BAE115239', 'title' => ''], 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'crast-40le4es9yh0p****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'CreateArtifactSubscriptionTask', 'summary' => 'Creates an artifact subscription task.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cr:CreateArtifactSubscriptionTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"132D314B-BDD4-564C-89FE-3E2BAE115239\\",\\n \\"TaskId\\": \\"crast-40le4es9yh0p****\\"\\n}","type":"json"}]', ], 'CreateBuildRecordByRecord' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-hpdfkc6utbaq****'."\n", 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-hnoq7j93or3k****'."\n", 'title' => ''], ], [ 'name' => 'BuildRecordId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0A311FC5-B8C6-4332-80E4-539EB73****'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The HTTP status code. The status code 200 indicates that the request is successful.\\'."\n" .'Other status codes indicate that the request failed.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4CE1F661-75DD-4EBD-A4AD-057B26834ABB'."\n", 'title' => ''], 'BuildRecordId' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'example' => 'crbr-ly77w5i3t31f****'."\n", 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateBuildRecordByRecord', 'summary' => 'Creates an image building record based on an existing record.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:BuildRepositoryByRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\\\n\\",\\n \\"BuildRecordId\\": \\"crbr-ly77w5i3t31f****\\\\n\\"\\n}","type":"json"}]', ], 'CreateBuildRecordByRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-asd6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-8dz3aedjqlmk****', 'title' => ''], ], [ 'name' => 'BuildRuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image building rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crbr-1j95g4bu2s1i****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B01B8857-A16E-40E9-A37E-764F15776FAA', 'title' => ''], 'BuildRecordId' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'example' => '0A311FC5-B8C6-4332-80E4-539EB73****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateBuildRecordByRule', 'summary' => 'Creates an image building record based on a rule.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:BuildRepositoryByRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"B01B8857-A16E-40E9-A37E-764F15776FAA\\",\\n \\"BuildRecordId\\": \\"0A311FC5-B8C6-4332-80E4-539EB73****\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nB01B8857-A16E-40E9-A37E-764F15776FAA\\n0A311FC5-B8C6-4332-80E4-539EB73****\\nsuccess","errorExample":""}]', ], 'CreateChain' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrPRPOYY'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The repository name.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The namespace name.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ns1', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['description' => 'The name of the delivery chain.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the delivery chain.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ 'name' => 'ChainConfig', 'in' => 'query', 'schema' => ['description' => 'The JSON-serialized entity object that describes the delivery chain.', 'type' => 'string', 'required' => false, 'example' => 'chainconfig', 'title' => ''], ], [ 'name' => 'ScopeExclude', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The collection of repositories excluded from the delivery chain execution.', 'type' => 'array', 'items' => ['description' => 'The repository names excluded from the delivery chain execution. Separate multiple repository names with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'repo_name1,repo_name2', 'title' => ''], 'required' => false, 'maxItems' => 50, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'ChainId' => ['description' => 'The delivery chain ID.', 'type' => 'string', 'example' => 'chi-02ymhtwl3cq8****', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4BC03B36-E515-5806-99AC-268AE3C0****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Create a delivery chain', 'summary' => 'Creates a delivery chain.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"ChainId\\": \\"chi-02ymhtwl3cq8****\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"4BC03B36-E515-5806-99AC-268AE3C0****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateChartNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'namespace01', 'title' => ''], ], [ 'name' => 'AutoCreateRepo', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to automatically create repositories in the namespace. Valid values:'."\n" ."\n" .'\\-` true `: automatically creates repositories in the namespace.'."\n" ."\n" .'\\-` false `: does not automatically create repositories in the namespace.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'DefaultRepoType', 'in' => 'query', 'schema' => ['description' => 'The default repository type. Valid values:'."\n" ."\n" .'* `PUBLIC`: a public repository'."\n" .'* `PRIVATE`: a private repository'."\n", 'type' => 'string', 'required' => false, 'example' => 'PUBLIC', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '724402D0-75CD-4794-BC20-7D3720823AE0', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateChartNamespace', 'summary' => 'Creates a chart namespace in an instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"724402D0-75CD-4794-BC20-7D3720823AE0\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n724402D0-75CD-4794-BC20-7D3720823AE0\\nsuccess","errorExample":""}]', ], 'CreateChartRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo01', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'namespace01', 'title' => ''], ], [ 'name' => 'RepoType', 'in' => 'query', 'schema' => ['description' => 'The default repository type. Valid values:'."\n" ."\n" .'* `PUBLIC`: a public repository.'."\n" .'* `PRIVATE`: a private repository.'."\n" ."\n" .'You can specify the RepoType or Summary parameter. The RepoType parameter is optional.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'PUBLIC', 'title' => ''], ], [ 'name' => 'Summary', 'in' => 'query', 'schema' => ['description' => 'The summary of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'summary', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'RepoId' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'example' => 'crcr-2micxey5ewj4****', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '60390244-A483-491A-B41D-F866C95380A1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateChartRepository', 'summary' => 'Creates a chart repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"RepoId\\": \\"crcr-2micxey5ewj4****\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"60390244-A483-491A-B41D-F866C95380A1\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n60390244-A483-491A-B41D-F866C95380A1\\ncrcr-2micxey5ewj4****\\nsuccess","errorExample":""}]', ], 'CreateInstanceCustomizedDomain' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr9LPARH'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xxxxxx', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The custom module name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Registry', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => ['description' => 'The custom domain name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test.com', 'title' => ''], ], [ 'name' => 'CertId', 'in' => 'query', 'schema' => ['description' => 'The ID of the custom domain name certificate.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '21428921', 'title' => ''], ], [ 'name' => 'CertRegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the certificate belongs.', 'type' => 'string', 'default' => 'cn-hangzhou', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1FA54F8C-8849-57F9-8069-F5F15EE82BE2', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Create instance custom domain name', 'summary' => 'Creates a custom domain name for an instance.', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"1FA54F8C-8849-57F9-8069-F5F15EE82BE2\\"\\n}","type":"json"}]', ], 'CreateInstanceEndpointAclPolicy' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'EndpointType', 'in' => 'query', 'schema' => ['description' => 'The endpoint type. Only Internet is supported.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'internet', 'title' => ''], ], [ 'name' => 'Entry', 'in' => 'query', 'schema' => ['description' => 'The IP address range that is allowed to access the instance.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => '192.168.1.1/32', 'title' => ''], ], [ 'name' => 'Comment', 'in' => 'query', 'schema' => ['description' => 'The description.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The module for which you want to set the access policy. Valid values:'."\n" ."\n" .'- `Registry`: access the image repository'."\n" ."\n" .'- `Chart`: access Helm Chart', 'type' => 'string', 'required' => false, 'example' => 'Registry', 'title' => ''], ], [ 'name' => 'Entries', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/AccessControlEntry', 'description' => '', 'title' => '', 'example' => ''], 'maxItems' => 50, 'minItems' => 1, 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the call is successful. Valid values:'."\n" ."\n" .'- `true`: The call is successful.'."\n" ."\n" .'- `false`: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D735C5EC-4206-4F48-A090-307BF56BEB99', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'SLB_SERVICE_ERROR', 'errorMessage' => 'Bad request for this user.', 'description' => 'An exception occurred while calling the SLB service, the call failed'], ], 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Create a whitelist policy for an instance access endpoint (public network only)', 'summary' => 'Creates a whitelist policy for an instance access endpoint (public network only).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateInstanceEndpointAclPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"D735C5EC-4206-4F48-A090-307BF56BEB99\\"\\n}","type":"json"}]', ], 'CreateInstanceVpcEndpointLinkedVpc' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The VPC ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-uf6pa68zxnnlc48dd****', 'title' => ''], ], [ 'name' => 'VswitchId', 'in' => 'query', 'schema' => ['description' => 'The ID of the vSwitch that is associated with the specified VPC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vsw-uf6u0kn8x2gbzxfn2****', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the module that you want to access. Valid values:'."\n" ."\n" .'* `Registry`: image repositories.'."\n" .'* `Chart`: Helm charts.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Registry', 'title' => ''], ], [ 'name' => 'EnableCreateDNSRecordInPvzt', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to automatically create Alibaba Cloud DNS PrivateZone records. Valid values:'."\n" ."\n" .'> If you enable automatic creation of PrivateZone records, a PrivateZone record is automatically created when you associate a VPC with the instance.'."\n" ."\n" .'* `true`'."\n" .'* `false`'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D4978DCC-ECBD-40B0-A714-EE6959B22C77', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateInstanceVpcEndpointLinkedVpc', 'summary' => 'Associates a virtual private cloud (VPC) with a Container Registry instance.', 'description' => 'The VPC quota must be purchased separately.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateInstanceVpcEndpointLinkedVpc', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"D4978DCC-ECBD-40B0-A714-EE6959B22C77\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nD4978DCC-ECBD-40B0-A714-EE6959B22C77\\nsuccess","errorExample":""}]', ], 'CreateNamespace' => [ 'summary' => 'Creates a repository namespace.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33685', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace. The name must be 2 to 120 characters long and can contain only lowercase letters, digits, and the following separators: underscores (\\_), hyphens (-), and periods (.). A separator cannot be used as the first or last character.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'namespace1', 'title' => ''], ], [ 'name' => 'AutoCreateRepo', 'in' => 'query', 'schema' => ['description' => 'Specifies whether a repository is automatically created when an image is pushed to a repository that does not yet exist in the namespace.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'DefaultRepoType', 'in' => 'query', 'schema' => ['description' => 'The default type of automatically created repositories. Valid values:'."\n" ."\n" .'- `PUBLIC`: public'."\n" ."\n" .'- `PRIVATE`: private', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'PUBLIC', 'title' => ''], ], [ 'name' => 'DefaultRepoConfiguration', 'in' => 'query', 'style' => 'json', 'schema' => ['$ref' => '#/components/schemas/RepoConfiguration', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code. The value `success` indicates that the request was successful.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BC648259-91A7-4502-BED3-EDF64361FA83', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateNamespace', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BC648259-91A7-4502-BED3-EDF64361FA83\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateRepoBuildRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrYWOHWY'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-8dz3aedjqlmk****', 'title' => ''], ], [ 'name' => 'DockerfileLocation', 'in' => 'query', 'schema' => ['description' => 'The path of the Dockerfile.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '/', 'title' => ''], ], [ 'name' => 'DockerfileName', 'in' => 'query', 'schema' => ['description' => 'The name of the Dockerfile.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Dockerfile', 'title' => ''], ], [ 'name' => 'PushType', 'in' => 'query', 'schema' => ['description' => 'The type of the push that triggers the building rule. Valid values:'."\n" ."\n" .'* `GIT_TAG`: tag push'."\n" .'* `GIT_BRANCH`: branch push'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GIT_BRANCH', 'title' => ''], ], [ 'name' => 'PushName', 'in' => 'query', 'schema' => ['description' => 'The name of the push that triggers the building rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'master', 'title' => ''], ], [ 'name' => 'ImageTag', 'in' => 'query', 'schema' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'v0.9.5', 'title' => ''], ], [ 'name' => 'BuildArgs', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Building arguments.'."\n", 'type' => 'array', 'items' => ['description' => 'Building arguments.'."\n", 'type' => 'string', 'required' => false, 'example' => 'UserName=Test', 'title' => ''], 'required' => false, 'maxItems' => 20, 'title' => '', 'example' => '', ], ], [ 'name' => 'Platforms', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Architecture for image building. Valid values:'."\n" ."\n" .'* `linux/amd64`'."\n" .'* `linux/arm64`'."\n" .'* `linux/386`'."\n" .'* `linux/arm/v7`'."\n" .'* `inux/arm/v6`'."\n" ."\n" .'Default value: `linux/amd64`'."\n", 'type' => 'array', 'items' => ['description' => 'Architecture for image building. Valid values:'."\n" ."\n" .'* `linux/amd64`'."\n" .'* `linux/arm64`'."\n" .'* `linux/386`'."\n" .'* `linux/arm/v7`'."\n" .'* `inux/arm/v6`'."\n" ."\n" .'Default value: `linux/amd64`'."\n", 'type' => 'string', 'required' => false, 'example' => 'linux/amd64', 'title' => ''], 'required' => false, 'maxItems' => 20, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4CE1F661-75DD-4EBD-A4AD-057B26834ABB', 'title' => ''], 'BuildRuleId' => ['description' => 'The ID of the building rule.'."\n", 'type' => 'string', 'example' => 'crbr-ly77w5i3t31f****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateRepoBuildRule', 'summary' => 'Creates an image building rule for a repository.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\",\\n \\"BuildRuleId\\": \\"crbr-ly77w5i3t31f****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n success\\n true\\n 4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\n crbr-ly77w5i3t31f****\\n","errorExample":""}]', ], 'CreateRepoSourceCodeRepo' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-shac42yvqzvq****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-gzsrlevmvoaq****', 'title' => ''], ], [ 'name' => 'CodeRepoType', 'in' => 'query', 'schema' => ['description' => 'The type of the source code hosting platform. Valid values: `GITHUB`, `GITLAB`, `GITEE`, `CODE`, and `CODEUP`.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GITHUB', 'title' => ''], ], [ 'name' => 'CodeRepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The namespace to which the source code repository belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'namespace', 'title' => ''], ], [ 'name' => 'CodeRepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the source code repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo', 'title' => ''], ], [ 'name' => 'AutoBuild', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to trigger image building when source code is committed. Valid values:'."\n" ."\n" .'* `true`: triggers image building when source code is committed.'."\n" .'* `false`: does not trigger image building when source code is committed.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'OverseaBuild', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable Build With Servers Deployed Outside Chinese Mainland. Valid values:'."\n" ."\n" .'* `true`: enables Build With Servers Deployed Outside Chinese Mainland.'."\n" .'* `false`: does not enable Build With Servers Deployed Outside Chinese Mainland.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'DisableCacheBuild', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to disable building caches. Valid values:'."\n" ."\n" .'* `true`: disables building caches.'."\n" .'* `false`: enables building caches.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4CE1F661-75DD-4EBD-A4AD-057B26834ABB', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateRepoSourceCodeRepo', 'summary' => 'Binds a source code repository to an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateSourceRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\nsuccess","errorExample":""}]', ], 'CreateRepoSyncRule' => [ 'summary' => 'Creates an image synchronization rule for an image repository.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33690', 'abilityTreeNodes' => ['FEATUREacrLKRO80'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The source instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-hpdfkc6utbaq****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The namespace name of the source instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns1', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository in the source instance.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'TargetRegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the destination instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TargetInstanceId', 'in' => 'query', 'schema' => ['description' => 'The destination instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-ibxs3piklys3****', 'title' => ''], ], [ 'name' => 'TargetNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The namespace name of the destination instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns1', 'title' => ''], ], [ 'name' => 'TargetRepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository in the destination instance.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'RepoNameFilter', 'in' => 'query', 'schema' => ['description' => 'The regular expression that is used to filter repositories.'."\n" ."\n" .'> This parameter is valid only when SyncScope is set to `NAMESPACE`.'."\n", 'type' => 'string', 'required' => false, 'example' => '.*', 'title' => ''], ], [ 'name' => 'TagFilter', 'in' => 'query', 'schema' => ['description' => 'The regular expression that is used to filter image tags.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '.*', 'title' => ''], ], [ 'name' => 'SyncScope', 'in' => 'query', 'schema' => ['description' => 'The synchronization scope. Valid values:'."\n" ."\n" .'* `REPO`: synchronizes the image tags in an image repository that meet the synchronization rule.'."\n" .'* `NAMESPACE`: synchronizes the image tags in a namespace that meet the synchronization rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'REPO', 'title' => ''], ], [ 'name' => 'SyncRuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the image synchronization rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rule', 'title' => ''], ], [ 'name' => 'SyncTrigger', 'in' => 'query', 'schema' => ['description' => 'The mode of triggering the synchronization rule. Valid values:'."\n" ."\n" .'* `INITIATIVE`: manually triggers the synchronization rule.'."\n" .'* `PASSIVE`: automatically triggers the synchronization rule.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'PASSIVE', 'title' => ''], ], [ 'name' => 'TargetUserId', 'in' => 'query', 'schema' => ['description' => 'The user ID (UID) of the account to which the destination instance belongs.'."\n" ."\n" .'> If you synchronize images across accounts, you must use the UID.'."\n", 'type' => 'string', 'required' => false, 'example' => '12645940***', 'title' => ''], ], [ 'name' => 'LinkId', 'in' => 'query', 'schema' => ['type' => 'string', 'title' => '', 'description' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The HTTP status code.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'SyncRuleId' => ['description' => 'The ID of the synchronization rule.'."\n", 'type' => 'string', 'example' => 'crsr-gk5p2ns1kzns****', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8F8A0BA6-7F06-4BAE-B147-10BD6A25****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateRepoSyncRule', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateSyncRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"SyncRuleId\\": \\"crsr-gk5p2ns1kzns****\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"8F8A0BA6-7F06-4BAE-B147-10BD6A25****\\"\\n}","errorExample":""},{"type":"xml","example":"true\\ncrsr-gk5p2ns1kzns****\\n8F8A0BA6-7F06-4BAE-B147-10BD6A25****\\nsuccess","errorExample":""}]', ], 'CreateRepoSyncTask' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'Source instance ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-hpdfkc6utbaq****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'Image repository ID in the source instance', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-iql7jalx4g0****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'Image tag in the source instance', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'tag1', 'title' => ''], ], [ 'name' => 'TargetRegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID of the target instance', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'TargetInstanceId', 'in' => 'query', 'schema' => ['description' => 'Target instance ID', 'type' => 'string', 'required' => true, 'example' => 'cri-ibxs3piklys3****', 'title' => ''], ], [ 'name' => 'TargetNamespace', 'in' => 'query', 'schema' => ['description' => 'Namespace in the target instance', 'type' => 'string', 'required' => true, 'example' => 'ns1', 'title' => ''], ], [ 'name' => 'TargetRepoName', 'in' => 'query', 'schema' => ['description' => 'Name of the image repository in the target instance', 'type' => 'string', 'required' => true, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'TargetTag', 'in' => 'query', 'schema' => ['description' => 'Image tag in the target instance', 'type' => 'string', 'required' => true, 'example' => 'tag1', 'title' => ''], ], [ 'name' => 'TargetUserId', 'in' => 'query', 'schema' => ['description' => 'UID of the account to which the target instance belongs', 'type' => 'string', 'required' => false, 'example' => '12345***', 'title' => ''], ], [ 'name' => 'Override', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to overwrite an existing image:'."\n" ."\n" .'- `true`: Overwrite the existing image.'."\n" ."\n" .'- `false`: Do not overwrite the existing image.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'Return value', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the invocation succeeded. Valid values:'."\n" ."\n" .'- `true`: The invocation succeeded.'."\n" ."\n" .'- `false`: Failed to invoke.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '8F8A0BA6-7F06-4BAE-B147-10BD6A25****', 'title' => ''], 'SyncTaskId' => ['description' => 'Sync task ID', 'type' => 'string', 'example' => 'rst-gbch330f0c****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Manually create a repository synchronization task', 'summary' => 'Manually create a sync task.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"8F8A0BA6-7F06-4BAE-B147-10BD6A25****\\",\\n \\"SyncTaskId\\": \\"rst-gbch330f0c****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateRepoSyncTaskByRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-hpdfkc6utbaq****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-hnoq7j93or3k****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The version of the image to be synchronized.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.24', 'title' => ''], ], [ 'name' => 'SyncRuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the synchronization rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crsr-o8n4dijbumgq****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '17A4C658-AE8F-4A08-821F-EDCB5FC74EE8', 'title' => ''], 'SyncTaskId' => ['description' => 'The ID of the synchronization task.'."\n", 'type' => 'string', 'example' => 'rst-biu4u4pm4it5****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateRepoSyncTaskByRule', 'summary' => 'Creates an image replication task based on a manual replication rule.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"17A4C658-AE8F-4A08-821F-EDCB5FC74EE8\\",\\n \\"SyncTaskId\\": \\"rst-biu4u4pm4it5****\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n17A4C658-AE8F-4A08-821F-EDCB5FC74EE8\\nrst-biu4u4pm4it5****\\nsuccess","errorExample":""}]', ], 'CreateRepoTag' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-shac42yvqzv****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'FromTag', 'in' => 'query', 'schema' => ['description' => 'The source image tag.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'v1', 'title' => ''], ], [ 'name' => 'ToTag', 'in' => 'query', 'schema' => ['description' => 'The image tag that you want to create.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'v2', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C4C7DD0C-C9D6-437A-A7EE-8BY*****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'CreateRepoTag', 'summary' => 'Creates an image tag based on an existing image tag in an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepoTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"C4C7DD0C-C9D6-437A-A7EE-8BY*****\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nC4C7DD0C-C9D6-437A-A7EE-8BY*****\\nsuccess","errorExample":""}]', ], 'CreateRepoTagScanTask' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '33693', 'abilityTreeNodes' => ['FEATUREacrKJDAEQ'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The image repository ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-xwvi3osiy4ff****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The image tag.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.24', 'title' => ''], ], [ 'name' => 'Digest', 'in' => 'query', 'schema' => ['description' => 'The image digest.', 'type' => 'string', 'required' => false, 'example' => 'sha256:815386ebbe9a3490f38785ab11bda34ec8dacf4634af77b8912832d4f85dca04', 'title' => ''], ], [ 'name' => 'ScanService', 'in' => 'query', 'schema' => ['description' => 'The scan engine type:'."\n" ."\n" .'- `SAS_SCAN_SERVICE`: The cloud security scan engine. This is a paid service.'."\n" ."\n" .'- `ACR_SCAN_SERVICE`: The ACR scan engine.', 'type' => 'string', 'required' => false, 'example' => 'ACR_SCAN_SERVICE', 'title' => ''], ], [ 'name' => 'ScanType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API call succeeded. Valid values:'."\n" ."\n" .'- `true`: The API call succeeded.'."\n" ."\n" .'- `false`: The API call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BC648259-91A7-4502-BED3-EDF64361FA83', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateRepoTagScanTask', 'summary' => 'Creates a security scan task for an image.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:PutScan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BC648259-91A7-4502-BED3-EDF64361FA83\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateRepoTrigger' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'required' => true, 'type' => 'string', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'docRequired' => true, 'example' => 'crr-xwvi3osiy4ff****', 'required' => true, 'type' => 'string', 'title' => ''], ], [ 'name' => 'TriggerName', 'in' => 'query', 'schema' => ['description' => 'The name of the trigger.'."\n", 'docRequired' => true, 'example' => 'trigger1', 'required' => true, 'type' => 'string', 'title' => ''], ], [ 'name' => 'TriggerUrl', 'in' => 'query', 'schema' => ['description' => 'The URL of the trigger.'."\n", 'docRequired' => true, 'example' => 'http://www.mysite.com', 'required' => true, 'type' => 'string', 'title' => ''], ], [ 'name' => 'TriggerType', 'in' => 'query', 'schema' => ['description' => 'The type of the trigger. Valid values:'."\n" ."\n" .'* `ALL`: a trigger that supports both tags and regular expressions.'."\n" .'* `TAG_LIST`: a tag-based trigger.'."\n" .'* `TAG_REG_EXP`: a regular expression-based trigger.'."\n", 'docRequired' => true, 'example' => 'ALL', 'required' => true, 'type' => 'string', 'title' => ''], ], [ 'name' => 'TriggerTag', 'in' => 'query', 'schema' => ['description' => 'The image tag based on which the trigger is set.'."\n" ."\n" .'> '."\n" ."\n" .'* If `TriggerType` is set to `ALL`, `TriggerTag` can be set to a string or an array, for example, `*`.'."\n" ."\n" .'* If `TriggerType` is set to `TAG_LIST`, `TriggerTag` must be set to an array, for example, `[1]`.'."\n" .'* If `TriggerType` is set to `TAG_REG_EXP`, `TriggerTag` must be set to a string, for example, `*`.'."\n", 'docRequired' => true, 'example' => '[1]', 'required' => false, 'type' => 'string', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'example' => 'success', 'type' => 'string', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'example' => 'true', 'type' => 'boolean', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'example' => 'B79F5E0E-8770-407D-BCB6-ECF4BA9C****', 'type' => 'string', 'title' => ''], 'TriggerId' => ['description' => 'The ID of the trigger.'."\n", 'example' => 'crw-0z4pf81pgz35****', 'type' => 'string', 'title' => ''], ], 'type' => 'object', 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateRepoTrigger', 'summary' => 'Creates a trigger for a repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"B79F5E0E-8770-407D-BCB6-ECF4BA9C****\\",\\n \\"TriggerId\\": \\"crw-0z4pf81pgz35****\\"\\n}","type":"json"},{"errorExample":"","example":"true\\nB79F5E0E-8770-407D-BCB6-ECF4BA9C****\\ncrw-0z4pf81pgz35****\\nsuccess","type":"xml"}]', ], 'CreateRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'create', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which the image repository belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'namespace01', 'title' => ''], ], [ 'name' => 'RepoType', 'in' => 'query', 'schema' => ['description' => 'The type of the repository. Valid values:'."\n" ."\n" .'* `PUBLIC`: The repository is a public repository.'."\n" .'* `PRIVATE`: The repository is a private repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PRIVATE', 'title' => ''], ], [ 'name' => 'Summary', 'in' => 'query', 'schema' => ['description' => 'The summary about the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'Detail', 'in' => 'query', 'schema' => ['description' => 'The description of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'TagImmutability', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable the feature of image tag immutability. Valid values:'."\n" ."\n" .'* `true`: enables the feature of image tag immutability.'."\n" .'* `false`: disables the feature of image tag immutability.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'RepoId' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'example' => 'crr-xwvi3osiy4ff****', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '886FB272-15C3-44FC-AA54-F4ABD5B93A28', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'CreateRepository', 'summary' => 'Creates an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"RepoId\\": \\"crr-xwvi3osiy4ff****\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"886FB272-15C3-44FC-AA54-F4ABD5B93A28\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n886FB272-15C3-44FC-AA54-F4ABD5B93A28\\ncrr-xwvi3osiy4ff****\\nsuccess","errorExample":""}]', ], 'CreateScanRule' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '119395', 'abilityTreeNodes' => ['FEATUREacr7W016P', 'FEATUREacrKJDAEQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'cri-dqwc**********', 'title' => ''], ], [ 'name' => 'RuleName', 'in' => 'query', 'schema' => ['description' => 'The rule name.', 'type' => 'string', 'required' => true, 'maxLength' => 256, 'minLength' => 1, 'example' => 'default', 'title' => ''], ], [ 'name' => 'ScanScope', 'in' => 'query', 'schema' => [ 'description' => 'The scan scope.', 'enumValueTitles' => ['NAMESPACE' => 'namespace.', 'REPO' => 'repository.'], 'type' => 'string', 'required' => true, 'enum' => ['INSTANCE', 'NAMESPACE', 'REPO'], 'example' => 'NAMESPACE', 'title' => '', ], ], [ 'name' => 'TriggerType', 'in' => 'query', 'schema' => [ 'description' => 'The trigger type.', 'enumValueTitles' => ['AUTO' => 'automatically triggered on push.', 'MANUAL' => 'manually triggered.'], 'type' => 'string', 'required' => true, 'enum' => ['MANUAL', 'AUTO'], 'example' => 'AUTO', 'title' => '', ], ], [ 'name' => 'Namespaces', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'description' => 'The collection of namespaces.'."\n" .'- If the scan scope is set to NAMESPACE, this parameter cannot be empty.'."\n" .'- If the scan scope is set to REPO, this parameter must contain exactly one namespace.', 'type' => 'array', 'items' => ['description' => 'The namespace.', 'type' => 'string', 'minLength' => 1, 'required' => false, 'example' => 'ns1', 'title' => ''], 'required' => false, 'minItems' => 0, 'title' => '', 'example' => '', ], ], [ 'name' => 'RepoNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'description' => 'The list of repositories.'."\n" .'- If the scan scope is set to NAMESPACE, this parameter must be empty.'."\n" .'- If the scan scope is set to REPO, this parameter cannot be empty.', 'type' => 'array', 'items' => ['description' => 'The repository name.', 'type' => 'string', 'minLength' => 1, 'required' => false, 'example' => 'reppo1', 'title' => ''], 'required' => false, 'minItems' => 0, 'title' => '', 'example' => '', ], ], [ 'name' => 'RepoTagFilterPattern', 'in' => 'query', 'schema' => ['description' => 'The regular expression used to match tags that trigger a scan.', 'type' => 'string', 'required' => true, 'example' => '.*', 'title' => ''], ], [ 'name' => 'ScanType', 'in' => 'query', 'schema' => [ 'description' => 'The scan type. Valid values:'."\n" ."\n" .'- `VUL`: cloud native artifact vulnerability scanning.'."\n" .'- `SBOM`: cloud native artifact content analysis.'."\n" ."\n" .'Default value: `VUL`.', 'enumValueTitles' => ['SBOM' => 'cloud native artifact content analysis.', 'VUL' => 'cloud native artifact vulnerability scanning.'], 'type' => 'string', 'required' => false, 'default' => 'VUL', 'enum' => ['VUL', 'SBOM'], 'example' => 'VUL', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Request Id', 'type' => 'string', 'example' => 'EAEAB520-2456-5BF2-BCB5-AC998DFA3A51'], 'Code' => ['description' => 'The status code.', 'type' => 'integer', 'format' => 'int64', 'example' => 'success', 'title' => ''], 'ScanRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'crscnr-k3gdm5vrn2nzf5hw', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'Create a scan rule', 'summary' => 'Creates a scan or content analysis rule.', 'description' => 'Creates a scan or content analysis rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EAEAB520-2456-5BF2-BCB5-AC998DFA3A51\\",\\n \\"Code\\": 0,\\n \\"ScanRuleId\\": \\"crscnr-k3gdm5vrn2nzf5hw\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'CreateStorageDomainRoutingRule' => [ 'summary' => 'Creates an instance store domain name routing rule.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrFQBFTD'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID'."\n", 'type' => 'string', 'required' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'Routes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The route list'."\n", 'type' => 'array', 'items' => ['description' => 'The routing rule entries'."\n", '$ref' => '#/components/schemas/RouteItem', 'required' => false, 'title' => '', 'example' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID'."\n", 'type' => 'string', 'example' => 'C8E90AB5-0A96-5D12-9E59-11EE463*****', 'title' => ''], 'RuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'crsdr-n6pbhgjx*****', 'title' => ''], 'Success' => ['description' => 'Identification of whether the request is successful or not'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Code' => ['description' => 'The HTTP status code.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'AuthenticationFailed', 'errorMessage' => 'Authentication failed.', 'description' => 'Authentication failed.'], ], ], 'title' => 'CreateStorageDomainRoutingRule', 'description' => '此API白名单开放,请[提交工单](https://smartservice.console.aliyun.com/service/create-ticket)获取支持。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C8E90AB5-0A96-5D12-9E59-11EE463*****\\",\\n \\"RuleId\\": \\"crsdr-n6pbhgjx*****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DeleteArtifactLifecycleRule' => [ 'summary' => 'Deletes an artifact lifecycle management rule.', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrQD2ZKV'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-brlg4cbj2ylkrqqq', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cralr-3v8pao9k7chb8q62', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '001AB638-C99B-5A27-8AC9-B2DBABFFEBB5', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'DeleteArtifactLifecycleRule', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"001AB638-C99B-5A27-8AC9-B2DBABFFEBB5\\"\\n}","type":"json"}]', ], 'DeleteArtifactSubscriptionRule' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-c0o11woew0k****'."\n", 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crasr-mdbpung4i1rm****'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '02B27D80-FD32-5155-931A-93700779BB9E'."\n", 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'DeleteArtifactSubscriptionRule', 'summary' => 'Deletes an artifact subscription rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cr:DeleteArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"02B27D80-FD32-5155-931A-93700779BB9E\\\\n\\"\\n}","type":"json"}]', ], 'DeleteChain' => [ 'summary' => 'Deletes a delivery chain.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrPRPOYY'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], ], [ 'name' => 'ChainId', 'in' => 'query', 'schema' => ['description' => 'The delivery chain ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chi-02ymhtwl3cq8****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DB1809A8-E1C8-5707-BAF8-D4FC1C11****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Delete a delivery chain', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"DB1809A8-E1C8-5707-BAF8-D4FC1C11****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DeleteChartNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the chart namespace that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns2', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'FEC62DF1-1394-467F-A69F-4BC1BA29F383', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteChartNamespace', 'summary' => 'Deletes a chart namespace from an instance.', 'description' => '> If you delete a chart namespace, all repositories in the namespace and the charts in all repositories are deleted.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartNamespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"FEC62DF1-1394-467F-A69F-4BC1BA29F383\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nFEC62DF1-1394-467F-A69F-4BC1BA29F383\\nsuccess","errorExample":""}]', ], 'DeleteChartRelease' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'Chart', 'in' => 'query', 'schema' => ['description' => 'The name of the chart.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chart3', 'title' => ''], ], [ 'name' => 'Release', 'in' => 'query', 'schema' => ['description' => 'The version of the chart that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0.1.0', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C2D6CE47-6DEF-45F4-A1AC-90F3AFBA751F', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteChartRelease', 'summary' => 'Deletes a chart version from a chart repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteChartRelease', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"C2D6CE47-6DEF-45F4-A1AC-90F3AFBA751F\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nC2D6CE47-6DEF-45F4-A1AC-90F3AFBA751F\\nsuccess","errorExample":""}]', ], 'DeleteChartRepository' => [ 'summary' => 'Deletes a chart repository.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrY0JUHY'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay****', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The namespace name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'namespace01', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The repository name.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API call is successful. Valid values:'."\n" ."\n" .'- `true`: The API call is successful.'."\n" ."\n" .'- `false`: The API call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '12589EF7-96E2-4554-AAD7-F7209E88CAD3', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Delete a chart repository', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"12589EF7-96E2-4554-AAD7-F7209E88CAD3\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'DeleteEventCenterRule' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the event notification rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crecr-n6pbhgjx*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '031572FA-7D8F-4C05-B790-1071E0E05DE6'], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'DeleteEventCenterRule', 'summary' => 'Deletes an event notification rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteEventCenterRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"031572FA-7D8F-4C05-B790-1071E0E05DE6\\",\\n \\"Code\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"031572FA-7D8F-4C05-B790-1071E0E05DE6\\nsuccess","errorExample":""}]', ], 'DeleteInstanceCustomizedDomain' => [ 'summary' => '', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr9LPARH'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'cri-av3kxfkkiwofikl5', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'Registry', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'crtest.wgine-inc.com', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['type' => 'string', 'description' => '', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['type' => 'boolean', 'description' => '', 'example' => 'True', 'title' => ''], 'RequestId' => ['type' => 'string', 'description' => '', 'example' => 'EEE92FA9-3181-5174-8A06-BE2252FA462E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => '', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"EEE92FA9-3181-5174-8A06-BE2252FA462E\\"\\n}","type":"json"}]', ], 'DeleteInstanceEndpointAclPolicy' => [ 'summary' => 'Deletes a whitelist policy from the public access endpoint of an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'EndpointType', 'in' => 'query', 'schema' => ['description' => 'The endpoint type. Only Internet is supported.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'internet', 'title' => ''], ], [ 'name' => 'Entry', 'in' => 'query', 'schema' => ['description' => 'The IP CIDR block.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'docRequired' => false, 'example' => '127.0.0.1/32', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The module for which the access policy is set. Valid values:'."\n" ."\n" .'- `Registry`: access to the image repository'."\n" ."\n" .'- `Chart`: access to Helm Chart', 'type' => 'string', 'required' => false, 'example' => 'Chart', 'title' => ''], ], [ 'name' => 'Entries', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/AccessControlEntry', 'description' => '', 'title' => '', 'example' => ''], 'maxItems' => 50, 'minItems' => 1, 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the call is successful. Valid values:'."\n" ."\n" .'- `true`: The call is successful.'."\n" ."\n" .'- `false`: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BDB1F145-F0FF-44E9-AADF-A678642A7C7D', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'SLB_SERVICE_ERROR', 'errorMessage' => 'Bad request for this user.', 'description' => 'An exception occurred while calling the SLB service, the call failed'], ], 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Delete a whitelist policy from the public access endpoint of an instance', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteInstanceEndpointAclPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BDB1F145-F0FF-44E9-AADF-A678642A7C7D\\"\\n}","type":"json"}]', ], 'DeleteInstanceVpcEndpointLinkedVpc' => [ 'summary' => 'Disassociates a virtual private cloud (VPC) from an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr8UG6HF'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', 'schema' => ['description' => 'The ID of the VPC.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-uf6pa68zxnnlc48dd****', 'title' => ''], ], [ 'name' => 'VswitchId', 'in' => 'query', 'schema' => ['description' => 'The ID of the vSwitch.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-uf6pa68zxnnlc48dd****', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the module that you want to access. Valid values:'."\n" ."\n" .'* `Registry`: the image repository.'."\n" .'* `Chart`: a Helm chart.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Chart', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '20FE7A66-0044-4E23-BBEC-C434EADBD7AF', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteInstanceVpcEndpointLinkedVpc', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteInstanceVpcEndpointLinkedVpc', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"true\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"20FE7A66-0044-4E23-BBEC-C434EADBD7AF\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n20FE7A66-0044-4E23-BBEC-C434EADBD7AF\\nsuccess","errorExample":""}]', ], 'DeleteNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'BA08C185-8F76-48D7-ACB3-BA11BF2778F9', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteNamespace', 'summary' => 'Deletes a namespace.', 'description' => '> After you delete a namespace, all repositories in the namespace and all images in these repositories are deleted as well.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BA08C185-8F76-48D7-ACB3-BA11BF2778F9\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nBA08C185-8F76-48D7-ACB3-BA11BF2778F9\\nsuccess","errorExample":""}]', ], 'DeleteRepoBuildRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-xwvi3osiy4ff****', 'title' => ''], ], [ 'name' => 'BuildRuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image building rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crbr-36tffn0kouvi****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2E3F55BF-FA7B-454E-B2C6-85265E243ADC', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteRepoBuildRule', 'summary' => 'Deletes an image building rule of a repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"2E3F55BF-FA7B-454E-B2C6-85265E243ADC\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n2E3F55BF-FA7B-454E-B2C6-85265E243ADC\\nsuccess","errorExample":""}]', ], 'DeleteRepoSyncRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-hpdfkc6utbaq****', 'title' => ''], ], [ 'name' => 'SyncRuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the synchronization rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crsr-gk5p2ns1kzns****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '72DD4198-1BB9-47A3-BC01-EAD1A6D5E173', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteRepoSyncRule', 'summary' => 'Deletes an image replication rule of an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteSyncRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"72DD4198-1BB9-47A3-BC01-EAD1A6D5E173\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n72DD4198-1BB9-47A3-BC01-EAD1A6D5E173\\nsuccess","errorExample":""}]', ], 'DeleteRepoTag' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-xwvi3osiy4ff****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.24', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '96E66B3A-C81A-48BE-ACD6-C0AB1F9313C0', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteRepoTag', 'summary' => 'Deletes an image tag.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepositoryTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"96E66B3A-C81A-48BE-ACD6-C0AB1F9313C0\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n96E66B3A-C81A-48BE-ACD6-C0AB1F9313C0\\nsuccess","errorExample":""}]', ], 'DeleteRepoTrigger' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-xwvi3osiy4ff****', 'title' => ''], ], [ 'name' => 'TriggerId', 'in' => 'query', 'schema' => ['description' => 'The ID of the trigger.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crw-0z4pf81pgz35****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '85180AE4-9A57-48F8-9EF9-68ECCE54B552', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteRepoTrigger', 'summary' => 'Deletes a trigger of an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"85180AE4-9A57-48F8-9EF9-68ECCE54B552\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n85180AE4-9A57-48F8-9EF9-68ECCE54B552\\nsuccess","errorExample":""}]', ], 'DeleteRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'delete', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crr-l4933wbcmun2****', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-repo', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-namespace', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'Return values'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '47DD9D56-09A0-4C52-B520-C3805DBAB96B', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'DeleteRepository', 'summary' => 'Deletes an image repository.', 'description' => 'If you delete a repository, all images in the repository are also deleted.'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"47DD9D56-09A0-4C52-B520-C3805DBAB96B\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n47DD9D56-09A0-4C52-B520-C3805DBAB96B\\nsuccess","errorExample":""}]', ], 'DeleteScanRule' => [ 'summary' => 'Deletes a scan rule.', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr7W016P', 'FEATUREacrKJDAEQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'ScanRuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID'."\n", 'type' => 'string', 'required' => false, 'example' => 'crscnr-aemytkwad2h7fyhb', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response struct'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Request Id'."\n", 'type' => 'string', 'example' => '12589EF7-96E2-4554-AAD7-F7209E88CAD3'], 'Code' => ['description' => 'The HTTP status code'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'DeleteScanRule', 'description' => '删除扫描规则。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/{#scanRuleId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"12589EF7-96E2-4554-AAD7-F7209E88CAD3\\",\\n \\"Code\\": \\"success\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'DeleteStorageDomainRoutingRule' => [ 'summary' => 'Deletes an instance store domain name routing rule.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrFQBFTD'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID'."\n", 'type' => 'string', 'required' => true, 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'crsdr-n6pbhgjxtla***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID'."\n", 'type' => 'string', 'example' => 'D4978DCC-ECBD-40B0-A714-EE6959B*****', 'title' => ''], 'Success' => ['description' => 'Request status ID'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Code' => ['description' => 'The HTTP status code'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'AuthenticationFailed', 'errorMessage' => 'Authentication failed.', 'description' => 'Authentication failed.'], ], ], 'title' => 'DeleteStorageDomainRoutingRule', 'description' => '此API白名单开放,请[提交工单](https://smartservice.console.aliyun.com/service/create-ticket)获取支持。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/{#RuleId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D4978DCC-ECBD-40B0-A714-EE6959B*****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'GetArtifactBuildRule' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '33715', 'abilityTreeNodes' => ['FEATUREacrSEEOQD'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****'."\n", 'title' => ''], ], [ 'name' => 'ScopeType', 'in' => 'query', 'schema' => ['description' => 'The effective range of the artifact building rule. Valid values:'."\n" ."\n" .'* `REPOSITORY`: The artifact building rule is effective in the repository level.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'REPOSITORY', 'title' => ''], ], [ 'name' => 'ScopeId', 'in' => 'query', 'schema' => ['description' => 'The ID of the effective range of the artifact building rule.'."\n" ."\n" .'* Set the value to the ID of the image repository.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crr-8dz3aedjqlmk****'."\n", 'title' => ''], ], [ 'name' => 'ArtifactType', 'in' => 'query', 'schema' => ['description' => 'The type of the artifact.'."\n" ."\n" .'* `ACCELERATED_IMAGE`: accelerated images.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ACCELERATED_IMAGE', 'title' => ''], ], [ 'name' => 'BuildRuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the artifact building rule.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crabr-o2670wqz2n70****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7A3E98F6-296C-54AC-A612-B75E7777D4C1', 'title' => ''], 'ScopeId' => ['description' => 'The ID of the effective range of the artifact building rule.'."\n" ."\n" .'* The parameter value is the ID of the image repository.'."\n", 'type' => 'string', 'example' => 'crr-8dz3aedjqlmk****', 'title' => ''], 'BuildRuleId' => ['description' => 'The ID of the artifact building rule.'."\n", 'type' => 'string', 'example' => 'crabr-o2670wqz2n70****'."\n", 'title' => ''], 'ArtifactType' => ['description' => 'The type of the artifact. Valid values:'."\n" ."\n" .'* `ACCELERATED_IMAGE`: accelerated images.'."\n", 'type' => 'string', 'example' => 'ACCELERATED_IMAGE', 'title' => ''], 'ScopeType' => ['description' => 'The effective range of the artifact building rule. Valid values:'."\n" ."\n" .'* `REPOSITORY`: The artifact building rule is effective in the repository level.'."\n", 'type' => 'string', 'example' => 'REPOSITORY', 'title' => ''], 'Parameters' => [ 'description' => 'Additional parameters.'."\n", 'type' => 'object', 'properties' => [ 'ImageIndexOnly' => ['description' => 'Indicates whether the index-only mode is enabled.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'PriorityFile' => ['description' => 'The list of files that you want to prefetch when you use the image acceleration feature. Each entry contains the Base64-encoded absolute path of a file.'."\n", 'type' => 'string', 'example' => 'L2hvbWUvdGVzdC8=', 'title' => ''], ], 'title' => '', 'example' => '', ], 'Code' => ['description' => 'The API return code:'."\n" .'- **200**: Indicates success.'."\n" .'- Others: Indicate error codes.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'GetArtifactBuildRule', 'summary' => 'Queries the details of an artifact building rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A3E98F6-296C-54AC-A612-B75E7777D4C1\\",\\n \\"ScopeId\\": \\"crr-8dz3aedjqlmk****\\",\\n \\"BuildRuleId\\": \\"crabr-o2670wqz2n70****\\\\n\\",\\n \\"ArtifactType\\": \\"ACCELERATED_IMAGE\\",\\n \\"ScopeType\\": \\"REPOSITORY\\",\\n \\"Parameters\\": {\\n \\"ImageIndexOnly\\": false,\\n \\"PriorityFile\\": \\"L2hvbWUvdGVzdC8=\\"\\n },\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetArtifactBuildTask' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-shac42yvqzvq****', 'title' => ''], ], [ 'name' => 'BuildTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the artifact build task.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i2a-1yu****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'EndTime' => ['description' => 'The Unix timestamp in seconds when the task ended.', 'type' => 'integer', 'format' => 'int32', 'example' => '1685415871', 'title' => ''], 'StartTime' => ['description' => 'The Unix timestamp in seconds when the task started.', 'type' => 'integer', 'format' => 'int32', 'example' => '1685437471', 'title' => ''], 'ArtifactBuildType' => ['description' => 'The artifact build type. Valid values:'."\n" ."\n" .'- `IMAGE_TO_ACCELERATED_IMAGE`: an accelerated image for ACK.'."\n" ."\n" .'- `IMAGE_TO_ECI_ACCELERATED_IMAGE`: an accelerated image for ECI.', 'type' => 'string', 'example' => 'IMAGE_TO_ACCELERATED_IMAGE', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C4C7DD0C-C9D6-437A-A7EE-121EFD70D002', 'title' => ''], 'TaskStatus' => ['description' => 'The status of the artifact build task. Valid values:'."\n" ."\n" .'- `PENDING`: The task is being scheduled.'."\n" ."\n" .'- `BUILDING`: The task is in progress.'."\n" ."\n" .'- `SUCCESS`: The task is successful.'."\n" ."\n" .'- `FAILED`: The task failed.', 'type' => 'string', 'example' => 'BUILDING', 'title' => ''], 'BuildTaskId' => ['description' => 'The ID of the artifact build task.', 'type' => 'string', 'example' => 'i2a-1yu****', 'title' => ''], 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Instructions' => [ 'items' => ['description' => 'This parameter is reserved.', 'type' => 'string', 'example' => 'null', 'title' => ''], 'type' => 'array', 'description' => '', 'title' => '', 'example' => '', ], 'SourceArtifact' => [ 'description' => 'The source artifact.', 'properties' => [ 'RepoId' => ['description' => 'The repository ID. Currently, only image repositories are supported.', 'type' => 'string', 'example' => 'cri-shac42yvqzvq****', 'title' => ''], 'Version' => ['description' => 'The artifact version. Currently, only image versions are supported.', 'type' => 'string', 'example' => 'latest', 'title' => ''], 'ArtifactType' => ['description' => 'The artifact type. Currently, only `IMAGE` is supported.', 'type' => 'string', 'example' => 'IMAGE', 'title' => ''], ], 'type' => 'object', 'title' => '', 'example' => '', ], 'TargetArtifact' => [ 'description' => 'The target artifact.', 'properties' => [ 'RepoId' => ['description' => 'The repository ID. It must be the same as the repository ID of the source artifact. Only image repositories are supported.', 'type' => 'string', 'example' => 'crr-1234567', 'title' => ''], 'Version' => ['description' => 'The artifact version. Currently, only image versions are supported.', 'type' => 'string', 'example' => 'latest_accelerated', 'title' => ''], 'ArtifactType' => ['description' => 'The artifact type. Currently, only `IMAGE` is supported.', 'type' => 'string', 'example' => 'IMAGE', 'title' => ''], ], 'type' => 'object', 'title' => '', 'example' => '', ], ], 'type' => 'object', 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'title' => 'GetArtifactBuildTask', 'summary' => 'Retrieves the details of an artifact build task.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactBuildTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1685415871,\\n \\"StartTime\\": 1685437471,\\n \\"ArtifactBuildType\\": \\"IMAGE_TO_ACCELERATED_IMAGE\\",\\n \\"RequestId\\": \\"C4C7DD0C-C9D6-437A-A7EE-121EFD70D002\\",\\n \\"TaskStatus\\": \\"BUILDING\\",\\n \\"BuildTaskId\\": \\"i2a-1yu****\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"Instructions\\": [\\n \\"null\\"\\n ],\\n \\"SourceArtifact\\": {\\n \\"RepoId\\": \\"cri-shac42yvqzvq****\\",\\n \\"Version\\": \\"latest\\",\\n \\"ArtifactType\\": \\"IMAGE\\"\\n },\\n \\"TargetArtifact\\": {\\n \\"RepoId\\": \\"crr-1234567\\",\\n \\"Version\\": \\"latest_accelerated\\",\\n \\"ArtifactType\\": \\"IMAGE\\"\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetArtifactLifecycleRule' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrQD2ZKV'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-hpdfkc6utbaq****'."\n", 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cralr-a18bkiajy81****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextTime' => ['description' => 'The timestamp of the next scheduled execution.', 'type' => 'integer', 'format' => 'int64', 'example' => '1701878400000', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1571926439000', 'title' => ''], 'TagRegexp' => ['description' => 'The regular expression that matches image tags to select versions for retention.', 'type' => 'string', 'example' => '.*-alpine', 'title' => ''], 'EnableDeleteTag' => ['description' => 'Specifies if lifecycle management is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" ."\n" .'- `true`: The request succeeded.'."\n" ."\n" .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], 'NamespaceName' => ['description' => 'The namespace name.', 'type' => 'string', 'example' => 'test-namespace', 'title' => ''], 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cralr-a18bkiajy8****', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '724402D0-75CD-4794-BC20-7D37208****', 'title' => ''], 'ModifiedTime' => ['description' => 'The last modified time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1638259914000', 'title' => ''], 'RetentionTagCount' => ['description' => 'The number of image versions to retain.', 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'title' => ''], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Auto' => ['description' => 'Specifies if the rule is executed automatically.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ScheduleTime' => ['description' => 'The execution schedule.', 'type' => 'string', 'example' => 'WEEK', 'title' => ''], 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'example' => 'test-repo', 'title' => ''], 'Scope' => ['description' => 'The scope of the rule.', 'type' => 'string', 'example' => 'INSTANCE', 'title' => ''], 'Policies' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'Filter' => [ 'type' => 'object', 'properties' => [ 'TagWildcard' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'Condition' => [ 'type' => 'object', 'properties' => [ 'LastPushOlderThanDays' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], 'LastPullOlderThanDays' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], 'LatestTagCount' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'GetArtifactLifecycleRule', 'summary' => 'Lists artifact lifecycle management rules.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextTime\\": 1701878400000,\\n \\"CreateTime\\": 1571926439000,\\n \\"TagRegexp\\": \\".*-alpine\\",\\n \\"EnableDeleteTag\\": true,\\n \\"IsSuccess\\": true,\\n \\"InstanceId\\": \\"cri-xkx6vujuhay0****\\",\\n \\"NamespaceName\\": \\"test-namespace\\",\\n \\"RuleId\\": \\"cralr-a18bkiajy8****\\",\\n \\"RequestId\\": \\"724402D0-75CD-4794-BC20-7D37208****\\",\\n \\"ModifiedTime\\": 1638259914000,\\n \\"RetentionTagCount\\": 30,\\n \\"Code\\": \\"success\\",\\n \\"Auto\\": true,\\n \\"ScheduleTime\\": \\"WEEK\\",\\n \\"RepoName\\": \\"test-repo\\",\\n \\"Scope\\": \\"INSTANCE\\",\\n \\"Policies\\": [\\n {\\n \\"Type\\": \\"\\",\\n \\"Filter\\": {\\n \\"TagWildcard\\": \\"\\"\\n },\\n \\"Condition\\": {\\n \\"LastPushOlderThanDays\\": 0,\\n \\"LastPullOlderThanDays\\": 0,\\n \\"LatestTagCount\\": 0\\n }\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetArtifactSubscriptionRule' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '141837', 'abilityTreeNodes' => ['FEATUREacr5ED6LF'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-c0o11woew0k****'."\n", 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crasr-mdbpung4i1rm****'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'IsSuccess' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- `true`: The request succeeded.'."\n" ."\n" .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cri-hpdfkc6utbaq****'."\n", 'title' => ''], 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'crasr-mdbpung4i1rm****'."\n", 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D4978DCC-ECBD-40B0-A714-EE6959B22C77', 'title' => ''], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'SourceProvider' => [ 'description' => 'The artifact source.', 'enumValueTitles' => ['DOCKER_HUB' => 'Docker Hub', 'GCR' => 'GCR', 'QUAY' => 'Quay.io'], 'type' => 'string', 'example' => 'DOCKER_HUB', 'title' => '', ], 'SourceNamespaceName' => ['description' => 'The source namespace.', 'type' => 'string', 'example' => 'library', 'title' => ''], 'SourceRepoName' => ['description' => 'The source repository.', 'type' => 'string', 'example' => 'nginx', 'title' => ''], 'NamespaceName' => ['description' => 'The destination ACR namespace.', 'type' => 'string', 'example' => 'test-ns'."\n", 'title' => ''], 'RepoName' => ['description' => 'The destination ACR repository.', 'type' => 'string', 'example' => 'test-repo'."\n", 'title' => ''], 'TagRegexp' => ['description' => 'The regular expression that is used to match the tags of images in the source repository for subscription.', 'type' => 'string', 'example' => 'release-v.*', 'title' => ''], 'TagCount' => ['description' => 'The number of images to subscribe to.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'Override' => ['description' => 'Indicates whether to overwrite the existing images that have the same tag in the destination repository.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Accelerate' => ['description' => 'Indicates whether to enable the accelerated data transfer feature. This feature is in public preview. It optimizes scheduling policies and network paths to improve the speed of artifact subscription.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'CreateTime' => ['description' => 'The time when the rule was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1570759546000', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the rule was last modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '1638259914000', 'title' => ''], 'Platform' => [ 'description' => 'The operating systems and architectures. If a source repository contains multi-architecture images, only images that match the specified platforms are synchronized to the destination repository of the Enterprise Edition instance.', 'type' => 'array', 'items' => [ 'description' => 'The operating system/architecture.', 'enumValueTitles' => ['linux/arm' => 'linux/arm', 'windows/x86' => 'windows/x86', '*/*' => 'All platforms.', 'linux/arm64' => 'linux/arm64', 'windows/x86-64' => 'windows/x86-64', 'linux/amd64' => 'linux/amd64'], 'type' => 'string', 'example' => 'linux/amd64', 'title' => '', ], 'title' => '', 'example' => '', ], 'SourceDomain' => ['description' => 'The domain name of the artifact source.', 'type' => 'string', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], [], ], 'title' => 'GetArtifactSubscriptionRule', 'summary' => 'Retrieves the details of an artifact subscription rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsSuccess\\": true,\\n \\"InstanceId\\": \\"cri-hpdfkc6utbaq****\\\\n\\",\\n \\"RuleId\\": \\"crasr-mdbpung4i1rm****\\\\n\\",\\n \\"RequestId\\": \\"D4978DCC-ECBD-40B0-A714-EE6959B22C77\\",\\n \\"Code\\": \\"success\\",\\n \\"SourceProvider\\": \\"DOCKER_HUB\\",\\n \\"SourceNamespaceName\\": \\"library\\",\\n \\"SourceRepoName\\": \\"nginx\\",\\n \\"NamespaceName\\": \\"test-ns\\\\n\\",\\n \\"RepoName\\": \\"test-repo\\\\n\\",\\n \\"TagRegexp\\": \\"release-v.*\\",\\n \\"TagCount\\": 1,\\n \\"Override\\": true,\\n \\"Accelerate\\": true,\\n \\"CreateTime\\": 1570759546000,\\n \\"ModifiedTime\\": 1638259914000,\\n \\"Platform\\": [\\n \\"linux/amd64\\"\\n ],\\n \\"SourceDomain\\": \\"\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetArtifactSubscriptionTask' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crast-40le4es9yh0p****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '12589EF7-96E2-4554-AAD7-F7209E88CAD3', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'crast-40le4es9yh0p****', 'title' => ''], 'TaskStatus' => ['description' => 'The status of the task.'."\n", 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], 'TaskResult' => ['description' => 'The task results.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'TaskType' => ['description' => 'The type of the task. Valid values:'."\n", 'type' => 'string', 'example' => 'AUTO', 'title' => ''], 'StartTime' => ['description' => 'The start time of the artifact subscription task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1568718468000', 'title' => ''], 'EndTime' => ['description' => 'The end time of the artifact subscription task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1691979202000', 'title' => ''], 'ArtifactType' => ['description' => 'The artifact type.'."\n", 'type' => 'string', 'example' => 'IMAGE', 'title' => ''], 'SourceProvider' => ['description' => 'The artifact source.'."\n", 'type' => 'string', 'example' => 'DOCKER_HUB', 'title' => ''], 'SourceRepoType' => ['description' => 'The type of the source repository.'."\n", 'type' => 'string', 'example' => 'PUBLIC', 'title' => ''], 'SourceNamespaceName' => ['description' => 'The name of the source namespace.'."\n", 'type' => 'string', 'example' => 'library', 'title' => ''], 'SourceRepoName' => ['description' => 'The name of the source repository.'."\n", 'type' => 'string', 'example' => 'nginx', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the Container Registry namespace.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'RepoName' => ['description' => 'The name of the Container Registry repository.'."\n", 'type' => 'string', 'example' => 'test-repo', 'title' => ''], 'TagTotalCount' => ['description' => 'The total number of tags.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], 'TagSubscriptionCount' => ['description' => 'The total subscribed tags.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'Message' => ['description' => 'The return message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'GetArtifactSubscriptionTask', 'summary' => 'Queries an artifact subscription task.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cr:GetArtifactSubscriptionTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"12589EF7-96E2-4554-AAD7-F7209E88CAD3\\",\\n \\"Code\\": \\"success\\",\\n \\"InstanceId\\": \\"cri-xkx6vujuhay0****\\",\\n \\"TaskId\\": \\"crast-40le4es9yh0p****\\",\\n \\"TaskStatus\\": \\"RUNNING\\",\\n \\"TaskResult\\": \\"SUCCESS\\",\\n \\"TaskType\\": \\"AUTO\\",\\n \\"StartTime\\": 1568718468000,\\n \\"EndTime\\": 1691979202000,\\n \\"ArtifactType\\": \\"IMAGE\\",\\n \\"SourceProvider\\": \\"DOCKER_HUB\\",\\n \\"SourceRepoType\\": \\"PUBLIC\\",\\n \\"SourceNamespaceName\\": \\"library\\",\\n \\"SourceRepoName\\": \\"nginx\\",\\n \\"NamespaceName\\": \\"test\\",\\n \\"RepoName\\": \\"test-repo\\",\\n \\"TagTotalCount\\": 6,\\n \\"TagSubscriptionCount\\": 1,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', ], 'GetArtifactSubscriptionTaskResult' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '141857', 'abilityTreeNodes' => ['FEATUREacr5ED6LF'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-90fxryf9pwf****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crast-y64sq01bgad****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0A8768F6-9B47-5127-A075-9CFB9F79181F', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'TaskResults' => [ 'description' => 'The result of the artifact subscription task.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'cri-isj2wgaw4z9****', 'title' => ''], 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'crast-wkpfwqozjiq****', 'title' => ''], 'RepoName' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'example' => 'test-reop', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'test-ns', 'title' => ''], 'Tag' => ['description' => 'The image tag.'."\n", 'type' => 'string', 'example' => 'v2.0', 'title' => ''], 'Status' => ['description' => 'The status of the task.'."\n", 'type' => 'string', 'example' => 'COMPLETED', 'title' => ''], 'Result' => ['description' => 'The result of the task.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'StartTime' => ['description' => 'The start time of the subscription task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1691719501000', 'title' => ''], 'EndTime' => ['description' => 'The end time of the subscription task.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1692756630000', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'GetArtifactSubscriptionTaskResult', 'summary' => 'Queries the details of an artifact subscription task.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactSubscriptionTaskResult', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0A8768F6-9B47-5127-A075-9CFB9F79181F\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 1,\\n \\"TaskResults\\": [\\n {\\n \\"InstanceId\\": \\"cri-isj2wgaw4z9****\\",\\n \\"TaskId\\": \\"crast-wkpfwqozjiq****\\",\\n \\"RepoName\\": \\"test-reop\\",\\n \\"NamespaceName\\": \\"test-ns\\",\\n \\"Tag\\": \\"v2.0\\",\\n \\"Status\\": \\"COMPLETED\\",\\n \\"Result\\": \\"SUCCESS\\",\\n \\"StartTime\\": 1691719501000,\\n \\"EndTime\\": 1692756630000\\n }\\n ]\\n}","type":"json"}]', ], 'GetAuthorizationToken' => [ 'summary' => 'Retrieves a temporary account and temporary password for logging on to an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr9J9LGC'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The repository instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcvaduwb', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E069EB86-E6AD-4A98-ADDE-0E993390239A', 'title' => ''], 'ExpireTime' => ['description' => 'The expiration timestamp of the temporary token, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1571242083000', 'title' => ''], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'TempUsername' => ['description' => 'The username used to log on to the Registry.', 'type' => 'string', 'example' => 'temp_user_cr', 'title' => ''], 'AuthorizationToken' => ['description' => 'The password used to log on to the Registry.', 'type' => 'string', 'example' => 'shaunadadakks:uuczxnjcyeyhdjadkkajsjdjadhyucb', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Retrieve temporary account and password for instance logon', 'description' => 'The temporary password is valid for 1 hour. If you use STS to make the request, the validity period of the temporary password is the same as that of the STS token used in the request.'."\n" ."\n" .'- The permissions granted by a temporary token obtained through an Alibaba Cloud account are the same as the permissions granted when you log on to the instance with the username and password of the Alibaba Cloud account.'."\n" .'- The permissions granted by a temporary token obtained through a RAM user are the same as the permissions granted when you log on to the instance with the username and password of the RAM user.'."\n" .'- The permissions granted by a temporary token obtained through STS are the same as the permissions of the STS token.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetAuthorizationToken', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E069EB86-E6AD-4A98-ADDE-0E993390239A\\",\\n \\"ExpireTime\\": 1571242083000,\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"TempUsername\\": \\"temp_user_cr\\",\\n \\"AuthorizationToken\\": \\"shaunadadakks:uuczxnjcyeyhdjadkkajsjdjadhyucb\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetChain' => [ 'summary' => 'Obtain the delivery chain definition to understand the execution order of edge zones in the delivery chain.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrPRPOYY'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'Instance ID ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], ], [ 'name' => 'ChainId', 'in' => 'query', 'schema' => ['description' => 'Delivery chain ID ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chi-0ops0gsmw5x2****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ModifiedTime' => ['description' => 'Updated At of the delivery chain description ', 'type' => 'integer', 'format' => 'int64', 'example' => '1638259914000', 'title' => ''], 'ScopeId' => ['description' => 'Delivery chain scope ID', 'type' => 'string', 'example' => 'crr-nyrh2oko32xb****', 'title' => ''], 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => 'C87993B5-7D61-5CAC-8D64-1AC732DD69FF', 'title' => ''], 'Description' => ['description' => 'Delivery chain description', 'type' => 'string', 'example' => 'description', 'title' => ''], 'CreateTime' => ['description' => 'Delivery chain creation time', 'type' => 'integer', 'format' => 'int64', 'example' => '1638255427000', 'title' => ''], 'ScopeType' => ['description' => 'Delivery chain scope type', 'type' => 'string', 'example' => 'REPOSITORY', 'title' => ''], 'Code' => ['description' => 'Return code', 'type' => 'string', 'example' => 'success', 'title' => ''], 'ChainId' => ['description' => 'Delivery chain ID ', 'type' => 'string', 'example' => 'chi-0ops0gsmw5x2****', 'title' => ''], 'InstanceId' => ['description' => 'Instance ID', 'type' => 'string', 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the operation succeeded', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Name' => ['description' => 'Delivery chain name', 'type' => 'string', 'example' => 'test', 'title' => ''], 'ChainConfig' => [ 'description' => 'Delivery chain configuration description', 'type' => 'object', 'properties' => [ 'ChainConfigId' => ['description' => 'Delivery chain configuration ID', 'type' => 'string', 'example' => 'cci-lz3ycgo69ukt****', 'title' => ''], 'IsActive' => ['description' => 'Indicates whether the delivery chain configuration is active. Valid values:'."\n" ."\n" .'- `true`: The configuration is active.'."\n" ."\n" .'- `false`: The configuration is not active.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Version' => ['description' => 'Delivery chain version', 'type' => 'string', 'example' => '1', 'title' => ''], 'Routers' => [ 'description' => 'Execution order relationships between edge zones in the delivery chain', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'From' => [ 'description' => 'source edge zone', 'type' => 'object', 'properties' => [ 'NodeName' => ['description' => 'source edge zone name', 'type' => 'string', 'example' => 'DOCKER_IMAGE_BUILD', 'title' => ''], ], 'title' => '', 'example' => '', ], 'To' => [ 'description' => 'destination edge zone', 'type' => 'object', 'properties' => [ 'NodeName' => ['description' => 'destination edge zone name', 'type' => 'string', 'example' => 'DOCKER_IMAGE_PUSH', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'Nodes' => [ 'description' => 'Each edge zone in the delivery chain', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NodeName' => ['description' => 'Delivery chain edge zone name', 'type' => 'string', 'example' => 'VULNERABILITY_SCANNING', 'title' => ''], 'Enable' => ['description' => 'Indicates whether to enable the delivery chain edge zone. Valid values:'."\n" ."\n" .'- `true`: Enable the delivery chain edge zone.'."\n" ."\n" .'- `false`: Do not enable the delivery chain edge zone.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'NodeConfig' => [ 'description' => 'Delivery chain edge zone configuration', 'type' => 'object', 'properties' => [ 'Timeout' => ['description' => 'Timeout (in seconds)', 'type' => 'integer', 'format' => 'int64', 'example' => '900', 'title' => ''], 'Retry' => ['description' => 'Retry Count ', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], 'DenyPolicy' => [ 'description' => 'Deny rules for scan nodes in the delivery chain', 'type' => 'object', 'properties' => [ 'Logic' => ['description' => 'The logic that triggers blocking upon scan detection ', 'type' => 'string', 'example' => 'AND', 'title' => ''], 'IssueLevel' => ['description' => 'The vulnerability Level at which blocking is triggered during a scan ', 'type' => 'string', 'example' => 'HIGH', 'title' => ''], 'IssueCount' => ['description' => 'Number of scanned vulnerabilities that triggers a block', 'type' => 'string', 'example' => '10', 'title' => ''], 'Action' => ['description' => 'Deny action. Valid values:'."\n" ."\n" .'- `BLOCK`: Block further execution of the delivery chain'."\n" ."\n" .'- `BLOCK_RETAG`: Block overwriting and pushing image tags'."\n" ."\n" .'- `BLOCK_DELETE_TAG`: Block deleting image tags', 'type' => 'string', 'example' => 'BLOCK', 'title' => ''], 'IssueList' => ['description' => 'Collection of CVE vulnerabilities to block. Separate multiple CVE vulnerability names with commas.', 'type' => 'string', 'example' => 'CVE-2020-8286,CVE-2020-8285', 'title' => ''], 'MaliciousList' => ['description' => 'The collection of malicious samples to block, with multiple sample names separated by commas ', 'type' => 'string', 'example' => 'mutate_cockhorse,abnormal_program', 'title' => ''], 'BaselineList' => ['description' => 'Collection of baseline samples to block. Separate multiple baseline sample names with commas.', 'type' => 'string', 'example' => 'identification,hc_image_exploit', 'title' => ''], ], 'title' => '', 'example' => '', ], 'ScanEngine' => ['description' => 'Scan engine for the delivery chain node '."\n" ."\n" .'- `SAS_SCAN_SERVICE`, Security Center scan engine (requires paid activation) '."\n" .'- `ACR_SCAN_SERVICE`, ACR scan engine ', 'type' => 'string', 'example' => 'ACR_SCAN_SERVICE', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'ScopeExclude' => [ 'description' => 'Collection of repositories excluded from delivery chain execution', 'type' => 'array', 'items' => ['description' => 'Names of repositories excluded from delivery chain execution, separated by commas', 'type' => 'string', 'example' => 'repo_name1,repo_name2'."\n", 'title' => ''], 'maxItems' => 50, 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Retrieve delivery chain definition ', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ModifiedTime\\": 1638259914000,\\n \\"ScopeId\\": \\"crr-nyrh2oko32xb****\\",\\n \\"RequestId\\": \\"C87993B5-7D61-5CAC-8D64-1AC732DD69FF\\",\\n \\"Description\\": \\"description\\",\\n \\"CreateTime\\": 1638255427000,\\n \\"ScopeType\\": \\"REPOSITORY\\",\\n \\"Code\\": \\"success\\",\\n \\"ChainId\\": \\"chi-0ops0gsmw5x2****\\",\\n \\"InstanceId\\": \\"cri-4cdrlqmhn4gm****\\",\\n \\"IsSuccess\\": true,\\n \\"Name\\": \\"test\\",\\n \\"ChainConfig\\": {\\n \\"ChainConfigId\\": \\"cci-lz3ycgo69ukt****\\",\\n \\"IsActive\\": true,\\n \\"Version\\": \\"1\\",\\n \\"Routers\\": [\\n {\\n \\"From\\": {\\n \\"NodeName\\": \\"DOCKER_IMAGE_BUILD\\"\\n },\\n \\"To\\": {\\n \\"NodeName\\": \\"DOCKER_IMAGE_PUSH\\"\\n }\\n }\\n ],\\n \\"Nodes\\": [\\n {\\n \\"NodeName\\": \\"VULNERABILITY_SCANNING\\",\\n \\"Enable\\": true,\\n \\"NodeConfig\\": {\\n \\"Timeout\\": 900,\\n \\"Retry\\": 3,\\n \\"DenyPolicy\\": {\\n \\"Logic\\": \\"AND\\",\\n \\"IssueLevel\\": \\"HIGH\\",\\n \\"IssueCount\\": \\"10\\",\\n \\"Action\\": \\"BLOCK\\",\\n \\"IssueList\\": \\"CVE-2020-8286,CVE-2020-8285\\",\\n \\"MaliciousList\\": \\"mutate_cockhorse,abnormal_program\\",\\n \\"BaselineList\\": \\"identification,hc_image_exploit\\"\\n },\\n \\"ScanEngine\\": \\"ACR_SCAN_SERVICE\\"\\n }\\n }\\n ]\\n },\\n \\"ScopeExclude\\": [\\n \\"repo_name1,repo_name2\\\\n\\"\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetChartNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DefaultRepoType' => ['description' => 'The default repository type. Valid values:'."\n" ."\n" .'* `PUBLIC`: a public repository.'."\n" .'* `PRIVATE`: a private repository.'."\n", 'type' => 'string', 'example' => 'PRIVATE', 'title' => ''], 'NamespaceId' => ['description' => 'The ID of the namespace.'."\n", 'type' => 'string', 'example' => 'crcn-43dhbjbyt2xl****', 'title' => ''], 'NamespaceStatus' => ['description' => 'The status of the namespace. Valid values:'."\n" ."\n" .'* `NORMAL`: The namespace is normal.'."\n" .'* `DELETING`: The namespace is being deleted.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CD71CF13-93AA-4805-848B-69B2DD543A9A', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], 'AutoCreateRepo' => ['description' => 'Indicates whether a repository was automatically created in the namespace. Valid values:'."\n" ."\n" .'* `true`: A repository was automatically created in the namespace.'."\n" .'* `false`: No repository was automatically created in the namespace.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'ns1', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.'."\n", 'type' => 'string', 'example' => 'rg-acfmv36i4is****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetChartNamespace', 'summary' => 'Queries a chart namespace in an instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartNamespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#NamespaceName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DefaultRepoType\\": \\"PRIVATE\\",\\n \\"NamespaceId\\": \\"crcn-43dhbjbyt2xl****\\",\\n \\"NamespaceStatus\\": \\"NORMAL\\",\\n \\"RequestId\\": \\"CD71CF13-93AA-4805-848B-69B2DD543A9A\\",\\n \\"Code\\": \\"success\\",\\n \\"InstanceId\\": \\"cri-xkx6vujuhay0****\\",\\n \\"AutoCreateRepo\\": true,\\n \\"IsSuccess\\": true,\\n \\"NamespaceName\\": \\"ns1\\",\\n \\"ResourceGroupId\\": \\"rg-acfmv36i4is****\\"\\n}","errorExample":""},{"type":"xml","example":"NORMAL\\nns1\\ntrue\\nPRIVATE\\nCD71CF13-93AA-4805-848B-69B2DD543A9A\\ncri-xkx6vujuhay0****\\ntrue\\ncrcn-43dhbjbyt2xl****\\nsuccess","errorExample":""}]', ], 'GetChartRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Summary' => ['description' => 'The summary about the chart repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'CreateTime' => ['description' => 'The time when the chart repository was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1563767620000', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], 'RepoStatus' => ['description' => 'The status of the chart repository. Valid values:'."\n" ."\n" .'* `NORMAL`: The repository is normal.'."\n" .'* `DELETING`: The repository is being deleted.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'RepoType' => ['description' => 'The type of the chart repository. Valid values:'."\n" ."\n" .'* `PUBLIC`: a public repository'."\n" .'* `PRIVATE`: a private repository'."\n", 'type' => 'string', 'example' => 'PUBLIC', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A3F6AB56-DEF4-4FF5-8DE4-680362C0E21F', 'title' => ''], 'RepoId' => ['description' => 'The ID of the chart repository.'."\n", 'type' => 'string', 'example' => 'crcr-c7letfwev5oq****', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the chart repository was last modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1563767700000', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'RepoNamespaceName' => ['description' => 'The name of the namespace to which the chart repository belongs.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'RepoName' => ['description' => 'The name of the chart repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmv36i4is****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetChartRepository', 'summary' => 'Queries the information about a chart repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Summary\\": \\"test\\",\\n \\"CreateTime\\": 1563767620000,\\n \\"IsSuccess\\": true,\\n \\"InstanceId\\": \\"cri-kmsiwlxxdcva****\\",\\n \\"RepoStatus\\": \\"NORMAL\\",\\n \\"RepoType\\": \\"PUBLIC\\",\\n \\"RequestId\\": \\"A3F6AB56-DEF4-4FF5-8DE4-680362C0E21F\\",\\n \\"RepoId\\": \\"crcr-c7letfwev5oq****\\",\\n \\"ModifiedTime\\": 1563767700000,\\n \\"Code\\": \\"success\\",\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"RepoName\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmv36i4is****\\"\\n}","errorExample":""},{"type":"xml","example":"test\\ntrue\\nA3F6AB56-DEF4-4FF5-8DE4-680362C0E21F\\ncri-kmsiwlxxdcva****\\n1563767620000\\ntest\\nsuccess\\n1563767700000\\nPUBLIC\\nNORMAL\\ntest\\ncrcr-c7letfwev5oq****","errorExample":""}]', ], 'GetInstance' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ModifiedTime' => ['description' => 'The time when the instance was last modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1571926560000', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EF34B18-4228-470C-860C-D28597CF010E', 'title' => ''], 'CreateTime' => ['description' => 'The time when the instance was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1571926439000', 'title' => ''], 'InstanceName' => ['description' => 'The name of the instance.'."\n", 'type' => 'string', 'example' => 'shanghai-instance1', 'title' => ''], 'InstanceSpecification' => ['description' => 'The edition of the instance. Valid values: Enterprise_Basic: Basic Edition instances Enterprise_Standard: Standard Edition instances Enterprise_Advanced: Advanced Edition instances'."\n", 'type' => 'string', 'example' => 'Enterprise_Basic', 'title' => ''], 'Code' => ['description' => 'Return value', 'type' => 'string', 'example' => 'success', 'title' => ''], 'InstanceStatus' => ['description' => 'The status of the instance. Valid values:'."\n" ."\n" .'* `PENDING`: The instance is being initialized.'."\n" .'* `INIT_ERROR`: The instance failed to be initialized.'."\n" .'* `STARTING`: The instance is being started.'."\n" .'* `RUNNING`: The instance is running.'."\n" .'* `STOPPING`: The instance is being stopped.'."\n" .'* `STOPPED`: The instance is stopped.'."\n" .'* `DELETING`: The instance is being deleted.'."\n" .'* `DELETED`: The instance is deleted.'."\n", 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.'."\n", 'type' => 'string', 'example' => 'rg-acfmv36i4isx****', 'title' => ''], 'InstanceIssue' => ['description' => 'The issue occurs on the instance.'."\n", 'type' => 'string', 'example' => '实例问题,取值:'."\n" .'OSS_TOO_MANY_BUCKETS:OSS Bucket 数量超限'."\n" ."\n" .'OSS_BUCKET_ALREADY_EXISTS:同名 OSS Bucket 已存在'."\n" ."\n" .'OSS_SERVICE_ROLE_UNAUTHORIZED:OSS 权限未授权'."\n" ."\n" .'USER_NOT_REGISTERED_BY_REAL_NAME:国际站账号在购买中国站 OSS Bucket 时未进行实名认证', 'title' => ''], 'Tags' => [ 'description' => 'The tags of the instance.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The tag of the instance.'."\n", 'type' => 'object', 'properties' => [ 'TagKey' => ['title' => '', 'description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'test_key'], 'TagValue' => ['title' => '', 'description' => 'The tag value.'."\n", 'type' => 'string', 'example' => 'test_value'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Query instance information ', 'summary' => 'Query instance information.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ModifiedTime\\": 1571926560000,\\n \\"RequestId\\": \\"6EF34B18-4228-470C-860C-D28597CF010E\\",\\n \\"CreateTime\\": 1571926439000,\\n \\"InstanceName\\": \\"shanghai-instance1\\",\\n \\"InstanceSpecification\\": \\"Enterprise_Basic\\",\\n \\"Code\\": \\"success\\",\\n \\"InstanceStatus\\": \\"RUNNING\\",\\n \\"InstanceId\\": \\"cri-xkx6vujuhay0****\\",\\n \\"IsSuccess\\": true,\\n \\"ResourceGroupId\\": \\"rg-acfmv36i4isx****\\",\\n \\"InstanceIssue\\": \\"实例问题,取值:\\\\nOSS_TOO_MANY_BUCKETS:OSS Bucket 数量超限\\\\n\\\\nOSS_BUCKET_ALREADY_EXISTS:同名 OSS Bucket 已存在\\\\n\\\\nOSS_SERVICE_ROLE_UNAUTHORIZED:OSS 权限未授权\\\\n\\\\nUSER_NOT_REGISTERED_BY_REAL_NAME:国际站账号在购买中国站 OSS Bucket 时未进行实名认证\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"test_key\\",\\n \\"TagValue\\": \\"test_value\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetInstanceCount' => [ 'summary' => 'Queries the number of instances of a user.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr9J9LGC'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API call is successful. Valid values:'."\n" ."\n" .'- `true`: The API call is successful.'."\n" ."\n" .'- `false`: The API call fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BC648259-91A7-4502-BED3-EDF64361FA83', 'title' => ''], 'Count' => ['description' => 'The number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetUserSourceCount', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BC648259-91A7-4502-BED3-EDF64361FA83\\",\\n \\"Count\\": 5\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetInstanceCustomizedDomain' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '33731', 'abilityTreeNodes' => ['FEATUREacr9LPARH'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'Registry', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'registry.ugnas.com', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ModuleName' => ['type' => 'string', 'description' => '', 'example' => 'Chart', 'title' => ''], 'Domain' => ['type' => 'string', 'description' => '', 'example' => 'docker-images.qu-in.club', 'title' => ''], 'CreateTime' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => '1571926439000', 'title' => ''], 'IsSuccess' => ['type' => 'boolean', 'description' => '', 'example' => 'true', 'title' => ''], 'InstanceId' => ['type' => 'string', 'description' => '', 'example' => 'cri-4ec5xvj4j0l****', 'title' => ''], 'CertId' => ['type' => 'string', 'description' => '', 'example' => '24858802', 'title' => ''], 'EndpointType' => ['type' => 'string', 'description' => '', 'example' => 'internet', 'title' => ''], 'RegionId' => ['type' => 'string', 'description' => '', 'example' => 'cn-shanghai', 'title' => ''], 'RequestId' => ['type' => 'string', 'description' => '', 'example' => '4CE1F661-75DD-4EBD-A4AD-057B26834ABB', 'title' => ''], 'ModifiedTime' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'example' => '1638259914000', 'title' => ''], 'Code' => ['type' => 'string', 'description' => '', 'example' => 'success', 'title' => ''], 'DomainType' => ['type' => 'string', 'description' => '', 'example' => 'USER', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => '', 'summary' => '', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ModuleName\\": \\"Chart\\",\\n \\"Domain\\": \\"docker-images.qu-in.club\\",\\n \\"CreateTime\\": 1571926439000,\\n \\"IsSuccess\\": true,\\n \\"InstanceId\\": \\"cri-4ec5xvj4j0l****\\",\\n \\"CertId\\": \\"24858802\\",\\n \\"EndpointType\\": \\"internet\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"RequestId\\": \\"4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\",\\n \\"ModifiedTime\\": 1638259914000,\\n \\"Code\\": \\"success\\",\\n \\"DomainType\\": \\"USER\\"\\n}","type":"json"}]', ], 'GetInstanceEndpoint' => [ 'summary' => 'Queries an endpoint of an instance.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'EndpointType', 'in' => 'query', 'schema' => ['description' => 'The type of the endpoint. Set the value to Internet.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'internet', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the module that you want to access. Valid values:'."\n" ."\n" .'* `Registry`: the image repository.'."\n" .'* `Chart`: a Helm chart.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Registry', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the instance.'."\n", 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '8F3D5EC5-39D1-4C53-A198-48C54C658FA3', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'AclEnable' => ['description' => 'Indicates whether the access control list (ACL) feature is enabled.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Enable' => ['description' => 'Indicates whether the ACL feature is enabled.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Domains' => [ 'description' => 'Domain names.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => ['description' => 'The type of the domain name. Valid values:'."\n" ."\n" .'* `SYSTEM`: a system domain name.'."\n" .'* `USER`: a user domain name.'."\n", 'type' => 'string', 'example' => 'SYSTEM', 'title' => ''], 'Domain' => ['description' => 'The domain name that is used to access the Container Registry Enterprise Edition instance.'."\n", 'type' => 'string', 'example' => 'shanghai-instance1-registry.cn-shanghai.cr.aliyuncs.com', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'AclEntries' => [ 'description' => 'The ACLs.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Comment' => ['description' => 'Remarks for public IP address whitelists.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'Entry' => ['description' => 'The public IP address whitelist.'."\n", 'type' => 'string', 'example' => '192.168.1.0/24', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetInstanceEndpoint', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstanceEndpoint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"RUNNING\\",\\n \\"RequestId\\": \\"8F3D5EC5-39D1-4C53-A198-48C54C658FA3\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"AclEnable\\": true,\\n \\"Enable\\": true,\\n \\"Domains\\": [\\n {\\n \\"Type\\": \\"SYSTEM\\",\\n \\"Domain\\": \\"shanghai-instance1-registry.cn-shanghai.cr.aliyuncs.com\\"\\n }\\n ],\\n \\"AclEntries\\": [\\n {\\n \\"Comment\\": \\"1\\",\\n \\"Entry\\": \\"192.168.1.0/24\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"RUNNING\\n\\n SYSTEM\\n shanghai-instance1-registry.cn-shanghai.cr.aliyuncs.com\\n\\n\\n 1\\n 192.168.1.0/24\\n\\ntrue\\ntrue\\n8F3D5EC5-39D1-4C53-A198-48C54C658FA3\\ntrue\\nsuccess","errorExample":""}]', ], 'GetInstanceUsage' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '33741', 'abilityTreeNodes' => ['FEATUREacrLBBNHS'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NamespaceUsage' => ['description' => 'The number of image namespaces that are created in the instance.'."\n", 'type' => 'string', 'example' => '4', 'title' => ''], 'RepoQuota' => ['description' => 'The quota of image repositories for the instance.'."\n", 'type' => 'string', 'example' => '1000', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A726E801-7FCF-43F9-AF1C-51B3E65D3E7A', 'title' => ''], 'ChartNamespaceQuota' => ['description' => 'The quota of chart namespaces.'."\n", 'type' => 'string', 'example' => '50', 'title' => ''], 'RepoUsage' => ['description' => 'The number of image repositories that are created in the instance.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], 'NamespaceQuota' => ['description' => 'The quota of image namespaces for the instance.'."\n", 'type' => 'string', 'example' => '100', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ChartRepoUsage' => ['description' => 'The number of chart repositories that are created.'."\n", 'type' => 'string', 'example' => '5', 'title' => ''], 'ChartNamespaceUsage' => ['description' => 'The number of chart namespaces that are created in the instance.'."\n", 'type' => 'string', 'example' => '2', 'title' => ''], 'ChartRepoQuota' => ['description' => 'The quota of chart repositories for the instance.'."\n", 'type' => 'string', 'example' => '5000', 'title' => ''], 'VpcQuota' => ['description' => 'VPC quota', 'type' => 'string', 'example' => '5', 'title' => ''], 'VpcUsage' => ['description' => 'Number of bound VPCs', 'type' => 'string', 'example' => '2', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetInstanceUsage', 'summary' => 'Queries the quota usage of an instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstanceUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"NamespaceUsage\\": \\"4\\",\\n \\"RepoQuota\\": \\"1000\\",\\n \\"RequestId\\": \\"A726E801-7FCF-43F9-AF1C-51B3E65D3E7A\\",\\n \\"ChartNamespaceQuota\\": \\"50\\",\\n \\"RepoUsage\\": \\"2\\",\\n \\"NamespaceQuota\\": \\"100\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"ChartRepoUsage\\": \\"5\\",\\n \\"ChartNamespaceUsage\\": \\"2\\",\\n \\"ChartRepoQuota\\": \\"5000\\",\\n \\"VpcQuota\\": \\"5\\",\\n \\"VpcUsage\\": \\"2\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n2\\n50\\n1000\\nA726E801-7FCF-43F9-AF1C-51B3E65D3E7A\\n2\\n100\\n4\\nsuccess\\n5\\n5000","errorExample":""}]', ], 'GetInstanceVpcEndpoint' => [ 'summary' => 'Queries the endpoints of the virtual private clouds (VPCs) in which a Container Registry instance is deployed.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrFQBFTD'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the module that you want to access. Valid values:'."\n" ."\n" .'* `Registry`: the image repository.'."\n" .'* `Chart`: a Helm chart.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Chart', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'BAE9349D-A587-4F9A-B574-9DA0EF2638D1', 'title' => ''], 'Enable' => ['description' => 'Indicates whether the VPC endpoint is enabled. Valid values:'."\n" ."\n" .'* `true`'."\n" .'* `false`'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Domains' => [ 'description' => 'Domain names.'."\n", 'type' => 'array', 'items' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'test-registry.cn-hangzhou.cr.aliyuncs.com', 'title' => ''], 'title' => '', 'example' => '', ], 'LinkedVpcs' => [ 'description' => 'List of linked VPCs'."\n", 'type' => 'array', 'items' => [ 'description' => 'The linked VPC information'."\n", 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the VPC. Valid values:'."\n" ."\n" .'* `CREATING`'."\n" .'* `RUNNING`'."\n", 'type' => 'string', 'example' => 'CREATING', 'title' => ''], 'VpcId' => ['description' => 'VPC ID'."\n", 'type' => 'string', 'example' => 'vpc-uf6aamu2nomfr1thd****', 'title' => ''], 'Ip' => ['description' => 'IP address.'."\n", 'type' => 'string', 'example' => '192.168.10.11', 'title' => ''], 'DefaultAccess' => ['description' => 'Indicates whether the VPC is the default VPC over which the Container Registry instance is accessed.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'VswitchId' => ['description' => 'The ID of the vSwitch.'."\n", 'type' => 'string', 'example' => 'vsw-uf62m5vmxl2e72dk7****', 'title' => ''], 'Issue' => ['title' => '', 'description' => 'The error message detected in the linked VPC access control.'."\n", 'type' => 'string', 'example' => 'PRIVATE_ZONE_CONFLICT_AT_{private_zone_id}'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'ModuleName' => ['description' => 'The name of the modules that can be accessed. Valid values:'."\n" ."\n" .'* `Registry`: image repositories.'."\n" .'* `Chart`: Helm charts.'."\n", 'type' => 'string', 'example' => 'Registry', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetInstanceVpcEndpoint', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstanceVpcEndpoint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BAE9349D-A587-4F9A-B574-9DA0EF2638D1\\",\\n \\"Enable\\": true,\\n \\"Domains\\": [\\n \\"test-registry.cn-hangzhou.cr.aliyuncs.com\\"\\n ],\\n \\"LinkedVpcs\\": [\\n {\\n \\"Status\\": \\"CREATING\\",\\n \\"VpcId\\": \\"vpc-uf6aamu2nomfr1thd****\\",\\n \\"Ip\\": \\"192.168.10.11\\",\\n \\"DefaultAccess\\": false,\\n \\"VswitchId\\": \\"vsw-uf62m5vmxl2e72dk7****\\",\\n \\"Issue\\": \\"PRIVATE_ZONE_CONFLICT_AT_{private_zone_id}\\"\\n }\\n ],\\n \\"ModuleName\\": \\"Registry\\"\\n}","type":"json"}]', 'translator' => 'manual', ], 'GetNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33746', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the namespace.', 'type' => 'string', 'required' => false, 'example' => 'crn-tiw8t3f8i5lta****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DefaultRepoType' => ['description' => 'The default repository type. Valid values:'."\n" ."\n" .'- `PUBLIC`: a public repository'."\n" ."\n" .'- `PRIVATE`: a private repository', 'type' => 'string', 'deprecated' => true, 'example' => 'PUBLIC', 'title' => ''], 'NamespaceId' => ['description' => 'The ID of the namespace.', 'type' => 'string', 'example' => 'crn-tiw8t3f8i5lt****', 'title' => ''], 'NamespaceStatus' => ['description' => 'The status of the namespace. Valid values:'."\n" ."\n" .'- `NORMAL`: The namespace is running as expected.'."\n" ."\n" .'- `DELETING`: The namespace is being deleted.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E4BC9E21-8AA5-4582-83C1-C1209AB8196F', 'title' => ''], 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], 'AutoCreateRepo' => ['description' => 'Indicates whether automatic repository creation is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the namespace.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmv36i4is****', 'title' => ''], 'DefaultRepoConfiguration' => ['$ref' => '#/components/schemas/RepoConfiguration', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'GetNamespace', 'summary' => 'Retrieves information about a namespace.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}'], ], ], ], ], 'translator' => 'machine', 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DefaultRepoType\\": \\"PUBLIC\\",\\n \\"NamespaceId\\": \\"crn-tiw8t3f8i5lt****\\",\\n \\"NamespaceStatus\\": \\"NORMAL\\",\\n \\"RequestId\\": \\"E4BC9E21-8AA5-4582-83C1-C1209AB8196F\\",\\n \\"Code\\": \\"success\\",\\n \\"InstanceId\\": \\"cri-kmsiwlxxdcva****\\",\\n \\"AutoCreateRepo\\": true,\\n \\"IsSuccess\\": true,\\n \\"NamespaceName\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmv36i4is****\\",\\n \\"DefaultRepoConfiguration\\": {\\n \\"RepoType\\": \\"\\",\\n \\"TagImmutability\\": true,\\n \\"ArtifactBuildRuleParameters\\": {\\n \\"ImageIndexOnly\\": true\\n }\\n }\\n}","type":"json"}]', ], 'GetRepoBuildRecord' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'BuildRecordId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a78ec6fb-16ea-4649-93b7-f52afba7d****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the instance.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], 'EndTime' => ['description' => 'The time when the image building was completed.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1568718698000', 'title' => ''], 'StartTime' => ['description' => 'The time when the image building started.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1568718468000', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'a78ec6fb-16ea-4649-93b7-f52afba7d9de1 ', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'BuildRecordId' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'example' => '79174CBA-8556-443A-8976-22C922D7****', 'title' => ''], 'Image' => [ 'description' => 'The information about the image.'."\n", 'type' => 'object', 'properties' => [ 'RepoNamespaceName' => ['description' => 'The name of the namespace to which the image repository belongs.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ImageTag' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], 'RepoName' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetRepoBuildRecord', 'summary' => 'Queries the information about image building records of a repository.', 'description' => '****', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositoryBuildRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"true\\",\\n \\"EndTime\\": 1568718698000,\\n \\"StartTime\\": 1568718468000,\\n \\"RequestId\\": \\"a78ec6fb-16ea-4649-93b7-f52afba7d9de1\\\\t\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"BuildRecordId\\": \\"79174CBA-8556-443A-8976-22C922D7****\\",\\n \\"Image\\": {\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"ImageTag\\": \\"master\\",\\n \\"RepoName\\": \\"test\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"true\\ntrue\\n1568718698000\\na78ec6fb-16ea-4649-93b7-f52afba7d9de1\\t\\n1568718468000\\n79174CBA-8556-443A-8976-22C922D7****\\n\\n test\\n master\\n test\\n\\nsuccess","errorExample":""}]', ], 'GetRepoBuildRecordStatus' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-jnzm47ihjmgc****', 'title' => ''], ], [ 'name' => 'BuildRecordId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a78ec6fb-16ea-4649-93b7-f52afba7d****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '79174CBA-8556-443A-8976-22C922D7BE37', 'title' => ''], 'BuildStatus' => ['description' => 'The status of the image building.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetRepoBuildRecordStatus', 'summary' => 'Queries the status of an image building task.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetBuildRepositoryStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"79174CBA-8556-443A-8976-22C922D7BE37\\",\\n \\"BuildStatus\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n79174CBA-8556-443A-8976-22C922D7BE37\\nsuccess\\nsuccess","errorExample":""}]', ], 'GetRepoSourceCodeRepo' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-shac42yvqzvq****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-gzsrlevmvoaq****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'CodeRepoType' => ['description' => 'The type of the code hosting platform. Valid values: `GITHUB`, `GITLAB`, `GITEE`, `CODE`, and `CODEUP`.'."\n", 'type' => 'string', 'example' => 'GITHUB', 'title' => ''], 'RepoId' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'example' => 'crr-gzsrlevmvoaq****', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4CE1F661-75DD-4EBD-A4AD-057B26834ABB', 'title' => ''], 'CodeRepoNamespaceName' => ['description' => 'The namespace to which the source code repository belongs.'."\n", 'type' => 'string', 'example' => 'namespace', 'title' => ''], 'OverseaBuild' => ['description' => 'Indicates whether image building is accelerated for servers outside the Chinese mainland. Valid values:'."\n" ."\n" .'* `true`: Image building is accelerated for servers outside the Chinese mainland.'."\n" .'* `false`: Image building is not accelerated for servers outside the Chinese mainland.'."\n", 'type' => 'string', 'example' => 'false', 'title' => ''], 'Code' => ['description' => 'The response code.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'CodeRepoName' => ['description' => 'The name of the source code repository.'."\n", 'type' => 'string', 'example' => 'repo', 'title' => ''], 'AutoBuild' => ['description' => 'Indicates whether image building is automatically triggered when source code is committed. Valid values:'."\n" ."\n" .'* `true`: Image building is automatically triggered when source code is committed.'."\n" .'* `false`: Image building is not triggered when source code is committed.'."\n", 'type' => 'string', 'example' => 'true', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API call is successful. Valid values:'."\n" ."\n" .'* `true`: successful'."\n" .'* `false`: failed'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'DisableCacheBuild' => ['description' => 'Indicates whether build cache is disabled. Valid values:'."\n" ."\n" .'* `true`: Build cache is disabled.'."\n" .'* `false`: Build cache is enabled.'."\n", 'type' => 'string', 'example' => 'false', 'title' => ''], 'CodeRepoDomain' => ['description' => 'The address of the source code repository.'."\n", 'type' => 'string', 'example' => 'https://github.com', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetRepoSourceCodeRepo', 'summary' => 'Queries the information about the source code repository that is bound to an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetSourceRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'RepoSourceCodeRepo', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CodeRepoType\\": \\"GITHUB\\",\\n \\"RepoId\\": \\"crr-gzsrlevmvoaq****\\",\\n \\"RequestId\\": \\"4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\",\\n \\"CodeRepoNamespaceName\\": \\"namespace\\",\\n \\"OverseaBuild\\": \\"false\\",\\n \\"Code\\": \\"success\\",\\n \\"CodeRepoName\\": \\"repo\\",\\n \\"AutoBuild\\": \\"true\\",\\n \\"IsSuccess\\": true,\\n \\"DisableCacheBuild\\": \\"false\\",\\n \\"CodeRepoDomain\\": \\"https://github.com\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nnamespace\\ntrue\\nfalse\\nhttps://github.com\\n4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\nrepo\\nfalse\\nGITHUB\\ncrr-gzsrlevmvoaq****\\nsuccess","errorExample":""}]', ], 'GetRepoSyncTask' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '33752', 'abilityTreeNodes' => ['FEATUREacrLKRO80'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-sgedpenzw80e****', 'title' => ''], ], [ 'name' => 'SyncTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the synchronization task.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rst-zxjkiv5oil6f****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'SyncRuleId' => ['description' => 'The ID of the synchronization rule.'."\n", 'type' => 'string', 'example' => 'crsr-cllro6ho3wne****', 'title' => ''], 'Progress' => ['description' => 'The synchronization progress. Valid values:'."\n" ."\n" .'* `0`: The synchronization starts or failed.'."\n" .'* `1`: The synchronization is successful.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A6DEF8B0-5D45-46D6-867D-8C7FF0966B07', 'title' => ''], 'SyncedSize' => ['description' => 'The size of the image layer that is synchronized. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '23655489', 'title' => ''], 'TaskStatus' => ['description' => 'The status of the task. Valid values:'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'SyncTransAccelerate' => ['description' => 'Indicates whether transfer acceleration is enabled in the synchronization process.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'CrossUser' => ['description' => 'Indicates whether the synchronization task is performed across Alibaba Cloud accounts.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'SyncTaskId' => ['description' => 'The ID of the synchronization task.'."\n", 'type' => 'string', 'example' => 'rst-zxjkiv5oil6f****', 'title' => ''], 'SyncBatchTaskId' => ['description' => 'The ID of the synchronization task in which multiple images are synchronized at a time.'."\n", 'type' => 'string', 'example' => 'a9434731-95ef-4087-9cf4-369c8e90****', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'TaskTrigger' => ['description' => 'The policy that is used to trigger the synchronization task.'."\n", 'type' => 'string', 'example' => 'PASSIVE', 'title' => ''], 'ImageFrom' => [ 'description' => 'The source address of the image.'."\n", 'type' => 'object', 'properties' => [ 'RepoNamespaceName' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-sgedpenzw80e****', 'title' => ''], 'ImageTag' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], 'RepoName' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], ], 'title' => '', 'example' => '', ], 'ImageTo' => [ 'description' => 'The destination address of the image.'."\n", 'type' => 'object', 'properties' => [ 'RepoNamespaceName' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-leqzomz5vijc****', 'title' => ''], 'ImageTag' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'example' => 'master', 'title' => ''], 'RepoName' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'RegionId' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'eu-west-1', 'title' => ''], ], 'title' => '', 'example' => '', ], 'LayerTasks' => [ 'description' => 'The synchronization tasks for the image layer.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The synchronization tasks for the image layer.'."\n", 'type' => 'object', 'properties' => [ 'TaskStatus' => ['description' => 'The status of the synchronization task. Valid values:'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'Digest' => ['description' => 'The digest of the image layer.'."\n", 'type' => 'string', 'example' => 'sha256:36fb85fcb5e919cb60e782397a6be04201868fe7b38ef7669fc01caec1c8fc4e', 'title' => ''], 'SyncedSize' => ['description' => 'The size of the image layer that is synchronized.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '23655489', 'title' => ''], 'Size' => ['description' => 'The size of synchronized image layers.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '23655489', 'title' => ''], 'SyncLayerTaskId' => ['description' => 'The ID of the synchronization task for the image layer.'."\n", 'type' => 'string', 'example' => 'rslt-074x4q20fx2d****', 'title' => ''], 'ArtifactDigest' => ['description' => 'The digest of the artifact.'."\n", 'type' => 'string', 'example' => 'sha256:36fb85fcb5e919cb60e782397a6be04201868fe7b38ef7669fc01caec1c8fc4e', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'TaskIssue' => [ 'description' => 'The error message that is returned if the synchronization task fails.'."\n" ."\n" .'> The system uses this parameter to return an error message if the synchronization task fails.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* OSS_POLICY_UNAUTHORIZED: Container Registry is not granted permissions to use Object Storage Service (OSS).'."\n" .'* TAG_CONFLICT: The destination repository contains an image that has the same tag as the source image, and image tag immutability is enabled for the destination repository.'."\n" .'* UNSUPPORTED_FORMAT: The manifest and config formats of the image to be synchronized are not supported.'."\n" .'* INTERNAL_ERROR: The synchronization task failed due to internal issues on the server.'."\n" .'* NETWORK_ERROR: The synchronization task failed due to unstable network connection.'."\n" .'* DATA_LENGTH_EXCEEDED: The manifest or config of the image is oversized.'."\n", 'type' => 'string', 'enumValueTitles' => ['OSS_POLICY_UNAUTHORIZED' => '', 'TAG_CONFLICT' => '', 'UNSUPPORTED_FORMAT' => '', 'INTERNAL_ERROR' => '', 'NETWORK_ERROR' => '', 'DATA_LENGTH_EXCEEDED' => ''], 'example' => 'NETWORK_ERROR', 'title' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'GetRepoSyncTask', 'summary' => 'Queries an image synchronization task in an instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"SyncRuleId\\": \\"crsr-cllro6ho3wne****\\",\\n \\"Progress\\": 1,\\n \\"RequestId\\": \\"A6DEF8B0-5D45-46D6-867D-8C7FF0966B07\\",\\n \\"SyncedSize\\": 23655489,\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"SyncTransAccelerate\\": true,\\n \\"CrossUser\\": true,\\n \\"SyncTaskId\\": \\"rst-zxjkiv5oil6f****\\",\\n \\"SyncBatchTaskId\\": \\"a9434731-95ef-4087-9cf4-369c8e90****\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"TaskTrigger\\": \\"PASSIVE\\",\\n \\"ImageFrom\\": {\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"InstanceId\\": \\"cri-sgedpenzw80e****\\",\\n \\"ImageTag\\": \\"master\\",\\n \\"RepoName\\": \\"test\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n },\\n \\"ImageTo\\": {\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"InstanceId\\": \\"cri-leqzomz5vijc****\\",\\n \\"ImageTag\\": \\"master\\",\\n \\"RepoName\\": \\"test\\",\\n \\"RegionId\\": \\"eu-west-1\\"\\n },\\n \\"LayerTasks\\": [\\n {\\n \\"TaskStatus\\": \\"SUCCESS\\",\\n \\"Digest\\": \\"sha256:36fb85fcb5e919cb60e782397a6be04201868fe7b38ef7669fc01caec1c8fc4e\\",\\n \\"SyncedSize\\": 23655489,\\n \\"Size\\": 23655489,\\n \\"SyncLayerTaskId\\": \\"rslt-074x4q20fx2d****\\",\\n \\"ArtifactDigest\\": \\"sha256:36fb85fcb5e919cb60e782397a6be04201868fe7b38ef7669fc01caec1c8fc4e\\"\\n }\\n ],\\n \\"TaskIssue\\": \\"NETWORK_ERROR\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n1\\nA6DEF8B0-5D45-46D6-867D-8C7FF0966B07\\n\\n sha256:36fb85fcb5e919cb60e782397a6be04201868fe7b38ef7669fc01caec1c8fc4e\\n 23655489\\n sha256:36fb85fcb5e919cb60e782397a6be04201868fe7b38ef7669fc01caec1c8fc4e\\n SUCCESS\\n 23655489\\n rslt-074x4q20fx2d****\\n\\nSUCCESS\\nrst-zxjkiv5oil6f****\\nsuccess\\n23655489\\ncrsr-cllro6ho3wne****\\n\\n test\\n master\\n cri-sgedpenzw80e****\\n test\\n cn-shanghai\\n\\nnull\\n\\n test\\n master\\n cri-leqzomz5vijc****\\n test\\n eu-west-1\\n\\na9434731-95ef-4087-9cf4-369c8e90****","errorExample":""}]', 'gatewayOptions' => [ 'gatewayProtocols' => [], ], ], 'GetRepoTag' => [ 'summary' => 'Retrieve information about a single image tag.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The return value of status code.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The operation that you want to perform. Set the value to **GetRepoTag**.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8p****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The number of milliseconds that have elapsed since the image was created.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1.0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'ImageCreate' => ['description' => 'crr-tquyps22md8p****', 'type' => 'integer', 'format' => 'int64', 'example' => '1572839125000', 'title' => ''], 'ImageSize' => ['description' => 'The number of milliseconds that have elapsed since the image was last updated.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '27107966', 'title' => ''], 'RequestId' => ['description' => '1.0', 'type' => 'string', 'example' => '031572FA-7D8F-4C05-B790-1071E0E05DE6', 'title' => ''], 'Digest' => ['description' => 'The size of the image. Unit: Bytes.'."\n", 'type' => 'string', 'example' => '67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1****', 'title' => ''], 'Code' => ['description' => 'The ID of the image.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'ImageUpdate' => ['description' => 'The ID of the request.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1572875608000', 'title' => ''], 'Tag' => ['description' => 'The version of the repository.'."\n", 'type' => 'string', 'example' => '1.0', 'title' => ''], 'IsSuccess' => ['description' => 'The status of the image. Valid values:'."\n" ."\n" .'* `NORMAL`: The image is normal.'."\n" .'* `DELETING`: The image is being deleted.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'ImageId' => ['description' => 'Image ID', 'type' => 'string', 'example' => '45023655bf39c382e26a8607d057c27871dee163c1ecf48cc1ebf2a1****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Query a specific image version (tag)', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"NORMAL\\",\\n \\"ImageCreate\\": 1572839125000,\\n \\"ImageSize\\": 27107966,\\n \\"RequestId\\": \\"031572FA-7D8F-4C05-B790-1071E0E05DE6\\",\\n \\"Digest\\": \\"67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1****\\",\\n \\"Code\\": \\"success\\",\\n \\"ImageUpdate\\": 1572875608000,\\n \\"Tag\\": \\"1.0\\",\\n \\"IsSuccess\\": true,\\n \\"ImageId\\": \\"45023655bf39c382e26a8607d057c27871dee163c1ecf48cc1ebf2a1****\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetRepoTagScanStatus' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '33756', 'abilityTreeNodes' => ['FEATUREacr7W016P', 'FEATUREacrKJDAEQ'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-2j88dtld8yel****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the repository.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crr-uf082u9dg8do****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The image tag.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'ScanTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image scan task.', 'type' => 'string', 'required' => false, 'example' => '838152F9-F725-5A52-A344-8972D65AC045', 'title' => ''], ], [ 'name' => 'Digest', 'in' => 'query', 'schema' => ['description' => 'The image digest.', 'type' => 'string', 'required' => false, 'example' => '67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1d529', 'title' => ''], ], [ 'name' => 'ScanType', 'in' => 'query', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The scan status of the image. Valid values:'."\n" ."\n" .'- `SCANNING`: The image is being scanned.'."\n" ."\n" .'- `COMPLETE`: The scan is complete.'."\n" ."\n" .'- `FAILED`: The scan failed.'."\n" ."\n" .'- `RETRYING`: The scan is being retried.', 'type' => 'string', 'example' => 'COMPLETE', 'title' => ''], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Specifies whether the request was successful. Valid values:'."\n" ."\n" .'- `true`: The request was successful.'."\n" ."\n" .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BC648259-91A7-4502-BED3-EDF64361FA83', 'title' => ''], 'ScanService' => ['description' => 'The scan engine type. Valid values:'."\n" ."\n" .'- `ACR_SCAN_SERVICE`: the ACR Trivy scan engine.'."\n" ."\n" .'- `SAS_SCAN_SERVICE`: the Cloud Security scan engine.', 'type' => 'string', 'example' => 'ACR_SCAN_SERVICE', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetRepoTagScanStatus', 'summary' => 'Retrieves the scan status of a specific image tag.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"COMPLETE\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BC648259-91A7-4502-BED3-EDF64361FA83\\",\\n \\"ScanService\\": \\"ACR_SCAN_SERVICE\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetRepoTagScanSummary' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-2j88dtld8yel****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The name of the image tag.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crr-c2i5yk6h6pu9d5o8', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The ID of the security scan task.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'ScanTaskId', 'in' => 'query', 'schema' => ['description' => 'The digest of the image.'."\n", 'type' => 'string', 'required' => false, 'example' => '47A3E5A3-6AD4-5F02-93B8-59F778AE25D4', 'title' => ''], ], [ 'name' => 'Digest', 'in' => 'query', 'schema' => ['description' => 'The number of unknown-severity vulnerabilities.'."\n", 'type' => 'string', 'required' => false, 'example' => 'sha256:c9f370a4eb1c00d0b0d7212a0a9fa4a7697756c90f0f680afaf9737a25725f4c', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'UnknownSeverity' => ['description' => 'The ID of the request.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], 'RequestId' => ['description' => 'The total number of vulnerabilities detected on images.'."\n", 'type' => 'string', 'example' => 'BC648259-91A7-4502-BED3-EDF64361FA83', 'title' => ''], 'TotalSeverity' => ['description' => 'The return value.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '196', 'title' => ''], 'Code' => ['description' => 'The number of medium-severity vulnerabilities.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'MediumSeverity' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '81', 'title' => ''], 'IsSuccess' => ['description' => 'The number of high-severity vulnerabilities.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'HighSeverity' => ['description' => 'The number of low-severity vulnerabilities.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''], 'LowSeverity' => ['description' => 'Number of low-severity vulnerabilities', 'type' => 'integer', 'format' => 'int32', 'example' => '89', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Obtain the number of scan results for an image version', 'summary' => 'Obtain the number of scan results for an image version.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScanCount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UnknownSeverity\\": 4,\\n \\"RequestId\\": \\"BC648259-91A7-4502-BED3-EDF64361FA83\\",\\n \\"TotalSeverity\\": 196,\\n \\"Code\\": \\"success\\",\\n \\"MediumSeverity\\": 81,\\n \\"IsSuccess\\": true,\\n \\"HighSeverity\\": 22,\\n \\"LowSeverity\\": 89\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '33750', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crr-03cuozrsqhkw****'], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Summary' => ['description' => 'The summary of the repository.'."\n", 'type' => 'string', 'example' => 'Automatically created repository', 'title' => ''], 'CreateTime' => ['description' => 'The time when the repository was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1570759546000', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], 'RepoStatus' => ['description' => 'The status of the repository.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'RepoType' => ['description' => 'The type of the repository. Valid values:'."\n" ."\n" .'* `PUBLIC`: public repository.'."\n" .'* `PRIVATE`: private repository.'."\n", 'type' => 'string', 'example' => 'PRIVATE', 'title' => ''], 'RepoBuildType' => ['description' => 'Indicates how the repository was created. Valid values:'."\n" ."\n" .'* `MANUAL`: The repository was manually created.'."\n" .'* `AUTO`: The repository was automatically created.'."\n", 'type' => 'string', 'example' => 'MANUAL', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the repository was last modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1570759546100', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '915E6734-3E50-4640-8DBA-126D2D94DE29', 'title' => ''], 'RepoId' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'example' => 'crr-l5eoubonp0l****', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'RepoNamespaceName' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'TagImmutability' => ['description' => 'Indicates whether the feature of image tag immutability is enabled. Valid values:'."\n" ."\n" .'* `true`: The feature of image tag immutability is enabled.'."\n" .'* `false`: The feature of image tag immutability is disabled.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RepoName' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'Detail' => ['description' => 'The details of the repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'example' => 'rg-acfmv36i4is****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'GetRepository', 'summary' => 'Queries details about an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Summary\\": \\"Automatically created repository\\",\\n \\"CreateTime\\": 1570759546000,\\n \\"IsSuccess\\": true,\\n \\"InstanceId\\": \\"cri-kmsiwlxxdcva****\\",\\n \\"RepoStatus\\": \\"NORMAL\\",\\n \\"RepoType\\": \\"PRIVATE\\",\\n \\"RepoBuildType\\": \\"MANUAL\\",\\n \\"ModifiedTime\\": 1570759546100,\\n \\"RequestId\\": \\"915E6734-3E50-4640-8DBA-126D2D94DE29\\",\\n \\"RepoId\\": \\"crr-l5eoubonp0l****\\",\\n \\"Code\\": \\"success\\",\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"TagImmutability\\": true,\\n \\"RepoName\\": \\"test\\",\\n \\"Detail\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmv36i4is****\\"\\n}","errorExample":""},{"type":"xml","example":"test\\ntrue\\n915E6734-3E50-4640-8DBA-126D2D94DE29\\ncri-kmsiwlxxdcva****\\n1570759546000\\ntest\\nsuccess\\ntrue\\nMANUAL\\n1570759546100\\nPRIVATE\\nNORMAL\\nAutomatically created repository\\ncrr-l5eoubonp0l****\\ntest","errorExample":""}]', ], 'GetScanRule' => [ 'summary' => 'Retrieves a scan rule.', 'path' => '', 'methods' => ['post', 'get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrLBBNHS'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****'], ], [ 'name' => 'ScanRuleId', 'in' => 'query', 'schema' => ['description' => 'The scan rule ID.', 'type' => 'string', 'required' => true, 'maxLength' => 100, 'minLength' => 1, 'example' => 'crscnr-2sdveqjhpzdcafyq', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API call is successful. Valid values:'."\n" ."\n" .'- `true`: The API call is successful.'."\n" ."\n" .'- `false`: The API call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C87993B5-7D61-5CAC-8D64-1AC732DD69FF', 'title' => ''], 'ScanRule' => [ 'description' => 'The scan rule.', 'type' => 'object', 'properties' => [ 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cri-szw6f6bhrky0c8jk', 'title' => ''], 'ScanRuleId' => ['description' => 'The scan rule ID.', 'type' => 'string', 'example' => 'crscnr-aemytkwad2h7fyhb', 'title' => ''], 'RuleName' => ['description' => 'The name of the event rule.', 'type' => 'string', 'example' => 'protection', 'title' => ''], 'ScanScope' => ['description' => 'The scan scope.', 'type' => 'string', 'example' => 'REPO', 'title' => ''], 'TriggerType' => ['description' => 'The trigger type. Valid values:'."\n" ."\n" .'- `ALL`: all triggers'."\n" ."\n" .'- `TAG_LISTTAG`: tag trigger'."\n" ."\n" .'- `TAG_REG_EXP`: expression trigger', 'type' => 'string', 'example' => 'AUTO', 'title' => ''], 'Namespaces' => [ 'description' => 'The namespace names for which the event takes effect.', 'type' => 'array', 'items' => ['description' => 'The namespace names for which the event takes effect.', 'type' => 'string', 'example' => '[\\"lwc-app-group\\"]', 'title' => ''], 'title' => '', 'example' => '', ], 'RepoNames' => [ 'description' => 'The repository names for which the event takes effect.', 'type' => 'array', 'items' => ['description' => 'The repository names for which the event takes effect.', 'type' => 'string', 'example' => '[\\"lesson-kit-api\\",\\"lesson-kit-consumer-gen\\"]', 'title' => ''], 'title' => '', 'example' => '', ], 'RepoTagFilterPattern' => ['description' => 'The tag filtering rule that triggers the event.', 'type' => 'string', 'example' => '.*', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '2018-03-15T17:08Z', 'title' => ''], 'UpdateTime' => ['description' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '2025-08-28T20:07:33.164', 'title' => ''], 'ScanType' => ['description' => 'The vulnerability type. Valid values:'."\n" ."\n" .'- `cve`: system vulnerability'."\n" ."\n" .'- `sca`: application vulnerability', 'type' => 'string', 'example' => 'SBOM', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve a scan rule', 'description' => 'Retrieves a scan rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/{#scanRuleId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"C87993B5-7D61-5CAC-8D64-1AC732DD69FF\\",\\n \\"ScanRule\\": {\\n \\"InstanceId\\": \\"cri-szw6f6bhrky0c8jk\\",\\n \\"ScanRuleId\\": \\"crscnr-aemytkwad2h7fyhb\\",\\n \\"RuleName\\": \\"protection\\",\\n \\"ScanScope\\": \\"REPO\\",\\n \\"TriggerType\\": \\"AUTO\\",\\n \\"Namespaces\\": [\\n \\"[\\\\\\\\\\\\\\"lwc-app-group\\\\\\\\\\\\\\"]\\"\\n ],\\n \\"RepoNames\\": [\\n \\"[\\\\\\\\\\\\\\"lesson-kit-api\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"lesson-kit-consumer-gen\\\\\\\\\\\\\\"]\\"\\n ],\\n \\"RepoTagFilterPattern\\": \\".*\\",\\n \\"CreateTime\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"ScanType\\": \\"SBOM\\"\\n }\\n}","type":"json"}]', 'translator' => 'machine', ], 'GetStorageDomainRoutingRule' => [ 'summary' => 'Retrieves the instance storage domain name routing list.', 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrFQBFTD'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.', 'type' => 'string', 'required' => false, 'example' => 'crasr-mdbpung4i1rm****'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D4978DCC-ECBD-40B0-A714-EE695******', 'title' => ''], 'Routes' => [ 'description' => 'The routing list.', 'type' => 'array', 'items' => ['description' => 'The route entry.', '$ref' => '#/components/schemas/RouteItem', 'example' => '[{\'Status\': \'Published\', \'DestinationCidrBlock\': \'10.192.0.0/14\', \'NextHopId\': \'eni-bp1gfdoy3r4f8bpc1nfq\', \'Description\': \'full cidr block route\', \'NextHopType\': \'NetworkInterface\'}]', 'title' => ''], 'title' => '', 'example' => '', ], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Success' => ['description' => 'The request status identifier.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'ModifyTime' => ['description' => 'The modification time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1571926439000', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1571926439000', 'title' => ''], 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'crsdr-luq6qiegzvx****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 200 => [ ['errorCode' => 'INSTANCE_NOT_EXIST', 'errorMessage' => 'Instance does not exist.', 'description' => 'The specified instance does not exist.'], ], 403 => [ ['errorCode' => 'AuthenticationFailed', 'errorMessage' => 'Authentication failed.', 'description' => 'Authentication failed.'], ], [ ['errorCode' => 'InvalidInstanceStorageDomainRoutingRule.NotFound', 'errorMessage' => 'The specified InstanceStorageDomainRoutingRule does not exist.', 'description' => ''], ], ], 'title' => 'Get instance storage domain name routing list', 'description' => 'This API is available through whitelist access. [Submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket) to obtain support.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/{#RuleId}'], ], ], ], ], 'translator' => 'machine', 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D4978DCC-ECBD-40B0-A714-EE695******\\",\\n \\"Routes\\": [\\n {\\n \\"InstanceDomain\\": \\"\\",\\n \\"StorageDomain\\": \\"\\",\\n \\"EndpointType\\": \\"\\"\\n }\\n ],\\n \\"Code\\": \\"success\\",\\n \\"Success\\": true,\\n \\"ModifyTime\\": 1571926439000,\\n \\"CreateTime\\": 1571926439000,\\n \\"RuleId\\": \\"crsdr-luq6qiegzvx****\\"\\n}","type":"json"}]', ], 'ListArtifactBuildTaskLog' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-shac42yvqzvq****', 'title' => ''], ], [ 'name' => 'BuildTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the artifact build task.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i2a-1yu****', 'title' => ''], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Maximum value: 100. If you specify a value greater than 100 for this parameter, the system reports a parameter error or uses 100 as the maximum value.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '100', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: successful'."\n" .'* `false`: failed'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C4C7DD0C-C9D6-437A-A7EE-121EFD70D002', 'title' => ''], 'TotalCount' => ['description' => 'The total number of log entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'BuildTaskLogs' => [ 'description' => 'The log entries of the artifact build task.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Message' => ['description' => 'The log data.'."\n", 'type' => 'string', 'example' => 'Start Build', 'title' => ''], 'LineNumber' => ['description' => 'The row number of the log entry.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'title' => 'ListArtifactBuildTaskLog', 'summary' => 'Queries the log entries of an artifact building task.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListArtifactBuildTaskLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"C4C7DD0C-C9D6-437A-A7EE-121EFD70D002\\",\\n \\"TotalCount\\": 200,\\n \\"BuildTaskLogs\\": [\\n {\\n \\"Message\\": \\"Start Build\\",\\n \\"LineNumber\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"true\\n200\\n\\n Start Build\\n 1\\n\\nC4C7DD0C-C9D6-437A-A7EE-121EFD70D002\\nsuccess","errorExample":""}]', ], 'ListArtifactLifecycleRule' => [ 'summary' => 'Lists artifact lifecycle management rules.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrQD2ZKV'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Enterprise Edition instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-eztul9ucz76q****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return per page. The maximum value is 100. If you specify a value greater than 100, the system may return a parameter error or use a page size of 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'EnableDeleteTag', 'in' => 'query', 'schema' => ['description' => 'Indicates whether automatic tag deletion is enabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F92D82F9-A4C4-5A4A-97B9-E495BF1B****', 'title' => ''], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n" ."\n" .'- `true`: The request succeeded.'."\n" ."\n" .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '39', 'title' => ''], 'Rules' => [ 'description' => 'The list of lifecycle management rules.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NextTime' => ['description' => 'The next execution time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1638187989000', 'title' => ''], 'CreateTime' => ['description' => 'The creation time of the rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '1638187989000', 'title' => ''], 'TagRegexp' => ['description' => 'The regular expression that matches image tags to retain.', 'type' => 'string', 'example' => '.*-alpine'."\n", 'title' => ''], 'EnableDeleteTag' => ['description' => 'Indicates whether the rule is configured to delete tags.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cri-brlg4cbj2yl****', 'title' => ''], 'NamespaceName' => ['description' => 'The namespace name.', 'type' => 'string', 'example' => 'test-ns', 'title' => ''], 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cralr-yqx1q5sir6d****', 'title' => ''], 'ModifiedTime' => ['description' => 'The last modification time of the rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678341923385', 'title' => ''], 'RetentionTagCount' => ['description' => 'The number of image tags to retain.', 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'title' => ''], 'Auto' => ['description' => 'Indicates whether the rule runs automatically.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'ScheduleTime' => ['description' => 'The execution schedule.', 'type' => 'string', 'example' => 'WEEK', 'title' => ''], 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'example' => 'test_1', 'title' => ''], 'Scope' => ['description' => 'The scope of the rule.', 'type' => 'string', 'example' => 'INSTANCE', 'title' => ''], 'Policies' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], 'Filter' => [ 'type' => 'object', 'properties' => [ 'TagWildcard' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'Condition' => [ 'type' => 'object', 'properties' => [ 'LatestTagCount' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], 'LastPullOlderThanDays' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], 'LastPushOlderThanDays' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => 'The queried lifecycle management rules.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'ListArtifactLifecycleRule', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F92D82F9-A4C4-5A4A-97B9-E495BF1B****\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 39,\\n \\"Rules\\": [\\n {\\n \\"NextTime\\": 1638187989000,\\n \\"CreateTime\\": 1638187989000,\\n \\"TagRegexp\\": \\".*-alpine\\\\n\\",\\n \\"EnableDeleteTag\\": true,\\n \\"InstanceId\\": \\"cri-brlg4cbj2yl****\\",\\n \\"NamespaceName\\": \\"test-ns\\",\\n \\"RuleId\\": \\"cralr-yqx1q5sir6d****\\",\\n \\"ModifiedTime\\": 1678341923385,\\n \\"RetentionTagCount\\": 30,\\n \\"Auto\\": false,\\n \\"ScheduleTime\\": \\"WEEK\\",\\n \\"RepoName\\": \\"test_1\\",\\n \\"Scope\\": \\"INSTANCE\\",\\n \\"Policies\\": [\\n {\\n \\"Type\\": \\"\\",\\n \\"Filter\\": {\\n \\"TagWildcard\\": \\"\\"\\n },\\n \\"Condition\\": {\\n \\"LatestTagCount\\": 0,\\n \\"LastPullOlderThanDays\\": 0,\\n \\"LastPushOlderThanDays\\": 0\\n }\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListArtifactSubscriptionRule' => [ 'summary' => 'List artifact subscription rules.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '141842', 'abilityTreeNodes' => ['FEATUREacr5ED6LF'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-c0o11woew0k****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 100. If you specify a value greater than 100, the system either caps the page size at 100 or returns a parameter error.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '07FC5654-C82A-59FA-A9D1-78B4EE443F86', 'title' => ''], 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- `true`: The request was successful.'."\n" ."\n" .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '13', 'title' => ''], 'Rules' => [ 'description' => 'The subscription rules.', 'type' => 'array', 'items' => [ 'description' => 'The subscription rules.', 'type' => 'object', 'properties' => [ 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cri-brlg4cbj2yl****', 'title' => ''], 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'crasr-mdbpung4i1rm****'."\n", 'title' => ''], 'SourceProvider' => [ 'description' => 'The source of the artifact. Valid values:', 'enumValueTitles' => ['DOCKER_HUB' => 'Docker Hub', 'GCR' => 'GCR', 'QUAY' => 'Quay.io'], 'type' => 'string', 'example' => 'DOCKER_HUB', 'title' => '', ], 'SourceNamespaceName' => ['description' => 'The source namespace.', 'type' => 'string', 'example' => 'library', 'title' => ''], 'SourceRepoName' => ['description' => 'The source repository.', 'type' => 'string', 'example' => 'nginx', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the namespace.', 'type' => 'string', 'example' => 'test-ns', 'title' => ''], 'RepoName' => ['description' => 'The name of the repository.', 'type' => 'string', 'example' => 'test-repo', 'title' => ''], 'TagRegexp' => ['description' => 'The regular expression that is used to subscribe to the source repository.', 'type' => 'string', 'example' => 'release.*', 'title' => ''], 'TagCount' => ['description' => 'The number of subscribed images.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], 'Override' => ['description' => 'Indicates whether to overwrite the image.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Accelerate' => ['description' => 'Indicates whether to enable the accelerated subscription channel. This feature is in public preview. Based on an optimized scheduling policy and network link, the speed of image subscription is improved.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'CreateTime' => ['description' => 'The time when the rule was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1638187989000', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the rule was last modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678341923385', 'title' => ''], 'Platform' => [ 'description' => 'The operating system and architecture. If the source repository contains a multi-architecture image, only images that have a specified operating system and architecture are subscribed to the destination repository of the Enterprise Edition instance.', 'type' => 'array', 'items' => [ 'description' => 'The operating system and architecture. Valid values:', 'enumValueTitles' => ['linux/arm' => 'linux/arm', 'windows/x86' => 'windows/x86', '*/*' => '*\\*/\\**', 'linux/arm64' => 'linux/arm64', 'windows/x86-64' => 'windows/x86-64', 'linux/amd64' => 'linux/amd64'], 'type' => 'string', 'example' => '*/*', 'title' => '', ], 'title' => '', 'example' => '', ], 'SourceDomain' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'The data returned.', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'ListArtifactSubscriptionRule', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'cr:ListArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"07FC5654-C82A-59FA-A9D1-78B4EE443F86\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 13,\\n \\"Rules\\": [\\n {\\n \\"InstanceId\\": \\"cri-brlg4cbj2yl****\\",\\n \\"RuleId\\": \\"crasr-mdbpung4i1rm****\\\\n\\",\\n \\"SourceProvider\\": \\"DOCKER_HUB\\",\\n \\"SourceNamespaceName\\": \\"library\\",\\n \\"SourceRepoName\\": \\"nginx\\",\\n \\"NamespaceName\\": \\"test-ns\\",\\n \\"RepoName\\": \\"test-repo\\",\\n \\"TagRegexp\\": \\"release.*\\",\\n \\"TagCount\\": 1,\\n \\"Override\\": true,\\n \\"Accelerate\\": true,\\n \\"CreateTime\\": 1638187989000,\\n \\"ModifiedTime\\": 1678341923385,\\n \\"Platform\\": [\\n \\"*/*\\"\\n ],\\n \\"SourceDomain\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListArtifactSubscriptionTask' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-m9ob8792vm****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '81E7A039-A4EF-57D9-A100-88E5DCEF9D56', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'Tasks' => [ 'description' => 'The queried artifact subscription tasks.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'InstanceId' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'cri-7pd01myak****', 'title' => ''], 'TaskId' => ['description' => 'The task ID.'."\n", 'type' => 'string', 'example' => 'crast-40le4es9yh0p****', 'title' => ''], 'TaskStatus' => ['description' => 'The status of the task.'."\n", 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], 'TaskResult' => ['description' => 'The task result.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'TaskType' => ['description' => 'The type of the task.'."\n", 'type' => 'string', 'example' => 'AUTO', 'title' => ''], 'StartTime' => ['description' => 'The start time of the artifact subscription task.'."\n", 'type' => 'string', 'example' => '1695348301000', 'title' => ''], 'EndTime' => ['description' => 'The end time of the artifact subscription task.'."\n", 'type' => 'string', 'example' => '1692756630000', 'title' => ''], 'ArtifactType' => ['description' => 'The type of the artifact.'."\n", 'type' => 'string', 'example' => 'IMAGE', 'title' => ''], 'SourceProvider' => ['description' => 'The artifact source.'."\n", 'type' => 'string', 'example' => 'DOCKER_HUB', 'title' => ''], 'SourceRepoType' => ['description' => 'The type of the source artifact.'."\n", 'type' => 'string', 'example' => 'PUBLIC', 'title' => ''], 'SourceNamespaceName' => ['description' => 'The name of the source namespace.'."\n", 'type' => 'string', 'example' => 'library', 'title' => ''], 'SourceRepoName' => ['description' => 'The name of the source repository.'."\n", 'type' => 'string', 'example' => 'nginx', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'test-ns', 'title' => ''], 'RepoName' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'example' => 'test-repo', 'title' => ''], 'TagTotalCount' => ['description' => 'The total number of tags.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '311', 'title' => ''], 'TagSubscriptionCount' => ['description' => 'The total number of subscribed tags.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], 'Message' => ['description' => 'The returned message.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access is denied for the user.', 'description' => 'The user is not authorized.'], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred.', 'description' => 'An unknown error occurred.'], ], ], 'title' => 'ListArtifactSubscriptionTask', 'summary' => 'Lists artifact subscription tasks.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListArtifactSubscriptionTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"81E7A039-A4EF-57D9-A100-88E5DCEF9D56\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 5,\\n \\"Tasks\\": [\\n {\\n \\"InstanceId\\": \\"cri-7pd01myak****\\",\\n \\"TaskId\\": \\"crast-40le4es9yh0p****\\",\\n \\"TaskStatus\\": \\"RUNNING\\",\\n \\"TaskResult\\": \\"SUCCESS\\",\\n \\"TaskType\\": \\"AUTO\\",\\n \\"StartTime\\": \\"1695348301000\\",\\n \\"EndTime\\": \\"1692756630000\\",\\n \\"ArtifactType\\": \\"IMAGE\\",\\n \\"SourceProvider\\": \\"DOCKER_HUB\\",\\n \\"SourceRepoType\\": \\"PUBLIC\\",\\n \\"SourceNamespaceName\\": \\"library\\",\\n \\"SourceRepoName\\": \\"nginx\\",\\n \\"NamespaceName\\": \\"test-ns\\",\\n \\"RepoName\\": \\"test-repo\\",\\n \\"TagTotalCount\\": 311,\\n \\"TagSubscriptionCount\\": 3,\\n \\"Message\\": \\"success\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListChain' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrPRPOYY'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ns1', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'repo1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '85A99B10-3926-5201-958E-C06FA47F****', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'TotalCount' => ['description' => 'The total number of delivery chains.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Chains' => [ 'description' => 'The list of delivery chains.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ModifiedTime' => ['description' => 'The time when the delivery chain was last modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1638259914000', 'title' => ''], 'ScopeId' => ['description' => 'The ID of the delivery chain scope.'."\n", 'type' => 'string', 'example' => 'crr-nyrh2oko32xb****', 'title' => ''], 'Description' => ['description' => 'The description of the delivery chain.'."\n", 'type' => 'string', 'example' => 'description', 'title' => ''], 'CreateTime' => ['description' => 'The time when the delivery chain was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1638255427000', 'title' => ''], 'ScopeType' => ['description' => 'The type of the delivery chain scope.'."\n", 'type' => 'string', 'example' => 'REPOSITORY', 'title' => ''], 'ChainId' => ['description' => 'The ID of the delivery chain.'."\n", 'type' => 'string', 'example' => 'chi-0ops0gsmw5x2****', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], 'Name' => ['description' => 'The name of the delivery chain.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ScopeExclude' => [ 'description' => 'Repositories to which the delivery chain does not apply.'."\n", 'type' => 'array', 'items' => ['description' => 'The names of the repositories to which the delivery chain does not apply. Separate multiple repository names with commas (,).'."\n", 'type' => 'string', 'example' => 'repo_name1,repo_name2', 'title' => ''], 'minItems' => 0, 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'ListChain', 'summary' => 'Queries delivery chains.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"85A99B10-3926-5201-958E-C06FA47F****\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Chains\\": [\\n {\\n \\"ModifiedTime\\": 1638259914000,\\n \\"ScopeId\\": \\"crr-nyrh2oko32xb****\\",\\n \\"Description\\": \\"description\\",\\n \\"CreateTime\\": 1638255427000,\\n \\"ScopeType\\": \\"REPOSITORY\\",\\n \\"ChainId\\": \\"chi-0ops0gsmw5x2****\\",\\n \\"InstanceId\\": \\"cri-4cdrlqmhn4gm****\\",\\n \\"Name\\": \\"test\\",\\n \\"ScopeExclude\\": [\\n \\"repo_name1,repo_name2\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 85A99B10-3926-5201-958E-C06FA47F****\\n success\\n 1\\n true\\n 1\\n 1\\n \\n 1638259914000\\n crr-nyrh2oko32xb****\\n description\\n 1638255427000\\n REPOSITORY\\n chi-0ops0gsmw5x2****\\n cri-4cdrlqmhn4gm****\\n test\\n \\n","errorExample":""}]', ], 'ListChainInstance' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrPRPOYY'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The namespace name.', 'type' => 'string', 'required' => false, 'example' => 'test-namespace', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The image repository name.', 'type' => 'string', 'required' => false, 'example' => 'test-repo', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '838D1602-6D8F-47FB-B60A-656645D2****', 'title' => ''], 'Code' => ['description' => 'The return value.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'ChainInstances' => [ 'description' => 'The list of delivery chain execution records.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'EndTime' => ['description' => 'The end time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1636685856000', 'title' => ''], 'Status' => ['description' => 'The execution status of the delivery chain. Valid values:'."\n" ."\n" .'- `RUNNING`: Running.'."\n" .'- `COMPLETE`: Complete.'."\n" .'- `CANCELING`: Canceling.'."\n" .'- `CANCELED`: Canceled.', 'type' => 'string', 'example' => 'COMPLETE', 'title' => ''], 'StartTime' => ['description' => 'The start time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1636685776000', 'title' => ''], 'Result' => ['description' => 'The execution result of the delivery chain. Valid values:'."\n" ."\n" .'- `SUCCESS`: Succeeded.'."\n" .'- `FAILED`: Failed.'."\n" .'- `CANCELED`: Canceled.'."\n" .'- `DENIED`: Denied.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'ChainInstanceId' => ['description' => 'The delivery chain instance ID.', 'type' => 'string', 'example' => 'F4CF4DDB-BEF2-5575-****-*******', 'title' => ''], 'RepoNamespaceName' => ['description' => 'The namespace.', 'type' => 'string', 'example' => 'test-ns', 'title' => ''], 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'example' => 'test-repo', 'title' => ''], 'Chain' => [ 'description' => 'The delivery chain execution record.', 'type' => 'object', 'properties' => [ 'ChainId' => ['description' => 'The delivery chain ID.', 'type' => 'string', 'example' => 'chi-m42gbku0****', 'title' => ''], 'ChainName' => ['description' => 'The delivery chain name.', 'type' => 'string', 'example' => 'test-chain', 'title' => ''], 'Version' => ['description' => 'The delivery chain version.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Query delivery chain execution records', 'summary' => 'Queries the execution records of a delivery chain.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListChainInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"838D1602-6D8F-47FB-B60A-656645D2****\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"InstanceId\\": \\"cri-kmsiwlxxdcva****\\",\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 1,\\n \\"ChainInstances\\": [\\n {\\n \\"EndTime\\": 1636685856000,\\n \\"Status\\": \\"COMPLETE\\",\\n \\"StartTime\\": 1636685776000,\\n \\"Result\\": \\"SUCCESS\\",\\n \\"ChainInstanceId\\": \\"F4CF4DDB-BEF2-5575-****-*******\\",\\n \\"RepoNamespaceName\\": \\"test-ns\\",\\n \\"RepoName\\": \\"test-repo\\",\\n \\"Chain\\": {\\n \\"ChainId\\": \\"chi-m42gbku0****\\",\\n \\"ChainName\\": \\"test-chain\\",\\n \\"Version\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListChartNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'NamespaceStatus', 'in' => 'query', 'schema' => ['description' => 'The status of the namespace. Valid values:'."\n" ."\n" .'* `NORMAL`: The namespace is normal.'."\n" .'* `DELETING`: The namespace is being deleted.'."\n", 'type' => 'string', 'required' => false, 'example' => 'NORMAL', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F56D589D-AF7F-4900-BA46-62C780AC2C10', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'Namespaces' => [ 'description' => 'The namespaces.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DefaultRepoType' => ['description' => 'The default repository type. Valid values:'."\n" ."\n" .'* `PUBLIC`: a public repository'."\n" .'* `PRIVATE`: a private repository'."\n", 'type' => 'string', 'example' => 'PUBLIC', 'title' => ''], 'NamespaceStatus' => ['description' => 'The status of the namespace. Valid values:'."\n" ."\n" .'* `NORMAL`: The namespace is normal.'."\n" .'* `DELETING`: The namespace is being deleted.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'NamespaceId' => ['description' => 'The ID of the namespace.'."\n", 'type' => 'string', 'example' => 'null', 'title' => ''], 'AutoCreateRepo' => ['description' => 'Indicates whether a repository was automatically created when a chart is pushed to the namespace.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.'."\n", 'type' => 'string', 'example' => 'rg-acfm4n5kzyf****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListChartNamespace', 'summary' => 'Queries the chart namespaces of a Container Registry instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F56D589D-AF7F-4900-BA46-62C780AC2C10\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"Namespaces\\": [\\n {\\n \\"DefaultRepoType\\": \\"PUBLIC\\",\\n \\"NamespaceStatus\\": \\"NORMAL\\",\\n \\"NamespaceId\\": \\"null\\",\\n \\"AutoCreateRepo\\": true,\\n \\"InstanceId\\": \\"cri-kmsiwlxxdcva****\\",\\n \\"NamespaceName\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfm4n5kzyf****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"true\\n\\n NORMAL\\n test\\n PUBLIC\\n cri-kmsiwlxxdcva****\\n true\\n null\\n\\n1\\n30\\nF56D589D-AF7F-4900-BA46-62C780AC2C10\\n1\\nsuccess","errorExample":""}]', ], 'ListChartRelease' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ns1', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Chart', 'in' => 'query', 'schema' => ['description' => 'The chart whose versions you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'null', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F68823F6-F1B5-4A4E-8421-A83CAB8F2963', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'ChartReleases' => [ 'description' => 'The list of chart versions.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the chart.'."\n", 'type' => 'string', 'example' => 'ENABLED', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the chart was last modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1571930323000', 'title' => ''], 'RepoId' => ['description' => 'The ID of the chart repository.'."\n", 'type' => 'string', 'example' => 'crcr-gpsu7b8chmxk****', 'title' => ''], 'Release' => ['description' => 'The version number of the chart.'."\n", 'type' => 'string', 'example' => '0.1.0', 'title' => ''], 'Size' => ['description' => 'The size of the chart of the version. Unit: bytes.'."\n", 'type' => 'string', 'example' => '2826', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], 'Chart' => ['description' => 'The name of the chart version.'."\n", 'type' => 'string', 'example' => 'chart1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListChartRelease', 'summary' => 'Queries the versions of a chart in a chart repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListChartRelease', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F68823F6-F1B5-4A4E-8421-A83CAB8F2963\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"ChartReleases\\": [\\n {\\n \\"Status\\": \\"ENABLED\\",\\n \\"ModifiedTime\\": 1571930323000,\\n \\"RepoId\\": \\"crcr-gpsu7b8chmxk****\\",\\n \\"Release\\": \\"0.1.0\\",\\n \\"Size\\": \\"2826\\",\\n \\"InstanceId\\": \\"cri-xkx6vujuhay0****\\",\\n \\"Chart\\": \\"chart1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"true\\n1\\n30\\nF68823F6-F1B5-4A4E-8421-A83CAB8F2963\\n\\n null\\n 1571930323000\\n cri-xkx6vujuhay0****\\n 2826\\n crcr-gpsu7b8chmxk****\\n 0.1.0\\n chart1\\n\\n1\\nsuccess","errorExample":""}]', ], 'ListChartRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], ], [ 'name' => 'RepoStatus', 'in' => 'query', 'schema' => ['description' => 'The status of the chart repositories that you want to query. Valid values:'."\n" ."\n" .'* `ALL`: query repositories of all status.'."\n" .'* `NORMAL`: query normal repositories.'."\n" .'* `DELETING`: query repositories that are being deleted.'."\n", 'type' => 'string', 'required' => false, 'example' => 'NORMAL', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ns1', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'repo1', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0AB62FB8-6873-4032-8515-4578D27523B7', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'Repositories' => [ 'description' => 'The queried repositories.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Summary' => ['description' => 'The summary about the repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the repository was last modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1571930329000', 'title' => ''], 'RepoId' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'example' => 'crcr-gpsu7b8chmxk****', 'title' => ''], 'CreateTime' => ['description' => 'The time when the repository was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1571926644000', 'title' => ''], 'RepoNamespaceName' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'example' => 'ns1', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-xkx6vujuhay0****', 'title' => ''], 'RepoType' => ['description' => 'The type of the repository. Valid values:'."\n" ."\n" .'* `PRIVATE`: a private repository'."\n" .'* `PUBLIC`: a public repository'."\n", 'type' => 'string', 'example' => 'PUBLIC', 'title' => ''], 'RepoStatus' => ['description' => 'The status of the repository. Valid values:'."\n" ."\n" .'* `NORMAL`: The repository is normal.'."\n" .'* `DELETING`: The repository is being deleted.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'RepoName' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'example' => 'repo1', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the repository belongs.'."\n", 'type' => 'string', 'example' => 'rg-aek2ikd5rxxxxxx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListChartRepository', 'summary' => 'Queries the chart repositories of a Container Registry instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0AB62FB8-6873-4032-8515-4578D27523B7\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"Repositories\\": [\\n {\\n \\"Summary\\": \\"test\\",\\n \\"ModifiedTime\\": 1571930329000,\\n \\"RepoId\\": \\"crcr-gpsu7b8chmxk****\\",\\n \\"CreateTime\\": 1571926644000,\\n \\"RepoNamespaceName\\": \\"ns1\\",\\n \\"InstanceId\\": \\"cri-xkx6vujuhay0****\\",\\n \\"RepoType\\": \\"PUBLIC\\",\\n \\"RepoStatus\\": \\"NORMAL\\",\\n \\"RepoName\\": \\"repo1\\",\\n \\"ResourceGroupId\\": \\"rg-aek2ikd5rxxxxxx\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n ns1\\n 1571930329000\\n PUBLIC\\n NORMAL\\n cri-xkx6vujuhay0****\\n 1571926644000\\n repo1\\n test\\n crcr-gpsu7b8chmxk****\\n\\ntrue\\n1\\n30\\n0AB62FB8-6873-4032-8515-4578D27523B7\\n1\\nsuccess","errorExample":""}]', ], 'ListEventCenterRecord' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'EventType', 'in' => 'query', 'schema' => ['description' => 'The type of the event. Valid values:'."\n" ."\n" .'* `cr:Artifact:DeliveryChainCompleted`: The delivery chain is processed.'."\n" .'* `cr:Artifact:SynchronizationCompleted`: The image is replicated.'."\n" .'* `cr:Artifact:BuildCompleted`: The image is built.'."\n" .'* `cr:Artifact:ScanCompleted`: The image is scanned.'."\n" .'* `cr:Artifact:SigningCompleted`: The image is signed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cr:Artifact:DeliveryChainCompleted', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the event notification rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crecr-n6pbhgjxtla***', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '665C7A5E-BAEC-5BCD-AF9F-5F9260D672BF'], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total entries of historical events.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], 'Records' => [ 'description' => 'The list of historical events.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RecordId' => ['description' => 'The ID of the event record.'."\n", 'type' => 'string', 'example' => 'crecrr-ctdbzwtkpr*****', 'title' => ''], 'RuleId' => ['description' => 'The ID of the event notification rule.'."\n", 'type' => 'string', 'example' => 'crecr-n6pbhgjxtla*****', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'cri-gl34plsa****', 'title' => ''], 'RuleName' => ['description' => 'The name of the event notification rule.'."\n", 'type' => 'string', 'example' => 'chain-demo', 'title' => ''], 'Namespace' => ['description' => 'The namespace.'."\n", 'type' => 'string', 'example' => 'mychain', 'title' => ''], 'RepoName' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'example' => 'ruby-2.4.0', 'title' => ''], 'Tag' => ['description' => 'The tags.'."\n", 'type' => 'string', 'example' => 'ruby-2.4.0', 'title' => ''], 'EventChannel' => ['description' => 'The event notification channel.'."\n", 'type' => 'string', 'example' => 'EVENT_BRIDGE', 'title' => ''], 'EventType' => ['description' => 'The type of the event.'."\n", 'type' => 'string', 'example' => 'cr:Artifact:DeliveryChainCompleted', 'title' => ''], 'EventNotifyMethod' => ['description' => 'The notification method. Valid values:'."\n" ."\n" .'* `http`: The notification is sent over HTTP.'."\n" .'* `https`: The notification is sent over HTTPS.'."\n" .'* `dingding`: The notification is sent by using DingTalk.'."\n", 'type' => 'string', 'example' => 'http', 'title' => ''], 'EventNotifyId' => ['description' => 'The ID of the event notification.'."\n", 'type' => 'string', 'example' => '7d478419-61df-49e5-b92b-30ce730c2127', 'title' => ''], 'CreateTime' => ['description' => 'The time when the event was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1638188622000', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the event was last updated.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1638188622000', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '[]', 'title' => '', ], ], 'example' => '', ], ], ], 'title' => 'ListEventCenterRecord', 'summary' => 'Queries the historical events of an event rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListEventCenterRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"665C7A5E-BAEC-5BCD-AF9F-5F9260D672BF\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 50,\\n \\"Records\\": [\\n {\\n \\"RecordId\\": \\"crecrr-ctdbzwtkpr*****\\",\\n \\"RuleId\\": \\"crecr-n6pbhgjxtla*****\\",\\n \\"InstanceId\\": \\"cri-gl34plsa****\\",\\n \\"RuleName\\": \\"chain-demo\\",\\n \\"Namespace\\": \\"mychain\\",\\n \\"RepoName\\": \\"ruby-2.4.0\\",\\n \\"Tag\\": \\"ruby-2.4.0\\",\\n \\"EventChannel\\": \\"EVENT_BRIDGE\\",\\n \\"EventType\\": \\"cr:Artifact:DeliveryChainCompleted\\",\\n \\"EventNotifyMethod\\": \\"http\\",\\n \\"EventNotifyId\\": \\"7d478419-61df-49e5-b92b-30ce730c2127\\",\\n \\"CreateTime\\": 1638188622000,\\n \\"UpdateTime\\": 1638188622000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 665C7A5E-BAEC-5BCD-AF9F-5F9260D672BF\\n success\\n 1\\n true\\n 30\\n 50\\n \\n crecrr-ctdbzwtkpr*****\\n crecr-n6pbhgjxtla*****\\n cri-gl34plsa****\\n chain-demo\\n mychain\\n ruby-2.4.0\\n ruby-2.4.0\\n EVENT_BRIDGE\\n cr:Artifact:DeliveryChainCompleted\\n http\\n 7d478419-61df-49e5-b92b-30ce730c2127\\n 1638188622000\\n 1638188622000\\n \\n","errorExample":""}]', 'translator' => 'machine', ], 'ListEventCenterRuleName' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '031572FA-7D8F-4C05-B790-1071E0E05DE6'], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RuleNames' => [ 'description' => 'The list of names of event notification rules.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RuleId' => ['description' => 'The ID of the event notification rule.'."\n", 'type' => 'string', 'example' => 'crecr-n6pbhgjxtl*****', 'title' => ''], 'RuleName' => ['description' => 'The name of the event notification rule.'."\n", 'type' => 'string', 'example' => 'test-chain', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '[{\'RuleName\': \'mlf\', \'RuleId\': \'crecr-73q93pgljm1pc2fp\'}]', 'title' => '', ], ], 'example' => '', ], ], ], 'title' => 'ListEventCenterRuleName', 'summary' => 'Queries the name of an event rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListEventCenterRuleName', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"031572FA-7D8F-4C05-B790-1071E0E05DE6\\",\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RuleNames\\": [\\n {\\n \\"RuleId\\": \\"crecr-n6pbhgjxtl*****\\",\\n \\"RuleName\\": \\"test-chain\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 031572FA-7D8F-4C05-B790-1071E0E05DE6\\n success\\n true\\n \\n crecr-n6pbhgjxtl*****\\n test-chain\\n \\n","errorExample":""}]', ], 'ListInstance' => [ 'summary' => 'Queries a list of instances.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33773', 'abilityTreeNodes' => ['FEATUREacr9J9LGC'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'The instance name.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'InstanceStatus', 'in' => 'query', 'schema' => ['description' => 'The instance status. Valid values:'."\n" ."\n" .'- `PENDING`: Initializing.'."\n" ."\n" .'- `INIT_ERROR`: Initialization failed.'."\n" ."\n" .'- `STARTING`: Starting.'."\n" ."\n" .'- `RUNNING`: Running.'."\n" ."\n" .'- `STOPPING`: Stopping.'."\n" ."\n" .'- `STOPPED`: Stopped.'."\n" ."\n" .'- `DELETING`: Deleting.'."\n" ."\n" .'- `DELETED`: Deleted.', 'type' => 'string', 'required' => false, 'example' => 'RUNNING', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmv36i4is****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A2A9BA68-B264-4953-9154-CE61B1C03BA6', 'title' => ''], 'Code' => ['description' => 'The return value.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The page size. Default value: 30.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of returned results.', 'type' => 'integer', 'format' => 'int32', 'example' => '12121', 'title' => ''], 'Instances' => [ 'description' => 'The instance information.', 'type' => 'array', 'items' => [ 'description' => 'The instance information.', 'type' => 'object', 'properties' => [ 'ModifiedTime' => ['description' => 'The last modification time.', 'type' => 'string', 'example' => '1562849760000', 'title' => ''], 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '1562849679000', 'title' => ''], 'InstanceSpecification' => ['description' => 'The Enterprise Edition specification.', 'type' => 'string', 'example' => 'Enterprise_Basic', 'title' => ''], 'InstanceStatus' => ['description' => 'The instance status.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cri-sgedpenzw80e****', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aek2h3aexpy****', 'title' => ''], 'InstanceIssue' => ['description' => 'The instance issue.', 'type' => 'string', 'example' => '实例问题,取值:'."\n" .'OSS_TOO_MANY_BUCKETS:OSS Bucket 数量超限'."\n" ."\n" .'OSS_BUCKET_ALREADY_EXISTS:同名 OSS Bucket 已存在'."\n" ."\n" .'OSS_SERVICE_ROLE_UNAUTHORIZED:OSS 权限未授权'."\n" ."\n" .'USER_NOT_REGISTERED_BY_REAL_NAME:国际站账号在购买中国站 OSS Bucket 时未进行实名认证', 'title' => ''], 'Tags' => [ 'description' => 'The tags of the instance.', 'type' => 'array', 'items' => [ 'description' => 'The instance tag.', 'type' => 'object', 'properties' => [ 'TagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => 'test_key'], 'TagValue' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'example' => 'test_value'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Query instance list', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A2A9BA68-B264-4953-9154-CE61B1C03BA6\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 12121,\\n \\"Instances\\": [\\n {\\n \\"ModifiedTime\\": \\"1562849760000\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"CreateTime\\": \\"1562849679000\\",\\n \\"InstanceSpecification\\": \\"Enterprise_Basic\\",\\n \\"InstanceStatus\\": \\"RUNNING\\",\\n \\"InstanceId\\": \\"cri-sgedpenzw80e****\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"ResourceGroupId\\": \\"rg-aek2h3aexpy****\\",\\n \\"InstanceIssue\\": \\"实例问题,取值:\\\\nOSS_TOO_MANY_BUCKETS:OSS Bucket 数量超限\\\\n\\\\nOSS_BUCKET_ALREADY_EXISTS:同名 OSS Bucket 已存在\\\\n\\\\nOSS_SERVICE_ROLE_UNAUTHORIZED:OSS 权限未授权\\\\n\\\\nUSER_NOT_REGISTERED_BY_REAL_NAME:国际站账号在购买中国站 OSS Bucket 时未进行实名认证\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"test_key\\",\\n \\"TagValue\\": \\"test_value\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListInstanceEndpoint' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the module that you want to access. Valid values:'."\n" ."\n" .'* `Registry`: image repositories.'."\n" .'* `Chart`: Helm charts.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Registry', 'title' => ''], ], [ 'name' => 'Summary', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['description' => 'Specify whether to return endpoints in simple mode. If yes, no access control information about the endpoint is returned.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1B21A877-66A2-4095-90EB-20A7781A4A67', 'title' => ''], 'Endpoints' => [ 'description' => 'The endpoints of the instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the endpoint.'."\n", 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], 'EndpointType' => ['description' => 'The type of the endpoint.'."\n", 'type' => 'string', 'example' => 'internet', 'title' => ''], 'AclEnable' => ['description' => 'Indicates whether the endpoint is added to an access control list (ACL).'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Enable' => ['description' => 'Indicates whether the endpoint is added to an ACL.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Domains' => [ 'description' => 'The list of domain names of the Container Registry instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => ['description' => 'The type of the domain name. Valid values:'."\n" ."\n" .'* SYSTEM: system domain name.'."\n" .'* USER: user domain name.'."\n", 'type' => 'string', 'example' => 'SYSTEM', 'title' => ''], 'Domain' => ['description' => 'The domain name of the Container Registry instance.'."\n", 'type' => 'string', 'example' => 't****-registry.cn-shanghai.cr.aliyuncs.com', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'LinkedVpcs' => [ 'description' => 'The VPCs associated with the instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => 'VPC ID'."\n", 'type' => 'string', 'example' => 'vpc-bp1b1xjllp3ve5yze****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], 'AclEntries' => [ 'description' => 'The ACLs that are configured for the instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Entry' => ['description' => 'The information about the ACL.'."\n", 'type' => 'string', 'example' => '127.0.0.1', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListInstanceEndpoint', 'summary' => 'Queries the endpoints of a Container Registry instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListInstanceEndpoint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"1B21A877-66A2-4095-90EB-20A7781A4A67\\",\\n \\"Endpoints\\": [\\n {\\n \\"Status\\": \\"RUNNING\\",\\n \\"EndpointType\\": \\"internet\\",\\n \\"AclEnable\\": true,\\n \\"Enable\\": true,\\n \\"Domains\\": [\\n {\\n \\"Type\\": \\"SYSTEM\\",\\n \\"Domain\\": \\"t****-registry.cn-shanghai.cr.aliyuncs.com\\"\\n }\\n ],\\n \\"LinkedVpcs\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1b1xjllp3ve5yze****\\"\\n }\\n ],\\n \\"AclEntries\\": [\\n {\\n \\"Entry\\": \\"127.0.0.1\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n RUNNING\\n true\\n internet\\n true\\n \\n SYSTEM\\n t****-registry.cn-shanghai.cr.aliyuncs.com\\n \\n \\n null\\n \\n \\n null\\n \\n\\ntrue\\n1B21A877-66A2-4095-90EB-20A7781A4A67\\nsuccess","errorExample":""}]', ], 'ListInstanceRegion' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '33779', 'abilityTreeNodes' => ['FEATUREacrRKSIY1'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', 'schema' => ['description' => 'The language used for response parameters. Set this parameter to `zh-CN`.'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh_CN', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '11F182E1-0F84-4F5B-8D3B-61E991482727', 'title' => ''], 'Regions' => [ 'description' => 'The list of regions.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LocalName' => ['description' => 'The name of the region.'."\n", 'type' => 'string', 'example' => '华南1(深圳)', 'title' => ''], 'RegionId' => ['description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListInstanceRegion', 'summary' => 'Queries regions in which you can create Container Registry instances.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"11F182E1-0F84-4F5B-8D3B-61E991482727\\",\\n \\"Regions\\": [\\n {\\n \\"LocalName\\": \\"华南1(深圳)\\",\\n \\"RegionId\\": \\"cn-shenzhen\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', ], 'ListNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33783', 'abilityTreeNodes' => ['FEATUREacr0GH77N'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry (ACR) instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-94klsruryslx****', 'title' => ''], ], [ 'name' => 'NamespaceStatus', 'in' => 'query', 'schema' => ['description' => 'The status of the namespace. Valid values:'."\n" ."\n" .'- `NORMAL`: The namespace is normal.'."\n" ."\n" .'- `DELETING`: The namespace is being deleted.', 'type' => 'string', 'required' => false, 'example' => 'NORMAL', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.', 'type' => 'string', 'required' => false, 'example' => 'test-namespace', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B7E5FCA5-55ED-451C-9649-0BB2B93387D0', 'title' => ''], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'- `true`: The request is successful.'."\n" ."\n" .'- `false`: The request fails.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'string', 'example' => '1', 'title' => ''], 'Namespaces' => [ 'description' => 'The list of namespaces.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DefaultRepoType' => ['description' => 'The default type of the repository. Valid values:'."\n" ."\n" .'- `PUBLIC`: public'."\n" ."\n" .'- `PRIVATE`: private', 'type' => 'string', 'deprecated' => true, 'example' => 'PUBLIC', 'title' => ''], 'NamespaceStatus' => ['description' => 'The status of the namespace. Valid values:'."\n" ."\n" .'- `NORMAL`: The namespace is normal.'."\n" ."\n" .'- `DELETING`: The namespace is being deleted.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'NamespaceId' => ['description' => 'The ID of the namespace.', 'type' => 'string', 'example' => 'crn-tiw8t3f8i5lt****', 'title' => ''], 'AutoCreateRepo' => ['description' => 'Indicates whether a repository is automatically created when an image is pushed to the namespace.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'cri-94klsruryslx****', 'title' => ''], 'NamespaceName' => ['description' => 'The name of the namespace.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfm4n5kzyf2fbi', 'title' => ''], 'DefaultRepoConfiguration' => ['$ref' => '#/components/schemas/RepoConfiguration', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListNamespace', 'summary' => 'Lists namespaces.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'translator' => 'machine', 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B7E5FCA5-55ED-451C-9649-0BB2B93387D0\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"Namespaces\\": [\\n {\\n \\"DefaultRepoType\\": \\"PUBLIC\\",\\n \\"NamespaceStatus\\": \\"NORMAL\\",\\n \\"NamespaceId\\": \\"crn-tiw8t3f8i5lt****\\",\\n \\"AutoCreateRepo\\": true,\\n \\"InstanceId\\": \\"cri-94klsruryslx****\\",\\n \\"NamespaceName\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfm4n5kzyf2fbi\\",\\n \\"DefaultRepoConfiguration\\": {\\n \\"RepoType\\": \\"\\",\\n \\"TagImmutability\\": true,\\n \\"ArtifactBuildRuleParameters\\": {\\n \\"ImageIndexOnly\\": true\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', ], 'ListRepoBuildRecord' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9D23DEDF-E91D-434B-B7D5-9D12C648D166', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'BuildRecords' => [ 'description' => 'The list of image building records.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'EndTime' => ['description' => 'The time when the image building ended.'."\n", 'type' => 'string', 'example' => '1572875610000', 'title' => ''], 'StartTime' => ['description' => 'The time when the image building started.'."\n", 'type' => 'string', 'example' => '1572872207000', 'title' => ''], 'BuildStatus' => ['description' => 'The status of the image building.'."\n", 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], 'BuildRecordId' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'example' => '537e08ab-735e-415f-b7c2-160eb87f8****', 'title' => ''], 'Image' => [ 'description' => 'The information about the image.'."\n", 'type' => 'object', 'properties' => [ 'RepoNamespaceName' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ImageTag' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'example' => 'v0.1', 'title' => ''], 'RepoId' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'example' => 'crr-gzsrlevmvoaq****', 'title' => ''], 'RepoName' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListRepoBuildRecord', 'summary' => 'Queries image building records of an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryBuild', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9D23DEDF-E91D-434B-B7D5-9D12C648D166\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"BuildRecords\\": [\\n {\\n \\"EndTime\\": \\"1572875610000\\",\\n \\"StartTime\\": \\"1572872207000\\",\\n \\"BuildStatus\\": \\"SUCCESS\\",\\n \\"BuildRecordId\\": \\"537e08ab-735e-415f-b7c2-160eb87f8****\\",\\n \\"Image\\": {\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"ImageTag\\": \\"v0.1\\",\\n \\"RepoId\\": \\"crr-gzsrlevmvoaq****\\",\\n \\"RepoName\\": \\"test\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"true\\n\\n 1572875610000\\n 1572872207000\\n SUCCESS\\n 537e08ab-735e-415f-b7c2-160eb87f8****\\n \\n test\\n v0.1\\n test\\n crr-gzsrlevmvoaq****\\n \\n\\n1\\n30\\n9D23DEDF-E91D-434B-B7D5-9D12C648D166\\n1\\nsuccess","errorExample":""}]', ], 'ListRepoBuildRecordLog' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-nmbv37dlv5d3****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crr-z4dvahhku9wv4****', 'title' => ''], ], [ 'name' => 'BuildRecordId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image building record.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'C5B4D5D7-A1C6-4E9B-ABD2-401361C4****', 'title' => ''], ], [ 'name' => 'Offset', 'in' => 'query', 'schema' => ['description' => 'The offset of log lines.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '4CE1F661-75DD-4EBD-A4AD-057B26834ABB', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'string', 'example' => '1000', 'title' => ''], 'BuildRecordLogs' => [ 'description' => 'The log content of the image building record.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LineNumber' => ['description' => 'The line number of the log entry.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'Message' => ['description' => 'The content of the log.'."\n", 'type' => 'string', 'example' => 'fetch stage begin', 'title' => ''], 'BuildStage' => ['description' => 'The stage of the building that is recorded in the log entry.'."\n", 'type' => 'string', 'example' => 'GIT_CLONE', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListRepoBuildRecordLog', 'summary' => 'Queries the log of an image building record.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositoryBuildLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 100,\\n \\"TotalCount\\": \\"1000\\",\\n \\"BuildRecordLogs\\": [\\n {\\n \\"LineNumber\\": 2,\\n \\"Message\\": \\"fetch stage begin\\",\\n \\"BuildStage\\": \\"GIT_CLONE\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"true\\n\\n fetch stage begin\\n GIT_CLONE\\n 2\\n\\n1000\\n100\\n4CE1F661-75DD-4EBD-A4AD-057B26834ABB\\n1\\nsuccess","errorExample":""}]', ], 'ListRepoBuildRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrYWOHWY'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '42D782C8-E8F6-4A32-BEA0-6A6AC854C22A', 'title' => ''], 'Code' => ['description' => 'The response code. A value of `success` indicates that the request was successful.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" ."\n" .'- `true`: The request was successful.'."\n" ."\n" .'- `false`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of build rules.', 'type' => 'string', 'example' => '1', 'title' => ''], 'BuildRules' => [ 'description' => 'The build rules.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DockerfileLocation' => ['description' => 'The directory of the Dockerfile.', 'type' => 'string', 'example' => '/', 'title' => ''], 'BuildRuleId' => ['description' => 'The ID of the build rule.', 'type' => 'string', 'example' => 'crbr-khys0nd3asbe****', 'title' => ''], 'PushType' => ['description' => 'The type of the event that triggers the build rule. Valid values:'."\n" ."\n" .'- `GIT_BRANCH`: A code branch is pushed.'."\n" ."\n" .'- GIT\\_TAG: Push source code from a tag.', 'type' => 'string', 'example' => 'GIT_BRANCH', 'title' => ''], 'PushName' => ['description' => 'Code push-triggered build name', 'type' => 'string', 'example' => 'v0.1', 'title' => ''], 'ImageTag' => ['description' => 'Image Tag', 'type' => 'string', 'example' => 'v0.1', 'title' => ''], 'DockerfileName' => ['description' => 'Dockerfile name', 'type' => 'string', 'example' => 'Dockerfile', 'title' => ''], 'Platforms' => [ 'type' => 'array', 'items' => ['description' => 'Image operating system and platform', 'type' => 'string', 'example' => 'linux/amd64', 'title' => ''], 'description' => 'Image operating system and platform', 'title' => '', 'example' => '', ], 'BuildArgs' => [ 'type' => 'array', 'items' => ['description' => 'Build argument', 'type' => 'string', 'example' => 'http_proxy=127.0.0.1 ', 'title' => ''], 'description' => '', 'title' => '', 'example' => '', ], 'DestArtifactType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'The response object.', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Query the list of build rules for an image repository', 'summary' => 'Lists the build rules of an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"42D782C8-E8F6-4A32-BEA0-6A6AC854C22A\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"BuildRules\\": [\\n {\\n \\"DockerfileLocation\\": \\"/\\",\\n \\"BuildRuleId\\": \\"crbr-khys0nd3asbe****\\",\\n \\"PushType\\": \\"GIT_BRANCH\\",\\n \\"PushName\\": \\"v0.1\\",\\n \\"ImageTag\\": \\"v0.1\\",\\n \\"DockerfileName\\": \\"Dockerfile\\",\\n \\"Platforms\\": [\\n \\"linux/amd64\\"\\n ],\\n \\"BuildArgs\\": [\\n \\"http_proxy=127.0.0.1 \\"\\n ],\\n \\"DestArtifactType\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListRepoSyncRule' => [ 'summary' => 'Returns a list of repository synchronization rules.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33788', 'abilityTreeNodes' => ['FEATUREacrLKRO80'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.', 'type' => 'string', 'required' => false, 'example' => 'test-namespace', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository.', 'type' => 'string', 'required' => false, 'example' => 'test-repo', 'title' => ''], ], [ 'name' => 'TargetInstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the target instance.', 'type' => 'string', 'required' => false, 'example' => 'cri-k77rd2eo9ztt****', 'title' => ''], ], [ 'name' => 'TargetRegionId', 'in' => 'query', 'schema' => ['description' => 'The ID of the target region.', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '838D1602-6D8F-47FB-B60A-656645D2****', 'title' => ''], 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'SyncRules' => [ 'description' => 'The list of synchronization rules.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SyncTrigger' => ['description' => 'The trigger policy. Valid values:'."\n" ."\n" .'- `INITIATIVE`: The synchronization is actively triggered.'."\n" ."\n" .'- `PASSIVE`: The synchronization is passively triggered.', 'type' => 'string', 'example' => 'PASSIVE', 'title' => ''], 'CreateTime' => ['description' => 'The time when the synchronization rule was created. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1572604642000', 'title' => ''], 'LocalRegionId' => ['description' => 'The region ID of the source instance.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], 'SyncScope' => ['description' => 'The synchronization scope. Valid values:'."\n" ."\n" .'- `NAMESPACE`: Synchronizes resources by namespace.'."\n" ."\n" .'- `REPO`: Synchronizes resources by repository.', 'type' => 'string', 'example' => 'NAMESPACE', 'title' => ''], 'RepoNameFilter' => ['description' => 'The regular expression that is used to filter repositories.'."\n" ."\n" .'> This parameter is valid only when `SyncScope` is set to `NAMESPACE`.', 'type' => 'string', 'example' => '.*', 'title' => ''], 'TagFilter' => ['description' => 'The regular expression that is used to filter tags.', 'type' => 'string', 'example' => '.*', 'title' => ''], 'TargetNamespaceName' => ['description' => 'The name of the namespace in the target instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'TargetInstanceId' => ['description' => 'The ID of the target instance.', 'type' => 'string', 'example' => 'cri-k77rd2eo9ztt****', 'title' => ''], 'TargetRepoName' => ['description' => 'The name of the repository in the target instance.', 'type' => 'string', 'example' => 'test-repo-target', 'title' => ''], 'SyncRuleId' => ['description' => 'The ID of the synchronization rule.', 'type' => 'string', 'example' => 'crsr-7lph66uloi6h****', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the synchronization rule was last modified. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1572604642000', 'title' => ''], 'SyncRuleName' => ['description' => 'The name of the synchronization rule.', 'type' => 'string', 'example' => 'sync-rule-1', 'title' => ''], 'TargetRegionId' => ['description' => 'The region ID of the target instance.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], 'LocalInstanceId' => ['description' => 'The ID of the source instance.', 'type' => 'string', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], 'LocalNamespaceName' => ['description' => 'The name of the namespace in the source instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'LocalRepoName' => ['description' => 'The name of the repository in the source instance.', 'type' => 'string', 'example' => 'test-repo-local', 'title' => ''], 'SyncDirection' => ['description' => 'The synchronization direction. Valid values:'."\n" ."\n" .'- `FROM`: from the source instance to the target instance.'."\n" ."\n" .'- `TO`: from the target instance to the source instance.', 'type' => 'string', 'example' => 'FROM', 'title' => ''], 'CrossUser' => ['description' => 'Indicates whether images are synchronized across different Alibaba Cloud accounts. Valid values:'."\n" ."\n" .'- `true`'."\n" ."\n" .'- `false`'."\n" ."\n" .'Default value: `false`.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'LinkId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListRepoSyncRule', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListSyncRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"838D1602-6D8F-47FB-B60A-656645D2****\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 1,\\n \\"SyncRules\\": [\\n {\\n \\"SyncTrigger\\": \\"PASSIVE\\",\\n \\"CreateTime\\": 1572604642000,\\n \\"LocalRegionId\\": \\"cn-shanghai\\",\\n \\"SyncScope\\": \\"NAMESPACE\\",\\n \\"RepoNameFilter\\": \\".*\\",\\n \\"TagFilter\\": \\".*\\",\\n \\"TargetNamespaceName\\": \\"test\\",\\n \\"TargetInstanceId\\": \\"cri-k77rd2eo9ztt****\\",\\n \\"TargetRepoName\\": \\"test-repo-target\\",\\n \\"SyncRuleId\\": \\"crsr-7lph66uloi6h****\\",\\n \\"ModifiedTime\\": 1572604642000,\\n \\"SyncRuleName\\": \\"sync-rule-1\\",\\n \\"TargetRegionId\\": \\"cn-shenzhen\\",\\n \\"LocalInstanceId\\": \\"cri-kmsiwlxxdcva****\\",\\n \\"LocalNamespaceName\\": \\"test\\",\\n \\"LocalRepoName\\": \\"test-repo-local\\",\\n \\"SyncDirection\\": \\"FROM\\",\\n \\"CrossUser\\": true,\\n \\"LinkId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListRepoSyncTask' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33789', 'abilityTreeNodes' => ['FEATUREacrLKRO80'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository namespace.', 'type' => 'string', 'required' => false, 'example' => 'ns', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The repository name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The image tag.', 'type' => 'string', 'required' => false, 'example' => 'nginx', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'SyncRecordId', 'in' => 'query', 'schema' => ['description' => 'The ID of the sync task. This ID is also the `SyncBatchTaskId` returned in the response, which identifies the image\'s sync batch task.'."\n" ."\n" .'> An image that matches multiple sync rules generates multiple sync tasks, each with the same `SyncBatchTaskId`.', 'type' => 'string', 'required' => false, 'example' => '9d8ac4f6-8138-4c15-a2e3-60624ad3****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7640819A-FB5B-4E25-A227-97717F62****', 'title' => ''], 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'string', 'example' => '1', 'title' => ''], 'SyncTasks' => [ 'description' => 'A list of sync tasks.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ModifedTime' => ['description' => 'This parameter is deprecated due to a typo. Use `ModifiedTime` instead.', 'type' => 'integer', 'format' => 'int64', 'deprecated' => true, 'example' => '1572839133000', 'title' => ''], 'ModifiedTime' => ['description' => 'The modification time of the task.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''], 'SyncRuleId' => ['description' => 'The ID of the sync rule.', 'type' => 'string', 'example' => 'crsr-7lph66uloi6h****', 'title' => ''], 'SyncTaskId' => ['description' => 'The ID of the sync task.', 'type' => 'string', 'example' => 'rst-4kfd7fk6pohk****', 'title' => ''], 'TaskStatus' => ['description' => 'The task status.', 'type' => 'string', 'example' => 'ERROR', 'title' => ''], 'CreateTime' => ['description' => 'The creation time of the task.', 'type' => 'integer', 'format' => 'int64', 'example' => '1572839126000', 'title' => ''], 'SyncBatchTaskId' => ['description' => 'The ID of the batch sync task. This ID is the same as the sync record ID (`SyncRecordId`).'."\n" ."\n" .'> If an image matches multiple sync rules, multiple sync tasks are generated. These tasks share the same `SyncBatchTaskId`.', 'type' => 'string', 'example' => '9d8ac4f6-8138-4c15-a2e3-60624ad3****', 'title' => ''], 'CrossUser' => ['description' => 'Whether the image is synchronized across accounts. Valid values:'."\n" ."\n" .'- `true`: The image is synchronized across accounts.'."\n" ."\n" .'- `false`: The image is synchronized within the same account.'."\n" ."\n" .'Default value: `false`', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'SyncTransAccelerate' => ['description' => 'Whether transfer acceleration is enabled for the sync task.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'TaskTrigger' => ['description' => 'The trigger policy. Valid values:'."\n" ."\n" .'- `PASSIVE`: The sync task is automatically triggered.'."\n" ."\n" .'- `INITIATIVE`: The sync task is manually triggered.'."\n" ."\n" .'Default value: `PASSIVE`', 'type' => 'string', 'example' => 'PASSIVE', 'title' => ''], 'ImageFrom' => [ 'description' => 'The source image.', 'type' => 'object', 'properties' => [ 'RepoNamespaceName' => ['description' => 'The repository namespace.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], 'ImageTag' => ['description' => 'The image tag.', 'type' => 'string', 'example' => 'v0.1', 'title' => ''], 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], ], 'title' => '', 'example' => '', ], 'ImageTo' => [ 'description' => 'The destination image.', 'type' => 'object', 'properties' => [ 'RepoNamespaceName' => ['description' => 'The repository namespace.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'cri-k77rd2eo9zttneqo', 'title' => ''], 'ImageTag' => ['description' => 'The image tag.', 'type' => 'string', 'example' => 'v0.1', 'title' => ''], 'RepoName' => ['description' => 'The repository name.', 'type' => 'string', 'example' => 'test', 'title' => ''], 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], ], 'title' => '', 'example' => '', ], 'CustomLink' => ['description' => 'Whether a custom sync link is used.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'TaskIssue' => [ 'description' => 'The task failure information.'."\n" ."\n" .'> If the sync task fails, this field returns details about the failure.', 'enumValueTitles' => ['OSS_POLICY_UNAUTHORIZED' => 'The ACR service lacks the required OSS permissions.', 'TAG_CONFLICT' => 'An image with the same tag exists in the destination repository, and image tag immutability is enabled.', 'UNSUPPORTED_FORMAT' => 'The source image uses an unsupported manifest or configuration format.', 'INTERNAL_ERROR' => 'The sync task failed due to an internal server error.', 'NETWORK_ERROR' => 'The sync task failed due to a network error.', 'DATA_LENGTH_EXCEEDED' => 'The image manifest or configuration exceeds the length limit.'], 'type' => 'string', 'example' => 'NETWORK_ERROR', 'title' => '', ], 'LinkId' => ['description' => 'The ID of the custom sync link.', 'type' => 'string', 'title' => '', 'example' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => 'The response parameters.', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'ListRepoSyncTask', 'summary' => 'Lists repository synchronization tasks.', 'requestParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7640819A-FB5B-4E25-A227-97717F62****\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"SyncTasks\\": [\\n {\\n \\"ModifedTime\\": 1572839133000,\\n \\"ModifiedTime\\": 0,\\n \\"SyncRuleId\\": \\"crsr-7lph66uloi6h****\\",\\n \\"SyncTaskId\\": \\"rst-4kfd7fk6pohk****\\",\\n \\"TaskStatus\\": \\"ERROR\\",\\n \\"CreateTime\\": 1572839126000,\\n \\"SyncBatchTaskId\\": \\"9d8ac4f6-8138-4c15-a2e3-60624ad3****\\",\\n \\"CrossUser\\": true,\\n \\"SyncTransAccelerate\\": true,\\n \\"TaskTrigger\\": \\"PASSIVE\\",\\n \\"ImageFrom\\": {\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"InstanceId\\": \\"cri-kmsiwlxxdcva****\\",\\n \\"ImageTag\\": \\"v0.1\\",\\n \\"RepoName\\": \\"test\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n },\\n \\"ImageTo\\": {\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"InstanceId\\": \\"cri-k77rd2eo9zttneqo\\",\\n \\"ImageTag\\": \\"v0.1\\",\\n \\"RepoName\\": \\"test\\",\\n \\"RegionId\\": \\"cn-shenzhen\\"\\n },\\n \\"CustomLink\\": true,\\n \\"TaskIssue\\": \\"NETWORK_ERROR\\",\\n \\"LinkId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', 'gatewayOptions' => [ 'gatewayProtocols' => [], ], 'translator' => 'machine', ], 'ListRepoTag' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8p****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Maximum value: 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '031572FA-7D8F-4C05-B790-1071E0E05DE6', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of returned entries.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'Images' => [ 'description' => 'The images.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the image.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'ImageSize' => ['description' => 'The size of the image.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '27107966', 'title' => ''], 'ImageCreate' => ['description' => 'The time when the image was created.'."\n", 'type' => 'string', 'example' => '1572839125000', 'title' => ''], 'Digest' => ['description' => 'The digest of the image.'."\n", 'type' => 'string', 'example' => '67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1****', 'title' => ''], 'ImageUpdate' => ['description' => 'The time when the image was last updated.'."\n", 'type' => 'string', 'example' => '1572875608000', 'title' => ''], 'Tag' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'example' => 'v0.1', 'title' => ''], 'ImageId' => ['description' => 'The ID of the image.'."\n", 'type' => 'string', 'example' => '45023655bf39c382e26a8607d057c27871dee163c1ecf48cc1ebf2a1****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListRepoTag', 'summary' => 'Queries image tags in a repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"031572FA-7D8F-4C05-B790-1071E0E05DE6\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"Images\\": [\\n {\\n \\"Status\\": \\"NORMAL\\",\\n \\"ImageSize\\": 27107966,\\n \\"ImageCreate\\": \\"1572839125000\\",\\n \\"Digest\\": \\"67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1****\\",\\n \\"ImageUpdate\\": \\"1572875608000\\",\\n \\"Tag\\": \\"v0.1\\",\\n \\"ImageId\\": \\"45023655bf39c382e26a8607d057c27871dee163c1ecf48cc1ebf2a1****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"true\\n1\\n30\\n031572FA-7D8F-4C05-B790-1071E0E05DE6\\n\\n NORMAL\\n 1572839125000\\n 27107966\\n 67bfbcc12b67936ec7f867927817cbb071832b873dbcaed312a1930ba5f1****\\n 45023655bf39c382e26a8607d057c27871dee163c1ecf48cc1ebf2a1****\\n 1572875608000\\n v0.1\\n\\n1\\nsuccess","errorExample":""}]', ], 'ListRepoTagScanResult' => [ 'summary' => 'Queries the results of a security scan that is created for an image tag.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr7W016P', 'FEATUREacrKJDAEQ'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-2j88dtld8yel****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crr-uf082u9dg8do****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The name of the image tag.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'ScanTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the security scan task.'."\n", 'type' => 'string', 'required' => false, 'example' => '6b0b094f-8a90-4f8f-b660-2427aed0****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The number of the page to return.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'Severity', 'in' => 'query', 'schema' => ['description' => 'The severity of the vulnerability. Valid values:'."\n" ."\n" .'* `High`'."\n" .'* `Medium`'."\n" .'* `Low`'."\n" .'* `Unknown`'."\n", 'type' => 'string', 'required' => false, 'example' => 'High', 'title' => ''], ], [ 'name' => 'Digest', 'in' => 'query', 'schema' => ['description' => 'The digest of the image.'."\n", 'type' => 'string', 'required' => false, 'example' => 'sha256:6b0b094f8a904f8fb6602427aed0d1fa', 'title' => ''], ], [ 'name' => 'ScanType', 'in' => 'query', 'schema' => ['description' => 'The type of the vulnerability. Valid values:'."\n" ."\n" .'* `cve`: image system vulnerability'."\n" .'* `sca`: image application vulnerability'."\n", 'type' => 'string', 'required' => false, 'example' => 'sca', 'title' => ''], ], [ 'name' => 'VulQueryKey', 'in' => 'query', 'schema' => ['description' => 'The keyword for fuzzy search used in scanning. The value can be a CVE name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CVE-2021', 'title' => ''], ], [ 'name' => 'FilterValue', 'in' => 'query', 'schema' => ['description' => 'The parameter whose value that you want to query. Fox example, if the value is `FixCmd`, only the `FixCmd` parameter is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'FixCmd', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '56B5C92F-F5D9-46E0-823F-EC71D1892DAA', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries returned per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of vulnerabilities detected on images.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '196', 'title' => ''], 'Vulnerabilities' => [ 'description' => 'The details about the detected vulnerabilities.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Severity' => ['description' => 'The severity of the vulnerability.'."\n", 'type' => 'string', 'example' => 'Medium', 'title' => ''], 'AddedBy' => ['description' => 'The ID of the image layer where the vulnerability was detected.'."\n", 'type' => 'string', 'example' => 'sha256:123456717b8e40b6480979b739010d8d549989602bcdd07922119aec6f9dbe57', 'title' => ''], 'CveName' => ['description' => 'The name of the vulnerability.'."\n", 'type' => 'string', 'example' => 'CVE-2009-5155', 'title' => ''], 'Description' => ['description' => 'The description of the vulnerability.'."\n", 'type' => 'string', 'example' => 'description.', 'title' => ''], 'Feature' => ['description' => 'The cause of the vulnerability.'."\n", 'type' => 'string', 'example' => 'eglibc', 'title' => ''], 'Version' => ['description' => 'The version of the vulnerability.'."\n", 'type' => 'string', 'example' => '2.19-6.9', 'title' => ''], 'VersionFormat' => ['description' => 'The format of the vulnerability.'."\n", 'type' => 'string', 'example' => 'dpkg', 'title' => ''], 'CveLink' => ['description' => 'The URL of the vulnerability.'."\n", 'type' => 'string', 'example' => 'https://security-tracker.debian.org/tracker/CVE-2009-5155', 'title' => ''], 'VersionFixed' => ['description' => 'The version where the vulnerability was fixed.'."\n", 'type' => 'string', 'example' => '2.19-18+deb8u5', 'title' => ''], 'FixCmd' => ['description' => 'The command used to fix the vulnerability.'."\n", 'type' => 'string', 'example' => 'yum install -y xxx', 'title' => ''], 'CveLocation' => ['description' => 'The directory of the vulnerability.'."\n", 'type' => 'string', 'example' => '/test.txt', 'title' => ''], 'ScanType' => ['description' => 'The type of the vulnerability. Valid values:'."\n" ."\n" .'* `cve`: image system vulnerability'."\n" .'* `sca`: image application vulnerability'."\n", 'type' => 'string', 'example' => 'cve', 'title' => ''], 'AliasName' => ['description' => 'The name of the vulnerability.'."\n", 'type' => 'string', 'example' => '漏洞', 'deprecated' => true, 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListRepoTagScanResult', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"56B5C92F-F5D9-46E0-823F-EC71D1892DAA\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 196,\\n \\"Vulnerabilities\\": [\\n {\\n \\"Severity\\": \\"Medium\\",\\n \\"AddedBy\\": \\"sha256:123456717b8e40b6480979b739010d8d549989602bcdd07922119aec6f9dbe57\\",\\n \\"CveName\\": \\"CVE-2009-5155\\",\\n \\"Description\\": \\"description.\\",\\n \\"Feature\\": \\"eglibc\\",\\n \\"Version\\": \\"2.19-6.9\\",\\n \\"VersionFormat\\": \\"dpkg\\",\\n \\"CveLink\\": \\"https://security-tracker.debian.org/tracker/CVE-2009-5155\\",\\n \\"VersionFixed\\": \\"2.19-18+deb8u5\\",\\n \\"FixCmd\\": \\"yum install -y xxx\\",\\n \\"CveLocation\\": \\"/test.txt\\",\\n \\"ScanType\\": \\"cve\\",\\n \\"AliasName\\": \\"漏洞\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', ], 'ListRepoTrigger' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8p****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2CA76D52-A8F0-4D0B-854E-FBD9F6C99049', 'title' => ''], 'Triggers' => [ 'description' => 'The triggers of the repository.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TriggerName' => ['description' => 'The name of the trigger.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'RepoEvent' => ['description' => 'The type of the event that activates the trigger. Valid values:'."\n" ."\n" .'* `BUILD_SUCCESS`: The trigger is activated when an image building task is successful.'."\n" .'* `BUILD_Fail`: The trigger is activated when an image building task fails.'."\n", 'type' => 'string', 'example' => 'BUILD_SUCCESS', 'title' => ''], 'TriggerId' => ['description' => 'The ID of the trigger.'."\n", 'type' => 'string', 'example' => 'crw-vriyql9eq7ep****', 'title' => ''], 'TriggerUrl' => ['description' => 'The URL of the trigger.'."\n", 'type' => 'string', 'example' => 'https://www.test.com', 'title' => ''], 'TriggerType' => ['description' => 'The type of the trigger. Valid values:'."\n" ."\n" .'* `ALL`: a trigger that supports both tags and regular expressions.'."\n" .'* `TAG_LISTTAG`: a tag-based trigger.'."\n" .'* `TAG_REG_EXP`: a regular expression-based trigger.'."\n", 'type' => 'string', 'example' => 'ALL', 'title' => ''], 'TriggerTag' => ['description' => 'The image tag based on which the trigger is set.'."\n", 'type' => 'string', 'example' => '*', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ListRepoTrigger', 'summary' => 'Queries the triggers of a repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"2CA76D52-A8F0-4D0B-854E-FBD9F6C99049\\",\\n \\"Triggers\\": [\\n {\\n \\"TriggerName\\": \\"test\\",\\n \\"RepoEvent\\": \\"BUILD_SUCCESS\\",\\n \\"TriggerId\\": \\"crw-vriyql9eq7ep****\\",\\n \\"TriggerUrl\\": \\"https://www.test.com\\",\\n \\"TriggerType\\": \\"ALL\\",\\n \\"TriggerTag\\": \\"*\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"true\\n2CA76D52-A8F0-4D0B-854E-FBD9F6C99049\\n\\n https://www.test.com\\n ALL\\n BUILD_SUCCESS\\n test\\n *\\n crw-vriyql9eq7ep****\\n\\nsuccess","errorExample":""}]', ], 'ListRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoStatus', 'in' => 'query', 'schema' => ['description' => 'Repository status. Valid values:'."\n" ."\n" .'- `NORMAL`: Normal.'."\n" ."\n" .'- `DELETING`: Deleting.'."\n" ."\n" .'- `DELETED`: Deleted.'."\n" ."\n" .'- `ALL`: All repository statuses.', 'type' => 'string', 'required' => false, 'example' => 'ALL', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'repo-test', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'repo-namespace-test', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Maximum value: 100. If you specify a value larger than 100 for this parameter, the system reports a parameter error or uses 100 as the maximum value.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5241C090-DA69-4B0F-8E3F-2F24FDE1110E', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of the queried image repositories.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], 'Repositories' => [ 'description' => 'The information about the repositories.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Summary' => ['description' => 'The summary of the repository.'."\n", 'type' => 'string', 'example' => 'test OK', 'title' => ''], 'RepoBuildType' => ['description' => 'The type of the repository building. Valid values:'."\n" ."\n" .'* `AUTO`: The repository is automatically built.'."\n" .'* `MANUAL`: The repository is manually built.'."\n", 'type' => 'string', 'example' => 'MANUAL', 'title' => ''], 'ModifiedTime' => ['description' => 'The time when the repository was last modified.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1564153576000', 'title' => ''], 'RepoId' => ['description' => 'The ID of the repository.'."\n", 'type' => 'string', 'example' => 'crr-03cuozrsqhkw****', 'title' => ''], 'CreateTime' => ['description' => 'The time when the repository was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1564153576000', 'title' => ''], 'RepoNamespaceName' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'TagImmutability' => ['description' => 'Indicates whether the feature of image tag immutability is enabled for the repository.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'InstanceId' => ['description' => 'The ID of the Container Registry instance to which the repository belongs.'."\n", 'type' => 'string', 'example' => 'cri-kmsiwlxxdcv****', 'title' => ''], 'RepoType' => ['description' => 'The type of the repository. Valid values:'."\n" ."\n" .'* `PUBLIC`'."\n" .'* `PRIVATE`'."\n", 'type' => 'string', 'example' => 'PRIVATE', 'title' => ''], 'RepoStatus' => ['description' => 'The status of the repository.'."\n", 'type' => 'string', 'example' => 'NORMAL', 'title' => ''], 'RepoName' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''], 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the repository belongs.'."\n", 'type' => 'string', 'example' => 'rg-acfm4n5kzyfxxxx'."\n", 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Query image repository list', 'summary' => 'Query the image repository list.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5241C090-DA69-4B0F-8E3F-2F24FDE1110E\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": \\"1\\",\\n \\"Repositories\\": [\\n {\\n \\"Summary\\": \\"test OK\\",\\n \\"RepoBuildType\\": \\"MANUAL\\",\\n \\"ModifiedTime\\": 1564153576000,\\n \\"RepoId\\": \\"crr-03cuozrsqhkw****\\",\\n \\"CreateTime\\": 1564153576000,\\n \\"RepoNamespaceName\\": \\"test\\",\\n \\"TagImmutability\\": true,\\n \\"InstanceId\\": \\"cri-kmsiwlxxdcv****\\",\\n \\"RepoType\\": \\"PRIVATE\\",\\n \\"RepoStatus\\": \\"NORMAL\\",\\n \\"RepoName\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfm4n5kzyfxxxx\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListScanBaselineByTask' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-***********', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'Level', 'in' => 'query', 'schema' => ['description' => 'The level of the baseline risk.'."\n", 'type' => 'string', 'required' => false, 'example' => 'High', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crr-**************', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The image version.'."\n", 'type' => 'string', 'required' => false, 'example' => '1.1.36', 'title' => ''], ], [ 'name' => 'Digest', 'in' => 'query', 'schema' => ['description' => 'The digest value of the image.'."\n", 'type' => 'string', 'required' => false, 'example' => 'sha256:1c89806cfaf66d2990e2cf1131ebd56ff24b133745a33abf1228*************', 'title' => ''], ], [ 'name' => 'ScanTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image scan task.'."\n", 'type' => 'string', 'required' => false, 'example' => '3e526d7e-4b45-4703-b046-***********', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Id of the request'."\n", 'type' => 'string', 'example' => '5259118F-79E2-57E9-9AEA-551586F4FAED'], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request was successful. Valid values:'."\n" ."\n" .'* `true`: successful'."\n" .'* `false`: failed'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'ScanBaselines' => [ 'description' => 'The scanned baseline risks.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The scanned baseline risks.'."\n", 'type' => 'object', 'properties' => [ 'ScanTaskId' => ['description' => 'The ID of the image scan task.'."\n", 'type' => 'string', 'example' => '2328fcaa-f28a-405d-a357-asdvfrew23', 'title' => ''], 'BaselineClassAlias' => ['description' => 'The category to which the baseline risk belongs.'."\n", 'type' => 'string', 'example' => '服务配置', 'title' => ''], 'BaselineNameAlias' => ['description' => 'The name of the baseline risk.'."\n", 'type' => 'string', 'example' => '服务配置', 'title' => ''], 'BaselineNameLevel' => ['description' => 'The severity of the baseline risk.'."\n", 'type' => 'string', 'example' => 'high', 'title' => ''], 'LowRiskItemCount' => ['description' => 'Low risk quantity.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'MiddleRiskItemCount' => ['description' => 'Medium risk quantity.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'HighRiskItemCount' => ['description' => 'High risk quantity.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'BaselineItemCount' => ['description' => 'The number of baseline risks.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'BaselineNameKey' => ['description' => 'The key of the baseline name.'."\n", 'type' => 'string', 'example' => 'ak_leak', 'title' => ''], 'FirstScanTime' => ['description' => 'The time of the first scan.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2024-04-10 15:33:26', 'title' => ''], 'BaselineDetailDescription' => ['description' => 'The description of the baseline risk.'."\n", 'type' => 'string', 'example' => 'Access Key明文存储', 'title' => ''], 'BaselineDetailPrompt' => ['description' => 'The path and content of the baseline risk.'."\n", 'type' => 'string', 'example' => 'usr/local/www/project/environments/dev/common/config/paramsxxx', 'title' => ''], 'BaselineDetailAdvice' => ['description' => 'Suggestions about how to fix the baseline risk.'."\n", 'type' => 'string', 'example' => '建议对ak混淆加密,避免被利用', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1695090008000', 'title' => ''], 'UpdateTime' => ['description' => 'The update time.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1684220824226', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'title' => 'ListScanBaselineByTask', 'summary' => 'Queries the baseline risks of a scan task by page.', 'description' => 'Before you call this operation, use a Security Center scan engine to scan the image.'."\n", 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListScanBaseline', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5259118F-79E2-57E9-9AEA-551586F4FAED\\",\\n \\"Code\\": 0,\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 2,\\n \\"ScanBaselines\\": [\\n {\\n \\"ScanTaskId\\": \\"2328fcaa-f28a-405d-a357-asdvfrew23\\",\\n \\"BaselineClassAlias\\": \\"服务配置\\",\\n \\"BaselineNameAlias\\": \\"服务配置\\",\\n \\"BaselineNameLevel\\": \\"high\\",\\n \\"LowRiskItemCount\\": 1,\\n \\"MiddleRiskItemCount\\": 1,\\n \\"HighRiskItemCount\\": 1,\\n \\"BaselineItemCount\\": 1,\\n \\"BaselineNameKey\\": \\"ak_leak\\",\\n \\"FirstScanTime\\": 0,\\n \\"BaselineDetailDescription\\": \\"Access Key明文存储\\",\\n \\"BaselineDetailPrompt\\": \\"usr/local/www/project/environments/dev/common/config/paramsxxx\\",\\n \\"BaselineDetailAdvice\\": \\"建议对ak混淆加密,避免被利用\\",\\n \\"CreateTime\\": 1695090008000,\\n \\"UpdateTime\\": 1684220824226\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'machine', ], 'ListScanMaliciousFileByTask' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-gu94qynvpwk*****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page. Maximum value: 100. If you specify a value greater than 100 for this parameter, the system reports a parameter error or uses 100 as the maximum value.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'Level', 'in' => 'query', 'schema' => ['description' => 'The severity of the malicious file.'."\n", 'type' => 'string', 'required' => false, 'example' => 'serious、suspicious、remind', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The image repository ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crr-h1y4l279wb8*****', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'schema' => ['description' => 'The image tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'V6.11', 'title' => ''], ], [ 'name' => 'Digest', 'in' => 'query', 'schema' => ['description' => 'The image digest.'."\n", 'type' => 'string', 'required' => false, 'example' => 'sha256:aa4bffff6406785e930dab1f94c9a1297ba22xxxx71d71504a015764*********', 'title' => ''], ], [ 'name' => 'ScanTaskId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image scan task.'."\n", 'type' => 'string', 'required' => false, 'example' => '79ee6bc2-3288-4c56-b967-**********', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '52AE49C8-B91A-5C1A-821F-C34324B42F7C', 'title' => ''], 'Code' => ['description' => 'The return value.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number. Default value: 1.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: successful'."\n" .'* `false`: failed'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '13', 'title' => ''], 'ScanMaliciousFiles' => [ 'description' => 'The queried malicious files.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ScanTaskId' => ['description' => 'The ID of the image scan task.'."\n", 'type' => 'string', 'example' => 'fe2d8980-de45-4f55-b57d-e438e6d2e972', 'title' => ''], 'MaliciousName' => ['description' => 'The type of the malicious file.'."\n", 'type' => 'string', 'example' => '疑似含有Webshell代码', 'title' => ''], 'MaliciousMd5' => ['description' => 'The MD5 hash value of the malicious file.'."\n", 'type' => 'string', 'example' => 'e76c9759783cbbc9be0ff91ca3xxxxxx', 'title' => ''], 'FirstScanTime' => ['description' => 'The time when the image was first scanned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2023-04-10 11:42:06'."\n", 'title' => ''], 'Level' => ['description' => 'The severity of the malicious file.'."\n", 'type' => 'string', 'example' => 'remind', 'title' => ''], 'FilePath' => ['description' => 'The path of the file.'."\n", 'type' => 'string', 'example' => 'tenant/0000000000000000/', 'title' => ''], 'CreateTime' => ['description' => 'The time when the image was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2023-04-10 11:42:06', 'title' => ''], 'UpdateTime' => ['description' => 'The time when the image was updated.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2023-04-10 11:42:06'."\n", 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'title' => 'ListScanMaliciousFileByTask', 'summary' => 'Queries the malicious files of a scan task by page.', 'description' => 'Before you call this operation, use a Security Center scan engine to scan the image.'."\n", 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListScanMaliciousFile', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"52AE49C8-B91A-5C1A-821F-C34324B42F7C\\",\\n \\"Code\\": 0,\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 13,\\n \\"ScanMaliciousFiles\\": [\\n {\\n \\"ScanTaskId\\": \\"fe2d8980-de45-4f55-b57d-e438e6d2e972\\",\\n \\"MaliciousName\\": \\"疑似含有Webshell代码\\",\\n \\"MaliciousMd5\\": \\"e76c9759783cbbc9be0ff91ca3xxxxxx\\",\\n \\"FirstScanTime\\": 0,\\n \\"Level\\": \\"remind\\",\\n \\"FilePath\\": \\"tenant/0000000000000000/\\",\\n \\"CreateTime\\": 0,\\n \\"UpdateTime\\": 0\\n }\\n ]\\n}","type":"json"}]', ], 'ListScanRule' => [ 'summary' => 'Lists the scan rules.', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '119398', 'abilityTreeNodes' => ['FEATUREacr7W016P', 'FEATUREacrKJDAEQ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-upoulewerx*****', 'title' => ''], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'ScanType', 'in' => 'query', 'schema' => [ 'description' => 'The type of the vulnerability. Valid values:'."\n" ."\n" .'* `VUL`: Products Cloud Security Scanner.'."\n" .'* `SBOM`: Product Content Analysis.'."\n" ."\n" .'Default value: `VUL`'."\n", 'enumValueTitles' => ['SBOM' => '', 'VUL' => ''], 'type' => 'string', 'required' => false, 'example' => 'SBOM', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response struct.'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Request Id'."\n", 'type' => 'string', 'example' => '2CB62B5E-605B-5A23-9110-728B8207A25C'], 'Code' => ['description' => 'The HTTP status code'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'PageNo' => ['description' => 'The page number.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'True', 'title' => ''], 'PageSize' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'ScanRules' => [ 'description' => 'The list of scan rules.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The list of scan rules.'."\n", 'type' => 'object', 'properties' => [ 'ScanRuleId' => ['description' => 'The scan rule id.'."\n", 'type' => 'string', 'example' => 'crscnr-2sdveqjhpzd****', 'title' => ''], 'RuleName' => ['description' => 'The rule name.'."\n", 'type' => 'string', 'example' => 'cicd-prod', 'title' => ''], 'ScanScope' => ['description' => 'The scan scope.'."\n", 'type' => 'string', 'example' => 'REPO', 'title' => ''], 'TriggerType' => ['description' => 'The trigger type.'."\n", 'type' => 'string', 'example' => 'AUTO', 'title' => ''], 'Namespaces' => [ 'description' => 'The list of namespaces.'."\n", 'type' => 'array', 'items' => ['description' => 'The list of namespaces.'."\n", 'type' => 'string', 'example' => 'platform', 'title' => ''], 'title' => '', 'example' => '', ], 'RepoNames' => [ 'description' => 'The repository name.'."\n", 'type' => 'array', 'items' => ['description' => 'The repository name.'."\n", 'type' => 'string', 'example' => 'cloud-function-agent', 'title' => ''], 'title' => '', 'example' => '', ], 'RepoTagFilterPattern' => ['description' => 'The tag that triggers the scan matches the regular expression.'."\n", 'type' => 'string', 'example' => '.*', 'title' => ''], 'CreateTime' => ['description' => 'The creation time.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1702361810000', 'title' => ''], 'UpdateTime' => ['description' => 'The update time.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1764122725000', 'title' => ''], 'ScanType' => ['description' => 'The scan type. Valid values:'."\n" ."\n" .'* `VUL`: Products Cloud Security Scanner'."\n" .'* `SBOM`: Product Content Analysis'."\n", 'type' => 'string', 'example' => 'SBOM', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'title' => 'ListScanRule', 'description' => '列举扫描规则。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CB62B5E-605B-5A23-9110-728B8207A25C\\",\\n \\"Code\\": \\"success\\",\\n \\"PageNo\\": 1,\\n \\"IsSuccess\\": true,\\n \\"PageSize\\": 30,\\n \\"TotalCount\\": 1,\\n \\"ScanRules\\": [\\n {\\n \\"ScanRuleId\\": \\"crscnr-2sdveqjhpzd****\\",\\n \\"RuleName\\": \\"cicd-prod\\",\\n \\"ScanScope\\": \\"REPO\\",\\n \\"TriggerType\\": \\"AUTO\\",\\n \\"Namespaces\\": [\\n \\"platform\\"\\n ],\\n \\"RepoNames\\": [\\n \\"cloud-function-agent\\"\\n ],\\n \\"RepoTagFilterPattern\\": \\".*\\",\\n \\"CreateTime\\": 1702361810000,\\n \\"UpdateTime\\": 1764122725000,\\n \\"ScanType\\": \\"SBOM\\"\\n }\\n ]\\n}","type":"json"}]', 'translator' => 'manual', ], 'ListTagResources' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '188659', 'abilityTreeNodes' => ['FEATUREacrRKSIY1'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The type of the resources. Instance resources are supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Instance', 'enum' => ['Instance'], ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The resource IDs. You can specify a maximum of 20 resource IDs.'."\n", 'type' => 'array', 'items' => ['description' => 'The resource ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-5w1ztcu2kruj****', 'title' => ''], 'required' => false, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the region in which the resources are deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tag list.', 'type' => 'array', 'items' => [ 'description' => 'The tag list.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key of the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.'."\n" ."\n" .'A tag key can be up to 128 characters in length. It cannot start with acs: or aliyun, and cannot contain http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''], 'Value' => ['description' => 'The tag value of the resource. You can specify up to 20 tag values. The tag value can be an empty string.'."\n" ."\n" .'It can be up to 128 characters in length. It cannot start with acs: or aliyun and cannot contain http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'test-val', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request or if no next query exists. You must specify the token that is obtained from the previous query as the value of NextToken.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAfj+3fkqd8igM6VLaQjlaYc=', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7FF809ED-B42F-5AC3-9A17-CFE14BE32A8E'], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagResource' => [ 'description' => 'The tags that are added to the resource.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'test-key'."\n", 'title' => ''], 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'test-val', 'title' => ''], 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'cri-w19e7qr2wibl****', 'title' => ''], 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'Instance', 'title' => ''], ], 'description' => 'The tags that are added to the resource.', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], '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.', 'type' => 'string', 'example' => 'AAAAAfj+3fkqd8igM6VLaQjlaYc='."\n", 'title' => ''], ], 'example' => '', ], ], [], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The ResourceType parameter is invalid.', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceIdsOrTags', 'errorMessage' => 'You must specify ResourceId.N or Tags.', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'You must specify ResourceType.', 'description' => ''], ['errorCode' => 'MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => ''], ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => ''], ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => ''], ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''], ['errorCode' => 'InvalidParameter.NextToken', 'errorMessage' => 'The NextToken parameter is invalid.', 'description' => ''], ], 403 => [ ['errorCode' => 'NoPermission ', 'errorMessage' => 'The operator is not permission for this operate', 'description' => ''], ], ], 'title' => 'ListTagResources', 'summary' => 'Queries the tags that are added to cloud resources. Instance resources are supported.', 'description' => '- 请求中ResourceId.N 及 (Tag.N.Key,Tag.N.Value) 至少存在一个,以确定检索对象。'."\n" ."\n" .'- Tag.N是资源的标签,由一个键值对组成。仅指定Tag.N.Key时,则返回该标签键关联的所有标签值。仅指定Tag.N.Value会报错。'."\n" ."\n" .'- ResourceId.N需满足所有输入的键值对。当输入多个键值对,查询结果为资源中包含指定多个键值对的资源。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7FF809ED-B42F-5AC3-9A17-CFE14BE32A8E\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagKey\\": \\"test-key\\\\n\\",\\n \\"TagValue\\": \\"test-val\\",\\n \\"ResourceId\\": \\"cri-w19e7qr2wibl****\\",\\n \\"ResourceType\\": \\"Instance\\"\\n }\\n ]\\n },\\n \\"NextToken\\": \\"AAAAAfj+3fkqd8igM6VLaQjlaYc=\\\\n\\"\\n}","type":"json"}]', ], 'ResetLoginPassword' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '33801', 'abilityTreeNodes' => ['FEATUREacrBHA1DM'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => ['description' => 'The new password that you specify to log on to the instance. The password must be 8 to 32 bits in length, and must contain at least two of the following character types: letters, special characters, and digits.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'EB9C5722-51E2-4497-A573-575B0CA5CE0C', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'ResetLoginPassword', 'summary' => 'Resets the logon password of a Container Registry instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"EB9C5722-51E2-4497-A573-575B0CA5CE0C\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nEB9C5722-51E2-4497-A573-575B0CA5CE0C\\nsuccess","errorExample":""}]', ], 'TagResources' => [ 'summary' => 'Adds tags to resources. Instance resources are supported.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '188653', 'abilityTreeNodes' => ['FEATUREacrRKSIY1'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The type of the resource. Instance resources are supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Instance', 'enum' => ['Instance'], ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The resource IDs. You can specify a maximum of 20 resource IDs.'."\n", 'type' => 'array', 'items' => ['description' => 'The resource ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-1lg7vtctpqdn****', 'title' => ''], 'required' => true, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The region ID of the resources.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The tag list.', 'type' => 'array', 'items' => [ 'description' => 'The tag list.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key of the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.'."\n" ."\n" .'A tag key can be up to 128 characters in length. It cannot start with acs: or aliyun, and cannot contain http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''], 'Value' => ['description' => 'The tag value of the resource. You can specify up to 20 tag values. The tag value can be an empty string.'."\n" ."\n" .'A tag value can be up to 128 characters in length. It cannot start with acs: or aliyun, and cannot contain http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'test-val', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => true, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E9A586D0-3977-5C28-A44D-55D3A9CD53CC'], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], ['errorCode' => 'InvalidParameter.ResourceId', 'errorMessage' => 'The ResourceId parameter is invalid.', 'description' => ''], ['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => ''], ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => ''], ['errorCode' => 'InvalidParameter.RegionId', 'errorMessage' => 'The RegionId parameter is invalid.', 'description' => ''], ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The ResourceType parameter is invalid.', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'You must specify ResourceId.N.', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'You must specify ResourceType.', 'description' => ''], ['errorCode' => 'MissingParameter.Tags', 'errorMessage' => 'You must specify Tags.', 'description' => ''], ['errorCode' => 'MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => ''], ['errorCode' => 'MissingParameter.TagValue', 'errorMessage' => 'You must specify Tag.N.Value.', 'description' => ''], ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => ''], ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The Tag.N.Value parameter is invalid.', 'description' => ''], ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => ''], ['errorCode' => 'QuotaExceed.TagsPerResource', 'errorMessage' => 'The maximum number of tags for each resource is exceeded.', 'description' => ''], ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''], ], 403 => [ ['errorCode' => 'NoPermission', 'errorMessage' => 'The operator is not permission for this operate', 'description' => ''], ], 500 => [ ['errorCode' => 'InvalidOperation.ConcurrentModification', 'errorMessage' => 'The resource is modified concurrently.', 'description' => ''], ], ], 'title' => 'TagResources', 'description' => '单个实例最多可绑定 20 条标签。绑定标签前,阿里云会校验资源已有标签数量,超过限制值会返回报错信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E9A586D0-3977-5C28-A44D-55D3A9CD53CC\\"\\n}","type":"json"}]', ], 'UntagResources' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '188658', 'abilityTreeNodes' => ['FEATUREacrRKSIY1'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The type of the resources. Instance resources are supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'Instance', 'enum' => ['Instance'], ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The resource IDs. You can specify a maximum of 20 resource IDs.'."\n", 'type' => 'array', 'items' => ['description' => 'The resource ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cri-8qong6ve5p3m****', 'title' => ''], 'required' => false, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The ID of the region in which the resources are deployed.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The key of tag N added to the resource. Valid values of N: 1 to 20.', 'type' => 'array', 'items' => ['description' => 'The key of the tag.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''], 'required' => false, 'maxItems' => 21, 'title' => '', 'example' => '', ], ], [ 'name' => 'All', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to remove all tags from the resource. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n" ."\n" .'>If you specify both this parameter and the TagKey parameter, this parameter does not take effect.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '724402D0-75CD-4794-BC20-7D3720823AE0'], ], 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The ResourceType parameter is invalid.', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'You must specify ResourceId.N.', 'description' => ''], ['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'You must specify ResourceType.', 'description' => ''], ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => ''], ['errorCode' => 'InvalidParameter.TagKeysOrDeleteAll', 'errorMessage' => 'The TagKeys or DeleteAll parameter is invalid.', 'description' => ''], ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded.', 'description' => ''], ['errorCode' => 'NumberExceed.TagKeys', 'errorMessage' => 'The maximum number of TagKeys is exceeded.', 'description' => ''], ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''], ['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => ''], ], 403 => [ ['errorCode' => 'NoPermission', 'errorMessage' => 'The operator is not permission for this operate ', 'description' => ''], ], ], 'title' => 'UntagResources', 'summary' => 'Removes tags from resources. Instance resources are supported.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:UntagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"724402D0-75CD-4794-BC20-7D3720823AE0\\"\\n}","type":"json"}]', ], 'UpdateArtifactLifecycleRule' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrQD2ZKV'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-r6ym0lerldp****', 'title' => ''], ], [ 'name' => 'Auto', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to automatically execute the lifecycle management rule.'."\n", 'type' => 'boolean', 'required' => false, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ScheduleTime', 'in' => 'query', 'schema' => ['description' => 'The execution cycle of the lifecycle management rule.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'WEEK', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-ns', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the image repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_1', 'title' => ''], ], [ 'name' => 'TagRegexp', 'in' => 'query', 'schema' => ['description' => 'The regular expression that indicates which image tags you want to retain.'."\n", 'type' => 'string', 'required' => false, 'example' => '.*production_.*', 'title' => ''], ], [ 'name' => 'RetentionTagCount', 'in' => 'query', 'schema' => ['description' => 'The number of images that you want to retain.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30', 'title' => ''], ], [ 'name' => 'EnableDeleteTag', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable lifecycle management for the artifact.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cralr-luq6qiegzvx****', 'title' => ''], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['description' => 'The deletion scope of artifacts.'."\n", 'type' => 'string', 'required' => false, 'example' => 'REPO', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BF92FC2E-455F-5600-A276-D2150A59****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'UpdateArtifactLifecycleRule', 'summary' => 'Updates a lifecycle management rule of an artifact.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BF92FC2E-455F-5600-A276-D2150A59****\\"\\n}","type":"json"}]', ], 'UpdateArtifactSubscriptionRule' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '141835', 'abilityTreeNodes' => ['FEATUREacr5ED6LF'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-c0o11woew0k****'."\n", 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'crasr-mdbpung4i1rm****', 'title' => ''], ], [ 'name' => 'SourceProvider', 'in' => 'query', 'schema' => [ 'description' => 'The source of the artifacts.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* DOCKER_HUB: Docker Hub'."\n" .'* GCR: GCR'."\n" .'* QUAY: Quay.io'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['DOCKER_HUB' => 'Docker Hub', 'GCR' => 'GCR', 'QUAY' => 'Quay.io'], 'example' => 'DOCKER_HUB', 'title' => '', ], ], [ 'name' => 'SourceNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the source namespace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'library', 'title' => ''], ], [ 'name' => 'SourceRepoName', 'in' => 'query', 'schema' => ['description' => 'The source repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'nginx'."\n", 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the Container Registry namespace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-ns'."\n", 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the Container Registry repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-repo'."\n", 'title' => ''], ], [ 'name' => 'TagRegexp', 'in' => 'query', 'schema' => ['description' => 'The image tags in the subscription source repository. Regular expressions are supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'release-v.*'."\n", 'title' => ''], ], [ 'name' => 'TagCount', 'in' => 'query', 'schema' => ['description' => 'The number of subscribed images.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Override', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to overwrite the original image.'."\n", 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Accelerate', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable an acceleration link for image subscription. The subscription acceleration feature is in public preview. The feature is optimized based on scheduling policies and network links to accelerate image subscription.'."\n", 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Platform', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The operating system and architecture. If the source repository contains multi-arch images, only the images with the specified operating system and architecture are subscribed to the destination repository of the Enterprise Edition instance.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The operating system and architecture.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* linux/arm: Linux/Arm'."\n" .'* windows/x86: Windows/x86'."\n" .'* \\*/\\*: \\*/\\*'."\n" .'* linux/arm64: Linux/Arm64'."\n" .'* windows/x86-64: Windows/x86-64'."\n" .'* linux/amd64: Linux/AMD64'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => ['linux/arm' => 'linux/arm', 'windows/x86' => 'windows/x86', '*/*' => '*/*', 'linux/arm64' => 'linux/arm64', 'windows/x86-64' => 'windows/x86-64', 'linux/amd64' => 'linux/amd64'], 'example' => '*/*', 'title' => '', ], 'required' => false, 'maxItems' => 200, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '02B27D80-FD32-5155-931A-93700779BB9E'."\n", 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'UpdateArtifactSubscriptionRule', 'summary' => 'Updates an artifact subscription rule.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"02B27D80-FD32-5155-931A-93700779BB9E\\\\n\\"\\n}","type":"json"}]', ], 'UpdateChain' => [ 'summary' => 'Updates the information about a delivery chain, such as the node execution sequence of the delivery chain.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrPRPOYY'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-4cdrlqmhn4gm****', 'title' => ''], ], [ 'name' => 'ChainId', 'in' => 'query', 'schema' => ['description' => 'The ID of the delivery chain.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chi-02ymhtwl3cq8****', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['description' => 'The name of the delivery chain.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the delivery chain.'."\n", 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ 'name' => 'ChainConfig', 'in' => 'query', 'schema' => ['description' => 'The configuration of the delivery chain in the JSON format.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'chainconfig', 'title' => ''], ], [ 'name' => 'ScopeExclude', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Repositories in which the delivery chain does not take effect.'."\n", 'type' => 'array', 'items' => ['description' => 'The names of the repositories in which the delivery chain does not take effect. Separate multiple repository names with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'repo_name1,repo_name2', 'title' => ''], 'required' => false, 'maxItems' => 50, 'minItems' => 0, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '85A99B10-3926-5201-958E-C06FA47F****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateChain', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"85A99B10-3926-5201-958E-C06FA47F****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n success\\n true\\n 85A99B10-3926-5201-958E-C06FA47F****\\n","errorExample":""}]', ], 'UpdateChartNamespace' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'AutoCreateRepo', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to automatically create repositories in the namespace. Valid values:'."\n" ."\n" .'* `true`: automatically creates repositories in the namespace.'."\n" .'* `false`: does not automatically create repositories in the namespace.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'DefaultRepoType', 'in' => 'query', 'schema' => ['description' => 'The default type of the repository. Valid values:'."\n" ."\n" .'* `PUBLIC`: a public repository'."\n" .'* `PRIVATE`: a private repository'."\n", 'type' => 'string', 'required' => false, 'example' => 'PUBLIC', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the API request is successful. Valid values:'."\n" ."\n" .'* `true`: successful'."\n" .'* `false`: failed'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6877B80A-2895-44C4-BC9E-703B157DEE66', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateChartNamespace', 'summary' => 'Updates a chart namespace.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#instanceid}/{#namespacename}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"6877B80A-2895-44C4-BC9E-703B157DEE66\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n6877B80A-2895-44C4-BC9E-703B157DEE66\\nsuccess","errorExample":""}]', ], 'UpdateChartRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoType', 'in' => 'query', 'schema' => ['description' => 'The type of the repository. Valid values:'."\n" ."\n" .'* `PUBLIC`: a public repository.'."\n" .'* `PRIVATE`: a private repository.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'PUBLIC', 'title' => ''], ], [ 'name' => 'Summary', 'in' => 'query', 'schema' => ['description' => 'The summary of the repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace to which the repository belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'EB9C5722-51E2-4497-A573-575B0CA5CE0C', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateChartRepository', 'summary' => 'Updates a chart repository of a Container Registry instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"EB9C5722-51E2-4497-A573-575B0CA5CE0C\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nEB9C5722-51E2-4497-A573-575B0CA5CE0C\\nsuccess","errorExample":""}]', ], 'UpdateEventCenterRule' => [ 'summary' => 'Updates an event rule.', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the event notification rule.'."\n", 'type' => 'string', 'required' => true, 'example' => 'crecr-n6pbhgjxt*****', 'title' => ''], ], [ 'name' => 'RuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the event notification rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'chain-demo', 'title' => ''], ], [ 'name' => 'EventChannel', 'in' => 'query', 'schema' => ['description' => 'The event notification channel.'."\n", 'type' => 'string', 'required' => false, 'example' => 'EVENT_BRIDGE', 'title' => ''], ], [ 'name' => 'EventType', 'in' => 'query', 'schema' => ['description' => 'The type of the event. Valid values:'."\n" ."\n" .'* `cr:Artifact:DeliveryChainCompleted`: The delivery chain is processed.'."\n" .'* `cr:Artifact:SynchronizationCompleted`: The image is replicated.'."\n" .'* `cr:Artifact:BuildCompleted`: The image is built.'."\n" .'* `cr:Artifact:ScanCompleted`: The image is scanned.'."\n" .'* `cr:Artifact:SigningCompleted`: The image is signed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cr:Artifact:DeliveryChainCompleted', 'title' => ''], ], [ 'name' => 'EventScope', 'in' => 'query', 'schema' => ['description' => 'The event scope. Valid values:'."\n" ."\n" .'* `INSTANCE`'."\n" .'* `NAMESPACE`'."\n" .'* `REPO`'."\n" ."\n" .'Default value: `INSTANCE`'."\n", 'type' => 'string', 'required' => false, 'example' => 'INSTANCE', 'title' => ''], ], [ 'name' => 'Namespaces', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The namespaces to which the event notification rule applies.'."\n", 'type' => 'array', 'items' => ['description' => 'The namespaces.'."\n", 'type' => 'string', 'required' => false, 'example' => '["ns1","ns2"]', 'title' => ''], 'required' => false, 'example' => 'ns', 'title' => '', ], ], [ 'name' => 'RepoNames', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The names of the repositories to which the event notification rule applies.'."\n", 'type' => 'array', 'items' => ['description' => 'The names of the repositories.'."\n", 'type' => 'string', 'required' => false, 'example' => '["repo1","repo2"]', 'title' => ''], 'required' => false, 'example' => 'reponame', 'title' => '', ], ], [ 'name' => 'RepoTagFilterPattern', 'in' => 'query', 'schema' => ['description' => 'The regular expression for image tags.'."\n", 'type' => 'string', 'required' => false, 'example' => '.*', 'title' => ''], ], [ 'name' => 'EventConfig', 'in' => 'query', 'schema' => ['description' => 'The event configuration.'."\n", 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "notifyMethod":"http",'."\n" .' "notifyConfig":{'."\n" .' "Url":"http://www.aliyundoc.com",'."\n" .' "id":"MaAV3HgTkO5Fh8l1V********",'."\n" .' },'."\n" .' "notifyFilter":{}'."\n" .' }', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => '', 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '031572FA-7D8F-4C05-B790-1071E0E05DE6'], 'Code' => ['description' => 'The status code.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], 'RuleId' => ['description' => 'The ID of the event notification rule.'."\n", 'type' => 'string', 'example' => 'crecr-n6pbhgjxt*****', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'UpdateEventCenterRule', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateEventCenterRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"031572FA-7D8F-4C05-B790-1071E0E05DE6\\",\\n \\"Code\\": 200,\\n \\"RuleId\\": \\"crecr-n6pbhgjxt*****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 031572FA-7D8F-4C05-B790-1071E0E05DE6\\n 200\\n crecr-n6pbhgjxt*****\\n","errorExample":""}]', ], 'UpdateInstanceCustomizedDomain' => [ 'summary' => '', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr9LPARH'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'cri-h0tvspmnglam5jw5', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'Registry', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => 'registry-cn-guangzhou.ack.aliyuncs.com', 'title' => ''], ], [ 'name' => 'CertId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => '', 'example' => '21118442', 'title' => ''], ], [ 'name' => 'CertRegionId', 'in' => 'query', 'schema' => ['type' => 'string', 'default' => 'cn-hangzhou', 'description' => '', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['type' => 'string', 'description' => '', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['type' => 'boolean', 'description' => '', 'example' => 'True', 'title' => ''], 'RequestId' => ['type' => 'string', 'description' => '', 'example' => '2EFAF75C-1FA7-5254-B044-E97291C170CC', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => '', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"2EFAF75C-1FA7-5254-B044-E97291C170CC\\"\\n}","type":"json"}]', ], 'UpdateInstanceEndpointStatus' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'EndpointType', 'in' => 'query', 'schema' => ['description' => 'The type of the endpoint. Set the value to Internet.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'internet', 'title' => ''], ], [ 'name' => 'Enable', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable the instance endpoint. Valid values:'."\n" ."\n" .'* `true`: enables the instance endpoint.'."\n" .'* `false`: disables the instance endpoint'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ModuleName', 'in' => 'query', 'schema' => ['description' => 'The name of the module that you want to access. Valid values:'."\n" ."\n" .'* `Registry`: the image repository.'."\n" .'* `Chart`: a Helm chart.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Chart', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '2FC14396-A16A-42BA-AAE4-BB94D956DF09', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateInstanceEndpointStatus', 'summary' => 'Updates the status of an instance endpoint.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateInstanceEndpointStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"2FC14396-A16A-42BA-AAE4-BB94D956DF09\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n2FC14396-A16A-42BA-AAE4-BB94D956DF09\\nsuccess","errorExample":""}]', ], 'UpdateNamespace' => [ 'summary' => 'Updates a namespace.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '33814', 'abilityTreeNodes' => ['FEATUREacr9J9LGC'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the namespace.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'AutoCreateRepo', 'in' => 'query', 'schema' => ['description' => 'Whether to automatically create a repository when an image is pushed.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'DefaultRepoType', 'in' => 'query', 'schema' => ['description' => 'The default type for automatically created repositories. This parameter applies only if `AutoCreateRepo` is set to `true`. Valid values:'."\n" ."\n" .'- `PUBLIC`: a public repository'."\n" ."\n" .'- `PRIVATE`: a private repository', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'PRIVATE', 'title' => ''], ], [ 'name' => 'DefaultRepoConfiguration', 'in' => 'query', 'style' => 'json', 'schema' => ['description' => 'The default configuration for automatically created repositories.', '$ref' => '#/components/schemas/RepoConfiguration', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code. The value `success` indicates a successful request.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '90B8475C-C066-4B92-946E-4D0DECB514E8', 'title' => ''], ], 'description' => 'The response body.', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateNamespace', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"90B8475C-C066-4B92-946E-4D0DECB514E8\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'UpdateRepoBuildRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrYWOHWY'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8p****', 'title' => ''], ], [ 'name' => 'DockerfileLocation', 'in' => 'query', 'schema' => ['description' => 'The path of the Dockerfile.'."\n", 'type' => 'string', 'required' => false, 'example' => '/', 'title' => ''], ], [ 'name' => 'DockerfileName', 'in' => 'query', 'schema' => ['description' => 'The name of the Dockerfile.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Dockerfile', 'title' => ''], ], [ 'name' => 'PushType', 'in' => 'query', 'schema' => ['description' => 'The type of the push that triggers the building rule. Valid values:'."\n" ."\n" .'* `GIT_TAG`: tag push'."\n" .'* `GIT_BRANCH`: branch push'."\n", 'type' => 'string', 'required' => false, 'example' => 'GIT_BRANCH', 'title' => ''], ], [ 'name' => 'PushName', 'in' => 'query', 'schema' => ['description' => 'The name of the push that triggers the building rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'master', 'title' => ''], ], [ 'name' => 'ImageTag', 'in' => 'query', 'schema' => ['description' => 'The tag of the image.'."\n", 'type' => 'string', 'required' => false, 'example' => 'v0.9.5', 'title' => ''], ], [ 'name' => 'BuildRuleId', 'in' => 'query', 'schema' => ['description' => 'The ID of the building rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crbr-ly77w5i3t31f****', 'title' => ''], ], [ 'name' => 'BuildArgs', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Building arguments.'."\n", 'type' => 'array', 'items' => ['description' => 'Building arguments.'."\n", 'type' => 'string', 'required' => false, 'example' => 'UserName=Test', 'title' => ''], 'required' => false, 'maxItems' => 20, 'title' => '', 'example' => '', ], ], [ 'name' => 'Platforms', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Architecture for image building. Valid values:'."\n" ."\n" .'* `linux/amd64`'."\n" .'* `linux/arm64`'."\n" .'* `linux/386`'."\n" .'* `linux/arm/v7`'."\n" .'* `linux/arm/v6`'."\n" ."\n" .'Default value: `linux/amd64`'."\n", 'type' => 'array', 'items' => ['description' => 'Architecture for image building. Valid values:'."\n" ."\n" .'* `linux/amd64`'."\n" .'* `linux/arm64`'."\n" .'* `linux/386`'."\n" .'* `linux/arm/v7`'."\n" .'* `linux/arm/v6`'."\n" ."\n" .'Default value: `linux/amd64`'."\n", 'type' => 'string', 'required' => false, 'example' => 'linux/amd64', 'title' => ''], 'required' => false, 'example' => 'linux/amd64', 'maxItems' => 20, 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" ."\n" .'* `true`: The request is successful.'."\n" .'* `false`: The request fails.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'BC648259-91A7-4502-BED3-EDF64361FA83', 'title' => ''], 'BuildRuleId' => ['description' => 'The ID of the building rule.'."\n", 'type' => 'string', 'example' => 'crbr-ly77w5i3t31f****', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateRepoBuildRule', 'summary' => 'Updates an image building rule for a repository.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#RepositoryId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"BC648259-91A7-4502-BED3-EDF64361FA83\\",\\n \\"BuildRuleId\\": \\"crbr-ly77w5i3t31f****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n success\\n true\\n BC648259-91A7-4502-BED3-EDF64361FA83\\n crbr-ly77w5i3t31f****\\n","errorExample":""}]', ], 'UpdateRepoSourceCodeRepo' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the Container Registry Enterprise Edition instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-shac42yvqzvq****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-gzsrlevmvoa****', 'title' => ''], ], [ 'name' => 'CodeRepoType', 'in' => 'query', 'schema' => ['description' => 'The type of the source code hosting platform. Valid values: GITHUB, GITLAB, GITEE, CODE, and CODEUP.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GITHUB', 'title' => ''], ], [ 'name' => 'CodeRepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The namespace to which the source code repository belongs.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'namespace', 'title' => ''], ], [ 'name' => 'CodeRepoName', 'in' => 'query', 'schema' => ['description' => 'The name of the source code repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'repo', 'title' => ''], ], [ 'name' => 'AutoBuild', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable automatic image building when code is committed. Valid values:'."\n" ."\n" .'* `true`: enables automatic image building when code is committed.'."\n" .'* `false`: disables automatic image building when code is committed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'OverseaBuild', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable Build With Servers Deployed Outside Chinese Mainland. Valid values:'."\n" ."\n" .'* `true`: enables Build With Servers Deployed Outside Chinese Mainland.'."\n" .'* `false`: disables Build With Servers Deployed Outside Chinese Mainland.'."\n", 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'DisableCacheBuild', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to disable building caches. Valid values:'."\n" ."\n" .'* `true`: disables building caches.'."\n" .'* `false`: enables building caches.'."\n", 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'CodeRepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the source code repository.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crr-cp7d6sget5r****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F56D589D-AF7F-4900-BA46-62C780AC2C10', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateRepoSourceCodeRepo', 'summary' => 'Updates the URL of the source code repository that is bound to an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateSourceRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"F56D589D-AF7F-4900-BA46-62C780AC2C10\\"\\n}","errorExample":""},{"type":"xml","example":"true\\nF56D589D-AF7F-4900-BA46-62C780AC2C10\\n200","errorExample":""}]', ], 'UpdateRepoTrigger' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => ['operationType' => 'update', 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The ID of the image repository.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-tquyps22md8p****', 'title' => ''], ], [ 'name' => 'TriggerName', 'in' => 'query', 'schema' => ['description' => 'The name of the trigger.'."\n" ."\n" .'You can specify the TriggerName or TriggerUrl parameter. The TriggerName parameter is optional.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test_trigger', 'title' => ''], ], [ 'name' => 'TriggerUrl', 'in' => 'query', 'schema' => ['description' => 'The URL of the trigger.'."\n", 'type' => 'string', 'required' => false, 'example' => 'https://www.test.com', 'title' => ''], ], [ 'name' => 'TriggerType', 'in' => 'query', 'schema' => ['description' => 'The type of the trigger. Valid values:'."\n" ."\n" .'* `ALL`: a trigger that supports both tags and regular expressions.'."\n" .'* `TAG_LISTTAG`: a tag-based trigger.'."\n" .'* `TAG_REG_EXP`: a regular expression-based trigger.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ALL', 'title' => ''], ], [ 'name' => 'TriggerTag', 'in' => 'query', 'schema' => ['description' => 'The image tag based on which the trigger is set.'."\n", 'type' => 'string', 'required' => false, 'example' => 'master', 'title' => ''], ], [ 'name' => 'TriggerId', 'in' => 'query', 'schema' => ['description' => 'The ID of the trigger.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crw-k7bdx4kt52ty****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return value.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '32535049-ED91-4589-98C0-7C88766EDF1F', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'UpdateRepoTrigger', 'summary' => 'Updates a trigger of an image repository.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"32535049-ED91-4589-98C0-7C88766EDF1F\\"\\n}","errorExample":""},{"type":"xml","example":"true\\n32535049-ED91-4589-98C0-7C88766EDF1F\\nsuccess","errorExample":""}]', ], 'UpdateRepository' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacr9J9LGC'], 'autoTest' => false, 'notSupportAutoTestReason' => '返回 http code不符合测试要求', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'RepoId', 'in' => 'query', 'schema' => ['description' => 'The repository ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'crr-tquyps22md8p****', 'title' => ''], ], [ 'name' => 'RepoType', 'in' => 'query', 'schema' => ['description' => 'The repository type. Valid values:'."\n" ."\n" .'- `PUBLIC`: public repository'."\n" ."\n" .'- `PRIVATE`: private repository.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PUBLIC', 'title' => ''], ], [ 'name' => 'Summary', 'in' => 'query', 'schema' => ['description' => 'The summary.', 'type' => 'string', 'required' => true, 'example' => 'test repo', 'title' => ''], ], [ 'name' => 'Detail', 'in' => 'query', 'schema' => ['description' => 'The repository description.', 'type' => 'string', 'required' => false, 'example' => 'repo-for-test', 'title' => ''], ], [ 'name' => 'TagImmutability', 'in' => 'query', 'schema' => ['description' => 'Specifies whether image tag immutability is enabled. Valid values:'."\n" ."\n" .'- `true`: enabled'."\n" ."\n" .'- `false`: disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'RepoNamespaceName', 'in' => 'query', 'schema' => ['description' => 'The name of the repository namespace.', 'type' => 'string', 'required' => false, 'example' => 'ejiayou-other', 'title' => ''], ], [ 'name' => 'RepoName', 'in' => 'query', 'schema' => ['description' => 'The repository name.', 'type' => 'string', 'required' => false, 'example' => 'dsp/domain-microapp', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The return code.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'IsSuccess' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CC43EC6B-0DD4-40AE-8811-B0519617051A', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'NoPrivilege', 'errorMessage' => 'Access denied for this user.', 'description' => ''], ], 500 => [ ['errorCode' => 'SystemError', 'errorMessage' => 'Unknown error.', 'description' => ''], ], ], 'title' => 'Update repository information', 'summary' => 'Updates repository information.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"IsSuccess\\": true,\\n \\"RequestId\\": \\"CC43EC6B-0DD4-40AE-8811-B0519617051A\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'UpdateScanRule' => [ 'summary' => 'Updates a scan rule.', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '119400', 'abilityTreeNodes' => ['FEATUREacr7W016P'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'cri-4abntrj42twd****', 'title' => ''], ], [ 'name' => 'ScanRuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.', 'type' => 'string', 'required' => true, 'example' => 'crscnr-3qmkeiuggfpjkfrq', 'title' => ''], ], [ 'name' => 'RuleName', 'in' => 'query', 'schema' => ['description' => 'The rule name.', 'type' => 'string', 'required' => true, 'maxLength' => 256, 'minLength' => 1, 'example' => 'scan-test', 'title' => ''], ], [ 'name' => 'ScanScope', 'in' => 'query', 'schema' => [ 'description' => 'The scan scope. Valid values:'."\n" .'- NAMESPACE: namespace'."\n" .'- REPO: repository.', 'enumValueTitles' => ['NAMESPACE' => 'namespace.', 'REPO' => 'repository.'], 'type' => 'string', 'required' => true, 'enum' => ['INSTANCE', 'NAMESPACE', 'REPO'], 'example' => 'REPO', 'title' => '', ], ], [ 'name' => 'TriggerType', 'in' => 'query', 'schema' => [ 'description' => 'The trigger type. Valid values:'."\n" .'- AUTO: Automatically triggered upon push.'."\n" .'- MANUAL: Manually triggered.', 'enumValueTitles' => ['AUTO' => 'automatically triggered upon push.', 'MANUAL' => 'manually triggered.'], 'type' => 'string', 'required' => true, 'enum' => ['AUTO', 'MANUAL'], 'example' => 'AUTO', 'title' => '', ], ], [ 'name' => 'Namespaces', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'description' => 'The collection of namespaces.'."\n" .'- If the scan scope is set to NAMESPACE, this parameter is required.'."\n" .'- If the scan scope is set to REPO, specify exactly one namespace for this parameter.', 'type' => 'array', 'items' => ['description' => 'The namespace.', 'type' => 'string', 'minLength' => 1, 'required' => false, 'example' => 'prd', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'RepoNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'description' => 'The list of repositories.'."\n" .'- If the scan scope is set to NAMESPACE, this parameter must be empty.'."\n" .'- If the scan scope is set to REPO, this parameter is required.', 'type' => 'array', 'items' => ['description' => 'The repository name.', 'type' => 'string', 'minLength' => 1, 'required' => false, 'example' => 'prod', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'RepoTagFilterPattern', 'in' => 'query', 'schema' => ['description' => 'The tag filtering rule.', 'type' => 'string', 'required' => true, 'example' => 'prod-.*', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The response struct.', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'Request Id', 'type' => 'string', 'example' => '33EF1695-E2B7-5D57-B4E1-3D655FE1EBD8'], 'Code' => ['description' => 'The return code.', 'type' => 'integer', 'format' => 'int64', 'example' => 'success', 'title' => ''], 'ScanRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'crscnr-3qmkeiuggfpjkfrq', 'title' => ''], ], 'example' => '', ], ], ], 'title' => 'Update a scan rule', 'description' => 'This API is available through whitelist access. [Submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket) to request access.', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/{#scanRuleId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"33EF1695-E2B7-5D57-B4E1-3D655FE1EBD8\\",\\n \\"Code\\": 0,\\n \\"ScanRuleId\\": \\"crscnr-3qmkeiuggfpjkfrq\\"\\n}","type":"json"}]', 'translator' => 'machine', ], 'UpdateStorageDomainRoutingRule' => [ 'summary' => 'Updates a routing rule for an instance store domain name.', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREacrFQBFTD'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID'."\n", 'type' => 'string', 'required' => true, 'example' => 'cri-kmsiwlxxdcva****', 'title' => ''], ], [ 'name' => 'Routes', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => 'The route list'."\n", 'type' => 'array', 'items' => ['description' => 'The routing rule entries'."\n", '$ref' => '#/components/schemas/RouteItem', 'required' => false, 'title' => '', 'example' => ''], 'required' => true, 'title' => '', 'example' => '', ], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'crsdr-b6thg027zmk1****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'D4978DCC-ECBD-40B0-A714-EE6959*****', 'title' => ''], 'Success' => ['description' => 'Request status ID'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], 'Code' => ['description' => 'The returned HTTP status code.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'AuthenticationFailed', 'errorMessage' => 'Authentication failed.', 'description' => 'Authentication failed.'], ], ], 'title' => 'UpdateStorageDomainRoutingRule', 'description' => '此API白名单开放,请[提交工单](https://smartservice.console.aliyun.com/service/create-ticket)获取支持。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/{#RuleId}'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D4978DCC-ECBD-40B0-A714-EE6959*****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"success\\"\\n}","type":"json"}]', 'translator' => 'manual', ], ], 'endpoints' => [ ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-huhehaote.aliyuncs.com', 'endpoint' => 'cr.cn-huhehaote.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'cr.cn-wulanchabu.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-heyuan.aliyuncs.com', 'endpoint' => 'cr.cn-heyuan.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-zhongwei', 'regionName' => 'China (Zhongwei)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-zhongwei.aliyuncs.com', 'endpoint' => 'cr.cn-zhongwei.aliyuncs.com', 'vpc' => 'cr-vpc.cn-zhongwei.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-beijing.aliyuncs.com', 'endpoint' => 'cr.cn-beijing.aliyuncs.com', 'vpc' => 'cr-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-zhengzhou-jva', 'regionName' => 'Zhengzhou (China Unicom Joint Venture)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'cr.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'cr-vpc.cn-zhengzhou-jva.aliyuncs.com'], ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-qingdao.aliyuncs.com', 'endpoint' => 'cr.cn-qingdao.aliyuncs.com', 'vpc' => 'cr-vpc.cn-qingdao.aliyuncs.com'], ['regionId' => 'cn-wuhan-lr', 'regionName' => 'China (Wuhan - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'cr.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'cr-vpc.cn-wuhan-lr.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-shanghai.aliyuncs.com', 'endpoint' => 'cr.cn-shanghai.aliyuncs.com', 'vpc' => 'cr-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-hongkong.aliyuncs.com', 'endpoint' => 'cr.cn-hongkong.aliyuncs.com', 'vpc' => 'cr-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'cr.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'cr-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-shenzhen.aliyuncs.com', 'endpoint' => 'cr.cn-shenzhen.aliyuncs.com', 'vpc' => 'cr-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-nanjing.aliyuncs.com', 'endpoint' => 'cr.cn-nanjing.aliyuncs.com', 'vpc' => 'cr-vpc.cn-nanjing.aliyuncs.com'], ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-northeast-2.aliyuncs.com', 'endpoint' => 'cr.ap-northeast-2.aliyuncs.com', 'vpc' => 'cr-vpc.ap-northeast-2.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-northeast-1.aliyuncs.com', 'endpoint' => 'cr.ap-northeast-1.aliyuncs.com', 'vpc' => 'cr-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'cn-fuzhou', 'regionName' => 'China (Fuzhou - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-fuzhou.aliyuncs.com', 'endpoint' => 'cr.cn-fuzhou.aliyuncs.com', 'vpc' => 'cr-vpc.cn-fuzhou.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-chengdu.aliyuncs.com', 'endpoint' => 'cr.cn-chengdu.aliyuncs.com', 'vpc' => 'cr-vpc.cn-chengdu.aliyuncs.com'], ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-guangzhou.aliyuncs.com', 'endpoint' => 'cr.cn-guangzhou.aliyuncs.com', 'vpc' => 'cr-vpc.cn-guangzhou.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cr.ap-southeast-1.aliyuncs.com', 'vpc' => 'cr-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-southeast-2.aliyuncs.com', 'endpoint' => 'cr.ap-southeast-2.aliyuncs.com', 'vpc' => 'cr-vpc.ap-southeast-2.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-southeast-3.aliyuncs.com', 'endpoint' => 'cr.ap-southeast-3.aliyuncs.com', 'vpc' => 'cr-vpc.ap-southeast-3.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-southeast-5.aliyuncs.com', 'endpoint' => 'cr.ap-southeast-5.aliyuncs.com', 'vpc' => 'cr-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-southeast-6.aliyuncs.com', 'endpoint' => 'cr.ap-southeast-6.aliyuncs.com', 'vpc' => 'cr-vpc.ap-southeast-6.aliyuncs.com'], ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-southeast-7.aliyuncs.com', 'endpoint' => 'cr.ap-southeast-7.aliyuncs.com', 'vpc' => 'cr-vpc.ap-southeast-7.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.cn-hangzhou.aliyuncs.com', 'endpoint' => 'cr.cn-hangzhou.aliyuncs.com', 'vpc' => 'cr-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'ap-southeast-8', 'regionName' => 'Malaysia (Johor)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cr.ap-southeast-8.aliyuncs.com', 'endpoint' => 'cr.ap-southeast-8.aliyuncs.com', 'vpc' => 'cr-vpc.ap-southeast-8.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cr.us-east-1.aliyuncs.com', 'endpoint' => 'cr.us-east-1.aliyuncs.com', 'vpc' => 'cr-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cr.us-southeast-1.aliyuncs.com', 'endpoint' => 'cr.us-southeast-1.aliyuncs.com', 'vpc' => 'cr-vpc.us-southeast-1.aliyuncs.com'], ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cr.eu-west-1.aliyuncs.com', 'endpoint' => 'cr.eu-west-1.aliyuncs.com', 'vpc' => 'cr-vpc.eu-west-1.aliyuncs.com'], ['regionId' => 'eu-west-2', 'regionName' => 'France (Paris)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cr.eu-west-2.aliyuncs.com', 'endpoint' => 'cr.eu-west-2.aliyuncs.com', 'vpc' => 'cr-vpc.eu-west-2.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cr.us-west-1.aliyuncs.com', 'endpoint' => 'cr.us-west-1.aliyuncs.com', 'vpc' => 'cr-vpc.us-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cr.eu-central-1.aliyuncs.com', 'endpoint' => 'cr.eu-central-1.aliyuncs.com', 'vpc' => 'cr-vpc.eu-central-1.aliyuncs.com'], ['regionId' => 'na-south-1', 'regionName' => 'Mexico', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cr.na-south-1.aliyuncs.com', 'endpoint' => 'cr.na-south-1.aliyuncs.com', 'vpc' => 'cr-vpc.na-south-1.aliyuncs.com'], ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'cr.me-east-1.aliyuncs.com', 'endpoint' => 'cr.me-east-1.aliyuncs.com', 'vpc' => 'cr-vpc.me-east-1.aliyuncs.com'], ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'cr.me-central-1.aliyuncs.com', 'endpoint' => 'cr.me-central-1.aliyuncs.com', 'vpc' => 'cr-vpc.me-central-1.aliyuncs.com'], ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'cr.ap-south-1.aliyuncs.com', 'endpoint' => 'cr.ap-south-1.aliyuncs.com', 'vpc' => 'cr-vpc.ap-south-1.aliyuncs.com'], ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cr.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'cr.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'cr-vpc.cn-hangzhou-finance.aliyuncs.com'], ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => 'Heyuan ACDR Auto', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cr.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'cr.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'cr-vpc.cn-heyuan-acdr-1.aliyuncs.com'], ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cr.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'cr.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'cr-vpc.cn-shenzhen-finance-1.aliyuncs.com'], ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cr.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'cr.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'cr-vpc.cn-beijing-finance-1.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cr.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'cr.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'cr-vpc.cn-shanghai-finance-1.aliyuncs.com'], ['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => 'China (Ulanqab) GIC', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cr.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'cr.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'cr-vpc.cn-wulanchabu-gic-1.aliyuncs.com'], ['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cr.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'cr.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'cr-vpc.cn-north-2-gov-1.aliyuncs.com'], ], 'errorCodes' => [ ['code' => 'ARTIFACT_NOT_EXIST', 'message' => 'Repo artifact is not exist.', 'http_code' => 200, 'description' => 'The queried instance\'s repository does not contain the artifact corresponding to the specified Tag.'], ['code' => 'AuthenticationFailed', 'message' => 'Authentication failed.', 'http_code' => 403, 'description' => 'Authentication failed.'], ['code' => 'AUTHENTICATION_FAILED', 'message' => 'The specified action is not allowed.', 'http_code' => 200, 'description' => 'The account you are using does not have permission for this operation.'], ['code' => 'AUTHENTICATION_FAILED', 'message' => 'Authentication failed.', 'http_code' => 403, 'description' => 'Authentication failed.'], ['code' => 'BUILD_RULE_CONFLICT', 'message' => 'Build rule conflict for this repo.', 'http_code' => 200, 'description' => 'Build rule conflict for this repo.'], ['code' => 'BUILD_RULE_ILLEGAL', 'message' => 'Repo build rule is illegal.', 'http_code' => 200, 'description' => 'Repo build rule is illegal.'], ['code' => 'CHART_NAMESPACE_ALREADY_EXIST', 'message' => 'Chart namespace already exist.', 'http_code' => 200, 'description' => 'Chart namespace already exist.'], ['code' => 'ILLEGAL_ARGUMENT', 'message' => 'Illegal argument.', 'http_code' => 200, 'description' => 'There are errors or null values in the parameters passed to the API call.'], ['code' => 'IMAGE_NOT_EXIST', 'message' => 'Image does not exist.', 'http_code' => 200, 'description' => 'The specified image does not exist'], ['code' => 'INSTANCE_ACCESS_ACL_ENTRY_PROCESSING', 'message' => 'Instance access ACL entry is not allowed to be operated concurrently, try again later.', 'http_code' => 200, 'description' => 'Instance access ACL entry is not allowed to be operated concurrently, try again later.'], ['code' => 'INSTANCE_ACCESS_VPC_LIMIT_EXCEED', 'message' => 'Instance VPC access endpoint count exceeds the limit.', 'http_code' => 200, 'description' => 'Instance VPC access endpoint count exceeds the limit.'], ['code' => 'INSTANCE_DELETE_NOT_ALLOWED', 'message' => 'Instance is not allowed for deletion.', 'http_code' => 200, 'description' => 'Instance is not allowed for deletion.'], ['code' => 'INSTANCE_NOT_EXIST', 'message' => 'Instance does not exist.', 'http_code' => 200, 'description' => 'The specified instance does not exist.'], ['code' => 'INSTANCE_STATUS_NOT_SUPPORT', 'message' => 'Invalid operation for current instance status.', 'http_code' => 200, 'description' => 'Invalid operation for current instance status.'], ['code' => 'InvalidEndpointType', 'message' => 'The specified parameter EndpointType value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter EndpointType is invalid.'], ['code' => 'InvalidInstanceId', 'message' => 'The specified parameter InstanceId value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter InstanceId is invalid.'], ['code' => 'InvalidInstanceSpecification', 'message' => 'The specified parameter InstanceSpecification value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter InvalidInstanceSpecification is invalid.'], ['code' => 'InvalidNamespaceName', 'message' => 'The specified parameter NamespaceName value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter NamespaceName is invalid.'], ['code' => 'InvalidPage', 'message' => 'The specified parameter Page value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter Page is invalid.'], ['code' => 'InvalidPageSize', 'message' => 'The specified parameter PageSize value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter PageSize is invalid.'], ['code' => 'InvalidPassword', 'message' => 'The specified parameter Password value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter Password is invalid.'], ['code' => 'InvalidRepo', 'message' => 'The specified parameter Repo value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter Repo is invalid.'], ['code' => 'InvalidRepoId', 'message' => 'The specified parameter RepoId value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter RepoId is invalid.'], ['code' => 'InvalidRepoName', 'message' => 'The specified parameter RepoName value is not valid.', 'http_code' => 200, 'description' => 'The specified parameter RepoName value is not valid.'], ['code' => 'InvalidRepoStatus', 'message' => 'The specified parameter RepoStatus value is not valid.', 'http_code' => 200, 'description' => 'Repo status parameter is illegal'], ['code' => 'InvalidRepoType', 'message' => 'The specified parameter RepoType value is not valid.', 'http_code' => 200, 'description' => 'Illegal value for parameter RepoType'], ['code' => 'InvalidResourceGroup', 'message' => 'The specified ResourceGroupId is invalid', 'http_code' => 400, 'description' => ''], ['code' => 'InvalidResourceGroup', 'message' => 'The specified resource group ID is invalid.', 'http_code' => 400, 'description' => 'The resource group ID is invalid.'], ['code' => 'InvalidSchemaVersion', 'message' => 'The specified parameter SchemaVersion value is not valid.', 'http_code' => 200, 'description' => 'Illegal parameter SchemaVersion'], ['code' => 'InvalidScope', 'message' => 'The specified parameter Scope value is not valid.', 'http_code' => 200, 'description' => 'Illegal value for parameter Scope'], ['code' => 'InvalidTag', 'message' => 'The specified parameter tag value is not valid.', 'http_code' => 200, 'description' => 'Image tag value is invalid'], ['code' => 'MissingParameter.ResourceGroupId', 'message' => 'The ResourceGroupId parameters that are required for processing this request are missing', 'http_code' => 400, 'description' => ''], ['code' => 'MissingParameter.ResourceId', 'message' => 'The ResourceId parameters that are required for processing this request are missing', 'http_code' => 400, 'description' => ''], ['code' => 'MissingParameter.ResourceRegionId', 'message' => 'The ResourceRegionId parameters that are required for processing this request are missing', 'http_code' => 400, 'description' => ''], ['code' => 'NAMESPACE_ALREADY_EXIST', 'message' => 'Namespace already exists.', 'http_code' => 200, 'description' => 'The namespace already exists.'], ['code' => 'NAMESPACE_ALREADY_EXIST', 'message' => 'Namespace is already existing.', 'http_code' => 200, 'description' => 'The namespace already exists.'], ['code' => 'NAMESPACE_NOT_EXIST', 'message' => 'Namespace does not exist.', 'http_code' => 200, 'description' => 'The specified namespace does not exist'], ['code' => 'NoPermission.ChangeResourceGroup', 'message' => 'You are not authorized to change resourcegroup', 'http_code' => 400, 'description' => ''], ['code' => 'NoPrivilege', 'message' => 'Access is denied for the user.', 'http_code' => 403, 'description' => 'The user is not authorized.'], ['code' => 'REPO_NOT_EXIST', 'message' => 'Repo does not exist.', 'http_code' => 200, 'description' => 'Container image repository does not exist.'], ['code' => 'ResourceNotFound', 'message' => 'The specified resource is not found', 'http_code' => 400, 'description' => ''], ['code' => 'ResourceNotFound', 'message' => 'The specified resource is not found.', 'http_code' => 400, 'description' => 'Specified resource not found'], ['code' => 'SLB_SERVICE_ERROR', 'message' => 'Bad request for this user.', 'http_code' => 400, 'description' => 'An exception occurred while calling the SLB service, the call failed'], ['code' => 'SOURCE_ACCOUNT_INSUFFICIENT_REPOSITORY_SCOPE', 'message' => 'Source account has insufficient repository permission.', 'http_code' => 200, 'description' => 'The account lacks sufficient permissions to operate on the code repository'], ['code' => 'SOURCE_ACCOUNT_NOT_AVAILABLE', 'message' => 'Source account is not available.', 'http_code' => 200, 'description' => 'Source account is not available.'], ['code' => 'SOURCE_REPO_NOT_EXIST', 'message' => 'Source repo not exist.', 'http_code' => 200, 'description' => 'The code source of the repository does not exist.'], ['code' => 'SOURCE_SITE_INACCESSIBLE', 'message' => 'Source site is inaccessible.', 'http_code' => 200, 'description' => 'The code source repository is inaccessible.'], ['code' => 'SOURCE_SITE_NOT_AVAILABLE', 'message' => 'Source site is unavailable.', 'http_code' => 200, 'description' => 'The code source repository site is unavailable.'], ['code' => 'SSL_SERVICE_ERROR', 'message' => 'SSL service is unavailable.', 'http_code' => 200, 'description' => 'Exception accessing certificate management service.'], ['code' => 'STS_NOT_SUPPORT', 'message' => 'STS is not supported.', 'http_code' => 200, 'description' => 'API does not support calling through STS token.'], ['code' => 'STS_SERVICE_UNAUTHORIZED', 'message' => 'Service role is unauthorized.', 'http_code' => 200, 'description' => 'The RAM role is lack of required permissions.'], ['code' => 'SYNC_RULE_CONCURRENT_REFUSE', 'message' => 'Sync rule is not allowed to be operated concurrently, try again later.', 'http_code' => 200, 'description' => 'The current instance has concurrent modifications to the sync rules. Please modify them later.'], ['code' => 'SYNC_RULE_NOT_ALLOW', 'message' => 'The instance has sync conflict or already exist.', 'http_code' => 200, 'description' => 'The newly added sync rule does not comply with the specifications or the synchronization range of the existing sync rule is duplicated.'], ['code' => 'SystemError', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => 'An unknown error occurred.'], ['code' => 'SystemError', 'message' => 'A system error occurred while processing your request', 'http_code' => 400, 'description' => ''], ['code' => 'SystemError', 'message' => 'A system error occurred while processing your request.', 'http_code' => 400, 'description' => 'A system exception caused the request to fail.'], ['code' => 'VPC_SERVICE_ERROR', 'message' => 'VPC service is unavailable.', 'http_code' => 200, 'description' => 'An exception occurred when accessing the virtual private cloud(VPC) service.'], ], 'changeSet' => [], 'ram' => [ 'productCode' => 'CR', 'productName' => 'Container Registry', 'ramCodes' => ['cr'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'CreateArtifactSubscriptionRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'UpdateRepoTrigger', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'CreateChain', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'ListArtifactLifecycleRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteChartNamespace', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartNamespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}'], ], ], ], [ 'apiName' => 'UpdateArtifactLifecycleRule', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateArtifactSubscriptionTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cr:CreateArtifactSubscriptionTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteInstanceEndpointAclPolicy', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteInstanceEndpointAclPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'GetChartNamespace', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartNamespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#NamespaceName}'], ], ], ], [ 'apiName' => 'ListRepoBuildRecordLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositoryBuildLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'DeleteNamespace', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}'], ], ], ], [ 'apiName' => 'ListChartRepository', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'GetChartRepository', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'CreateArtifactBuildRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateArtifactBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateBuildRecordByRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:BuildRepositoryByRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'UpdateInstanceEndpointStatus', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateInstanceEndpointStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'UpdateNamespace', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}'], ], ], ], [ 'apiName' => 'UpdateRepoBuildRule', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#RepositoryId}'], ], ], ], [ 'apiName' => 'CancelRepoBuildRecord', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:CancelBuildRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'GetStorageDomainRoutingRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/{#RuleId}'], ], ], ], [ 'apiName' => 'UpdateArtifactSubscriptionRule', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateRepoSyncTaskByRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteChartRelease', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteChartRelease', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'ListChartRelease', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListChartRelease', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'DeleteChain', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateChartNamespace', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}'], ], ], ], [ 'apiName' => 'DeleteRepoTrigger', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'GetRepoSyncTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'ListRepository', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/*'], ], ], ], [ 'apiName' => 'ListArtifactSubscriptionTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListArtifactSubscriptionTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'TagResources', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateRepository', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}'], ], ], ], [ 'apiName' => 'ListChain', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateRepoSourceCodeRepo', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateSourceRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'ListRepoBuildRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'CreateRepoBuildRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'GetInstanceUsage', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstanceUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], [ 'apiName' => 'GetRepoTagScanStatus', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'CreateScanRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/*'], ], ], ], [ 'apiName' => 'UntagResources', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:UntagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'ListEventCenterRuleName', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListEventCenterRuleName', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'UpdateStorageDomainRoutingRule', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/{#RuleId}'], ], ], ], [ 'apiName' => 'GetRepoBuildRecordStatus', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetBuildRepositoryStatus', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'CreateRepoSyncTask', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteEventCenterRule', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteEventCenterRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'ListChainInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListChainInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'UpdateEventCenterRule', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateEventCenterRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteArtifactSubscriptionRule', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cr:DeleteArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'ListInstanceEndpoint', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListInstanceEndpoint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'GetArtifactSubscriptionRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'ListArtifactSubscriptionRule', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'cr:ListArtifactSubscriptionRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteInstanceVpcEndpointLinkedVpc', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteInstanceVpcEndpointLinkedVpc', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], [ 'apiName' => 'GetArtifactBuildTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactBuildTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'GetArtifactLifecycleRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'GetChain', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteRepoSyncRule', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteSyncRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateBuildRecordByRecord', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:BuildRepositoryByRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'DeleteArtifactLifecycleRule', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'ListEventCenterRecord', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListEventCenterRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateRepoTrigger', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'ListRepoSyncTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositorySync', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'CreateInstanceVpcEndpointLinkedVpc', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateInstanceVpcEndpointLinkedVpc', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'ChangeResourceGroup', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:ChangeResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteChartRepository', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'ListChartNamespace', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/*'], ], ], ], [ 'apiName' => 'UpdateChartNamespace', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#instanceid}/{#namespacename}'], ], ], ], [ 'apiName' => 'GetArtifactBuildRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateRepoTagScanTask', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:PutScan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'GetRepoBuildRecord', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepositoryBuildRecord', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'DeleteRepository', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'GetScanRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/{#scanRuleId}'], ], ], ], [ 'apiName' => 'GetRepoTagScanSummary', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScanCount', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'UpdateChain', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateChain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}'], ], ], ], [ 'apiName' => 'ListArtifactBuildTaskLog', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListArtifactBuildTaskLog', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'GetRepository', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'DeleteRepoBuildRule', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepositoryBuildRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'CreateStorageDomainRoutingRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/*'], ], ], ], [ 'apiName' => 'GetNamespace', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}'], ], ], ], [ 'apiName' => 'UpdateRepoSourceCodeRepo', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateSourceRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'UpdateChartRepository', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'CreateNamespace', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'ListInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateRepository', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetInstanceEndpoint', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstanceEndpoint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CancelRepoSyncTask', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:CancelRepoSyncTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'CreateRepoSyncRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateSyncRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'CreateChartRepository', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}'], ], ], ], [ 'apiName' => 'ListRepoTagScanResult', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetScan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'ListRepoSyncRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListSyncRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}'], ], ], ], [ 'apiName' => 'ListRepoTrigger', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListWebHook', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListScanBaselineByTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListScanBaseline', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'UpdateScanRule', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cr:UpdateScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/{#scanRuleId}'], ], ], ], [ 'apiName' => 'DeleteStorageDomainRoutingRule', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteStorageDomainRoutingRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/{#RuleId}'], ], ], ], [ 'apiName' => 'GetAuthorizationToken', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetAuthorizationToken', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetRepoTag', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ], ], ], [ 'apiName' => 'GetRepoSourceCodeRepo', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetSourceRepository', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'RepoSourceCodeRepo', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ], ], ], [ 'apiName' => 'GetInstance', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'ListRepoTag', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ], ], ], [ 'apiName' => 'ListScanRule', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/*'], ], ], ], [ 'apiName' => 'CreateArtifactLifecycleRule', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateArtifactLifecycleRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'CancelArtifactBuildTask', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:CancelArtifactBuildTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], [ 'apiName' => 'GetInstanceVpcEndpoint', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetInstanceVpcEndpoint', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'ListNamespace', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListNamespace', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetArtifactSubscriptionTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cr:GetArtifactSubscriptionTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteRepoTag', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteRepositoryTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'ListScanMaliciousFileByTask', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListScanMaliciousFile', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'GetInstanceCount', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListInstance', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateInstanceEndpointAclPolicy', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateInstanceEndpointAclPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceid}'], ], ], ], [ 'apiName' => 'GetArtifactSubscriptionTaskResult', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:GetArtifactSubscriptionTaskResult', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], ], ], [ 'apiName' => 'DeleteScanRule', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cr:DeleteScanRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/{#scanRuleId}'], ], ], ], [ 'apiName' => 'ListRepoBuildRecord', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListRepositoryBuild', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cr:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateRepoTag', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cr:CreateRepoTag', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'CR', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}'], ['validationType' => 'conditional', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}/{#repositoryname}'], ['validationType' => 'always', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}'], ['validationType' => 'always', 'resourceType' => 'ChartNamespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}'], ['validationType' => 'always', 'resourceType' => 'ChartNamespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#NamespaceName}'], ['validationType' => 'always', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}'], ['validationType' => 'always', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/{#Namespacename}/{#Repositoryname}'], ['validationType' => 'always', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#instanceid}/{#namespacename}'], ['validationType' => 'always', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#RepositoryId}'], ['validationType' => 'always', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/{#RuleId}'], ['validationType' => 'always', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}'], ['validationType' => 'always', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#Instanceid}/{#Namespacename}/*'], ['validationType' => 'always', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/*'], ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}'], ['validationType' => 'always', 'resourceType' => 'Repository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ['validationType' => 'always', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#Instanceid}/*'], ['validationType' => 'always', 'resourceType' => 'ChartRepository', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#instanceid}/{#namespacename}'], ['validationType' => 'always', 'resourceType' => 'ScanRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#instanceId}/scanrule/{#scanRuleId}'], ['validationType' => 'always', 'resourceType' => 'StorageDomainRoutingRule', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/{#InstanceId}/storagedomainroutingrule/*'], ['validationType' => 'always', 'resourceType' => 'Namespace', 'arn' => 'acs:cr:{#regionId}:{#accountId}:chart/{#InstanceId}/{#NamespaceName}'], ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/*'], ['validationType' => 'always', 'resourceType' => 'RepoSourceCodeRepo', 'arn' => 'acs:cr:{#regionId}:{#accountId}:repository/{#InstanceId}/{#NamespaceName}/{#RepositoryName}'], ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cr:{#regionId}:{#accountId}:instance/*'], ], ], ];