@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
53 lines (52 loc) • 2.51 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { IoK8sApiPolicyV1PodDisruptionBudgetSpec, IoK8sApiPolicyV1PodDisruptionBudgetStatus, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './';
/**
* PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
* @export
* @interface IoK8sApiPolicyV1PodDisruptionBudget
*/
export interface IoK8sApiPolicyV1PodDisruptionBudget {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
* @type {string}
* @memberof IoK8sApiPolicyV1PodDisruptionBudget
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof IoK8sApiPolicyV1PodDisruptionBudget
*/
kind?: string;
/**
*
* @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta}
* @memberof IoK8sApiPolicyV1PodDisruptionBudget
*/
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
/**
*
* @type {IoK8sApiPolicyV1PodDisruptionBudgetSpec}
* @memberof IoK8sApiPolicyV1PodDisruptionBudget
*/
spec?: IoK8sApiPolicyV1PodDisruptionBudgetSpec;
/**
*
* @type {IoK8sApiPolicyV1PodDisruptionBudgetStatus}
* @memberof IoK8sApiPolicyV1PodDisruptionBudget
*/
status?: IoK8sApiPolicyV1PodDisruptionBudgetStatus;
}
export declare function IoK8sApiPolicyV1PodDisruptionBudgetFromJSON(json: any): IoK8sApiPolicyV1PodDisruptionBudget;
export declare function IoK8sApiPolicyV1PodDisruptionBudgetFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiPolicyV1PodDisruptionBudget;
export declare function IoK8sApiPolicyV1PodDisruptionBudgetToJSON(value?: IoK8sApiPolicyV1PodDisruptionBudget | null): any;