@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
34 lines • 2.15 kB
TypeScript
import { ProjectKubeCustomization } from './ProjectKubeCustomization';
import { KubeProxyModeEnum } from './kube/KubeProxyModeEnum';
import { ProjectKubeCreationNodePool } from './ProjectKubeCreationNodePool';
import { PrivateNetworkConfiguration } from './kube/PrivateNetworkConfiguration';
import { UpdatePolicyEnum } from './kube/UpdatePolicyEnum';
import { VersionEnum } from './kube/VersionEnum';
/** Missing description */
export interface ProjectKubeCreation {
/** Kubernetes cluster customization */
customization?: ProjectKubeCustomization;
/** Selected mode for kube-proxy */
kubeProxyMode: KubeProxyModeEnum;
/** OpenStack subnet ID that the load balancers will use. Optional, can be updated with endpoint /cloud/project/{serviceName}/kube/{kubeId}/updateLoadBalancersSubnetId, can only be set if privateNetworkId and nodesSubnetId are also set */
loadBalancersSubnetId: string;
/** Kubernetes cluster name */
name: string;
/** @deprecated Nodepool to initialize with cluster creation. Note: this fields is deprecated in favor of 'nodepools' field that allows to create one or more nodepools. */
nodepool: ProjectKubeCreationNodePool;
/** List of nodepools to initialize with cluster creation */
nodepools: ProjectKubeCreationNodePool[];
/** OpenStack subnet ID that the cluster nodes will use. Optional, can only be set on cluster creation or reset, can only be set if privateNetworkId is also set. If unspecified, it will be selected automatically when the first node is created. */
nodesSubnetId: string;
/** The private network configuration. */
privateNetworkConfiguration: PrivateNetworkConfiguration;
/** OpenStack private network ID that the cluster will use. Optional, can only be set on cluster creation or reset. If unspecified, the cluster will use the public network. */
privateNetworkId: string;
/** Kubernetes OpenStack region */
region: string;
/** Enum values for UpdatePolicy */
updatePolicy?: UpdatePolicyEnum;
/** Kubernetes version to install */
version: VersionEnum;
}
//# sourceMappingURL=ProjectKubeCreation.d.ts.map