@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
67 lines (66 loc) • 2.75 kB
TypeScript
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { K8sIoApiCoreV1TypedLocalObjectReference, V1beta1VirtualMachineCloneTemplateFilters } from './';
/**
*
* @export
* @interface V1beta1VirtualMachineCloneSpec
*/
export interface V1beta1VirtualMachineCloneSpec {
/**
* Example use: "!some/key*". For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.
* @type {Array<string>}
* @memberof V1beta1VirtualMachineCloneSpec
*/
annotationFilters?: Array<string>;
/**
* Example use: "!some/key*". For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters.
* @type {Array<string>}
* @memberof V1beta1VirtualMachineCloneSpec
*/
labelFilters?: Array<string>;
/**
* NewMacAddresses manually sets that target interfaces' mac addresses. The key is the interface name and the value is the new mac address. If this field is not specified, a new MAC address will be generated automatically, as for any interface that is not included in this map.
* @type {{ [key: string]: string; }}
* @memberof V1beta1VirtualMachineCloneSpec
*/
newMacAddresses?: {
[key: string]: string;
};
/**
* NewSMBiosSerial manually sets that target's SMbios serial. If this field is not specified, a new serial will be generated automatically.
* @type {string}
* @memberof V1beta1VirtualMachineCloneSpec
*/
newSMBiosSerial?: string;
/**
*
* @type {K8sIoApiCoreV1TypedLocalObjectReference}
* @memberof V1beta1VirtualMachineCloneSpec
*/
source: K8sIoApiCoreV1TypedLocalObjectReference;
/**
*
* @type {K8sIoApiCoreV1TypedLocalObjectReference}
* @memberof V1beta1VirtualMachineCloneSpec
*/
target?: K8sIoApiCoreV1TypedLocalObjectReference;
/**
*
* @type {V1beta1VirtualMachineCloneTemplateFilters}
* @memberof V1beta1VirtualMachineCloneSpec
*/
template?: V1beta1VirtualMachineCloneTemplateFilters;
}
export declare function V1beta1VirtualMachineCloneSpecFromJSON(json: any): V1beta1VirtualMachineCloneSpec;
export declare function V1beta1VirtualMachineCloneSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1beta1VirtualMachineCloneSpec;
export declare function V1beta1VirtualMachineCloneSpecToJSON(value?: V1beta1VirtualMachineCloneSpec | null): any;