|
207 | 207 | }, |
208 | 208 | "instances": { |
209 | 209 | "methods": { |
| 210 | + "create": { |
| 211 | + "description": "Create an Instance.", |
| 212 | + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances", |
| 213 | + "httpMethod": "POST", |
| 214 | + "id": "baremetalsolution.projects.locations.instances.create", |
| 215 | + "parameterOrder": [ |
| 216 | + "parent" |
| 217 | + ], |
| 218 | + "parameters": { |
| 219 | + "parent": { |
| 220 | + "description": "Required. The parent project and location.", |
| 221 | + "location": "path", |
| 222 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 223 | + "required": true, |
| 224 | + "type": "string" |
| 225 | + } |
| 226 | + }, |
| 227 | + "path": "v2/{+parent}/instances", |
| 228 | + "request": { |
| 229 | + "$ref": "Instance" |
| 230 | + }, |
| 231 | + "response": { |
| 232 | + "$ref": "Operation" |
| 233 | + }, |
| 234 | + "scopes": [ |
| 235 | + "https://www.googleapis.com/auth/cloud-platform" |
| 236 | + ] |
| 237 | + }, |
210 | 238 | "detachLun": { |
211 | 239 | "description": "Detach LUN from Instance.", |
212 | 240 | "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:detachLun", |
|
311 | 339 | ], |
312 | 340 | "parameters": { |
313 | 341 | "name": { |
314 | | - "description": "Output only. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`", |
| 342 | + "description": "Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`", |
315 | 343 | "location": "path", |
316 | 344 | "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
317 | 345 | "required": true, |
|
1056 | 1084 | } |
1057 | 1085 | } |
1058 | 1086 | }, |
1059 | | - "revision": "20220706", |
| 1087 | + "revision": "20220725", |
1060 | 1088 | "rootUrl": "https://baremetalsolution.googleapis.com/", |
1061 | 1089 | "schemas": { |
1062 | 1090 | "AllowedClient": { |
|
1093 | 1121 | "description": "The network the access point sits on.", |
1094 | 1122 | "type": "string" |
1095 | 1123 | }, |
| 1124 | + "nfsPath": { |
| 1125 | + "description": "Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like \"10.0.0.0:/g123456789-nfs001\"", |
| 1126 | + "readOnly": true, |
| 1127 | + "type": "string" |
| 1128 | + }, |
1096 | 1129 | "noRootSquash": { |
1097 | 1130 | "description": "Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.", |
1098 | 1131 | "type": "boolean" |
|
1200 | 1233 | "type": "boolean" |
1201 | 1234 | }, |
1202 | 1235 | "id": { |
1203 | | - "description": "An identifier for the `Instance`, generated by the backend.", |
| 1236 | + "description": "Output only. An identifier for the `Instance`, generated by the backend.", |
| 1237 | + "readOnly": true, |
1204 | 1238 | "type": "string" |
1205 | 1239 | }, |
1206 | 1240 | "interactiveSerialConsoleEnabled": { |
1207 | | - "description": "True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.", |
| 1241 | + "description": "Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.", |
| 1242 | + "readOnly": true, |
1208 | 1243 | "type": "boolean" |
1209 | 1244 | }, |
1210 | 1245 | "labels": { |
|
1221 | 1256 | }, |
1222 | 1257 | "type": "array" |
1223 | 1258 | }, |
| 1259 | + "loginInfo": { |
| 1260 | + "description": "Output only. Text field about info for logging in.", |
| 1261 | + "readOnly": true, |
| 1262 | + "type": "string" |
| 1263 | + }, |
1224 | 1264 | "luns": { |
1225 | | - "description": "List of LUNs associated with this server.", |
| 1265 | + "description": "Immutable. List of LUNs associated with this server.", |
1226 | 1266 | "items": { |
1227 | 1267 | "$ref": "Lun" |
1228 | 1268 | }, |
1229 | 1269 | "type": "array" |
1230 | 1270 | }, |
1231 | 1271 | "machineType": { |
1232 | | - "description": "The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)", |
| 1272 | + "description": "Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)", |
1233 | 1273 | "type": "string" |
1234 | 1274 | }, |
1235 | 1275 | "name": { |
1236 | | - "description": "Output only. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`", |
1237 | | - "readOnly": true, |
| 1276 | + "description": "Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`", |
1238 | 1277 | "type": "string" |
1239 | 1278 | }, |
1240 | 1279 | "networkTemplate": { |
1241 | 1280 | "description": "Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of \"bond\" or \"nic\".", |
1242 | 1281 | "type": "string" |
1243 | 1282 | }, |
1244 | 1283 | "networks": { |
1245 | | - "description": "List of networks associated with this server.", |
| 1284 | + "description": "Output only. List of networks associated with this server.", |
1246 | 1285 | "items": { |
1247 | 1286 | "$ref": "Network" |
1248 | 1287 | }, |
| 1288 | + "readOnly": true, |
1249 | 1289 | "type": "array" |
1250 | 1290 | }, |
1251 | 1291 | "osImage": { |
|
1257 | 1297 | "type": "string" |
1258 | 1298 | }, |
1259 | 1299 | "state": { |
1260 | | - "description": "The state of the server.", |
| 1300 | + "description": "Output only. The state of the server.", |
1261 | 1301 | "enum": [ |
1262 | 1302 | "STATE_UNSPECIFIED", |
1263 | 1303 | "PROVISIONING", |
|
1270 | 1310 | "The server is running.", |
1271 | 1311 | "The server has been deleted." |
1272 | 1312 | ], |
| 1313 | + "readOnly": true, |
1273 | 1314 | "type": "string" |
1274 | 1315 | }, |
1275 | 1316 | "updateTime": { |
1276 | 1317 | "description": "Output only. Update a time stamp.", |
1277 | 1318 | "format": "google-datetime", |
1278 | 1319 | "readOnly": true, |
1279 | 1320 | "type": "string" |
| 1321 | + }, |
| 1322 | + "volumes": { |
| 1323 | + "description": "Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.", |
| 1324 | + "items": { |
| 1325 | + "$ref": "Volume" |
| 1326 | + }, |
| 1327 | + "type": "array" |
1280 | 1328 | } |
1281 | 1329 | }, |
1282 | 1330 | "type": "object" |
|
1359 | 1407 | "format": "int32", |
1360 | 1408 | "type": "integer" |
1361 | 1409 | }, |
| 1410 | + "gcpService": { |
| 1411 | + "description": "The gcp service of the provisioning quota.", |
| 1412 | + "type": "string" |
| 1413 | + }, |
1362 | 1414 | "instanceType": { |
1363 | | - "description": "Instance type.", |
| 1415 | + "description": "Instance type. Deprecated: use gcp_service.", |
1364 | 1416 | "type": "string" |
1365 | 1417 | }, |
1366 | 1418 | "location": { |
|
2597 | 2649 | "description": "Immutable. Pod name.", |
2598 | 2650 | "type": "string" |
2599 | 2651 | }, |
| 2652 | + "protocol": { |
| 2653 | + "description": "Output only. Storage protocol for the Volume.", |
| 2654 | + "enum": [ |
| 2655 | + "PROTOCOL_UNSPECIFIED", |
| 2656 | + "FIBRE_CHANNEL", |
| 2657 | + "NFS" |
| 2658 | + ], |
| 2659 | + "enumDescriptions": [ |
| 2660 | + "Value is not specified.", |
| 2661 | + "Fibre Channel protocol.", |
| 2662 | + "NFS protocol means Volume is a NFS Share volume. Such volumes cannot be manipulated via Volumes API." |
| 2663 | + ], |
| 2664 | + "readOnly": true, |
| 2665 | + "type": "string" |
| 2666 | + }, |
2600 | 2667 | "remainingSpaceGib": { |
2601 | 2668 | "description": "The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.", |
2602 | 2669 | "format": "int64", |
|
0 commit comments