curl --request PUT \
--url https://api.example.com/api/v2/filestorage/{filestorageID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"name": "storage-name",
"description": "A verbose description",
"tags": [
{
"name": "tag-name",
"value": "tag-value"
}
]
},
"spec": {
"size": "200",
"storageType": {
"nfs": {
"rootsquash": true
}
},
"attachements": {
"networkIds": [
"903b5fba-8eb0-4016-a854-b8f716bcd9bb"
]
}
}
}
'{
"metadata": {
"id": "a64f9269-36e0-4312-b8d1-52d93d569b7b",
"name": "storage-name",
"organizationId": "9a8c6370-4065-4d4a-9da0-7678df40cd9d",
"projectId": "e36c058a-8eba-4f5b-91f4-f6ffb983795c",
"creationTime": "2024-05-31T14:11:00Z",
"createdBy": "[email protected]",
"provisioningStatus": "provisioned",
"healthStatus": "healthy",
"tags": [
{
"name": "tag-name",
"value": "tag-value"
}
]
},
"spec": {
"size": "200",
"storageType": {
"nfs": {
"rootsquash": true
}
},
"attachements": {
"networkIds": [
"903b5fba-8eb0-4016-a854-b8f716bcd9bb"
]
}
},
"status": {
"regionId": "ba39bff5-b0d8-4c60-89e5-ed1104356b4a",
"storageClassId": "99659b44-1700-400f-9c6c-cfdb4bb0445c",
"usage": {
"capacity": "100Ti",
"used": "88Ti",
"free": "12Ti"
},
"attachements": {
"networkIds": [
"903b5fba-8eb0-4016-a854-b8f716bcd9bb"
],
"provisioningStatus": "provisioned"
}
}
}Update this storage.
curl --request PUT \
--url https://api.example.com/api/v2/filestorage/{filestorageID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"name": "storage-name",
"description": "A verbose description",
"tags": [
{
"name": "tag-name",
"value": "tag-value"
}
]
},
"spec": {
"size": "200",
"storageType": {
"nfs": {
"rootsquash": true
}
},
"attachements": {
"networkIds": [
"903b5fba-8eb0-4016-a854-b8f716bcd9bb"
]
}
}
}
'{
"metadata": {
"id": "a64f9269-36e0-4312-b8d1-52d93d569b7b",
"name": "storage-name",
"organizationId": "9a8c6370-4065-4d4a-9da0-7678df40cd9d",
"projectId": "e36c058a-8eba-4f5b-91f4-f6ffb983795c",
"creationTime": "2024-05-31T14:11:00Z",
"createdBy": "[email protected]",
"provisioningStatus": "provisioned",
"healthStatus": "healthy",
"tags": [
{
"name": "tag-name",
"value": "tag-value"
}
]
},
"spec": {
"size": "200",
"storageType": {
"nfs": {
"rootsquash": true
}
},
"attachements": {
"networkIds": [
"903b5fba-8eb0-4016-a854-b8f716bcd9bb"
]
}
},
"status": {
"regionId": "ba39bff5-b0d8-4c60-89e5-ed1104356b4a",
"storageClassId": "99659b44-1700-400f-9c6c-cfdb4bb0445c",
"usage": {
"capacity": "100Ti",
"used": "88Ti",
"free": "12Ti"
},
"attachements": {
"networkIds": [
"903b5fba-8eb0-4016-a854-b8f716bcd9bb"
],
"provisioningStatus": "provisioned"
}
}
}Operation requires OAuth 2.0 bearer token authentication.
The storage unique identifier. A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.
1 - 63A request to update a storage.
A storage create request.
Metadata required for all API resource reads and writes.
Show child attributes
A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
The resource description, this optionally augments the name with more context.
A storage's specification.
Show child attributes
Size of the storage
A storage.
A storage read only group.
Metadata required by project scoped resource reads.
Show child attributes
A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
The unique resource ID.
The time the resource was created.
The provisioning state of a resource.
unknown, provisioning, provisioned, deprovisioning, error The health state of a resource.
unknown, healthy, degraded, error The organization identifier the resource belongs to.
The project identifier the resource belongs to.
The resource description, this optionally augments the name with more context.
The user who created the resource.
The time a resource was updated.
The user who updated the resource.
The time the resource was deleted.
A storage's specification.
Show child attributes
Size of the storage
Read only status about storage
Show child attributes
identifier for the storage
The region an identity is provisioned in.
Describes the network attachment for storage
Show child attributes