File Shares
file_shares
Methods
Check if regional quota is exceeded, if yes the number of additional quotas needed to create the specified File Share will be calculated
Create File Share
Task list
curl https://api.gcore.com/cloud/v1/file_shares/$PROJECT_ID/$REGION_ID \
-H 'Content-Type: application/json' \
-H "APIKey: $CLOUD_API_API_KEY" \
-d '{
"name": "test-share-file-system",
"network": {
"network_id": "024a29e9-b4b7-4c91-9a46-505be123d9f8"
},
"protocol": "NFS",
"size": 5
}'{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}Delete File Share
Extend File Share
List File Shares
Get File Share
Initiate File Share name change
Domain types
Sfs schema
Access Rule
file_shares.access_rule
Methods
Create new access rule for File Shares
Delete access rule from File Share
Get access rule list for File Share
Metadata
file_shares.metadata
Methods
Create or update one or more metadata items for a File Share. If an item does not exist, it gets created. If an item already exists, it's value is overwritten
List all metadata for a File Share
All existing metadata is deleted and replaced with the metadata from the request
Metadata Item
file_shares.metadata_item
Methods
Delete File Share metadata item by key
Get File Share metadata item by key