@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
48 lines • 2.35 kB
TypeScript
import { ProjectKubeCustomization } from '../ProjectKubeCustomization';
import { KubeProxyModeEnum } from './KubeProxyModeEnum';
import { PrivateNetworkConfiguration } from './PrivateNetworkConfiguration';
import { ClusterStatusEnum } from './ClusterStatusEnum';
/** Managed Kubernetes cluster description */
export interface Cluster {
/** True if cluster auditlogs forward has been subscribed */
auditLogsSubscribed: boolean;
/** True if control-plane is up to date */
controlPlaneIsUpToDate: boolean;
/** Cluster creation date */
createdAt: string;
/** Kubernetes cluster customization */
customization?: ProjectKubeCustomization;
/** Cluster ID */
id: string;
/** True if all nodes and control-plane are up to date */
isUpToDate: boolean;
/** 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;
/** Cluster name */
name: string;
/** Kubernetes versions available for upgrade */
nextUpgradeVersions?: 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;
/** Cluster nodes URL */
nodesUrl: string;
/** The private network configuration. This field is optional. */
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;
/** Cluster region. Example: GRA11. */
region: string;
/** Cluster status */
status: ClusterStatusEnum;
/** Cluster update policy */
updatePolicy: string;
/** Cluster last update date */
updatedAt: string;
/** Management URL of your cluster */
url: string;
/** Kubernetes version of your cluster */
version: string;
}
//# sourceMappingURL=Cluster.d.ts.map