gcloud beta项目移动some-project-id --organization = 0 [英] gcloud beta projects move some-project-id --organization=0

查看:44
本文介绍了gcloud beta项目移动some-project-id --organization = 0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在Google Cloud Console中创建了一个项目,并将其添加到组织中.我们需要将该项目移至其他项目所在的另一个组织.

We created a project in the Google Cloud Console and it added it to an organization. We need to move this project to another organization where our other projects are.

我们正在尝试使用此gcloud命令移动它,但出现错误.

We are trying to move it with this gcloud command but we get an error.

$ gcloud beta projects move some-project-id --organization=0

ERROR: (gcloud.beta.projects.move) INVALID_ARGUMENT: field [Project.parent] has issue [Project parent cannot be empty.] - '@type': type.googleapis.com/google.rpc.BadRequest fieldViolations: - description: Project parent cannot be empty. field: Project.parent

ERROR: (gcloud.beta.projects.move) INVALID_ARGUMENT: field [Project.parent] has issue [Project parent cannot be empty.] - '@type': type.googleapis.com/google.rpc.BadRequest fieldViolations: - description: Project parent cannot be empty. field: Project.parent

https://cloud.google.com/sdk/gcloud /reference/beta/projects/move

推荐答案

从文档中获取move命令:

From the docs for the move command:

此命令可能由于以下原因而失败: -... -给定的项目已经在组织中.

This command can fail for the following reasons: -... - the given project is already in an organization.

确实来自迁移文档:

项目迁移是不可逆的.将项目与组织关联后,您不能将其更改回无组织"或自行移至另一个组织.要更改与项目关联的组织,您需要成为具有支持包的G Suite或Cloud Premium客户.

Project migration isn't reversible. After a project is associated with an organization, you can't change it back to "no organization" or move it to another organization on your own. To change the organization a project is associated with, you'll need to be a G Suite or Cloud Premium customer with a support package. 

这篇关于gcloud beta项目移动some-project-id --organization = 0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆