停止代管式笔记本运行时。对 GPU 实例执行“停止”操作;对 CPU 实例执行“暂停”操作。请参阅:https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
HTTP 请求
POST https://notebooks.googleapis.com/v1/{name}:stop
路径参数
| 参数 | |
|---|---|
name |
必需。格式: 必须对指定的资源
|
请求正文
请求正文中包含结构如下的数据:
| JSON 表示法 |
|---|
{ "requestId": string } |
| 字段 | |
|---|---|
requestId |
幂等请求 UUID。 |
响应正文
如果成功,则响应正文包含一个 Operation 实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/cloud-platform
如需了解详情,请参阅 Authentication Overview。