MigrationPolicy [migrationpolicies.migrations.kubevirt.io/v1alpha1]
- 描述
- MigrationPolicy holds migration policy (i.e. configurations) to apply to a VM or group of VMs
- 类型
object- 必填
spec
规格
.spec
- 类型
object- 必填
selectors
.spec.selectors
- 类型
object
.spec.selectors.namespaceSelector
- 类型
object
.spec.selectors.virtualMachineInstanceSelector
- 类型
object
.status
- 类型
object
API 端点
可用的 API 端点如下:
/apis/migrations.kubevirt.io/v1alpha1/migrationpoliciesDELETE: delete collection of MigrationPolicyGET: list objects of kind MigrationPolicyPOST: create a new MigrationPolicy
/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}DELETE: delete the specified MigrationPolicyGET: read the specified MigrationPolicyPATCH: partially update the specified MigrationPolicyPUT: replace the specified MigrationPolicy
/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}/statusGET: read status of the specified MigrationPolicyPATCH: partially update status of the specified MigrationPolicyPUT: replace status of the specified MigrationPolicy
/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies
- HTTP 方法
DELETE- 描述
- delete collection of MigrationPolicy
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind MigrationPolicy
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new MigrationPolicy
- 查询参数
- 请求体参数
- HTTP 响应
/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}
- HTTP 方法
DELETE- 描述
- delete the specified MigrationPolicy
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified MigrationPolicy
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified MigrationPolicy
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified MigrationPolicy
- 查询参数
- 请求体参数
- HTTP 响应
/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified MigrationPolicy
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified MigrationPolicy
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified MigrationPolicy
- 查询参数
- 请求体参数
- HTTP 响应