检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Table 1 SWR actions in custom policies Permission API Action IAM Project Creating an organization POST /v2/manage/namespaces swr:namespace:createNamespace √ Deleting an organization DELETE /v2/manage/namespaces/{namespace} swr:namespace:deleteNamespace √ Listing organizations GET
Rectify the issue based on the error details or contact technical support. 406 SVCSTG.SWR.4060053 Delete failed. Delete the software package first. 500 SVCSTG.SWR.5000054 Internal server error: Save failed.
Frozen Account or Real-Name Authentication Not Complete If an account is frozen (for example, due to arrears, violation, or before deregistration), you can only view and delete the account and cannot create or update the account. Unfreeze the account in a timely manner.
Status Codes Normal Returned Value Description 200 OK The results of GET and PUT operations are returned as expected. 201 Created The results of the POST operation are returned as expected. 202 Accepted The request has been accepted for processing. 204 No Content The results of the DELETE
For example, if you want some software developers in your enterprise to be able to use SWR resources but not be able to delete the resources or perform any other high-risk operations, you can create IAM users and grant permission to use SWR resources but not permission to delete them
Do not delete that VPC endpoint. Follow-up Operations To access a repository, you also need to create an access credential. For details, see Access Credentials. Parent topic: Access Control
DELETE Requests the server to delete specified resources, for example, an object. HEAD Same as GET except that the server must return only the response header. PATCH Requests the server to update partial content of a specified resource.
Locate a domain name, click Delete in the Operation column. Enter DELETE and click OK. Configuring Domain Name Resolution Public network access You can configure access control and domain name resolution to access a repository through the Internet using a custom domain name.
Deleting an Organization Before deleting an organization, delete all images from the organization. Log in to the SWR console. Click in the upper left corner and select a region and project. In the navigation pane, choose Organizations. Locate an organization.
Application Scenarios You can use tags to facilitate the following operations: Central management of resources If you have a lot of cloud resources, you can use tags to quickly identify resources of the same type to check, modify, or delete them.
Click Delete on the right of the tag. Querying Namespaces by Tag Log in to the SWR console. In the upper left corner, switch to your region. Locate the repository you want to query the namespaces of and click the repository name. The repository details page is displayed.
If they are lost, disable or delete them in a timely manner. Temporary credentials: valid for 24 hours and cannot be disabled or deleted after being created. A temporary credential can be used for temporary use, one-time authorization, or other purposes.
Delete an immutability policy. Parent topic: O&M Center
In addition to assigning permissions to users in IAM, the administrator can add, modify, and delete permissions for IAM users on the image details page of the SWR console.
You cannot modify or delete your account in IAM, but you can do so in My Account. IAM user IAM users are created with an account to use cloud services.
Adding image retention policies: After images are pushed, you can add retention policies to automatically delete any unused images. There are policies based on the number of image retention days and policies based on the number of image tags.
To make the Docker image more lightweight, it is advised to delete these unnecessary files. Therefore, in the sample Dockerfile, the files in the /var/lib/apt/lists/ directory are deleted.
If yes, delete the parameter and restart the container engine. To verify whether the SWR image accelerator has been successfully configured, run the docker info command to check whether the value of Registry Mirrors is the SWR accelerator address.
Function Description Phase Documentation 1 Adding an image retention policy You can add a retention policy to an image in SWR to automatically delete any unused image tags.
Function Description Phase Documentation 1 Adding an image retention policy You can add a retention policy to an image in SWR to automatically delete any unused image tags.