VirtualMachineSnapshot [virtualmachinesnapshots.snapshot.kubevirt.io/v1beta1]
- 描述
- VirtualMachineSnapshot defines the operation of snapshotting a VM
- 类型
object- 必填
spec
规格
.spec
- 描述
- VirtualMachineSnapshotSpec is the spec for a VirtualMachineSnapshot resource
- 类型
object- 必填
source
.spec.source
- 描述
- TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
- 类型
object- 必填
kindname
.status
- 描述
- VirtualMachineSnapshotStatus is the status for a VirtualMachineSnapshot resource
- 类型
object
.status.conditions
- 类型
array
.status.conditions[]
- 描述
- Condition defines conditions
- 类型
object- 必填
statustype
.status.error
- 描述
- Error is the last error encountered during the snapshot/restore
- 类型
object
.status.indications
- 描述
- Deprecated: Use SourceIndications instead. This field will be removed in a future version.
- 类型
array
.status.indications[]
- 描述
- Indication is a way to indicate the state of the vm when taking the snapshot
- 类型
string
.status.snapshotVolumes
- 描述
- SnapshotVolumesLists includes the list of volumes which were included in the snapshot and volumes which were excluded from the snapshot
- 类型
object
.status.snapshotVolumes.excludedVolumes
- 类型
array
.status.snapshotVolumes.excludedVolumes[]
- 类型
string
.status.snapshotVolumes.includedVolumes
- 类型
array
.status.snapshotVolumes.includedVolumes[]
- 类型
string
.status.sourceIndications
- 类型
array
.status.sourceIndications[]
- 描述
- SourceIndication provides an indication of the source VM with its description message
- 类型
object- 必填
indicationmessage
API 端点
可用的 API 端点如下:
/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotsDELETE: delete collection of VirtualMachineSnapshotGET: list objects of kind VirtualMachineSnapshotPOST: create a new VirtualMachineSnapshot
/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}DELETE: delete the specified VirtualMachineSnapshotGET: read the specified VirtualMachineSnapshotPATCH: partially update the specified VirtualMachineSnapshotPUT: replace the specified VirtualMachineSnapshot
/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}/statusGET: read status of the specified VirtualMachineSnapshotPATCH: partially update status of the specified VirtualMachineSnapshotPUT: replace status of the specified VirtualMachineSnapshot
/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots
- HTTP 方法
DELETE- 描述
- delete collection of VirtualMachineSnapshot
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VirtualMachineSnapshot
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VirtualMachineSnapshot
- 查询参数
- 请求体参数
- HTTP 响应
/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VirtualMachineSnapshot
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VirtualMachineSnapshot
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VirtualMachineSnapshot
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VirtualMachineSnapshot
- 查询参数
- 请求体参数
- HTTP 响应
/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified VirtualMachineSnapshot
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified VirtualMachineSnapshot
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified VirtualMachineSnapshot
- 查询参数
- 请求体参数
- HTTP 响应