DataSource [datasources.cdi.kubevirt.io/v1beta1]
- Description
- DataSource references an import/clone source for a DataVolume
- Type
object- Required
spec
Specification
.spec
- Description
- DataSourceSpec defines specification for DataSource
- Type
object- Required
source
.spec.source
- Description
- Source is the source of the data referenced by the DataSource
- Type
object
.spec.source.dataSource
- Description
- DataSourceRefSourceDataSource serves as a reference to another DataSource Can be resolved into a DataVolumeSourcePVC or a DataVolumeSourceSnapshot The maximum depth of a reference chain may not exceed 1.
- Type
object- Required
namenamespace
.spec.source.pvc
- Description
- DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC
- Type
object- Required
namenamespace
.spec.source.snapshot
- Description
- DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot
- Type
object- Required
namenamespace
.status
- Description
- DataSourceStatus provides the most recently observed status of the DataSource
- Type
object
.status.conditions
- Type
array
.status.conditions[]
- Description
- DataSourceCondition represents the state of a data source condition
- Type
object- Required
statustype
.status.source
- Description
- Source is the current source of the data referenced by the DataSource
- Type
object
.status.source.dataSource
- Description
- DataSourceRefSourceDataSource serves as a reference to another DataSource Can be resolved into a DataVolumeSourcePVC or a DataVolumeSourceSnapshot The maximum depth of a reference chain may not exceed 1.
- Type
object- Required
namenamespace
.status.source.pvc
- Description
- DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC
- Type
object- Required
namenamespace
.status.source.snapshot
- Description
- DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot
- Type
object- Required
namenamespace
API Endpoints
The following API endpoints are available:
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasourcesDELETE: delete collection of DataSourceGET: list objects of kind DataSourcePOST: create a new DataSource
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources/{name}DELETE: delete the specified DataSourceGET: read the specified DataSourcePATCH: partially update the specified DataSourcePUT: replace the specified DataSource
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources/{name}/statusGET: read status of the specified DataSourcePATCH: partially update status of the specified DataSourcePUT: replace status of the specified DataSource
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources
- HTTP method
DELETE- Description
- delete collection of DataSource
- HTTP responses
- HTTP method
GET- Description
- list objects of kind DataSource
- HTTP responses
- HTTP method
POST- Description
- create a new DataSource
- Query parameters
- Body parameters
- HTTP responses
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources/{name}
- HTTP method
DELETE- Description
- delete the specified DataSource
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified DataSource
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified DataSource
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified DataSource
- Query parameters
- Body parameters
- HTTP responses
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources/{name}/status
- HTTP method
GET- Description
- read status of the specified DataSource
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified DataSource
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified DataSource
- Query parameters
- Body parameters
- HTTP responses