UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

30 lines 1.93 kB
import { ProjectKubeCustomization } from './ProjectKubeCustomization'; import { KubeProxyModeEnum } from './kube/KubeProxyModeEnum'; import { PrivateNetworkConfiguration } from './kube/PrivateNetworkConfiguration'; import { UpdatePolicyEnum } from './kube/UpdatePolicyEnum'; import { VersionEnum } from './kube/VersionEnum'; import { ResetWorkerNodesPolicyEnum } from './kube/ResetWorkerNodesPolicyEnum'; /** Model object to reset kube cluster */ export interface ProjectKubeResetCreation { /** 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; /** New cluster name */ name: string; /** 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; /** Enum values for UpdatePolicy */ updatePolicy: UpdatePolicyEnum; /** Kubernetes version to use after reset, by default it keeps the current version */ version: VersionEnum; /** Worker nodes reset policy, default is delete */ workerNodesPolicy: ResetWorkerNodesPolicyEnum; } //# sourceMappingURL=ProjectKubeResetCreation.d.ts.map