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
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eMoves a deployment under another node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eRequires an HTTP POST request to the specified endpoint with the deployment's name in the URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include the destination node or customer name for the move.\u003c/p\u003e\n"],["\u003cp\u003eA successful operation returns an Operation object indicating the status of the move.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: nodes.deployments.move\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nMoves a [deployment](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments#Deployment) under another [node](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/customers#Customer).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/{name=nodes/*/deployments/*}:move`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the [deployment](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments#Deployment) to move. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"destination\": string } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `destination` | `string` Required. The name of the new parent resource [node](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/customers#Customer) to reparent the deployment under. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/spectrum-access-system/reference/rest/v1alpha1/Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]