KubeVirt StorageProfiles API

Operations for managing StorageProfile resources. StorageProfiles describe the capabilities of a StorageClass and provide default clone and access mode strategies.

Operations 3

GET /apis/cdi.kubevirt.io/v1beta1/storageprofiles KubeVirt List StorageProfiles #
GET /apis/cdi.kubevirt.io/v1beta1/storageprofiles/{name} KubeVirt Get a StorageProfile #
PATCH /apis/cdi.kubevirt.io/v1beta1/storageprofiles/{name} KubeVirt Update a StorageProfile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kubevirt-storageprofiles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kubevirt-storageprofiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KubeVirt Containerized Data Importer DataSources Storage Profiles API
  description: The KubeVirt Containerized Data Importer (CDI) API provides Kubernetes CRD endpoints for managing virtual machine disk image import and cloning pipelines. CDI introduces DataVolume, DataSource, and StorageProfile resources that automate importing VM disk images from HTTP, S3, OCI registries, and other sources into PersistentVolumeClaims ready for use as KubeVirt VM disks.
  version: 1.59.0
  contact:
    name: KubeVirt Community
    url: https://kubevirt.io/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://{kubernetes-api-server}
  description: Kubernetes API server
  variables:
    kubernetes-api-server:
      default: localhost:6443
      description: Address of the Kubernetes API server
tags:
- name: StorageProfiles
  description: Operations for managing StorageProfile resources. StorageProfiles describe the capabilities of a StorageClass and provide default clone and access mode strategies.
paths:
  /apis/cdi.kubevirt.io/v1beta1/storageprofiles:
    get:
      operationId: listStorageProfiles
      summary: KubeVirt List StorageProfiles
      description: Returns all StorageProfile resources in the cluster. StorageProfiles are automatically created by CDI for each StorageClass and describe its supported access modes and recommended clone strategies.
      tags:
      - StorageProfiles
      parameters:
      - $ref: '#/components/parameters/labelSelector'
      - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: List of StorageProfiles
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageProfileList'
        '401':
          description: Unauthorized
  /apis/cdi.kubevirt.io/v1beta1/storageprofiles/{name}:
    get:
      operationId: readStorageProfile
      summary: KubeVirt Get a StorageProfile
      description: Returns the specified StorageProfile including its claimed PVC properties, data import cron source format, and clone strategy.
      tags:
      - StorageProfiles
      parameters:
      - $ref: '#/components/parameters/name'
      responses:
        '200':
          description: StorageProfile details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageProfile'
        '401':
          description: Unauthorized
        '404':
          description: StorageProfile not found
    patch:
      operationId: patchStorageProfile
      summary: KubeVirt Update a StorageProfile
      description: Partially updates a StorageProfile to configure custom clone strategies or override default access modes for this StorageClass.
      tags:
      - StorageProfiles
      parameters:
      - $ref: '#/components/parameters/name'
      requestBody:
        required: true
        content:
          application/merge-patch+json:
            schema:
              type: object
      responses:
        '200':
          description: StorageProfile updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageProfile'
        '401':
          description: Unauthorized
        '404':
          description: StorageProfile not found
components:
  schemas:
    ObjectMeta:
      type: object
      description: Standard Kubernetes object metadata.
      required:
      - name
      properties:
        name:
          type: string
          description: Name of the resource.
        namespace:
          type: string
          description: Namespace the resource belongs to.
        labels:
          type: object
          additionalProperties:
            type: string
        annotations:
          type: object
          additionalProperties:
            type: string
        resourceVersion:
          type: string
        uid:
          type: string
        creationTimestamp:
          type: string
          format: date-time
    StorageProfile:
      type: object
      description: A CDI StorageProfile describing the capabilities and recommended configuration for a specific Kubernetes StorageClass.
      properties:
        apiVersion:
          type: string
          enum:
          - cdi.kubevirt.io/v1beta1
        kind:
          type: string
          enum:
          - StorageProfile
        metadata:
          $ref: '#/components/schemas/ObjectMeta'
        spec:
          type: object
          description: StorageProfile specification with user-overridable settings.
          properties:
            claimPropertySets:
              type: array
              description: Access mode and volume mode combinations to use when creating PVCs from this StorageClass.
              items:
                type: object
                properties:
                  accessModes:
                    type: array
                    items:
                      type: string
                  volumeMode:
                    type: string
                    enum:
                    - Block
                    - Filesystem
            cloneStrategy:
              type: string
              description: Preferred clone strategy for this StorageClass. 'copy' uses pod-based copy, 'snapshot' uses VolumeSnapshot, 'csi-clone' uses CSI clone.
              enum:
              - copy
              - snapshot
              - csi-clone
            dataImportCronSourceFormat:
              type: string
              description: Source format used by DataImportCron.
              enum:
              - pvc
              - snapshot
        status:
          type: object
          description: Observed StorageProfile status.
          properties:
            storageClass:
              type: string
              description: Name of the associated StorageClass.
            provisioner:
              type: string
              description: CSI provisioner name.
            claimPropertySets:
              type: array
              description: Detected PVC property sets.
              items:
                type: object
            cloneStrategy:
              type: string
              description: Detected clone strategy.
            dataImportCronSourceFormat:
              type: string
    StorageProfileList:
      type: object
      description: List of StorageProfile resources.
      properties:
        apiVersion:
          type: string
        kind:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/StorageProfile'
  parameters:
    name:
      name: name
      in: path
      required: true
      description: The name of the resource.
      schema:
        type: string
    limit:
      name: limit
      in: query
      required: false
      description: Maximum number of results per page.
      schema:
        type: integer
        minimum: 1
    labelSelector:
      name: labelSelector
      in: query
      required: false
      description: Label selector to filter resources.
      schema:
        type: string
externalDocs:
  description: CDI Documentation
  url: https://kubevirt.io/user-guide/storage/containerized_data_importer/