/// <summary> /// Initializes a new instance of the /// Iok8sapicorev1PersistentVolumeSpec class. /// </summary> /// <param name="accessModes">AccessModes contains all ways the volume /// can be mounted. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes</param> /// <param name="awsElasticBlockStore">AWSElasticBlockStore represents /// an AWS Disk resource that is attached to a kubelet's host machine /// and then exposed to the pod. More info: /// https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore</param> /// <param name="azureDisk">AzureDisk represents an Azure Data Disk /// mount on the host and bind mount to the pod.</param> /// <param name="azureFile">AzureFile represents an Azure File Service /// mount on the host and bind mount to the pod.</param> /// <param name="capacity">A description of the persistent volume's /// resources and capacity. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity</param> /// <param name="cephfs">CephFS represents a Ceph FS mount on the host /// that shares a pod's lifetime</param> /// <param name="cinder">Cinder represents a cinder volume attached and /// mounted on kubelets host machine More info: /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md</param> /// <param name="claimRef">ClaimRef is part of a bi-directional binding /// between PersistentVolume and PersistentVolumeClaim. Expected to be /// non-nil when bound. claim.VolumeName is the authoritative bind /// between PV and PVC. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding</param> /// <param name="csi">CSI represents storage that handled by an /// external CSI driver (Beta feature).</param> /// <param name="fc">FC represents a Fibre Channel resource that is /// attached to a kubelet's host machine and then exposed to the /// pod.</param> /// <param name="flexVolume">FlexVolume represents a generic volume /// resource that is provisioned/attached using an exec based /// plugin.</param> /// <param name="flocker">Flocker represents a Flocker volume attached /// to a kubelet's host machine and exposed to the pod for its usage. /// This depends on the Flocker control service being running</param> /// <param name="gcePersistentDisk">GCEPersistentDisk represents a GCE /// Disk resource that is attached to a kubelet's host machine and then /// exposed to the pod. Provisioned by an admin. More info: /// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk</param> /// <param name="glusterfs">Glusterfs represents a Glusterfs volume /// that is attached to a host and exposed to the pod. Provisioned by /// an admin. More info: /// https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md</param> /// <param name="hostPath">HostPath represents a directory on the host. /// Provisioned by a developer or tester. This is useful for /// single-node development and testing only! On-host storage is not /// supported in any way and WILL NOT WORK in a multi-node cluster. /// More info: /// https://kubernetes.io/docs/concepts/storage/volumes#hostpath</param> /// <param name="iscsi">ISCSI represents an ISCSI Disk resource that is /// attached to a kubelet's host machine and then exposed to the pod. /// Provisioned by an admin.</param> /// <param name="local">Local represents directly-attached storage with /// node affinity</param> /// <param name="mountOptions">A list of mount options, e.g. ["ro", /// "soft"]. Not validated - mount will simply fail if one is invalid. /// More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options</param> /// <param name="nfs">NFS represents an NFS mount on the host. /// Provisioned by an admin. More info: /// https://kubernetes.io/docs/concepts/storage/volumes#nfs</param> /// <param name="nodeAffinity">NodeAffinity defines constraints that /// limit what nodes this volume can be accessed from. This field /// influences the scheduling of pods that use this volume.</param> /// <param name="persistentVolumeReclaimPolicy">What happens to a /// persistent volume when released from its claim. Valid options are /// Retain (default for manually created PersistentVolumes), Delete /// (default for dynamically provisioned PersistentVolumes), and /// Recycle (deprecated). Recycle must be supported by the volume /// plugin underlying this PersistentVolume. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming</param> /// <param name="photonPersistentDisk">PhotonPersistentDisk represents /// a PhotonController persistent disk attached and mounted on kubelets /// host machine</param> /// <param name="portworxVolume">PortworxVolume represents a portworx /// volume attached and mounted on kubelets host machine</param> /// <param name="quobyte">Quobyte represents a Quobyte mount on the /// host that shares a pod's lifetime</param> /// <param name="rbd">RBD represents a Rados Block Device mount on the /// host that shares a pod's lifetime. More info: /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md</param> /// <param name="scaleIO">ScaleIO represents a ScaleIO persistent /// volume attached and mounted on Kubernetes nodes.</param> /// <param name="storageClassName">Name of StorageClass to which this /// persistent volume belongs. Empty value means that this volume does /// not belong to any StorageClass.</param> /// <param name="storageos">StorageOS represents a StorageOS volume /// that is attached to the kubelet's host machine and mounted into the /// pod More info: /// https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md</param> /// <param name="volumeMode">volumeMode defines if a volume is intended /// to be used with a formatted filesystem or to remain in raw block /// state. Value of Filesystem is implied when not included in spec. /// This is an alpha feature and may change in the future.</param> /// <param name="vsphereVolume">VsphereVolume represents a vSphere /// volume attached and mounted on kubelets host machine</param> public Iok8sapicorev1PersistentVolumeSpec(IList <string> accessModes = default(IList <string>), Iok8sapicorev1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(Iok8sapicorev1AWSElasticBlockStoreVolumeSource), Iok8sapicorev1AzureDiskVolumeSource azureDisk = default(Iok8sapicorev1AzureDiskVolumeSource), Iok8sapicorev1AzureFilePersistentVolumeSource azureFile = default(Iok8sapicorev1AzureFilePersistentVolumeSource), IDictionary <string, string> capacity = default(IDictionary <string, string>), Iok8sapicorev1CephFSPersistentVolumeSource cephfs = default(Iok8sapicorev1CephFSPersistentVolumeSource), Iok8sapicorev1CinderVolumeSource cinder = default(Iok8sapicorev1CinderVolumeSource), Iok8sapicorev1ObjectReference claimRef = default(Iok8sapicorev1ObjectReference), Iok8sapicorev1CSIPersistentVolumeSource csi = default(Iok8sapicorev1CSIPersistentVolumeSource), Iok8sapicorev1FCVolumeSource fc = default(Iok8sapicorev1FCVolumeSource), Iok8sapicorev1FlexPersistentVolumeSource flexVolume = default(Iok8sapicorev1FlexPersistentVolumeSource), Iok8sapicorev1FlockerVolumeSource flocker = default(Iok8sapicorev1FlockerVolumeSource), Iok8sapicorev1GCEPersistentDiskVolumeSource gcePersistentDisk = default(Iok8sapicorev1GCEPersistentDiskVolumeSource), Iok8sapicorev1GlusterfsVolumeSource glusterfs = default(Iok8sapicorev1GlusterfsVolumeSource), Iok8sapicorev1HostPathVolumeSource hostPath = default(Iok8sapicorev1HostPathVolumeSource), Iok8sapicorev1ISCSIPersistentVolumeSource iscsi = default(Iok8sapicorev1ISCSIPersistentVolumeSource), Iok8sapicorev1LocalVolumeSource local = default(Iok8sapicorev1LocalVolumeSource), IList <string> mountOptions = default(IList <string>), Iok8sapicorev1NFSVolumeSource nfs = default(Iok8sapicorev1NFSVolumeSource), Iok8sapicorev1VolumeNodeAffinity nodeAffinity = default(Iok8sapicorev1VolumeNodeAffinity), string persistentVolumeReclaimPolicy = default(string), Iok8sapicorev1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(Iok8sapicorev1PhotonPersistentDiskVolumeSource), Iok8sapicorev1PortworxVolumeSource portworxVolume = default(Iok8sapicorev1PortworxVolumeSource), Iok8sapicorev1QuobyteVolumeSource quobyte = default(Iok8sapicorev1QuobyteVolumeSource), Iok8sapicorev1RBDPersistentVolumeSource rbd = default(Iok8sapicorev1RBDPersistentVolumeSource), Iok8sapicorev1ScaleIOPersistentVolumeSource scaleIO = default(Iok8sapicorev1ScaleIOPersistentVolumeSource), string storageClassName = default(string), Iok8sapicorev1StorageOSPersistentVolumeSource storageos = default(Iok8sapicorev1StorageOSPersistentVolumeSource), string volumeMode = default(string), Iok8sapicorev1VsphereVirtualDiskVolumeSource vsphereVolume = default(Iok8sapicorev1VsphereVirtualDiskVolumeSource)) { AccessModes = accessModes; AwsElasticBlockStore = awsElasticBlockStore; AzureDisk = azureDisk; AzureFile = azureFile; Capacity = capacity; Cephfs = cephfs; Cinder = cinder; ClaimRef = claimRef; Csi = csi; Fc = fc; FlexVolume = flexVolume; Flocker = flocker; GcePersistentDisk = gcePersistentDisk; Glusterfs = glusterfs; HostPath = hostPath; Iscsi = iscsi; Local = local; MountOptions = mountOptions; Nfs = nfs; NodeAffinity = nodeAffinity; PersistentVolumeReclaimPolicy = persistentVolumeReclaimPolicy; PhotonPersistentDisk = photonPersistentDisk; PortworxVolume = portworxVolume; Quobyte = quobyte; Rbd = rbd; ScaleIO = scaleIO; StorageClassName = storageClassName; Storageos = storageos; VolumeMode = volumeMode; VsphereVolume = vsphereVolume; CustomInit(); }
/// <summary> /// Initializes a new instance of the Iok8sapicorev1NodeConfigSource /// class. /// </summary> /// <param name="apiVersion">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/api-conventions.md#resources</param> /// <param name="kind">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/api-conventions.md#types-kinds</param> public Iok8sapicorev1NodeConfigSource(string apiVersion = default(string), Iok8sapicorev1ObjectReference configMapRef = default(Iok8sapicorev1ObjectReference), string kind = default(string)) { ApiVersion = apiVersion; ConfigMapRef = configMapRef; Kind = kind; CustomInit(); }
/// <summary> /// Initializes a new instance of the Iok8sapicorev1Binding class. /// </summary> /// <param name="target">The target object that you want to bind to the /// standard object.</param> /// <param name="apiVersion">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/api-conventions.md#resources</param> /// <param name="kind">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/api-conventions.md#types-kinds</param> /// <param name="metadata">Standard object's metadata. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param> public Iok8sapicorev1Binding(Iok8sapicorev1ObjectReference target, string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta)) { ApiVersion = apiVersion; Kind = kind; Metadata = metadata; Target = target; CustomInit(); }
/// <summary> /// Initializes a new instance of the Iok8sapicorev1EndpointAddress /// class. /// </summary> /// <param name="ip">The IP of this endpoint. May not be loopback /// (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast /// ((224.0.0.0/24). IPv6 is also accepted but not fully supported on /// all platforms. Also, certain kubernetes components, like /// kube-proxy, are not IPv6 ready.</param> /// <param name="hostname">The Hostname of this endpoint</param> /// <param name="nodeName">Optional: Node hosting this endpoint. This /// can be used to determine endpoints local to a node.</param> /// <param name="targetRef">Reference to object providing the /// endpoint.</param> public Iok8sapicorev1EndpointAddress(string ip, string hostname = default(string), string nodeName = default(string), Iok8sapicorev1ObjectReference targetRef = default(Iok8sapicorev1ObjectReference)) { Hostname = hostname; Ip = ip; NodeName = nodeName; TargetRef = targetRef; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// Iok8sapicorev1StorageOSPersistentVolumeSource class. /// </summary> /// <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="readOnlyProperty">Defaults to false (read/write). /// ReadOnly here will force the ReadOnly setting in /// VolumeMounts.</param> /// <param name="secretRef">SecretRef specifies the secret to use for /// obtaining the StorageOS API credentials. If not specified, default /// values will be attempted.</param> /// <param name="volumeName">VolumeName is the human-readable name of /// the StorageOS volume. Volume names are only unique within a /// namespace.</param> /// <param name="volumeNamespace">VolumeNamespace specifies the scope /// of the volume within StorageOS. If no namespace is specified then /// the Pod's namespace will be used. This allows the Kubernetes name /// scoping to be mirrored within StorageOS for tighter integration. /// Set VolumeName to any name to override the default behaviour. Set /// to "default" if you are not using namespaces within StorageOS. /// Namespaces that do not pre-exist within StorageOS will be /// created.</param> public Iok8sapicorev1StorageOSPersistentVolumeSource(string fsType = default(string), bool?readOnlyProperty = default(bool?), Iok8sapicorev1ObjectReference secretRef = default(Iok8sapicorev1ObjectReference), string volumeName = default(string), string volumeNamespace = default(string)) { FsType = fsType; ReadOnlyProperty = readOnlyProperty; SecretRef = secretRef; VolumeName = volumeName; VolumeNamespace = volumeNamespace; CustomInit(); }
/// <summary> /// Initializes a new instance of the Iok8sapicorev1Event class. /// </summary> /// <param name="involvedObject">The object that this event is /// about.</param> /// <param name="metadata">Standard object's metadata. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param> /// <param name="action">What action was taken/failed regarding to the /// Regarding object.</param> /// <param name="apiVersion">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/api-conventions.md#resources</param> /// <param name="count">The number of times this event has /// occurred.</param> /// <param name="eventTime">Time when this Event was first /// observed.</param> /// <param name="firstTimestamp">The time at which the event was first /// recorded. (Time of server receipt is in TypeMeta.)</param> /// <param name="kind">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/api-conventions.md#types-kinds</param> /// <param name="lastTimestamp">The time at which the most recent /// occurrence of this event was recorded.</param> /// <param name="message">A human-readable description of the status of /// this operation.</param> /// <param name="reason">This should be a short, machine understandable /// string that gives the reason for the transition into the object's /// current status.</param> /// <param name="related">Optional secondary object for more complex /// actions.</param> /// <param name="reportingComponent">Name of the controller that /// emitted this Event, e.g. `kubernetes.io/kubelet`.</param> /// <param name="reportingInstance">ID of the controller instance, e.g. /// `kubelet-xyzf`.</param> /// <param name="series">Data about the Event series this event /// represents or nil if it's a singleton Event.</param> /// <param name="source">The component reporting this event. Should be /// a short machine understandable string.</param> /// <param name="type">Type of this event (Normal, Warning), new types /// could be added in the future</param> public Iok8sapicorev1Event(Iok8sapicorev1ObjectReference involvedObject, Iok8sapimachinerypkgapismetav1ObjectMeta metadata, string action = default(string), string apiVersion = default(string), int?count = default(int?), System.DateTimeOffset?eventTime = default(System.DateTimeOffset?), System.DateTimeOffset?firstTimestamp = default(System.DateTimeOffset?), string kind = default(string), System.DateTimeOffset?lastTimestamp = default(System.DateTimeOffset?), string message = default(string), string reason = default(string), Iok8sapicorev1ObjectReference related = default(Iok8sapicorev1ObjectReference), string reportingComponent = default(string), string reportingInstance = default(string), Iok8sapicorev1EventSeries series = default(Iok8sapicorev1EventSeries), Iok8sapicorev1EventSource source = default(Iok8sapicorev1EventSource), string type = default(string)) { Action = action; ApiVersion = apiVersion; Count = count; EventTime = eventTime; FirstTimestamp = firstTimestamp; InvolvedObject = involvedObject; Kind = kind; LastTimestamp = lastTimestamp; Message = message; Metadata = metadata; Reason = reason; Related = related; ReportingComponent = reportingComponent; ReportingInstance = reportingInstance; Series = series; Source = source; Type = type; CustomInit(); }
/// <summary> /// Initializes a new instance of the Iok8sapieventsv1beta1Event class. /// </summary> /// <param name="eventTime">Required. Time when this Event was first /// observed.</param> /// <param name="action">What action was taken/failed regarding to the /// regarding object.</param> /// <param name="apiVersion">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/api-conventions.md#resources</param> /// <param name="deprecatedCount">Deprecated field assuring backward /// compatibility with core.v1 Event type</param> /// <param name="deprecatedFirstTimestamp">Deprecated field assuring /// backward compatibility with core.v1 Event type</param> /// <param name="deprecatedLastTimestamp">Deprecated field assuring /// backward compatibility with core.v1 Event type</param> /// <param name="deprecatedSource">Deprecated field assuring backward /// compatibility with core.v1 Event type</param> /// <param name="kind">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/api-conventions.md#types-kinds</param> /// <param name="note">Optional. A human-readable description of the /// status of this operation. Maximal length of the note is 1kB, but /// libraries should be prepared to handle values up to 64kB.</param> /// <param name="reason">Why the action was taken.</param> /// <param name="regarding">The object this Event is about. In most /// cases it's an Object reporting controller implements. E.g. /// ReplicaSetController implements ReplicaSets and this event is /// emitted because it acts on some changes in a ReplicaSet /// object.</param> /// <param name="related">Optional secondary object for more complex /// actions. E.g. when regarding object triggers a creation or deletion /// of related object.</param> /// <param name="reportingController">Name of the controller that /// emitted this Event, e.g. `kubernetes.io/kubelet`.</param> /// <param name="reportingInstance">ID of the controller instance, e.g. /// `kubelet-xyzf`.</param> /// <param name="series">Data about the Event series this event /// represents or nil if it's a singleton Event.</param> /// <param name="type">Type of this event (Normal, Warning), new types /// could be added in the future.</param> public Iok8sapieventsv1beta1Event(System.DateTimeOffset eventTime, string action = default(string), string apiVersion = default(string), int?deprecatedCount = default(int?), System.DateTimeOffset?deprecatedFirstTimestamp = default(System.DateTimeOffset?), System.DateTimeOffset?deprecatedLastTimestamp = default(System.DateTimeOffset?), Iok8sapicorev1EventSource deprecatedSource = default(Iok8sapicorev1EventSource), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), string note = default(string), string reason = default(string), Iok8sapicorev1ObjectReference regarding = default(Iok8sapicorev1ObjectReference), Iok8sapicorev1ObjectReference related = default(Iok8sapicorev1ObjectReference), string reportingController = default(string), string reportingInstance = default(string), Iok8sapieventsv1beta1EventSeries series = default(Iok8sapieventsv1beta1EventSeries), string type = default(string)) { Action = action; ApiVersion = apiVersion; DeprecatedCount = deprecatedCount; DeprecatedFirstTimestamp = deprecatedFirstTimestamp; DeprecatedLastTimestamp = deprecatedLastTimestamp; DeprecatedSource = deprecatedSource; EventTime = eventTime; Kind = kind; Metadata = metadata; Note = note; Reason = reason; Regarding = regarding; Related = related; ReportingController = reportingController; ReportingInstance = reportingInstance; Series = series; Type = type; CustomInit(); }