DataSource [datasources.cdi.kubevirt.io/v1beta1]
- 描述
- DataSource references an import/clone source for a DataVolume
- 类型
object- 必填
spec
规格
.spec
- 描述
- DataSourceSpec defines specification for DataSource
- 类型
object- 必填
source
.spec.source
- 描述
- Source is the source of the data referenced by the DataSource
- 类型
object
.spec.source.dataSource
- 描述
- 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.
- 类型
object- 必填
namenamespace
.spec.source.pvc
- 描述
- DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC
- 类型
object- 必填
namenamespace
.spec.source.snapshot
- 描述
- DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot
- 类型
object- 必填
namenamespace
.status
- 描述
- DataSourceStatus provides the most recently observed status of the DataSource
- 类型
object
.status.conditions
- 类型
array
.status.conditions[]
- 描述
- DataSourceCondition represents the state of a data source condition
- 类型
object- 必填
statustype
.status.source
- 描述
- Source is the current source of the data referenced by the DataSource
- 类型
object
.status.source.dataSource
- 描述
- 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.
- 类型
object- 必填
namenamespace
.status.source.pvc
- 描述
- DataVolumeSourcePVC provides the parameters to create a Data Volume from an existing PVC
- 类型
object- 必填
namenamespace
.status.source.snapshot
- 描述
- DataVolumeSourceSnapshot provides the parameters to create a Data Volume from an existing VolumeSnapshot
- 类型
object- 必填
namenamespace
API 端点
可用的 API 端点如下:
/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
- HTTP 方法
DELETE- 描述
- delete collection of DataSource
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind DataSource
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new DataSource
- 查询参数
- 请求体参数
- HTTP 响应
/apis/cdi.kubevirt.io/v1beta1/namespaces/{namespace}/datasources/{name}
- HTTP 方法
DELETE- 描述
- delete the specified DataSource
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified DataSource
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified DataSource
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified DataSource
- 查询参数
- 请求体参数
- HTTP 响应