v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13337193.3 KB
projects

Create an NFS share.

post/v2/{+parent}/nfsShares

Path parameters

parentstring required

Required. The parent project and location.

Request body

requestedSizeGibstring int64

The requested size, in GiB.

storageType'STORAGE_TYPE_UNSPECIFIED' | 'SSD' | 'HDD'

Immutable. The storage type of the underlying volume.

state'STATE_UNSPECIFIED' | 'PROVISIONED' | 'CREATING' | 'UPDATING' | 'DELETING'

Output only. The state of the NFS share.

namestring

Immutable. The name of the NFS share.

labelsobject

Labels as key value pairs.

nfsShareIdstring

Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.

volumestring

Output only. The underlying volume of the share. Created automatically during provisioning.

podstring

Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.

idstring

Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.

Response

Successful response