|
7 | 7 |
|
8 | 8 | The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks. |
9 | 9 |
|
10 | | - The version of the OpenAPI document:1.1 |
| 10 | + The version of the OpenAPI document:2.0 |
11 | 11 | Generated by OpenAPI Generator (https://openapi-generator.tech) |
12 | 12 |
|
13 | 13 | Do not edit the class manually. |
14 | | -"""# noqa: E501 docstring might be too long |
| 14 | +"""# noqa: E501 |
15 | 15 |
|
16 | 16 |
|
17 | 17 | __version__="1.0.0" |
18 | 18 |
|
| 19 | +# Define package exports |
| 20 | +__all__= [ |
| 21 | +"DefaultApi", |
| 22 | +"ApiResponse", |
| 23 | +"ApiClient", |
| 24 | +"HostConfiguration", |
| 25 | +"OpenApiException", |
| 26 | +"ApiTypeError", |
| 27 | +"ApiValueError", |
| 28 | +"ApiKeyError", |
| 29 | +"ApiAttributeError", |
| 30 | +"ApiException", |
| 31 | +"ACL", |
| 32 | +"AvailabilityZone", |
| 33 | +"CRI", |
| 34 | +"Cluster", |
| 35 | +"ClusterError", |
| 36 | +"ClusterStatus", |
| 37 | +"ClusterStatusState", |
| 38 | +"CreateKubeconfigPayload", |
| 39 | +"CreateOrUpdateClusterPayload", |
| 40 | +"CredentialsRotationState", |
| 41 | +"DNS", |
| 42 | +"Extension", |
| 43 | +"Hibernation", |
| 44 | +"HibernationSchedule", |
| 45 | +"Image", |
| 46 | +"Kubeconfig", |
| 47 | +"Kubernetes", |
| 48 | +"KubernetesVersion", |
| 49 | +"ListClustersResponse", |
| 50 | +"LoginKubeconfig", |
| 51 | +"Machine", |
| 52 | +"MachineImage", |
| 53 | +"MachineImageVersion", |
| 54 | +"MachineType", |
| 55 | +"Maintenance", |
| 56 | +"MaintenanceAutoUpdate", |
| 57 | +"Network", |
| 58 | +"Nodepool", |
| 59 | +"Observability", |
| 60 | +"ProviderOptions", |
| 61 | +"RuntimeError", |
| 62 | +"Taint", |
| 63 | +"TimeWindow", |
| 64 | +"Volume", |
| 65 | +"VolumeType", |
| 66 | +] |
| 67 | + |
19 | 68 | # import apis into sdk package |
20 | | -fromstackit.ske.api.default_apiimportDefaultApi |
21 | | -fromstackit.ske.api_clientimportApiClient |
| 69 | +fromstackit.ske.api.default_apiimportDefaultApiasDefaultApi |
| 70 | +fromstackit.ske.api_clientimportApiClientasApiClient |
22 | 71 |
|
23 | 72 | # import ApiClient |
24 | | -fromstackit.ske.api_responseimportApiResponse |
25 | | -fromstackit.ske.configurationimportHostConfiguration |
26 | | -fromstackit.ske.exceptionsimport ( |
27 | | -ApiAttributeError, |
28 | | -ApiException, |
29 | | -ApiKeyError, |
30 | | -ApiTypeError, |
31 | | -ApiValueError, |
32 | | -OpenApiException, |
33 | | -) |
| 73 | +fromstackit.ske.api_responseimportApiResponseasApiResponse |
| 74 | +fromstackit.ske.configurationimportHostConfigurationasHostConfiguration |
| 75 | +fromstackit.ske.exceptionsimportApiAttributeErrorasApiAttributeError |
| 76 | +fromstackit.ske.exceptionsimportApiExceptionasApiException |
| 77 | +fromstackit.ske.exceptionsimportApiKeyErrorasApiKeyError |
| 78 | +fromstackit.ske.exceptionsimportApiTypeErrorasApiTypeError |
| 79 | +fromstackit.ske.exceptionsimportApiValueErrorasApiValueError |
| 80 | +fromstackit.ske.exceptionsimportOpenApiExceptionasOpenApiException |
34 | 81 |
|
35 | 82 | # import models into sdk package |
36 | | -fromstackit.ske.models.aclimportACL |
37 | | -fromstackit.ske.models.argusimportArgus |
38 | | -fromstackit.ske.models.availability_zoneimportAvailabilityZone |
39 | | -fromstackit.ske.models.clusterimportCluster |
40 | | -fromstackit.ske.models.cluster_errorimportClusterError |
41 | | -fromstackit.ske.models.cluster_statusimportClusterStatus |
42 | | -fromstackit.ske.models.cluster_status_stateimportClusterStatusState |
43 | | -fromstackit.ske.models.create_kubeconfig_payloadimportCreateKubeconfigPayload |
| 83 | +fromstackit.ske.models.aclimportACLasACL |
| 84 | +fromstackit.ske.models.availability_zoneimportAvailabilityZoneasAvailabilityZone |
| 85 | +fromstackit.ske.models.clusterimportClusterasCluster |
| 86 | +fromstackit.ske.models.cluster_errorimportClusterErrorasClusterError |
| 87 | +fromstackit.ske.models.cluster_statusimportClusterStatusasClusterStatus |
| 88 | +fromstackit.ske.models.cluster_status_stateimport ( |
| 89 | +ClusterStatusStateasClusterStatusState, |
| 90 | +) |
| 91 | +fromstackit.ske.models.create_kubeconfig_payloadimport ( |
| 92 | +CreateKubeconfigPayloadasCreateKubeconfigPayload, |
| 93 | +) |
44 | 94 | fromstackit.ske.models.create_or_update_cluster_payloadimport ( |
45 | | -CreateOrUpdateClusterPayload, |
| 95 | +CreateOrUpdateClusterPayloadasCreateOrUpdateClusterPayload, |
| 96 | +) |
| 97 | +fromstackit.ske.models.credentials_rotation_stateimport ( |
| 98 | +CredentialsRotationStateasCredentialsRotationState, |
| 99 | +) |
| 100 | +fromstackit.ske.models.criimportCRIasCRI |
| 101 | +fromstackit.ske.models.dnsimportDNSasDNS |
| 102 | +fromstackit.ske.models.extensionimportExtensionasExtension |
| 103 | +fromstackit.ske.models.hibernationimportHibernationasHibernation |
| 104 | +fromstackit.ske.models.hibernation_scheduleimport ( |
| 105 | +HibernationScheduleasHibernationSchedule, |
| 106 | +) |
| 107 | +fromstackit.ske.models.imageimportImageasImage |
| 108 | +fromstackit.ske.models.kubeconfigimportKubeconfigasKubeconfig |
| 109 | +fromstackit.ske.models.kubernetesimportKubernetesasKubernetes |
| 110 | +fromstackit.ske.models.kubernetes_versionimportKubernetesVersionasKubernetesVersion |
| 111 | +fromstackit.ske.models.list_clusters_responseimport ( |
| 112 | +ListClustersResponseasListClustersResponse, |
| 113 | +) |
| 114 | +fromstackit.ske.models.login_kubeconfigimportLoginKubeconfigasLoginKubeconfig |
| 115 | +fromstackit.ske.models.machineimportMachineasMachine |
| 116 | +fromstackit.ske.models.machine_imageimportMachineImageasMachineImage |
| 117 | +fromstackit.ske.models.machine_image_versionimport ( |
| 118 | +MachineImageVersionasMachineImageVersion, |
| 119 | +) |
| 120 | +fromstackit.ske.models.machine_typeimportMachineTypeasMachineType |
| 121 | +fromstackit.ske.models.maintenanceimportMaintenanceasMaintenance |
| 122 | +fromstackit.ske.models.maintenance_auto_updateimport ( |
| 123 | +MaintenanceAutoUpdateasMaintenanceAutoUpdate, |
46 | 124 | ) |
47 | | -fromstackit.ske.models.credentials_rotation_stateimportCredentialsRotationState |
48 | | -fromstackit.ske.models.criimportCRI |
49 | | -fromstackit.ske.models.dnsimportDNS |
50 | | -fromstackit.ske.models.extensionimportExtension |
51 | | -fromstackit.ske.models.hibernationimportHibernation |
52 | | -fromstackit.ske.models.hibernation_scheduleimportHibernationSchedule |
53 | | -fromstackit.ske.models.imageimportImage |
54 | | -fromstackit.ske.models.kubeconfigimportKubeconfig |
55 | | -fromstackit.ske.models.kubernetesimportKubernetes |
56 | | -fromstackit.ske.models.kubernetes_versionimportKubernetesVersion |
57 | | -fromstackit.ske.models.list_clusters_responseimportListClustersResponse |
58 | | -fromstackit.ske.models.login_kubeconfigimportLoginKubeconfig |
59 | | -fromstackit.ske.models.machineimportMachine |
60 | | -fromstackit.ske.models.machine_imageimportMachineImage |
61 | | -fromstackit.ske.models.machine_image_versionimportMachineImageVersion |
62 | | -fromstackit.ske.models.machine_typeimportMachineType |
63 | | -fromstackit.ske.models.maintenanceimportMaintenance |
64 | | -fromstackit.ske.models.maintenance_auto_updateimportMaintenanceAutoUpdate |
65 | | -fromstackit.ske.models.networkimportNetwork |
66 | | -fromstackit.ske.models.nodepoolimportNodepool |
67 | | -fromstackit.ske.models.provider_optionsimportProviderOptions |
68 | | -fromstackit.ske.models.runtime_errorimportRuntimeError |
69 | | -fromstackit.ske.models.taintimportTaint |
70 | | -fromstackit.ske.models.time_windowimportTimeWindow |
71 | | -fromstackit.ske.models.volumeimportVolume |
72 | | -fromstackit.ske.models.volume_typeimportVolumeType |
| 125 | +fromstackit.ske.models.networkimportNetworkasNetwork |
| 126 | +fromstackit.ske.models.nodepoolimportNodepoolasNodepool |
| 127 | +fromstackit.ske.models.observabilityimportObservabilityasObservability |
| 128 | +fromstackit.ske.models.provider_optionsimportProviderOptionsasProviderOptions |
| 129 | +fromstackit.ske.models.runtime_errorimportRuntimeErrorasRuntimeError |
| 130 | +fromstackit.ske.models.taintimportTaintasTaint |
| 131 | +fromstackit.ske.models.time_windowimportTimeWindowasTimeWindow |
| 132 | +fromstackit.ske.models.volumeimportVolumeasVolume |
| 133 | +fromstackit.ske.models.volume_typeimportVolumeTypeasVolumeType |