- URL:https://<root>/system/volumes
- Operations:Create Volume
- Child Resources:Configurations
- Required Capability: Default administrator role | Security and infrastructure
- Version Introduced:11.2
Description
The volumes resource returns the settings for PersistentVolumeClaim (PVC) volumes, which provide additional resources to a GIS service's pods. Each volume includes properties defined during the volume's creation, as well as auto-generated information provided after the volume was created (the mountPath and id properties).
This resource also provides access to the Create (Volumes) operation, which administrators can use to create PVC volumes, and the Configurations resource.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
Example usage
The following is a sample request URL used to access the volumes resource:
https://organization.domain.com/context/admin/system/volumes?f=pjson
JSON Response example
{
"volumes": [
{
"mountPath": "/arcgis/volumes/uadwuaj4pwkjhcst6spxx",
"name": "volumes-test",
"id": "uadwuaj4pwkjhcst6spxx",
"type": "PVC",
"spec": {
"storageClassName": "arcgis-storage-default",
"resources": {"requests": {"storage": "16Gi"}},
"accessModes": ["ReadWriteOnce"],
"volumeMode": "Filesystem"
},
"managedKubernetesResources": [
{
"purpose": "pvc",
"kind": "PersistentVolumeClaim",
"name": "arcgis-volume-uadwuaj4pwkjhcst6spxx"
}
],
"revision": 1
}
]
}