Method: customers.deployments.move
Yêu cầu HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/deployments/*}:move
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
name |
string
Bắt buộc. Tên của deployment cần di chuyển.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"destination": string
} |
Các trường |
destination |
string
Bắt buộc. Tên của tài nguyên gốc mới node hoặc customer để đặt lại thư mục triển khai này.
|
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Operation
.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/sasportal
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2022-11-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2022-11-02 UTC."],[[["This API moves a deployment under a new parent node or customer within the Spectrum Access System."],["The request requires specifying the deployment's name in the URL and the destination parent's name in the request body."],["A successful request will initiate an operation and return an Operation object in the response."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details the process for moving a deployment to a new parent resource. Key actions include using a `POST` request to the specified URL, including the deployment's name in the path. The request body must contain a `destination` field, which specifies the new parent node or customer. Successful requests return an `Operation` instance. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope. The required path parameter is `name` and `destination` in the body.\n"]]