Method: nodes.deployments.move
คำขอ HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=nodes/*/deployments/*}:move
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อของ deployment ที่จะย้าย
|
เนื้อหาของคำขอ
เนื้อหาของคําขอมีข้อมูลที่มีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"destination": string
} |
ช่อง |
destination |
string
ต้องระบุ ชื่อทรัพยากรระดับบนสุดใหม่ node หรือ customer เพื่อทําให้การทําให้ใช้งานได้ใหม่ใช้งานได้อีกครั้ง
|
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Operation
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/sasportal
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-11-02 UTC
[null,null,["อัปเดตล่าสุด 2022-11-02 UTC"],[[["Moves a deployment under another node or customer within the Spectrum Access System."],["Requires an HTTP POST request to the specified endpoint with the deployment's name in the URL."],["The request body must include the destination node or customer name for the move."],["A successful operation returns an Operation object indicating the status of the move."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["This outlines the process of moving a deployment to a new parent node or customer. The `POST` request, utilizing gRPC Transcoding, is sent to a specific URL with the deployment's name as a required path parameter. The request body, in JSON format, must include the `destination`, specifying the new parent resource's name. Successful execution returns an `Operation` instance, with authorization requiring the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]