@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
34 lines (33 loc) • 1.57 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.
*/
/**
* IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
* @export
* @interface IoK8sApiNetworkingV1IPBlock
*/
export interface IoK8sApiNetworkingV1IPBlock {
/**
* cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
* @type {string}
* @memberof IoK8sApiNetworkingV1IPBlock
*/
cidr: string;
/**
* except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range
* @type {Array<string>}
* @memberof IoK8sApiNetworkingV1IPBlock
*/
except?: Array<string>;
}
export declare function IoK8sApiNetworkingV1IPBlockFromJSON(json: any): IoK8sApiNetworkingV1IPBlock;
export declare function IoK8sApiNetworkingV1IPBlockFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiNetworkingV1IPBlock;
export declare function IoK8sApiNetworkingV1IPBlockToJSON(value?: IoK8sApiNetworkingV1IPBlock | null): any;