/// <summary> /// Initializes a new instance of the /// Iok8sapicorev1CephFSPersistentVolumeSource class. /// </summary> /// <param name="monitors">Required: Monitors is a collection of Ceph /// monitors More info: /// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it</param> /// <param name="path">Optional: Used as the mounted root, rather than /// the full Ceph tree, default is /</param> /// <param name="readOnlyProperty">Optional: Defaults to false /// (read/write). ReadOnly here will force the ReadOnly setting in /// VolumeMounts. More info: /// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it</param> /// <param name="secretFile">Optional: SecretFile is the path to key /// ring for User, default is /etc/ceph/user.secret More info: /// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it</param> /// <param name="secretRef">Optional: SecretRef is reference to the /// authentication secret for User, default is empty. More info: /// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it</param> /// <param name="user">Optional: User is the rados user name, default /// is admin More info: /// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it</param> public Iok8sapicorev1CephFSPersistentVolumeSource(IList <string> monitors, string path = default(string), bool?readOnlyProperty = default(bool?), string secretFile = default(string), Iok8sapicorev1SecretReference secretRef = default(Iok8sapicorev1SecretReference), string user = default(string)) { Monitors = monitors; Path = path; ReadOnlyProperty = readOnlyProperty; SecretFile = secretFile; SecretRef = secretRef; User = user; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// Iok8sapicorev1RBDPersistentVolumeSource class. /// </summary> /// <param name="image">The rados image name. More info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it</param> /// <param name="monitors">A collection of Ceph monitors. More info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it</param> /// <param name="fsType">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#rbd</param> /// <param name="keyring">Keyring is the path to key ring for RBDUser. /// Default is /etc/ceph/keyring. More info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it</param> /// <param name="pool">The rados pool name. Default is rbd. More info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it</param> /// <param name="readOnlyProperty">ReadOnly here will force the /// ReadOnly setting in VolumeMounts. Defaults to false. More info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it</param> /// <param name="secretRef">SecretRef is name of the authentication /// secret for RBDUser. If provided overrides keyring. Default is nil. /// More info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it</param> /// <param name="user">The rados user name. Default is admin. More /// info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it</param> public Iok8sapicorev1RBDPersistentVolumeSource(string image, IList <string> monitors, string fsType = default(string), string keyring = default(string), string pool = default(string), bool?readOnlyProperty = default(bool?), Iok8sapicorev1SecretReference secretRef = default(Iok8sapicorev1SecretReference), string user = default(string)) { FsType = fsType; Image = image; Keyring = keyring; Monitors = monitors; Pool = pool; ReadOnlyProperty = readOnlyProperty; SecretRef = secretRef; User = user; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// Iok8sapicorev1ScaleIOPersistentVolumeSource class. /// </summary> /// <param name="gateway">The host address of the ScaleIO API /// Gateway.</param> /// <param name="secretRef">SecretRef references to the secret for /// ScaleIO user and other sensitive information. If this is not /// provided, Login operation will fail.</param> /// <param name="system">The name of the storage system as configured /// in ScaleIO.</param> /// <param name="fsType">Filesystem type to mount. Must be a filesystem /// type supported by the host operating system. Ex. "ext4", "xfs", /// "ntfs". Implicitly inferred to be "ext4" if unspecified.</param> /// <param name="protectionDomain">The name of the ScaleIO Protection /// Domain for the configured storage.</param> /// <param name="readOnlyProperty">Defaults to false (read/write). /// ReadOnly here will force the ReadOnly setting in /// VolumeMounts.</param> /// <param name="sslEnabled">Flag to enable/disable SSL communication /// with Gateway, default false</param> /// <param name="storageMode">Indicates whether the storage for a /// volume should be ThickProvisioned or ThinProvisioned.</param> /// <param name="storagePool">The ScaleIO Storage Pool associated with /// the protection domain.</param> /// <param name="volumeName">The name of a volume already created in /// the ScaleIO system that is associated with this volume /// source.</param> public Iok8sapicorev1ScaleIOPersistentVolumeSource(string gateway, Iok8sapicorev1SecretReference secretRef, string system, string fsType = default(string), string protectionDomain = default(string), bool?readOnlyProperty = default(bool?), bool?sslEnabled = default(bool?), string storageMode = default(string), string storagePool = default(string), string volumeName = default(string)) { FsType = fsType; Gateway = gateway; ProtectionDomain = protectionDomain; ReadOnlyProperty = readOnlyProperty; SecretRef = secretRef; SslEnabled = sslEnabled; StorageMode = storageMode; StoragePool = storagePool; System = system; VolumeName = volumeName; CustomInit(); }