UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

89 lines (88 loc) 3.83 kB
/** * 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 { IoK8sApiCoreV1SecretReference } from './'; /** * ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. * @export * @interface IoK8sApiCoreV1ISCSIPersistentVolumeSource */ export interface IoK8sApiCoreV1ISCSIPersistentVolumeSource { /** * chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication * @type {boolean} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ chapAuthDiscovery?: boolean; /** * chapAuthSession defines whether support iSCSI Session CHAP authentication * @type {boolean} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ chapAuthSession?: boolean; /** * fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi * @type {string} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ fsType?: string; /** * initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. * @type {string} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ initiatorName?: string; /** * iqn is Target iSCSI Qualified Name. * @type {string} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ iqn: string; /** * iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). * @type {string} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ iscsiInterface?: string; /** * lun is iSCSI Target Lun number. * @type {number} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ lun: number; /** * portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). * @type {Array<string>} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ portals?: Array<string>; /** * readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. * @type {boolean} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ readOnly?: boolean; /** * * @type {IoK8sApiCoreV1SecretReference} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ secretRef?: IoK8sApiCoreV1SecretReference; /** * targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). * @type {string} * @memberof IoK8sApiCoreV1ISCSIPersistentVolumeSource */ targetPortal: string; } export declare function IoK8sApiCoreV1ISCSIPersistentVolumeSourceFromJSON(json: any): IoK8sApiCoreV1ISCSIPersistentVolumeSource; export declare function IoK8sApiCoreV1ISCSIPersistentVolumeSourceFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1ISCSIPersistentVolumeSource; export declare function IoK8sApiCoreV1ISCSIPersistentVolumeSourceToJSON(value?: IoK8sApiCoreV1ISCSIPersistentVolumeSource | null): any;