Back to top

Volume Snapshot Policies

Volume Snapshot Policy Management (Block Storage)

Create a volume snapshot policy
/storage/{id}/snapshot-policies

Creates a new snapshot policy of your volume.

  • Parameters
  • id
    string  (required) in path

    Volume UUID

    snapshot_count
    integer in query

    Snapshot count

    snapshot_frequency
    string  (required) in query

    Snapshot frequency

  • Response  201   created
  • {
    	"id": "string",
    	"snapshot_count": "integer",
    	"snapshot_frequency": "string",
    	"created_at": "string",
    	"updated_at": "string",
    	"volume": {
    		"href": "string"
    	},
    	"href": "string"
    }
  • Response  401   unauthorized
  • Response  403   forbidden
  • Response  404   not found
  • Response  422   unprocessable entity
Update the volume snapshot policy
PUT
/storage/snapshot-policies/{id}

Updates the volume snapshot policy.

  • Parameters
  • id
    string  (required) in path

    Snapshot Policy UUID

    snapshot_count
    integer in query

    Snapshot count

    snapshot_frequency
    string  (required) in query

    Snapshot frequency

  • Response  200   ok
  • {
    	"id": "string",
    	"snapshot_count": "integer",
    	"snapshot_frequency": "string",
    	"created_at": "string",
    	"updated_at": "string",
    	"volume": {
    		"href": "string"
    	},
    	"href": "string"
    }
  • Response  401   unauthorized
  • Response  403   forbidden
  • Response  404   not found
  • Response  422   unprocessable entity
Delete the volume snapshot policy
/storage/snapshot-policies/{id}

Deletes the volume snapshot policy.

  • Parameters
  • id
    string  (required) in path

    Snapshot Policy UUID

  • Response  204   no content
  • Response  401   unauthorized
  • Response  403   forbidden
  • Response  404   not found