@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
53 lines (52 loc) • 1.9 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 { K8sIoApimachineryPkgApisMetaV1LabelSelector, V1alpha1VirtualMachinePoolNameGeneration, V1alpha1VirtualMachineTemplateSpec } from './';
/**
*
* @export
* @interface V1alpha1VirtualMachinePoolSpec
*/
export interface V1alpha1VirtualMachinePoolSpec {
/**
*
* @type {V1alpha1VirtualMachinePoolNameGeneration}
* @memberof V1alpha1VirtualMachinePoolSpec
*/
nameGeneration?: V1alpha1VirtualMachinePoolNameGeneration;
/**
* Indicates that the pool is paused.
* @type {boolean}
* @memberof V1alpha1VirtualMachinePoolSpec
*/
paused?: boolean;
/**
* Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
* @type {number}
* @memberof V1alpha1VirtualMachinePoolSpec
*/
replicas?: number;
/**
*
* @type {K8sIoApimachineryPkgApisMetaV1LabelSelector}
* @memberof V1alpha1VirtualMachinePoolSpec
*/
selector: K8sIoApimachineryPkgApisMetaV1LabelSelector;
/**
*
* @type {V1alpha1VirtualMachineTemplateSpec}
* @memberof V1alpha1VirtualMachinePoolSpec
*/
virtualMachineTemplate: V1alpha1VirtualMachineTemplateSpec;
}
export declare function V1alpha1VirtualMachinePoolSpecFromJSON(json: any): V1alpha1VirtualMachinePoolSpec;
export declare function V1alpha1VirtualMachinePoolSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1alpha1VirtualMachinePoolSpec;
export declare function V1alpha1VirtualMachinePoolSpecToJSON(value?: V1alpha1VirtualMachinePoolSpec | null): any;