ptctools 0.1.0__py3-none-any.whl → 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1242) hide show
  1. ptctools/__init__.py +7 -1
  2. ptctools/_portainer.py +450 -226
  3. ptctools/cli.py +5 -8
  4. ptctools/config.py +111 -149
  5. ptctools/db.py +203 -142
  6. ptctools/docker.py +29 -0
  7. ptctools/portainer_client/.openapi-generator/FILES +818 -0
  8. ptctools/portainer_client/.openapi-generator/VERSION +1 -0
  9. ptctools/portainer_client/.openapi-generator-ignore +23 -0
  10. ptctools/portainer_client/openapi_client/__init__.py +855 -0
  11. ptctools/portainer_client/openapi_client/api/__init__.py +36 -0
  12. ptctools/portainer_client/openapi_client/api/auth_api.py +848 -0
  13. ptctools/portainer_client/openapi_client/api/backup_api.py +587 -0
  14. ptctools/portainer_client/openapi_client/api/custom_templates_api.py +2659 -0
  15. ptctools/portainer_client/openapi_client/api/docker_api.py +878 -0
  16. ptctools/portainer_client/openapi_client/api/edge_api.py +597 -0
  17. ptctools/portainer_client/openapi_client/api/edge_groups_api.py +1405 -0
  18. ptctools/portainer_client/openapi_client/api/edge_jobs_api.py +3146 -0
  19. ptctools/portainer_client/openapi_client/api/edge_stacks_api.py +2990 -0
  20. ptctools/portainer_client/openapi_client/api/endpoint_groups_api.py +1965 -0
  21. ptctools/portainer_client/openapi_client/api/endpoints_api.py +6607 -0
  22. ptctools/portainer_client/openapi_client/api/gitops_api.py +308 -0
  23. ptctools/portainer_client/openapi_client/api/helm_api.py +3529 -0
  24. ptctools/portainer_client/openapi_client/api/intel_api.py +1718 -0
  25. ptctools/portainer_client/openapi_client/api/kubernetes_api.py +18877 -0
  26. ptctools/portainer_client/openapi_client/api/ldap_api.py +313 -0
  27. ptctools/portainer_client/openapi_client/api/motd_api.py +284 -0
  28. ptctools/portainer_client/openapi_client/api/registries_api.py +1712 -0
  29. ptctools/portainer_client/openapi_client/api/resource_controls_api.py +891 -0
  30. ptctools/portainer_client/openapi_client/api/roles_api.py +288 -0
  31. ptctools/portainer_client/openapi_client/api/settings_api.py +820 -0
  32. ptctools/portainer_client/openapi_client/api/ssl_api.py +573 -0
  33. ptctools/portainer_client/openapi_client/api/stacks_api.py +6640 -0
  34. ptctools/portainer_client/openapi_client/api/status_api.py +285 -0
  35. ptctools/portainer_client/openapi_client/api/system_api.py +1277 -0
  36. ptctools/portainer_client/openapi_client/api/tags_api.py +839 -0
  37. ptctools/portainer_client/openapi_client/api/team_memberships_api.py +1425 -0
  38. ptctools/portainer_client/openapi_client/api/teams_api.py +1453 -0
  39. ptctools/portainer_client/openapi_client/api/templates_api.py +558 -0
  40. ptctools/portainer_client/openapi_client/api/upload_api.py +343 -0
  41. ptctools/portainer_client/openapi_client/api/users_api.py +3659 -0
  42. ptctools/portainer_client/openapi_client/api/webhooks_api.py +1415 -0
  43. ptctools/portainer_client/openapi_client/api/websocket_api.py +1279 -0
  44. ptctools/portainer_client/openapi_client/api_client.py +805 -0
  45. ptctools/portainer_client/openapi_client/api_response.py +21 -0
  46. ptctools/portainer_client/openapi_client/configuration.py +619 -0
  47. ptctools/portainer_client/openapi_client/docs/AuthApi.md +236 -0
  48. ptctools/portainer_client/openapi_client/docs/AuthAuthenticatePayload.md +30 -0
  49. ptctools/portainer_client/openapi_client/docs/AuthAuthenticateResponse.md +29 -0
  50. ptctools/portainer_client/openapi_client/docs/AuthOauthPayload.md +29 -0
  51. ptctools/portainer_client/openapi_client/docs/BackupApi.md +166 -0
  52. ptctools/portainer_client/openapi_client/docs/BackupBackupPayload.md +29 -0
  53. ptctools/portainer_client/openapi_client/docs/BackupRestorePayload.md +31 -0
  54. ptctools/portainer_client/openapi_client/docs/BuildBuildInfo.md +35 -0
  55. ptctools/portainer_client/openapi_client/docs/BuildDependenciesInfo.md +32 -0
  56. ptctools/portainer_client/openapi_client/docs/BuildRuntimeInfo.md +29 -0
  57. ptctools/portainer_client/openapi_client/docs/ContainersContainerGpusResponse.md +29 -0
  58. ptctools/portainer_client/openapi_client/docs/CustomTemplatesApi.md +842 -0
  59. ptctools/portainer_client/openapi_client/docs/CustomtemplatesCustomTemplateFromFileContentPayload.md +37 -0
  60. ptctools/portainer_client/openapi_client/docs/CustomtemplatesCustomTemplateFromGitRepositoryPayload.md +44 -0
  61. ptctools/portainer_client/openapi_client/docs/CustomtemplatesCustomTemplateUpdatePayload.md +47 -0
  62. ptctools/portainer_client/openapi_client/docs/CustomtemplatesFileResponse.md +29 -0
  63. ptctools/portainer_client/openapi_client/docs/DockerApi.md +259 -0
  64. ptctools/portainer_client/openapi_client/docs/DockerContainerStats.md +33 -0
  65. ptctools/portainer_client/openapi_client/docs/DockerDashboardResponse.md +34 -0
  66. ptctools/portainer_client/openapi_client/docs/DockerImagesCounters.md +30 -0
  67. ptctools/portainer_client/openapi_client/docs/EdgeApi.md +152 -0
  68. ptctools/portainer_client/openapi_client/docs/EdgeDeployerOptionsPayload.md +30 -0
  69. ptctools/portainer_client/openapi_client/docs/EdgeGroupsApi.md +451 -0
  70. ptctools/portainer_client/openapi_client/docs/EdgeJobsApi.md +1003 -0
  71. ptctools/portainer_client/openapi_client/docs/EdgeRegistryCredentials.md +31 -0
  72. ptctools/portainer_client/openapi_client/docs/EdgeStackPayload.md +48 -0
  73. ptctools/portainer_client/openapi_client/docs/EdgeStacksApi.md +900 -0
  74. ptctools/portainer_client/openapi_client/docs/EdgegroupsDecoratedEdgeGroup.md +39 -0
  75. ptctools/portainer_client/openapi_client/docs/EdgegroupsEdgeGroupCreatePayload.md +33 -0
  76. ptctools/portainer_client/openapi_client/docs/EdgegroupsEdgeGroupUpdatePayload.md +33 -0
  77. ptctools/portainer_client/openapi_client/docs/EdgejobsEdgeJobCreateFromFileContentPayload.md +34 -0
  78. ptctools/portainer_client/openapi_client/docs/EdgejobsEdgeJobFileResponse.md +29 -0
  79. ptctools/portainer_client/openapi_client/docs/EdgejobsEdgeJobUpdatePayload.md +34 -0
  80. ptctools/portainer_client/openapi_client/docs/EdgejobsFileResponse.md +29 -0
  81. ptctools/portainer_client/openapi_client/docs/EdgejobsTaskContainer.md +32 -0
  82. ptctools/portainer_client/openapi_client/docs/EdgestacksEdgeStackFromGitRepositoryPayload.md +41 -0
  83. ptctools/portainer_client/openapi_client/docs/EdgestacksEdgeStackFromStringPayload.md +34 -0
  84. ptctools/portainer_client/openapi_client/docs/EdgestacksStackFileResponse.md +29 -0
  85. ptctools/portainer_client/openapi_client/docs/EdgestacksUpdateEdgeStackPayload.md +33 -0
  86. ptctools/portainer_client/openapi_client/docs/EdgestacksUpdateStatusPayload.md +33 -0
  87. ptctools/portainer_client/openapi_client/docs/EndpointGroupsApi.md +638 -0
  88. ptctools/portainer_client/openapi_client/docs/EndpointedgeEdgeJobResponse.md +33 -0
  89. ptctools/portainer_client/openapi_client/docs/EndpointedgeEndpointEdgeStatusInspectResponse.md +34 -0
  90. ptctools/portainer_client/openapi_client/docs/EndpointedgeStackStatusResponse.md +30 -0
  91. ptctools/portainer_client/openapi_client/docs/EndpointgroupsEndpointGroupCreatePayload.md +32 -0
  92. ptctools/portainer_client/openapi_client/docs/EndpointgroupsEndpointGroupUpdatePayload.md +33 -0
  93. ptctools/portainer_client/openapi_client/docs/EndpointsApi.md +1930 -0
  94. ptctools/portainer_client/openapi_client/docs/EndpointsDockerhubStatusResponse.md +30 -0
  95. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointCreateGlobalKeyResponse.md +29 -0
  96. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointDeleteBatchPartialResponse.md +30 -0
  97. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointDeleteBatchPayload.md +29 -0
  98. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointDeleteRequest.md +30 -0
  99. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointSettingsUpdatePayload.md +39 -0
  100. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointUpdatePayload.md +45 -0
  101. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointUpdateRelationsPayload.md +29 -0
  102. ptctools/portainer_client/openapi_client/docs/EndpointsEndpointUpdateRelationsPayloadRelationsValue.md +31 -0
  103. ptctools/portainer_client/openapi_client/docs/EndpointsForceUpdateServicePayload.md +30 -0
  104. ptctools/portainer_client/openapi_client/docs/EndpointsRegistryAccessPayload.md +31 -0
  105. ptctools/portainer_client/openapi_client/docs/FilesystemDirEntry.md +32 -0
  106. ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseHook.md +36 -0
  107. ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseHookExecution.md +31 -0
  108. ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseInfo.md +35 -0
  109. ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseRelease.md +39 -0
  110. ptctools/portainer_client/openapi_client/docs/GitopsApi.md +99 -0
  111. ptctools/portainer_client/openapi_client/docs/GitopsFileResponse.md +29 -0
  112. ptctools/portainer_client/openapi_client/docs/GitopsRepositoryFilePreviewPayload.md +35 -0
  113. ptctools/portainer_client/openapi_client/docs/GittypesGitAuthentication.md +32 -0
  114. ptctools/portainer_client/openapi_client/docs/GittypesGitCredentialAuthType.md +12 -0
  115. ptctools/portainer_client/openapi_client/docs/GittypesRepoConfig.md +34 -0
  116. ptctools/portainer_client/openapi_client/docs/HelmApi.md +1062 -0
  117. ptctools/portainer_client/openapi_client/docs/HelmInstallChartPayload.md +35 -0
  118. ptctools/portainer_client/openapi_client/docs/ImagesImageResponse.md +34 -0
  119. ptctools/portainer_client/openapi_client/docs/IntelApi.md +505 -0
  120. ptctools/portainer_client/openapi_client/docs/IntstrIntOrString.md +31 -0
  121. ptctools/portainer_client/openapi_client/docs/IntstrType.md +12 -0
  122. ptctools/portainer_client/openapi_client/docs/K8sIoApiCoreV1ConditionStatus.md +14 -0
  123. ptctools/portainer_client/openapi_client/docs/K8sIoApiRbacV1Subject.md +32 -0
  124. ptctools/portainer_client/openapi_client/docs/K8sIoApimachineryPkgApisMetaV1ConditionStatus.md +14 -0
  125. ptctools/portainer_client/openapi_client/docs/KubernetesApi.md +6017 -0
  126. ptctools/portainer_client/openapi_client/docs/KubernetesConfiguration.md +31 -0
  127. ptctools/portainer_client/openapi_client/docs/KubernetesCustomResourceMetadata.md +31 -0
  128. ptctools/portainer_client/openapi_client/docs/KubernetesDescribeResourceResponse.md +29 -0
  129. ptctools/portainer_client/openapi_client/docs/KubernetesIngressRule.md +32 -0
  130. ptctools/portainer_client/openapi_client/docs/KubernetesK8sApplication.md +60 -0
  131. ptctools/portainer_client/openapi_client/docs/KubernetesK8sApplicationResource.md +32 -0
  132. ptctools/portainer_client/openapi_client/docs/KubernetesK8sClusterRole.md +32 -0
  133. ptctools/portainer_client/openapi_client/docs/KubernetesK8sClusterRoleBinding.md +35 -0
  134. ptctools/portainer_client/openapi_client/docs/KubernetesK8sConfigMap.md +39 -0
  135. ptctools/portainer_client/openapi_client/docs/KubernetesK8sConfigurationOwnerResource.md +31 -0
  136. ptctools/portainer_client/openapi_client/docs/KubernetesK8sCronJob.md +37 -0
  137. ptctools/portainer_client/openapi_client/docs/KubernetesK8sDashboard.md +35 -0
  138. ptctools/portainer_client/openapi_client/docs/KubernetesK8sEvent.md +40 -0
  139. ptctools/portainer_client/openapi_client/docs/KubernetesK8sEventInvolvedObject.md +32 -0
  140. ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressController.md +34 -0
  141. ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressInfo.md +39 -0
  142. ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressPath.md +35 -0
  143. ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressTLS.md +30 -0
  144. ptctools/portainer_client/openapi_client/docs/KubernetesK8sJob.md +42 -0
  145. ptctools/portainer_client/openapi_client/docs/KubernetesK8sNamespaceDetails.md +32 -0
  146. ptctools/portainer_client/openapi_client/docs/KubernetesK8sPersistentVolume.md +37 -0
  147. ptctools/portainer_client/openapi_client/docs/KubernetesK8sPersistentVolumeClaim.md +41 -0
  148. ptctools/portainer_client/openapi_client/docs/KubernetesK8sResourceQuota.md +31 -0
  149. ptctools/portainer_client/openapi_client/docs/KubernetesK8sRole.md +33 -0
  150. ptctools/portainer_client/openapi_client/docs/KubernetesK8sRoleBinding.md +35 -0
  151. ptctools/portainer_client/openapi_client/docs/KubernetesK8sSecret.md +40 -0
  152. ptctools/portainer_client/openapi_client/docs/KubernetesK8sServiceAccount.md +33 -0
  153. ptctools/portainer_client/openapi_client/docs/KubernetesK8sServiceInfo.md +43 -0
  154. ptctools/portainer_client/openapi_client/docs/KubernetesK8sServiceIngress.md +30 -0
  155. ptctools/portainer_client/openapi_client/docs/KubernetesK8sServicePort.md +33 -0
  156. ptctools/portainer_client/openapi_client/docs/KubernetesK8sStorageClass.md +32 -0
  157. ptctools/portainer_client/openapi_client/docs/KubernetesK8sVolumeInfo.md +31 -0
  158. ptctools/portainer_client/openapi_client/docs/KubernetesMetadata.md +30 -0
  159. ptctools/portainer_client/openapi_client/docs/KubernetesNamespacesToggleSystemPayload.md +29 -0
  160. ptctools/portainer_client/openapi_client/docs/KubernetesPod.md +38 -0
  161. ptctools/portainer_client/openapi_client/docs/KubernetesPublishedPort.md +30 -0
  162. ptctools/portainer_client/openapi_client/docs/KubernetesTLSInfo.md +29 -0
  163. ptctools/portainer_client/openapi_client/docs/LdapApi.md +96 -0
  164. ptctools/portainer_client/openapi_client/docs/LdapCheckPayload.md +29 -0
  165. ptctools/portainer_client/openapi_client/docs/MotdApi.md +91 -0
  166. ptctools/portainer_client/openapi_client/docs/MotdMotdResponse.md +33 -0
  167. ptctools/portainer_client/openapi_client/docs/Oauth2AuthStyle.md +14 -0
  168. ptctools/portainer_client/openapi_client/docs/OpenamtDeviceActionPayload.md +29 -0
  169. ptctools/portainer_client/openapi_client/docs/OpenamtDeviceFeaturesPayload.md +29 -0
  170. ptctools/portainer_client/openapi_client/docs/OpenamtOpenAMTConfigurePayload.md +36 -0
  171. ptctools/portainer_client/openapi_client/docs/OsFileMode.md +38 -0
  172. ptctools/portainer_client/openapi_client/docs/PlatformContainerPlatform.md +18 -0
  173. ptctools/portainer_client/openapi_client/docs/PortainerAPIKey.md +35 -0
  174. ptctools/portainer_client/openapi_client/docs/PortainerAccessPolicy.md +29 -0
  175. ptctools/portainer_client/openapi_client/docs/PortainerAuthenticationMethod.md +16 -0
  176. ptctools/portainer_client/openapi_client/docs/PortainerAutoUpdateSettings.md +33 -0
  177. ptctools/portainer_client/openapi_client/docs/PortainerAzureCredentials.md +31 -0
  178. ptctools/portainer_client/openapi_client/docs/PortainerCustomTemplate.md +43 -0
  179. ptctools/portainer_client/openapi_client/docs/PortainerCustomTemplatePlatform.md +14 -0
  180. ptctools/portainer_client/openapi_client/docs/PortainerCustomTemplateVariableDefinition.md +32 -0
  181. ptctools/portainer_client/openapi_client/docs/PortainerDiagnosticsData.md +32 -0
  182. ptctools/portainer_client/openapi_client/docs/PortainerDockerSnapshot.md +49 -0
  183. ptctools/portainer_client/openapi_client/docs/PortainerEcrData.md +29 -0
  184. ptctools/portainer_client/openapi_client/docs/PortainerEdge.md +32 -0
  185. ptctools/portainer_client/openapi_client/docs/PortainerEdgeGroup.md +35 -0
  186. ptctools/portainer_client/openapi_client/docs/PortainerEdgeJob.md +38 -0
  187. ptctools/portainer_client/openapi_client/docs/PortainerEdgeJobEndpointMeta.md +30 -0
  188. ptctools/portainer_client/openapi_client/docs/PortainerEdgeJobLogsStatus.md +16 -0
  189. ptctools/portainer_client/openapi_client/docs/PortainerEdgeStack.md +40 -0
  190. ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackDeploymentStatus.md +33 -0
  191. ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackDeploymentType.md +12 -0
  192. ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackStatus.md +35 -0
  193. ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackStatusDetails.md +35 -0
  194. ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackStatusType.md +36 -0
  195. ptctools/portainer_client/openapi_client/docs/PortainerEndpoint.md +66 -0
  196. ptctools/portainer_client/openapi_client/docs/PortainerEndpointAgent.md +29 -0
  197. ptctools/portainer_client/openapi_client/docs/PortainerEndpointGroup.md +38 -0
  198. ptctools/portainer_client/openapi_client/docs/PortainerEndpointPostInitMigrations.md +30 -0
  199. ptctools/portainer_client/openapi_client/docs/PortainerEndpointSecuritySettings.md +37 -0
  200. ptctools/portainer_client/openapi_client/docs/PortainerEndpointStatus.md +14 -0
  201. ptctools/portainer_client/openapi_client/docs/PortainerEndpointType.md +24 -0
  202. ptctools/portainer_client/openapi_client/docs/PortainerEnvironmentEdgeSettings.md +32 -0
  203. ptctools/portainer_client/openapi_client/docs/PortainerGithubRegistryData.md +30 -0
  204. ptctools/portainer_client/openapi_client/docs/PortainerGitlabRegistryData.md +31 -0
  205. ptctools/portainer_client/openapi_client/docs/PortainerGlobalDeploymentOptions.md +29 -0
  206. ptctools/portainer_client/openapi_client/docs/PortainerHelmUserRepository.md +31 -0
  207. ptctools/portainer_client/openapi_client/docs/PortainerInternalAuthSettings.md +29 -0
  208. ptctools/portainer_client/openapi_client/docs/PortainerK8sNamespaceInfo.md +38 -0
  209. ptctools/portainer_client/openapi_client/docs/PortainerK8sNodeLimits.md +30 -0
  210. ptctools/portainer_client/openapi_client/docs/PortainerKubernetesConfiguration.md +37 -0
  211. ptctools/portainer_client/openapi_client/docs/PortainerKubernetesData.md +31 -0
  212. ptctools/portainer_client/openapi_client/docs/PortainerKubernetesFlags.md +31 -0
  213. ptctools/portainer_client/openapi_client/docs/PortainerKubernetesIngressClassConfig.md +32 -0
  214. ptctools/portainer_client/openapi_client/docs/PortainerKubernetesSnapshot.md +35 -0
  215. ptctools/portainer_client/openapi_client/docs/PortainerKubernetesStorageClassConfig.md +32 -0
  216. ptctools/portainer_client/openapi_client/docs/PortainerLDAPGroupSearchSettings.md +31 -0
  217. ptctools/portainer_client/openapi_client/docs/PortainerLDAPSearchSettings.md +31 -0
  218. ptctools/portainer_client/openapi_client/docs/PortainerLDAPSettings.md +37 -0
  219. ptctools/portainer_client/openapi_client/docs/PortainerMembershipRole.md +14 -0
  220. ptctools/portainer_client/openapi_client/docs/PortainerOAuthSettings.md +42 -0
  221. ptctools/portainer_client/openapi_client/docs/PortainerOpenAMTConfiguration.md +37 -0
  222. ptctools/portainer_client/openapi_client/docs/PortainerOpenAMTDeviceEnabledFeatures.md +33 -0
  223. ptctools/portainer_client/openapi_client/docs/PortainerPair.md +30 -0
  224. ptctools/portainer_client/openapi_client/docs/PortainerPerformanceMetrics.md +31 -0
  225. ptctools/portainer_client/openapi_client/docs/PortainerQuayRegistryData.md +30 -0
  226. ptctools/portainer_client/openapi_client/docs/PortainerRegistry.md +48 -0
  227. ptctools/portainer_client/openapi_client/docs/PortainerRegistryAccessPolicies.md +31 -0
  228. ptctools/portainer_client/openapi_client/docs/PortainerRegistryManagementConfiguration.md +36 -0
  229. ptctools/portainer_client/openapi_client/docs/PortainerRegistryType.md +26 -0
  230. ptctools/portainer_client/openapi_client/docs/PortainerResourceAccessLevel.md +12 -0
  231. ptctools/portainer_client/openapi_client/docs/PortainerResourceControl.md +39 -0
  232. ptctools/portainer_client/openapi_client/docs/PortainerResourceControlType.md +28 -0
  233. ptctools/portainer_client/openapi_client/docs/PortainerRole.md +33 -0
  234. ptctools/portainer_client/openapi_client/docs/PortainerSSLSettings.md +32 -0
  235. ptctools/portainer_client/openapi_client/docs/PortainerSettings.md +62 -0
  236. ptctools/portainer_client/openapi_client/docs/PortainerStack.md +48 -0
  237. ptctools/portainer_client/openapi_client/docs/PortainerStackDeploymentInfo.md +31 -0
  238. ptctools/portainer_client/openapi_client/docs/PortainerStackOption.md +29 -0
  239. ptctools/portainer_client/openapi_client/docs/PortainerStackStatus.md +14 -0
  240. ptctools/portainer_client/openapi_client/docs/PortainerStackType.md +16 -0
  241. ptctools/portainer_client/openapi_client/docs/PortainerTLSConfiguration.md +33 -0
  242. ptctools/portainer_client/openapi_client/docs/PortainerTag.md +32 -0
  243. ptctools/portainer_client/openapi_client/docs/PortainerTeam.md +30 -0
  244. ptctools/portainer_client/openapi_client/docs/PortainerTeamMembership.md +32 -0
  245. ptctools/portainer_client/openapi_client/docs/PortainerTeamResourceAccess.md +30 -0
  246. ptctools/portainer_client/openapi_client/docs/PortainerTemplate.md +52 -0
  247. ptctools/portainer_client/openapi_client/docs/PortainerTemplateEnv.md +34 -0
  248. ptctools/portainer_client/openapi_client/docs/PortainerTemplateEnvSelect.md +31 -0
  249. ptctools/portainer_client/openapi_client/docs/PortainerTemplateRepository.md +30 -0
  250. ptctools/portainer_client/openapi_client/docs/PortainerTemplateType.md +16 -0
  251. ptctools/portainer_client/openapi_client/docs/PortainerTemplateVolume.md +31 -0
  252. ptctools/portainer_client/openapi_client/docs/PortainerUser.md +37 -0
  253. ptctools/portainer_client/openapi_client/docs/PortainerUserResourceAccess.md +30 -0
  254. ptctools/portainer_client/openapi_client/docs/PortainerUserRole.md +14 -0
  255. ptctools/portainer_client/openapi_client/docs/PortainerUserThemeSettings.md +29 -0
  256. ptctools/portainer_client/openapi_client/docs/PortainerWebhook.md +34 -0
  257. ptctools/portainer_client/openapi_client/docs/PortainerWebhookType.md +12 -0
  258. ptctools/portainer_client/openapi_client/docs/RegistriesApi.md +554 -0
  259. ptctools/portainer_client/openapi_client/docs/RegistriesRegistryConfigurePayload.md +37 -0
  260. ptctools/portainer_client/openapi_client/docs/RegistriesRegistryCreatePayload.md +38 -0
  261. ptctools/portainer_client/openapi_client/docs/RegistriesRegistryUpdatePayload.md +37 -0
  262. ptctools/portainer_client/openapi_client/docs/ReleaseChart.md +34 -0
  263. ptctools/portainer_client/openapi_client/docs/ReleaseChartReference.md +31 -0
  264. ptctools/portainer_client/openapi_client/docs/ReleaseDependency.md +36 -0
  265. ptctools/portainer_client/openapi_client/docs/ReleaseFile.md +30 -0
  266. ptctools/portainer_client/openapi_client/docs/ReleaseLock.md +31 -0
  267. ptctools/portainer_client/openapi_client/docs/ReleaseMaintainer.md +31 -0
  268. ptctools/portainer_client/openapi_client/docs/ReleaseMetadata.md +45 -0
  269. ptctools/portainer_client/openapi_client/docs/ReleaseReleaseElement.md +35 -0
  270. ptctools/portainer_client/openapi_client/docs/ReleaseValues.md +30 -0
  271. ptctools/portainer_client/openapi_client/docs/ResourceControlsApi.md +283 -0
  272. ptctools/portainer_client/openapi_client/docs/ResourceQuantity.md +29 -0
  273. ptctools/portainer_client/openapi_client/docs/ResourcecontrolsResourceControlCreatePayload.md +35 -0
  274. ptctools/portainer_client/openapi_client/docs/ResourcecontrolsResourceControlUpdatePayload.md +32 -0
  275. ptctools/portainer_client/openapi_client/docs/RolesApi.md +93 -0
  276. ptctools/portainer_client/openapi_client/docs/SettingsApi.md +251 -0
  277. ptctools/portainer_client/openapi_client/docs/SettingsPublicSettingsResponse.md +42 -0
  278. ptctools/portainer_client/openapi_client/docs/SettingsPublicSettingsResponseEdge.md +32 -0
  279. ptctools/portainer_client/openapi_client/docs/SettingsSettingsUpdatePayload.md +47 -0
  280. ptctools/portainer_client/openapi_client/docs/SslApi.md +184 -0
  281. ptctools/portainer_client/openapi_client/docs/SslSslUpdatePayload.md +31 -0
  282. ptctools/portainer_client/openapi_client/docs/StacksApi.md +2064 -0
  283. ptctools/portainer_client/openapi_client/docs/StacksComposeStackFromFileContentPayload.md +32 -0
  284. ptctools/portainer_client/openapi_client/docs/StacksComposeStackFromGitRepositoryPayload.md +40 -0
  285. ptctools/portainer_client/openapi_client/docs/StacksKubernetesGitDeploymentPayload.md +40 -0
  286. ptctools/portainer_client/openapi_client/docs/StacksKubernetesManifestURLDeploymentPayload.md +32 -0
  287. ptctools/portainer_client/openapi_client/docs/StacksKubernetesStringDeploymentPayload.md +33 -0
  288. ptctools/portainer_client/openapi_client/docs/StacksStackFileResponse.md +29 -0
  289. ptctools/portainer_client/openapi_client/docs/StacksStackGitRedployPayload.md +37 -0
  290. ptctools/portainer_client/openapi_client/docs/StacksStackGitUpdatePayload.md +37 -0
  291. ptctools/portainer_client/openapi_client/docs/StacksStackMigratePayload.md +31 -0
  292. ptctools/portainer_client/openapi_client/docs/StacksSwarmStackFromFileContentPayload.md +33 -0
  293. ptctools/portainer_client/openapi_client/docs/StacksSwarmStackFromGitRepositoryPayload.md +41 -0
  294. ptctools/portainer_client/openapi_client/docs/StacksUpdateSwarmStackPayload.md +32 -0
  295. ptctools/portainer_client/openapi_client/docs/StatusApi.md +75 -0
  296. ptctools/portainer_client/openapi_client/docs/SwarmServiceUpdateResponse.md +29 -0
  297. ptctools/portainer_client/openapi_client/docs/SystemApi.md +392 -0
  298. ptctools/portainer_client/openapi_client/docs/SystemNodesCountResponse.md +29 -0
  299. ptctools/portainer_client/openapi_client/docs/SystemStatus.md +30 -0
  300. ptctools/portainer_client/openapi_client/docs/SystemSystemInfoResponse.md +31 -0
  301. ptctools/portainer_client/openapi_client/docs/SystemVersionResponse.md +37 -0
  302. ptctools/portainer_client/openapi_client/docs/TagsApi.md +273 -0
  303. ptctools/portainer_client/openapi_client/docs/TagsTagCreatePayload.md +29 -0
  304. ptctools/portainer_client/openapi_client/docs/TeamMembershipsApi.md +463 -0
  305. ptctools/portainer_client/openapi_client/docs/TeammembershipsTeamMembershipCreatePayload.md +31 -0
  306. ptctools/portainer_client/openapi_client/docs/TeammembershipsTeamMembershipUpdatePayload.md +31 -0
  307. ptctools/portainer_client/openapi_client/docs/TeamsApi.md +467 -0
  308. ptctools/portainer_client/openapi_client/docs/TeamsTeamCreatePayload.md +30 -0
  309. ptctools/portainer_client/openapi_client/docs/TeamsTeamUpdatePayload.md +29 -0
  310. ptctools/portainer_client/openapi_client/docs/TemplatesApi.md +183 -0
  311. ptctools/portainer_client/openapi_client/docs/TemplatesFileResponse.md +29 -0
  312. ptctools/portainer_client/openapi_client/docs/TemplatesListResponse.md +30 -0
  313. ptctools/portainer_client/openapi_client/docs/UnstructuredUnstructured.md +29 -0
  314. ptctools/portainer_client/openapi_client/docs/UploadApi.md +99 -0
  315. ptctools/portainer_client/openapi_client/docs/UsersAccessTokenResponse.md +30 -0
  316. ptctools/portainer_client/openapi_client/docs/UsersAddHelmRepoUrlPayload.md +29 -0
  317. ptctools/portainer_client/openapi_client/docs/UsersAdminInitPayload.md +30 -0
  318. ptctools/portainer_client/openapi_client/docs/UsersApi.md +1159 -0
  319. ptctools/portainer_client/openapi_client/docs/UsersHelmUserRepositoryResponse.md +30 -0
  320. ptctools/portainer_client/openapi_client/docs/UsersThemePayload.md +29 -0
  321. ptctools/portainer_client/openapi_client/docs/UsersUserAccessTokenCreatePayload.md +30 -0
  322. ptctools/portainer_client/openapi_client/docs/UsersUserCreatePayload.md +31 -0
  323. ptctools/portainer_client/openapi_client/docs/UsersUserUpdatePasswordPayload.md +30 -0
  324. ptctools/portainer_client/openapi_client/docs/UsersUserUpdatePayload.md +34 -0
  325. ptctools/portainer_client/openapi_client/docs/V1AppArmorProfile.md +30 -0
  326. ptctools/portainer_client/openapi_client/docs/V1AppArmorProfileType.md +14 -0
  327. ptctools/portainer_client/openapi_client/docs/V1CSIPersistentVolumeSource.md +38 -0
  328. ptctools/portainer_client/openapi_client/docs/V1Capabilities.md +30 -0
  329. ptctools/portainer_client/openapi_client/docs/V1ClientIPConfig.md +29 -0
  330. ptctools/portainer_client/openapi_client/docs/V1Condition.md +34 -0
  331. ptctools/portainer_client/openapi_client/docs/V1ConfigMapEnvSource.md +30 -0
  332. ptctools/portainer_client/openapi_client/docs/V1ConfigMapKeySelector.md +31 -0
  333. ptctools/portainer_client/openapi_client/docs/V1Container.md +52 -0
  334. ptctools/portainer_client/openapi_client/docs/V1ContainerPort.md +33 -0
  335. ptctools/portainer_client/openapi_client/docs/V1ContainerResizePolicy.md +30 -0
  336. ptctools/portainer_client/openapi_client/docs/V1ContainerRestartPolicy.md +10 -0
  337. ptctools/portainer_client/openapi_client/docs/V1Duration.md +29 -0
  338. ptctools/portainer_client/openapi_client/docs/V1EnvFromSource.md +31 -0
  339. ptctools/portainer_client/openapi_client/docs/V1EnvVar.md +31 -0
  340. ptctools/portainer_client/openapi_client/docs/V1EnvVarSource.md +32 -0
  341. ptctools/portainer_client/openapi_client/docs/V1ExecAction.md +29 -0
  342. ptctools/portainer_client/openapi_client/docs/V1GRPCAction.md +30 -0
  343. ptctools/portainer_client/openapi_client/docs/V1HTTPGetAction.md +33 -0
  344. ptctools/portainer_client/openapi_client/docs/V1HTTPHeader.md +30 -0
  345. ptctools/portainer_client/openapi_client/docs/V1IPFamily.md +14 -0
  346. ptctools/portainer_client/openapi_client/docs/V1IPFamilyPolicy.md +14 -0
  347. ptctools/portainer_client/openapi_client/docs/V1LabelSelector.md +30 -0
  348. ptctools/portainer_client/openapi_client/docs/V1LabelSelectorOperator.md +16 -0
  349. ptctools/portainer_client/openapi_client/docs/V1LabelSelectorRequirement.md +31 -0
  350. ptctools/portainer_client/openapi_client/docs/V1Lifecycle.md +31 -0
  351. ptctools/portainer_client/openapi_client/docs/V1LifecycleHandler.md +32 -0
  352. ptctools/portainer_client/openapi_client/docs/V1ListMeta.md +32 -0
  353. ptctools/portainer_client/openapi_client/docs/V1LoadBalancerIPMode.md +12 -0
  354. ptctools/portainer_client/openapi_client/docs/V1LoadBalancerIngress.md +32 -0
  355. ptctools/portainer_client/openapi_client/docs/V1LoadBalancerStatus.md +29 -0
  356. ptctools/portainer_client/openapi_client/docs/V1ManagedFieldsEntry.md +35 -0
  357. ptctools/portainer_client/openapi_client/docs/V1ManagedFieldsOperationType.md +12 -0
  358. ptctools/portainer_client/openapi_client/docs/V1MountPropagationMode.md +14 -0
  359. ptctools/portainer_client/openapi_client/docs/V1NamespaceCondition.md +33 -0
  360. ptctools/portainer_client/openapi_client/docs/V1NamespaceConditionType.md +18 -0
  361. ptctools/portainer_client/openapi_client/docs/V1NamespacePhase.md +12 -0
  362. ptctools/portainer_client/openapi_client/docs/V1NamespaceStatus.md +30 -0
  363. ptctools/portainer_client/openapi_client/docs/V1ObjectFieldSelector.md +30 -0
  364. ptctools/portainer_client/openapi_client/docs/V1ObjectMeta.md +43 -0
  365. ptctools/portainer_client/openapi_client/docs/V1ObjectReference.md +35 -0
  366. ptctools/portainer_client/openapi_client/docs/V1OwnerReference.md +34 -0
  367. ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeAccessMode.md +16 -0
  368. ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeClaimPhase.md +14 -0
  369. ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeMode.md +12 -0
  370. ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeReclaimPolicy.md +14 -0
  371. ptctools/portainer_client/openapi_client/docs/V1PortStatus.md +31 -0
  372. ptctools/portainer_client/openapi_client/docs/V1Probe.md +38 -0
  373. ptctools/portainer_client/openapi_client/docs/V1ProcMountType.md +12 -0
  374. ptctools/portainer_client/openapi_client/docs/V1Protocol.md +14 -0
  375. ptctools/portainer_client/openapi_client/docs/V1PullPolicy.md +14 -0
  376. ptctools/portainer_client/openapi_client/docs/V1RecursiveReadOnlyMode.md +14 -0
  377. ptctools/portainer_client/openapi_client/docs/V1ResourceClaim.md +30 -0
  378. ptctools/portainer_client/openapi_client/docs/V1ResourceFieldSelector.md +31 -0
  379. ptctools/portainer_client/openapi_client/docs/V1ResourceName.md +48 -0
  380. ptctools/portainer_client/openapi_client/docs/V1ResourceQuota.md +33 -0
  381. ptctools/portainer_client/openapi_client/docs/V1ResourceQuotaScope.md +22 -0
  382. ptctools/portainer_client/openapi_client/docs/V1ResourceQuotaSpec.md +31 -0
  383. ptctools/portainer_client/openapi_client/docs/V1ResourceQuotaStatus.md +30 -0
  384. ptctools/portainer_client/openapi_client/docs/V1ResourceRequirements.md +31 -0
  385. ptctools/portainer_client/openapi_client/docs/V1ResourceResizeRestartPolicy.md +12 -0
  386. ptctools/portainer_client/openapi_client/docs/V1RoleRef.md +31 -0
  387. ptctools/portainer_client/openapi_client/docs/V1SELinuxOptions.md +32 -0
  388. ptctools/portainer_client/openapi_client/docs/V1ScopeSelector.md +29 -0
  389. ptctools/portainer_client/openapi_client/docs/V1ScopeSelectorOperator.md +16 -0
  390. ptctools/portainer_client/openapi_client/docs/V1ScopedResourceSelectorRequirement.md +31 -0
  391. ptctools/portainer_client/openapi_client/docs/V1SeccompProfile.md +30 -0
  392. ptctools/portainer_client/openapi_client/docs/V1SeccompProfileType.md +14 -0
  393. ptctools/portainer_client/openapi_client/docs/V1SecretEnvSource.md +30 -0
  394. ptctools/portainer_client/openapi_client/docs/V1SecretKeySelector.md +31 -0
  395. ptctools/portainer_client/openapi_client/docs/V1SecretReference.md +30 -0
  396. ptctools/portainer_client/openapi_client/docs/V1SecurityContext.md +40 -0
  397. ptctools/portainer_client/openapi_client/docs/V1Service.md +33 -0
  398. ptctools/portainer_client/openapi_client/docs/V1ServiceAffinity.md +12 -0
  399. ptctools/portainer_client/openapi_client/docs/V1ServiceExternalTrafficPolicy.md +16 -0
  400. ptctools/portainer_client/openapi_client/docs/V1ServiceInternalTrafficPolicy.md +12 -0
  401. ptctools/portainer_client/openapi_client/docs/V1ServicePort.md +34 -0
  402. ptctools/portainer_client/openapi_client/docs/V1ServiceSpec.md +48 -0
  403. ptctools/portainer_client/openapi_client/docs/V1ServiceStatus.md +30 -0
  404. ptctools/portainer_client/openapi_client/docs/V1ServiceType.md +16 -0
  405. ptctools/portainer_client/openapi_client/docs/V1SessionAffinityConfig.md +29 -0
  406. ptctools/portainer_client/openapi_client/docs/V1Signal.md +138 -0
  407. ptctools/portainer_client/openapi_client/docs/V1SleepAction.md +29 -0
  408. ptctools/portainer_client/openapi_client/docs/V1TCPSocketAction.md +30 -0
  409. ptctools/portainer_client/openapi_client/docs/V1TerminationMessagePolicy.md +12 -0
  410. ptctools/portainer_client/openapi_client/docs/V1URIScheme.md +12 -0
  411. ptctools/portainer_client/openapi_client/docs/V1VolumeDevice.md +30 -0
  412. ptctools/portainer_client/openapi_client/docs/V1VolumeMount.md +35 -0
  413. ptctools/portainer_client/openapi_client/docs/V1WindowsSecurityContextOptions.md +32 -0
  414. ptctools/portainer_client/openapi_client/docs/V1beta1ContainerMetrics.md +30 -0
  415. ptctools/portainer_client/openapi_client/docs/V1beta1NodeMetrics.md +34 -0
  416. ptctools/portainer_client/openapi_client/docs/V1beta1NodeMetricsList.md +32 -0
  417. ptctools/portainer_client/openapi_client/docs/V1beta1PodMetrics.md +34 -0
  418. ptctools/portainer_client/openapi_client/docs/V1beta1PodMetricsList.md +32 -0
  419. ptctools/portainer_client/openapi_client/docs/V2ContainerResourceMetricSource.md +31 -0
  420. ptctools/portainer_client/openapi_client/docs/V2ContainerResourceMetricStatus.md +31 -0
  421. ptctools/portainer_client/openapi_client/docs/V2CrossVersionObjectReference.md +31 -0
  422. ptctools/portainer_client/openapi_client/docs/V2ExternalMetricSource.md +30 -0
  423. ptctools/portainer_client/openapi_client/docs/V2ExternalMetricStatus.md +30 -0
  424. ptctools/portainer_client/openapi_client/docs/V2HPAScalingPolicy.md +31 -0
  425. ptctools/portainer_client/openapi_client/docs/V2HPAScalingPolicyType.md +12 -0
  426. ptctools/portainer_client/openapi_client/docs/V2HPAScalingRules.md +32 -0
  427. ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscaler.md +33 -0
  428. ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerBehavior.md +30 -0
  429. ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerCondition.md +33 -0
  430. ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerConditionType.md +14 -0
  431. ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerSpec.md +33 -0
  432. ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerStatus.md +34 -0
  433. ptctools/portainer_client/openapi_client/docs/V2MetricIdentifier.md +30 -0
  434. ptctools/portainer_client/openapi_client/docs/V2MetricSourceType.md +18 -0
  435. ptctools/portainer_client/openapi_client/docs/V2MetricSpec.md +34 -0
  436. ptctools/portainer_client/openapi_client/docs/V2MetricStatus.md +34 -0
  437. ptctools/portainer_client/openapi_client/docs/V2MetricTarget.md +32 -0
  438. ptctools/portainer_client/openapi_client/docs/V2MetricTargetType.md +14 -0
  439. ptctools/portainer_client/openapi_client/docs/V2MetricValueStatus.md +31 -0
  440. ptctools/portainer_client/openapi_client/docs/V2ObjectMetricSource.md +31 -0
  441. ptctools/portainer_client/openapi_client/docs/V2ObjectMetricStatus.md +31 -0
  442. ptctools/portainer_client/openapi_client/docs/V2PodsMetricSource.md +30 -0
  443. ptctools/portainer_client/openapi_client/docs/V2PodsMetricStatus.md +30 -0
  444. ptctools/portainer_client/openapi_client/docs/V2ResourceMetricSource.md +30 -0
  445. ptctools/portainer_client/openapi_client/docs/V2ResourceMetricStatus.md +30 -0
  446. ptctools/portainer_client/openapi_client/docs/V2ScalingPolicySelect.md +14 -0
  447. ptctools/portainer_client/openapi_client/docs/WebhooksApi.md +436 -0
  448. ptctools/portainer_client/openapi_client/docs/WebhooksWebhookCreatePayload.md +32 -0
  449. ptctools/portainer_client/openapi_client/docs/WebhooksWebhookUpdatePayload.md +29 -0
  450. ptctools/portainer_client/openapi_client/docs/WebsocketApi.md +385 -0
  451. ptctools/portainer_client/openapi_client/exceptions.py +220 -0
  452. ptctools/portainer_client/openapi_client/models/__init__.py +389 -0
  453. ptctools/portainer_client/openapi_client/models/auth_authenticate_payload.py +90 -0
  454. ptctools/portainer_client/openapi_client/models/auth_authenticate_response.py +88 -0
  455. ptctools/portainer_client/openapi_client/models/auth_oauth_payload.py +88 -0
  456. ptctools/portainer_client/openapi_client/models/backup_backup_payload.py +88 -0
  457. ptctools/portainer_client/openapi_client/models/backup_restore_payload.py +92 -0
  458. ptctools/portainer_client/openapi_client/models/build_build_info.py +100 -0
  459. ptctools/portainer_client/openapi_client/models/build_dependencies_info.py +94 -0
  460. ptctools/portainer_client/openapi_client/models/build_runtime_info.py +88 -0
  461. ptctools/portainer_client/openapi_client/models/containers_container_gpus_response.py +88 -0
  462. ptctools/portainer_client/openapi_client/models/customtemplates_custom_template_from_file_content_payload.py +114 -0
  463. ptctools/portainer_client/openapi_client/models/customtemplates_custom_template_from_git_repository_payload.py +128 -0
  464. ptctools/portainer_client/openapi_client/models/customtemplates_custom_template_update_payload.py +135 -0
  465. ptctools/portainer_client/openapi_client/models/customtemplates_file_response.py +88 -0
  466. ptctools/portainer_client/openapi_client/models/docker_container_stats.py +96 -0
  467. ptctools/portainer_client/openapi_client/models/docker_dashboard_response.py +106 -0
  468. ptctools/portainer_client/openapi_client/models/docker_images_counters.py +90 -0
  469. ptctools/portainer_client/openapi_client/models/edge_deployer_options_payload.py +90 -0
  470. ptctools/portainer_client/openapi_client/models/edge_registry_credentials.py +92 -0
  471. ptctools/portainer_client/openapi_client/models/edge_stack_payload.py +154 -0
  472. ptctools/portainer_client/openapi_client/models/edgegroups_decorated_edge_group.py +109 -0
  473. ptctools/portainer_client/openapi_client/models/edgegroups_edge_group_create_payload.py +96 -0
  474. ptctools/portainer_client/openapi_client/models/edgegroups_edge_group_update_payload.py +96 -0
  475. ptctools/portainer_client/openapi_client/models/edgejobs_edge_job_create_from_file_content_payload.py +98 -0
  476. ptctools/portainer_client/openapi_client/models/edgejobs_edge_job_file_response.py +88 -0
  477. ptctools/portainer_client/openapi_client/models/edgejobs_edge_job_update_payload.py +98 -0
  478. ptctools/portainer_client/openapi_client/models/edgejobs_file_response.py +88 -0
  479. ptctools/portainer_client/openapi_client/models/edgejobs_task_container.py +95 -0
  480. ptctools/portainer_client/openapi_client/models/edgestacks_edge_stack_from_git_repository_payload.py +114 -0
  481. ptctools/portainer_client/openapi_client/models/edgestacks_edge_stack_from_string_payload.py +99 -0
  482. ptctools/portainer_client/openapi_client/models/edgestacks_stack_file_response.py +88 -0
  483. ptctools/portainer_client/openapi_client/models/edgestacks_update_edge_stack_payload.py +97 -0
  484. ptctools/portainer_client/openapi_client/models/edgestacks_update_status_payload.py +97 -0
  485. ptctools/portainer_client/openapi_client/models/endpointedge_edge_job_response.py +96 -0
  486. ptctools/portainer_client/openapi_client/models/endpointedge_endpoint_edge_status_inspect_response.py +114 -0
  487. ptctools/portainer_client/openapi_client/models/endpointedge_stack_status_response.py +90 -0
  488. ptctools/portainer_client/openapi_client/models/endpointgroups_endpoint_group_create_payload.py +94 -0
  489. ptctools/portainer_client/openapi_client/models/endpointgroups_endpoint_group_update_payload.py +121 -0
  490. ptctools/portainer_client/openapi_client/models/endpoints_dockerhub_status_response.py +90 -0
  491. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_create_global_key_response.py +88 -0
  492. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_delete_batch_partial_response.py +90 -0
  493. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_delete_batch_payload.py +96 -0
  494. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_delete_request.py +90 -0
  495. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_settings_update_payload.py +116 -0
  496. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_update_payload.py +157 -0
  497. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_update_relations_payload.py +101 -0
  498. ptctools/portainer_client/openapi_client/models/endpoints_endpoint_update_relations_payload_relations_value.py +92 -0
  499. ptctools/portainer_client/openapi_client/models/endpoints_force_update_service_payload.py +90 -0
  500. ptctools/portainer_client/openapi_client/models/endpoints_registry_access_payload.py +117 -0
  501. ptctools/portainer_client/openapi_client/models/filesystem_dir_entry.py +95 -0
  502. ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_hook.py +106 -0
  503. ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_hook_execution.py +92 -0
  504. ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_info.py +108 -0
  505. ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_release.py +132 -0
  506. ptctools/portainer_client/openapi_client/models/gitops_file_response.py +88 -0
  507. ptctools/portainer_client/openapi_client/models/gitops_repository_file_preview_payload.py +101 -0
  508. ptctools/portainer_client/openapi_client/models/gittypes_git_authentication.py +95 -0
  509. ptctools/portainer_client/openapi_client/models/gittypes_git_credential_auth_type.py +38 -0
  510. ptctools/portainer_client/openapi_client/models/gittypes_repo_config.py +102 -0
  511. ptctools/portainer_client/openapi_client/models/helm_install_chart_payload.py +100 -0
  512. ptctools/portainer_client/openapi_client/models/images_image_response.py +98 -0
  513. ptctools/portainer_client/openapi_client/models/intstr_int_or_string.py +93 -0
  514. ptctools/portainer_client/openapi_client/models/intstr_type.py +38 -0
  515. ptctools/portainer_client/openapi_client/models/k8s_io_api_core_v1_condition_status.py +39 -0
  516. ptctools/portainer_client/openapi_client/models/k8s_io_api_rbac_v1_subject.py +94 -0
  517. ptctools/portainer_client/openapi_client/models/k8s_io_apimachinery_pkg_apis_meta_v1_condition_status.py +39 -0
  518. ptctools/portainer_client/openapi_client/models/kubernetes_configuration.py +92 -0
  519. ptctools/portainer_client/openapi_client/models/kubernetes_custom_resource_metadata.py +92 -0
  520. ptctools/portainer_client/openapi_client/models/kubernetes_describe_resource_response.py +88 -0
  521. ptctools/portainer_client/openapi_client/models/kubernetes_ingress_rule.py +102 -0
  522. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_application.py +198 -0
  523. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_application_resource.py +94 -0
  524. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_cluster_role.py +94 -0
  525. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_cluster_role_binding.py +112 -0
  526. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_config_map.py +116 -0
  527. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_configuration_owner_resource.py +92 -0
  528. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_cron_job.py +112 -0
  529. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_dashboard.py +100 -0
  530. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_event.py +114 -0
  531. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_event_involved_object.py +94 -0
  532. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_controller.py +98 -0
  533. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_info.py +124 -0
  534. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_path.py +100 -0
  535. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_tls.py +90 -0
  536. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_job.py +118 -0
  537. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_namespace_details.py +98 -0
  538. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_persistent_volume.py +128 -0
  539. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_persistent_volume_claim.py +136 -0
  540. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_resource_quota.py +92 -0
  541. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_role.py +96 -0
  542. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_role_binding.py +112 -0
  543. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_secret.py +118 -0
  544. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_account.py +96 -0
  545. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_info.py +140 -0
  546. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_ingress.py +90 -0
  547. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_port.py +96 -0
  548. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_storage_class.py +95 -0
  549. ptctools/portainer_client/openapi_client/models/kubernetes_k8s_volume_info.py +104 -0
  550. ptctools/portainer_client/openapi_client/models/kubernetes_metadata.py +90 -0
  551. ptctools/portainer_client/openapi_client/models/kubernetes_namespaces_toggle_system_payload.py +88 -0
  552. ptctools/portainer_client/openapi_client/models/kubernetes_pod.py +110 -0
  553. ptctools/portainer_client/openapi_client/models/kubernetes_published_port.py +98 -0
  554. ptctools/portainer_client/openapi_client/models/kubernetes_tls_info.py +88 -0
  555. ptctools/portainer_client/openapi_client/models/ldap_check_payload.py +92 -0
  556. ptctools/portainer_client/openapi_client/models/motd_motd_response.py +96 -0
  557. ptctools/portainer_client/openapi_client/models/oauth2_auth_style.py +39 -0
  558. ptctools/portainer_client/openapi_client/models/openamt_device_action_payload.py +88 -0
  559. ptctools/portainer_client/openapi_client/models/openamt_device_features_payload.py +92 -0
  560. ptctools/portainer_client/openapi_client/models/openamt_open_amt_configure_payload.py +102 -0
  561. ptctools/portainer_client/openapi_client/models/os_file_mode.py +51 -0
  562. ptctools/portainer_client/openapi_client/models/platform_container_platform.py +41 -0
  563. ptctools/portainer_client/openapi_client/models/portainer_access_policy.py +88 -0
  564. ptctools/portainer_client/openapi_client/models/portainer_api_key.py +100 -0
  565. ptctools/portainer_client/openapi_client/models/portainer_authentication_method.py +40 -0
  566. ptctools/portainer_client/openapi_client/models/portainer_auto_update_settings.py +96 -0
  567. ptctools/portainer_client/openapi_client/models/portainer_azure_credentials.py +92 -0
  568. ptctools/portainer_client/openapi_client/models/portainer_custom_template.py +134 -0
  569. ptctools/portainer_client/openapi_client/models/portainer_custom_template_platform.py +39 -0
  570. ptctools/portainer_client/openapi_client/models/portainer_custom_template_variable_definition.py +94 -0
  571. ptctools/portainer_client/openapi_client/models/portainer_diagnostics_data.py +94 -0
  572. ptctools/portainer_client/openapi_client/models/portainer_docker_snapshot.py +136 -0
  573. ptctools/portainer_client/openapi_client/models/portainer_ecr_data.py +88 -0
  574. ptctools/portainer_client/openapi_client/models/portainer_edge.py +94 -0
  575. ptctools/portainer_client/openapi_client/models/portainer_edge_group.py +100 -0
  576. ptctools/portainer_client/openapi_client/models/portainer_edge_job.py +131 -0
  577. ptctools/portainer_client/openapi_client/models/portainer_edge_job_endpoint_meta.py +91 -0
  578. ptctools/portainer_client/openapi_client/models/portainer_edge_job_logs_status.py +40 -0
  579. ptctools/portainer_client/openapi_client/models/portainer_edge_stack.py +124 -0
  580. ptctools/portainer_client/openapi_client/models/portainer_edge_stack_deployment_status.py +97 -0
  581. ptctools/portainer_client/openapi_client/models/portainer_edge_stack_deployment_type.py +38 -0
  582. ptctools/portainer_client/openapi_client/models/portainer_edge_stack_status.py +117 -0
  583. ptctools/portainer_client/openapi_client/models/portainer_edge_stack_status_details.py +100 -0
  584. ptctools/portainer_client/openapi_client/models/portainer_edge_stack_status_type.py +50 -0
  585. ptctools/portainer_client/openapi_client/models/portainer_endpoint.py +233 -0
  586. ptctools/portainer_client/openapi_client/models/portainer_endpoint_agent.py +88 -0
  587. ptctools/portainer_client/openapi_client/models/portainer_endpoint_group.py +139 -0
  588. ptctools/portainer_client/openapi_client/models/portainer_endpoint_post_init_migrations.py +90 -0
  589. ptctools/portainer_client/openapi_client/models/portainer_endpoint_security_settings.py +104 -0
  590. ptctools/portainer_client/openapi_client/models/portainer_endpoint_status.py +39 -0
  591. ptctools/portainer_client/openapi_client/models/portainer_endpoint_type.py +44 -0
  592. ptctools/portainer_client/openapi_client/models/portainer_environment_edge_settings.py +94 -0
  593. ptctools/portainer_client/openapi_client/models/portainer_github_registry_data.py +90 -0
  594. ptctools/portainer_client/openapi_client/models/portainer_gitlab_registry_data.py +92 -0
  595. ptctools/portainer_client/openapi_client/models/portainer_global_deployment_options.py +88 -0
  596. ptctools/portainer_client/openapi_client/models/portainer_helm_user_repository.py +92 -0
  597. ptctools/portainer_client/openapi_client/models/portainer_internal_auth_settings.py +88 -0
  598. ptctools/portainer_client/openapi_client/models/portainer_k8s_namespace_info.py +114 -0
  599. ptctools/portainer_client/openapi_client/models/portainer_k8s_node_limits.py +90 -0
  600. ptctools/portainer_client/openapi_client/models/portainer_kubernetes_configuration.py +120 -0
  601. ptctools/portainer_client/openapi_client/models/portainer_kubernetes_data.py +108 -0
  602. ptctools/portainer_client/openapi_client/models/portainer_kubernetes_flags.py +92 -0
  603. ptctools/portainer_client/openapi_client/models/portainer_kubernetes_ingress_class_config.py +94 -0
  604. ptctools/portainer_client/openapi_client/models/portainer_kubernetes_snapshot.py +108 -0
  605. ptctools/portainer_client/openapi_client/models/portainer_kubernetes_storage_class_config.py +94 -0
  606. ptctools/portainer_client/openapi_client/models/portainer_ldap_group_search_settings.py +92 -0
  607. ptctools/portainer_client/openapi_client/models/portainer_ldap_search_settings.py +92 -0
  608. ptctools/portainer_client/openapi_client/models/portainer_ldap_settings.py +124 -0
  609. ptctools/portainer_client/openapi_client/models/portainer_membership_role.py +39 -0
  610. ptctools/portainer_client/openapi_client/models/portainer_o_auth_settings.py +115 -0
  611. ptctools/portainer_client/openapi_client/models/portainer_open_amt_configuration.py +104 -0
  612. ptctools/portainer_client/openapi_client/models/portainer_open_amt_device_enabled_features.py +96 -0
  613. ptctools/portainer_client/openapi_client/models/portainer_pair.py +90 -0
  614. ptctools/portainer_client/openapi_client/models/portainer_performance_metrics.py +92 -0
  615. ptctools/portainer_client/openapi_client/models/portainer_quay_registry_data.py +90 -0
  616. ptctools/portainer_client/openapi_client/models/portainer_registry.py +185 -0
  617. ptctools/portainer_client/openapi_client/models/portainer_registry_access_policies.py +117 -0
  618. ptctools/portainer_client/openapi_client/models/portainer_registry_management_configuration.py +111 -0
  619. ptctools/portainer_client/openapi_client/models/portainer_registry_type.py +45 -0
  620. ptctools/portainer_client/openapi_client/models/portainer_resource_access_level.py +38 -0
  621. ptctools/portainer_client/openapi_client/models/portainer_resource_control.py +126 -0
  622. ptctools/portainer_client/openapi_client/models/portainer_resource_control_type.py +46 -0
  623. ptctools/portainer_client/openapi_client/models/portainer_role.py +96 -0
  624. ptctools/portainer_client/openapi_client/models/portainer_settings.py +187 -0
  625. ptctools/portainer_client/openapi_client/models/portainer_ssl_settings.py +94 -0
  626. ptctools/portainer_client/openapi_client/models/portainer_stack.py +152 -0
  627. ptctools/portainer_client/openapi_client/models/portainer_stack_deployment_info.py +92 -0
  628. ptctools/portainer_client/openapi_client/models/portainer_stack_option.py +88 -0
  629. ptctools/portainer_client/openapi_client/models/portainer_stack_status.py +39 -0
  630. ptctools/portainer_client/openapi_client/models/portainer_stack_type.py +40 -0
  631. ptctools/portainer_client/openapi_client/models/portainer_tag.py +94 -0
  632. ptctools/portainer_client/openapi_client/models/portainer_team.py +90 -0
  633. ptctools/portainer_client/openapi_client/models/portainer_team_membership.py +95 -0
  634. ptctools/portainer_client/openapi_client/models/portainer_team_resource_access.py +91 -0
  635. ptctools/portainer_client/openapi_client/models/portainer_template.py +163 -0
  636. ptctools/portainer_client/openapi_client/models/portainer_template_env.py +106 -0
  637. ptctools/portainer_client/openapi_client/models/portainer_template_env_select.py +92 -0
  638. ptctools/portainer_client/openapi_client/models/portainer_template_repository.py +90 -0
  639. ptctools/portainer_client/openapi_client/models/portainer_template_type.py +40 -0
  640. ptctools/portainer_client/openapi_client/models/portainer_template_volume.py +92 -0
  641. ptctools/portainer_client/openapi_client/models/portainer_tls_configuration.py +96 -0
  642. ptctools/portainer_client/openapi_client/models/portainer_user.py +109 -0
  643. ptctools/portainer_client/openapi_client/models/portainer_user_resource_access.py +91 -0
  644. ptctools/portainer_client/openapi_client/models/portainer_user_role.py +39 -0
  645. ptctools/portainer_client/openapi_client/models/portainer_user_theme_settings.py +98 -0
  646. ptctools/portainer_client/openapi_client/models/portainer_webhook.py +99 -0
  647. ptctools/portainer_client/openapi_client/models/portainer_webhook_type.py +38 -0
  648. ptctools/portainer_client/openapi_client/models/registries_registry_configure_payload.py +104 -0
  649. ptctools/portainer_client/openapi_client/models/registries_registry_create_payload.py +119 -0
  650. ptctools/portainer_client/openapi_client/models/registries_registry_update_payload.py +125 -0
  651. ptctools/portainer_client/openapi_client/models/release_chart.py +121 -0
  652. ptctools/portainer_client/openapi_client/models/release_chart_reference.py +92 -0
  653. ptctools/portainer_client/openapi_client/models/release_dependency.py +102 -0
  654. ptctools/portainer_client/openapi_client/models/release_file.py +90 -0
  655. ptctools/portainer_client/openapi_client/models/release_lock.py +100 -0
  656. ptctools/portainer_client/openapi_client/models/release_maintainer.py +92 -0
  657. ptctools/portainer_client/openapi_client/models/release_metadata.py +136 -0
  658. ptctools/portainer_client/openapi_client/models/release_release_element.py +100 -0
  659. ptctools/portainer_client/openapi_client/models/release_values.py +90 -0
  660. ptctools/portainer_client/openapi_client/models/resource_quantity.py +98 -0
  661. ptctools/portainer_client/openapi_client/models/resourcecontrols_resource_control_create_payload.py +101 -0
  662. ptctools/portainer_client/openapi_client/models/resourcecontrols_resource_control_update_payload.py +94 -0
  663. ptctools/portainer_client/openapi_client/models/settings_public_settings_response.py +123 -0
  664. ptctools/portainer_client/openapi_client/models/settings_public_settings_response_edge.py +94 -0
  665. ptctools/portainer_client/openapi_client/models/settings_settings_update_payload.py +148 -0
  666. ptctools/portainer_client/openapi_client/models/ssl_ssl_update_payload.py +92 -0
  667. ptctools/portainer_client/openapi_client/models/stacks_compose_stack_from_file_content_payload.py +102 -0
  668. ptctools/portainer_client/openapi_client/models/stacks_compose_stack_from_git_repository_payload.py +122 -0
  669. ptctools/portainer_client/openapi_client/models/stacks_kubernetes_git_deployment_payload.py +114 -0
  670. ptctools/portainer_client/openapi_client/models/stacks_kubernetes_manifest_url_deployment_payload.py +94 -0
  671. ptctools/portainer_client/openapi_client/models/stacks_kubernetes_string_deployment_payload.py +96 -0
  672. ptctools/portainer_client/openapi_client/models/stacks_stack_file_response.py +88 -0
  673. ptctools/portainer_client/openapi_client/models/stacks_stack_git_redploy_payload.py +113 -0
  674. ptctools/portainer_client/openapi_client/models/stacks_stack_git_update_payload.py +117 -0
  675. ptctools/portainer_client/openapi_client/models/stacks_stack_migrate_payload.py +92 -0
  676. ptctools/portainer_client/openapi_client/models/stacks_swarm_stack_from_file_content_payload.py +104 -0
  677. ptctools/portainer_client/openapi_client/models/stacks_swarm_stack_from_git_repository_payload.py +124 -0
  678. ptctools/portainer_client/openapi_client/models/stacks_update_swarm_stack_payload.py +102 -0
  679. ptctools/portainer_client/openapi_client/models/swarm_service_update_response.py +88 -0
  680. ptctools/portainer_client/openapi_client/models/system_nodes_count_response.py +88 -0
  681. ptctools/portainer_client/openapi_client/models/system_status.py +90 -0
  682. ptctools/portainer_client/openapi_client/models/system_system_info_response.py +93 -0
  683. ptctools/portainer_client/openapi_client/models/system_version_response.py +116 -0
  684. ptctools/portainer_client/openapi_client/models/tags_tag_create_payload.py +88 -0
  685. ptctools/portainer_client/openapi_client/models/teammemberships_team_membership_create_payload.py +92 -0
  686. ptctools/portainer_client/openapi_client/models/teammemberships_team_membership_update_payload.py +92 -0
  687. ptctools/portainer_client/openapi_client/models/teams_team_create_payload.py +90 -0
  688. ptctools/portainer_client/openapi_client/models/teams_team_update_payload.py +88 -0
  689. ptctools/portainer_client/openapi_client/models/templates_file_response.py +88 -0
  690. ptctools/portainer_client/openapi_client/models/templates_list_response.py +98 -0
  691. ptctools/portainer_client/openapi_client/models/unstructured_unstructured.py +88 -0
  692. ptctools/portainer_client/openapi_client/models/users_access_token_response.py +94 -0
  693. ptctools/portainer_client/openapi_client/models/users_add_helm_repo_url_payload.py +88 -0
  694. ptctools/portainer_client/openapi_client/models/users_admin_init_payload.py +90 -0
  695. ptctools/portainer_client/openapi_client/models/users_helm_user_repository_response.py +98 -0
  696. ptctools/portainer_client/openapi_client/models/users_theme_payload.py +98 -0
  697. ptctools/portainer_client/openapi_client/models/users_user_access_token_create_payload.py +90 -0
  698. ptctools/portainer_client/openapi_client/models/users_user_create_payload.py +92 -0
  699. ptctools/portainer_client/openapi_client/models/users_user_update_password_payload.py +90 -0
  700. ptctools/portainer_client/openapi_client/models/users_user_update_payload.py +102 -0
  701. ptctools/portainer_client/openapi_client/models/v1_app_armor_profile.py +91 -0
  702. ptctools/portainer_client/openapi_client/models/v1_app_armor_profile_type.py +39 -0
  703. ptctools/portainer_client/openapi_client/models/v1_capabilities.py +90 -0
  704. ptctools/portainer_client/openapi_client/models/v1_client_ip_config.py +88 -0
  705. ptctools/portainer_client/openapi_client/models/v1_condition.py +99 -0
  706. ptctools/portainer_client/openapi_client/models/v1_config_map_env_source.py +90 -0
  707. ptctools/portainer_client/openapi_client/models/v1_config_map_key_selector.py +92 -0
  708. ptctools/portainer_client/openapi_client/models/v1_container.py +207 -0
  709. ptctools/portainer_client/openapi_client/models/v1_container_port.py +97 -0
  710. ptctools/portainer_client/openapi_client/models/v1_container_resize_policy.py +92 -0
  711. ptctools/portainer_client/openapi_client/models/v1_container_restart_policy.py +37 -0
  712. ptctools/portainer_client/openapi_client/models/v1_csi_persistent_volume_source.py +122 -0
  713. ptctools/portainer_client/openapi_client/models/v1_duration.py +88 -0
  714. ptctools/portainer_client/openapi_client/models/v1_env_from_source.py +100 -0
  715. ptctools/portainer_client/openapi_client/models/v1_env_var.py +96 -0
  716. ptctools/portainer_client/openapi_client/models/v1_env_var_source.py +110 -0
  717. ptctools/portainer_client/openapi_client/models/v1_exec_action.py +88 -0
  718. ptctools/portainer_client/openapi_client/models/v1_grpc_action.py +90 -0
  719. ptctools/portainer_client/openapi_client/models/v1_http_get_action.py +109 -0
  720. ptctools/portainer_client/openapi_client/models/v1_http_header.py +90 -0
  721. ptctools/portainer_client/openapi_client/models/v1_ip_family.py +39 -0
  722. ptctools/portainer_client/openapi_client/models/v1_ip_family_policy.py +39 -0
  723. ptctools/portainer_client/openapi_client/models/v1_label_selector.py +98 -0
  724. ptctools/portainer_client/openapi_client/models/v1_label_selector_operator.py +40 -0
  725. ptctools/portainer_client/openapi_client/models/v1_label_selector_requirement.py +93 -0
  726. ptctools/portainer_client/openapi_client/models/v1_lifecycle.py +100 -0
  727. ptctools/portainer_client/openapi_client/models/v1_lifecycle_handler.py +110 -0
  728. ptctools/portainer_client/openapi_client/models/v1_list_meta.py +94 -0
  729. ptctools/portainer_client/openapi_client/models/v1_load_balancer_ingress.py +103 -0
  730. ptctools/portainer_client/openapi_client/models/v1_load_balancer_ip_mode.py +38 -0
  731. ptctools/portainer_client/openapi_client/models/v1_load_balancer_status.py +96 -0
  732. ptctools/portainer_client/openapi_client/models/v1_managed_fields_entry.py +101 -0
  733. ptctools/portainer_client/openapi_client/models/v1_managed_fields_operation_type.py +38 -0
  734. ptctools/portainer_client/openapi_client/models/v1_mount_propagation_mode.py +39 -0
  735. ptctools/portainer_client/openapi_client/models/v1_namespace_condition.py +98 -0
  736. ptctools/portainer_client/openapi_client/models/v1_namespace_condition_type.py +41 -0
  737. ptctools/portainer_client/openapi_client/models/v1_namespace_phase.py +38 -0
  738. ptctools/portainer_client/openapi_client/models/v1_namespace_status.py +99 -0
  739. ptctools/portainer_client/openapi_client/models/v1_object_field_selector.py +90 -0
  740. ptctools/portainer_client/openapi_client/models/v1_object_meta.py +132 -0
  741. ptctools/portainer_client/openapi_client/models/v1_object_reference.py +100 -0
  742. ptctools/portainer_client/openapi_client/models/v1_owner_reference.py +98 -0
  743. ptctools/portainer_client/openapi_client/models/v1_persistent_volume_access_mode.py +40 -0
  744. ptctools/portainer_client/openapi_client/models/v1_persistent_volume_claim_phase.py +39 -0
  745. ptctools/portainer_client/openapi_client/models/v1_persistent_volume_mode.py +38 -0
  746. ptctools/portainer_client/openapi_client/models/v1_persistent_volume_reclaim_policy.py +39 -0
  747. ptctools/portainer_client/openapi_client/models/v1_port_status.py +93 -0
  748. ptctools/portainer_client/openapi_client/models/v1_probe.py +122 -0
  749. ptctools/portainer_client/openapi_client/models/v1_proc_mount_type.py +38 -0
  750. ptctools/portainer_client/openapi_client/models/v1_protocol.py +39 -0
  751. ptctools/portainer_client/openapi_client/models/v1_pull_policy.py +39 -0
  752. ptctools/portainer_client/openapi_client/models/v1_recursive_read_only_mode.py +39 -0
  753. ptctools/portainer_client/openapi_client/models/v1_resource_claim.py +90 -0
  754. ptctools/portainer_client/openapi_client/models/v1_resource_field_selector.py +96 -0
  755. ptctools/portainer_client/openapi_client/models/v1_resource_name.py +56 -0
  756. ptctools/portainer_client/openapi_client/models/v1_resource_quota.py +108 -0
  757. ptctools/portainer_client/openapi_client/models/v1_resource_quota_scope.py +43 -0
  758. ptctools/portainer_client/openapi_client/models/v1_resource_quota_spec.py +110 -0
  759. ptctools/portainer_client/openapi_client/models/v1_resource_quota_status.py +115 -0
  760. ptctools/portainer_client/openapi_client/models/v1_resource_requirements.py +125 -0
  761. ptctools/portainer_client/openapi_client/models/v1_resource_resize_restart_policy.py +38 -0
  762. ptctools/portainer_client/openapi_client/models/v1_role_ref.py +92 -0
  763. ptctools/portainer_client/openapi_client/models/v1_scope_selector.py +96 -0
  764. ptctools/portainer_client/openapi_client/models/v1_scope_selector_operator.py +40 -0
  765. ptctools/portainer_client/openapi_client/models/v1_scoped_resource_selector_requirement.py +94 -0
  766. ptctools/portainer_client/openapi_client/models/v1_se_linux_options.py +94 -0
  767. ptctools/portainer_client/openapi_client/models/v1_seccomp_profile.py +91 -0
  768. ptctools/portainer_client/openapi_client/models/v1_seccomp_profile_type.py +39 -0
  769. ptctools/portainer_client/openapi_client/models/v1_secret_env_source.py +90 -0
  770. ptctools/portainer_client/openapi_client/models/v1_secret_key_selector.py +92 -0
  771. ptctools/portainer_client/openapi_client/models/v1_secret_reference.py +90 -0
  772. ptctools/portainer_client/openapi_client/models/v1_security_context.py +131 -0
  773. ptctools/portainer_client/openapi_client/models/v1_service.py +108 -0
  774. ptctools/portainer_client/openapi_client/models/v1_service_affinity.py +38 -0
  775. ptctools/portainer_client/openapi_client/models/v1_service_external_traffic_policy.py +40 -0
  776. ptctools/portainer_client/openapi_client/models/v1_service_internal_traffic_policy.py +38 -0
  777. ptctools/portainer_client/openapi_client/models/v1_service_port.py +103 -0
  778. ptctools/portainer_client/openapi_client/models/v1_service_spec.py +144 -0
  779. ptctools/portainer_client/openapi_client/models/v1_service_status.py +102 -0
  780. ptctools/portainer_client/openapi_client/models/v1_service_type.py +40 -0
  781. ptctools/portainer_client/openapi_client/models/v1_session_affinity_config.py +92 -0
  782. ptctools/portainer_client/openapi_client/models/v1_signal.py +101 -0
  783. ptctools/portainer_client/openapi_client/models/v1_sleep_action.py +88 -0
  784. ptctools/portainer_client/openapi_client/models/v1_tcp_socket_action.py +94 -0
  785. ptctools/portainer_client/openapi_client/models/v1_termination_message_policy.py +38 -0
  786. ptctools/portainer_client/openapi_client/models/v1_uri_scheme.py +38 -0
  787. ptctools/portainer_client/openapi_client/models/v1_volume_device.py +90 -0
  788. ptctools/portainer_client/openapi_client/models/v1_volume_mount.py +102 -0
  789. ptctools/portainer_client/openapi_client/models/v1_windows_security_context_options.py +94 -0
  790. ptctools/portainer_client/openapi_client/models/v1beta1_container_metrics.py +103 -0
  791. ptctools/portainer_client/openapi_client/models/v1beta1_node_metrics.py +119 -0
  792. ptctools/portainer_client/openapi_client/models/v1beta1_node_metrics_list.py +106 -0
  793. ptctools/portainer_client/openapi_client/models/v1beta1_pod_metrics.py +114 -0
  794. ptctools/portainer_client/openapi_client/models/v1beta1_pod_metrics_list.py +106 -0
  795. ptctools/portainer_client/openapi_client/models/v2_container_resource_metric_source.py +97 -0
  796. ptctools/portainer_client/openapi_client/models/v2_container_resource_metric_status.py +97 -0
  797. ptctools/portainer_client/openapi_client/models/v2_cross_version_object_reference.py +92 -0
  798. ptctools/portainer_client/openapi_client/models/v2_external_metric_source.py +98 -0
  799. ptctools/portainer_client/openapi_client/models/v2_external_metric_status.py +98 -0
  800. ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler.py +108 -0
  801. ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_behavior.py +97 -0
  802. ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_condition.py +98 -0
  803. ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_condition_type.py +39 -0
  804. ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_spec.py +112 -0
  805. ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_status.py +114 -0
  806. ptctools/portainer_client/openapi_client/models/v2_hpa_scaling_policy.py +93 -0
  807. ptctools/portainer_client/openapi_client/models/v2_hpa_scaling_policy_type.py +38 -0
  808. ptctools/portainer_client/openapi_client/models/v2_hpa_scaling_rules.py +107 -0
  809. ptctools/portainer_client/openapi_client/models/v2_metric_identifier.py +94 -0
  810. ptctools/portainer_client/openapi_client/models/v2_metric_source_type.py +41 -0
  811. ptctools/portainer_client/openapi_client/models/v2_metric_spec.py +119 -0
  812. ptctools/portainer_client/openapi_client/models/v2_metric_status.py +119 -0
  813. ptctools/portainer_client/openapi_client/models/v2_metric_target.py +102 -0
  814. ptctools/portainer_client/openapi_client/models/v2_metric_target_type.py +39 -0
  815. ptctools/portainer_client/openapi_client/models/v2_metric_value_status.py +99 -0
  816. ptctools/portainer_client/openapi_client/models/v2_object_metric_source.py +104 -0
  817. ptctools/portainer_client/openapi_client/models/v2_object_metric_status.py +104 -0
  818. ptctools/portainer_client/openapi_client/models/v2_pods_metric_source.py +98 -0
  819. ptctools/portainer_client/openapi_client/models/v2_pods_metric_status.py +98 -0
  820. ptctools/portainer_client/openapi_client/models/v2_resource_metric_source.py +95 -0
  821. ptctools/portainer_client/openapi_client/models/v2_resource_metric_status.py +95 -0
  822. ptctools/portainer_client/openapi_client/models/v2_scaling_policy_select.py +39 -0
  823. ptctools/portainer_client/openapi_client/models/webhooks_webhook_create_payload.py +95 -0
  824. ptctools/portainer_client/openapi_client/models/webhooks_webhook_update_payload.py +88 -0
  825. ptctools/portainer_client/openapi_client/rest.py +264 -0
  826. ptctools/portainer_client/openapi_client/test/__init__.py +0 -0
  827. ptctools/portainer_client/openapi_client/test/test_auth_api.py +53 -0
  828. ptctools/portainer_client/openapi_client/test/test_auth_authenticate_payload.py +55 -0
  829. ptctools/portainer_client/openapi_client/test/test_auth_authenticate_response.py +52 -0
  830. ptctools/portainer_client/openapi_client/test/test_auth_oauth_payload.py +52 -0
  831. ptctools/portainer_client/openapi_client/test/test_backup_api.py +46 -0
  832. ptctools/portainer_client/openapi_client/test/test_backup_backup_payload.py +52 -0
  833. ptctools/portainer_client/openapi_client/test/test_backup_restore_payload.py +56 -0
  834. ptctools/portainer_client/openapi_client/test/test_build_build_info.py +58 -0
  835. ptctools/portainer_client/openapi_client/test/test_build_dependencies_info.py +55 -0
  836. ptctools/portainer_client/openapi_client/test/test_build_runtime_info.py +54 -0
  837. ptctools/portainer_client/openapi_client/test/test_containers_container_gpus_response.py +52 -0
  838. ptctools/portainer_client/openapi_client/test/test_custom_templates_api.py +95 -0
  839. ptctools/portainer_client/openapi_client/test/test_customtemplates_custom_template_from_file_content_payload.py +70 -0
  840. ptctools/portainer_client/openapi_client/test/test_customtemplates_custom_template_from_git_repository_payload.py +77 -0
  841. ptctools/portainer_client/openapi_client/test/test_customtemplates_custom_template_update_payload.py +81 -0
  842. ptctools/portainer_client/openapi_client/test/test_customtemplates_file_response.py +52 -0
  843. ptctools/portainer_client/openapi_client/test/test_docker_api.py +53 -0
  844. ptctools/portainer_client/openapi_client/test/test_docker_container_stats.py +56 -0
  845. ptctools/portainer_client/openapi_client/test/test_docker_dashboard_response.py +64 -0
  846. ptctools/portainer_client/openapi_client/test/test_docker_images_counters.py +53 -0
  847. ptctools/portainer_client/openapi_client/test/test_edge_api.py +46 -0
  848. ptctools/portainer_client/openapi_client/test/test_edge_deployer_options_payload.py +53 -0
  849. ptctools/portainer_client/openapi_client/test/test_edge_groups_api.py +67 -0
  850. ptctools/portainer_client/openapi_client/test/test_edge_jobs_api.py +109 -0
  851. ptctools/portainer_client/openapi_client/test/test_edge_registry_credentials.py +54 -0
  852. ptctools/portainer_client/openapi_client/test/test_edge_stack_payload.py +88 -0
  853. ptctools/portainer_client/openapi_client/test/test_edge_stacks_api.py +102 -0
  854. ptctools/portainer_client/openapi_client/test/test_edgegroups_decorated_edge_group.py +70 -0
  855. ptctools/portainer_client/openapi_client/test/test_edgegroups_edge_group_create_payload.py +60 -0
  856. ptctools/portainer_client/openapi_client/test/test_edgegroups_edge_group_update_payload.py +60 -0
  857. ptctools/portainer_client/openapi_client/test/test_edgejobs_edge_job_create_from_file_content_payload.py +61 -0
  858. ptctools/portainer_client/openapi_client/test/test_edgejobs_edge_job_file_response.py +52 -0
  859. ptctools/portainer_client/openapi_client/test/test_edgejobs_edge_job_update_payload.py +61 -0
  860. ptctools/portainer_client/openapi_client/test/test_edgejobs_file_response.py +52 -0
  861. ptctools/portainer_client/openapi_client/test/test_edgejobs_task_container.py +55 -0
  862. ptctools/portainer_client/openapi_client/test/test_edgestacks_edge_stack_from_git_repository_payload.py +69 -0
  863. ptctools/portainer_client/openapi_client/test/test_edgestacks_edge_stack_from_string_payload.py +67 -0
  864. ptctools/portainer_client/openapi_client/test/test_edgestacks_stack_file_response.py +52 -0
  865. ptctools/portainer_client/openapi_client/test/test_edgestacks_update_edge_stack_payload.py +58 -0
  866. ptctools/portainer_client/openapi_client/test/test_edgestacks_update_status_payload.py +56 -0
  867. ptctools/portainer_client/openapi_client/test/test_endpoint_groups_api.py +81 -0
  868. ptctools/portainer_client/openapi_client/test/test_endpointedge_edge_job_response.py +56 -0
  869. ptctools/portainer_client/openapi_client/test/test_endpointedge_endpoint_edge_status_inspect_response.py +68 -0
  870. ptctools/portainer_client/openapi_client/test/test_endpointedge_stack_status_response.py +53 -0
  871. ptctools/portainer_client/openapi_client/test/test_endpointgroups_endpoint_group_create_payload.py +56 -0
  872. ptctools/portainer_client/openapi_client/test/test_endpointgroups_endpoint_group_update_payload.py +62 -0
  873. ptctools/portainer_client/openapi_client/test/test_endpoints_api.py +179 -0
  874. ptctools/portainer_client/openapi_client/test/test_endpoints_dockerhub_status_response.py +53 -0
  875. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_create_global_key_response.py +52 -0
  876. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_delete_batch_partial_response.py +57 -0
  877. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_delete_batch_payload.py +56 -0
  878. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_delete_request.py +53 -0
  879. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_settings_update_payload.py +66 -0
  880. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_update_payload.py +131 -0
  881. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_update_relations_payload.py +61 -0
  882. ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_update_relations_payload_relations_value.py +58 -0
  883. ptctools/portainer_client/openapi_client/test/test_endpoints_force_update_service_payload.py +53 -0
  884. ptctools/portainer_client/openapi_client/test/test_endpoints_registry_access_payload.py +62 -0
  885. ptctools/portainer_client/openapi_client/test/test_filesystem_dir_entry.py +55 -0
  886. ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_hook.py +66 -0
  887. ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_hook_execution.py +54 -0
  888. ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_info.py +61 -0
  889. ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_release.py +112 -0
  890. ptctools/portainer_client/openapi_client/test/test_gitops_api.py +39 -0
  891. ptctools/portainer_client/openapi_client/test/test_gitops_file_response.py +52 -0
  892. ptctools/portainer_client/openapi_client/test/test_gitops_repository_file_preview_payload.py +59 -0
  893. ptctools/portainer_client/openapi_client/test/test_gittypes_git_authentication.py +55 -0
  894. ptctools/portainer_client/openapi_client/test/test_gittypes_git_credential_auth_type.py +34 -0
  895. ptctools/portainer_client/openapi_client/test/test_gittypes_repo_config.py +61 -0
  896. ptctools/portainer_client/openapi_client/test/test_helm_api.py +109 -0
  897. ptctools/portainer_client/openapi_client/test/test_helm_install_chart_payload.py +58 -0
  898. ptctools/portainer_client/openapi_client/test/test_images_image_response.py +59 -0
  899. ptctools/portainer_client/openapi_client/test/test_intel_api.py +74 -0
  900. ptctools/portainer_client/openapi_client/test/test_intstr_int_or_string.py +54 -0
  901. ptctools/portainer_client/openapi_client/test/test_intstr_type.py +34 -0
  902. ptctools/portainer_client/openapi_client/test/test_k8s_io_api_core_v1_condition_status.py +34 -0
  903. ptctools/portainer_client/openapi_client/test/test_k8s_io_api_rbac_v1_subject.py +55 -0
  904. ptctools/portainer_client/openapi_client/test/test_k8s_io_apimachinery_pkg_apis_meta_v1_condition_status.py +34 -0
  905. ptctools/portainer_client/openapi_client/test/test_kubernetes_api.py +480 -0
  906. ptctools/portainer_client/openapi_client/test/test_kubernetes_configuration.py +54 -0
  907. ptctools/portainer_client/openapi_client/test/test_kubernetes_custom_resource_metadata.py +54 -0
  908. ptctools/portainer_client/openapi_client/test/test_kubernetes_describe_resource_response.py +52 -0
  909. ptctools/portainer_client/openapi_client/test/test_kubernetes_ingress_rule.py +60 -0
  910. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_application.py +152 -0
  911. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_application_resource.py +55 -0
  912. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_cluster_role.py +55 -0
  913. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_cluster_role_binding.py +67 -0
  914. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_config_map.py +73 -0
  915. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_configuration_owner_resource.py +54 -0
  916. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_cron_job.py +138 -0
  917. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_dashboard.py +58 -0
  918. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_event.py +67 -0
  919. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_event_involved_object.py +55 -0
  920. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_controller.py +57 -0
  921. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_info.py +83 -0
  922. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_path.py +58 -0
  923. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_tls.py +55 -0
  924. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_job.py +127 -0
  925. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_namespace_details.py +60 -0
  926. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_persistent_volume.py +86 -0
  927. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_persistent_volume_claim.py +174 -0
  928. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_resource_quota.py +54 -0
  929. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_role.py +56 -0
  930. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_role_binding.py +67 -0
  931. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_secret.py +74 -0
  932. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_account.py +56 -0
  933. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_info.py +190 -0
  934. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_ingress.py +53 -0
  935. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_port.py +56 -0
  936. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_storage_class.py +55 -0
  937. ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_volume_info.py +213 -0
  938. ptctools/portainer_client/openapi_client/test/test_kubernetes_metadata.py +57 -0
  939. ptctools/portainer_client/openapi_client/test/test_kubernetes_namespaces_toggle_system_payload.py +52 -0
  940. ptctools/portainer_client/openapi_client/test/test_kubernetes_pod.py +65 -0
  941. ptctools/portainer_client/openapi_client/test/test_kubernetes_published_port.py +64 -0
  942. ptctools/portainer_client/openapi_client/test/test_kubernetes_tls_info.py +54 -0
  943. ptctools/portainer_client/openapi_client/test/test_ldap_api.py +39 -0
  944. ptctools/portainer_client/openapi_client/test/test_ldap_check_payload.py +76 -0
  945. ptctools/portainer_client/openapi_client/test/test_motd_api.py +39 -0
  946. ptctools/portainer_client/openapi_client/test/test_motd_motd_response.py +60 -0
  947. ptctools/portainer_client/openapi_client/test/test_oauth2_auth_style.py +34 -0
  948. ptctools/portainer_client/openapi_client/test/test_openamt_device_action_payload.py +52 -0
  949. ptctools/portainer_client/openapi_client/test/test_openamt_device_features_payload.py +57 -0
  950. ptctools/portainer_client/openapi_client/test/test_openamt_open_amt_configure_payload.py +59 -0
  951. ptctools/portainer_client/openapi_client/test/test_os_file_mode.py +34 -0
  952. ptctools/portainer_client/openapi_client/test/test_platform_container_platform.py +34 -0
  953. ptctools/portainer_client/openapi_client/test/test_portainer_access_policy.py +52 -0
  954. ptctools/portainer_client/openapi_client/test/test_portainer_api_key.py +58 -0
  955. ptctools/portainer_client/openapi_client/test/test_portainer_authentication_method.py +34 -0
  956. ptctools/portainer_client/openapi_client/test/test_portainer_auto_update_settings.py +56 -0
  957. ptctools/portainer_client/openapi_client/test/test_portainer_azure_credentials.py +54 -0
  958. ptctools/portainer_client/openapi_client/test/test_portainer_custom_template.py +95 -0
  959. ptctools/portainer_client/openapi_client/test/test_portainer_custom_template_platform.py +34 -0
  960. ptctools/portainer_client/openapi_client/test/test_portainer_custom_template_variable_definition.py +55 -0
  961. ptctools/portainer_client/openapi_client/test/test_portainer_diagnostics_data.py +61 -0
  962. ptctools/portainer_client/openapi_client/test/test_portainer_docker_snapshot.py +87 -0
  963. ptctools/portainer_client/openapi_client/test/test_portainer_ecr_data.py +52 -0
  964. ptctools/portainer_client/openapi_client/test/test_portainer_edge.py +55 -0
  965. ptctools/portainer_client/openapi_client/test/test_portainer_edge_group.py +62 -0
  966. ptctools/portainer_client/openapi_client/test/test_portainer_edge_job.py +71 -0
  967. ptctools/portainer_client/openapi_client/test/test_portainer_edge_job_endpoint_meta.py +53 -0
  968. ptctools/portainer_client/openapi_client/test/test_portainer_edge_job_logs_status.py +34 -0
  969. ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack.py +81 -0
  970. ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_deployment_status.py +56 -0
  971. ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_deployment_type.py +34 -0
  972. ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_status.py +75 -0
  973. ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_status_details.py +58 -0
  974. ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_status_type.py +34 -0
  975. ptctools/portainer_client/openapi_client/test/test_portainer_endpoint.py +222 -0
  976. ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_agent.py +52 -0
  977. ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_group.py +79 -0
  978. ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_post_init_migrations.py +53 -0
  979. ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_security_settings.py +60 -0
  980. ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_status.py +34 -0
  981. ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_type.py +34 -0
  982. ptctools/portainer_client/openapi_client/test/test_portainer_environment_edge_settings.py +55 -0
  983. ptctools/portainer_client/openapi_client/test/test_portainer_github_registry_data.py +53 -0
  984. ptctools/portainer_client/openapi_client/test/test_portainer_gitlab_registry_data.py +54 -0
  985. ptctools/portainer_client/openapi_client/test/test_portainer_global_deployment_options.py +52 -0
  986. ptctools/portainer_client/openapi_client/test/test_portainer_helm_user_repository.py +54 -0
  987. ptctools/portainer_client/openapi_client/test/test_portainer_internal_auth_settings.py +52 -0
  988. ptctools/portainer_client/openapi_client/test/test_portainer_k8s_namespace_info.py +77 -0
  989. ptctools/portainer_client/openapi_client/test/test_portainer_k8s_node_limits.py +53 -0
  990. ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_configuration.py +76 -0
  991. ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_data.py +104 -0
  992. ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_flags.py +54 -0
  993. ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_ingress_class_config.py +57 -0
  994. ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_snapshot.py +71 -0
  995. ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_storage_class_config.py +57 -0
  996. ptctools/portainer_client/openapi_client/test/test_portainer_ldap_group_search_settings.py +54 -0
  997. ptctools/portainer_client/openapi_client/test/test_portainer_ldap_search_settings.py +54 -0
  998. ptctools/portainer_client/openapi_client/test/test_portainer_ldap_settings.py +75 -0
  999. ptctools/portainer_client/openapi_client/test/test_portainer_membership_role.py +34 -0
  1000. ptctools/portainer_client/openapi_client/test/test_portainer_o_auth_settings.py +67 -0
  1001. ptctools/portainer_client/openapi_client/test/test_portainer_open_amt_configuration.py +60 -0
  1002. ptctools/portainer_client/openapi_client/test/test_portainer_open_amt_device_enabled_features.py +56 -0
  1003. ptctools/portainer_client/openapi_client/test/test_portainer_pair.py +53 -0
  1004. ptctools/portainer_client/openapi_client/test/test_portainer_performance_metrics.py +54 -0
  1005. ptctools/portainer_client/openapi_client/test/test_portainer_quay_registry_data.py +53 -0
  1006. ptctools/portainer_client/openapi_client/test/test_portainer_registry.py +116 -0
  1007. ptctools/portainer_client/openapi_client/test/test_portainer_registry_access_policies.py +62 -0
  1008. ptctools/portainer_client/openapi_client/test/test_portainer_registry_management_configuration.py +65 -0
  1009. ptctools/portainer_client/openapi_client/test/test_portainer_registry_type.py +34 -0
  1010. ptctools/portainer_client/openapi_client/test/test_portainer_resource_access_level.py +34 -0
  1011. ptctools/portainer_client/openapi_client/test/test_portainer_resource_control.py +70 -0
  1012. ptctools/portainer_client/openapi_client/test/test_portainer_resource_control_type.py +34 -0
  1013. ptctools/portainer_client/openapi_client/test/test_portainer_role.py +58 -0
  1014. ptctools/portainer_client/openapi_client/test/test_portainer_settings.py +146 -0
  1015. ptctools/portainer_client/openapi_client/test/test_portainer_ssl_settings.py +55 -0
  1016. ptctools/portainer_client/openapi_client/test/test_portainer_stack.py +106 -0
  1017. ptctools/portainer_client/openapi_client/test/test_portainer_stack_deployment_info.py +54 -0
  1018. ptctools/portainer_client/openapi_client/test/test_portainer_stack_option.py +52 -0
  1019. ptctools/portainer_client/openapi_client/test/test_portainer_stack_status.py +34 -0
  1020. ptctools/portainer_client/openapi_client/test/test_portainer_stack_type.py +34 -0
  1021. ptctools/portainer_client/openapi_client/test/test_portainer_tag.py +59 -0
  1022. ptctools/portainer_client/openapi_client/test/test_portainer_team.py +53 -0
  1023. ptctools/portainer_client/openapi_client/test/test_portainer_team_membership.py +55 -0
  1024. ptctools/portainer_client/openapi_client/test/test_portainer_team_resource_access.py +53 -0
  1025. ptctools/portainer_client/openapi_client/test/test_portainer_template.py +99 -0
  1026. ptctools/portainer_client/openapi_client/test/test_portainer_template_env.py +62 -0
  1027. ptctools/portainer_client/openapi_client/test/test_portainer_template_env_select.py +54 -0
  1028. ptctools/portainer_client/openapi_client/test/test_portainer_template_repository.py +53 -0
  1029. ptctools/portainer_client/openapi_client/test/test_portainer_template_type.py +34 -0
  1030. ptctools/portainer_client/openapi_client/test/test_portainer_template_volume.py +54 -0
  1031. ptctools/portainer_client/openapi_client/test/test_portainer_tls_configuration.py +56 -0
  1032. ptctools/portainer_client/openapi_client/test/test_portainer_user.py +67 -0
  1033. ptctools/portainer_client/openapi_client/test/test_portainer_user_resource_access.py +53 -0
  1034. ptctools/portainer_client/openapi_client/test/test_portainer_user_role.py +34 -0
  1035. ptctools/portainer_client/openapi_client/test/test_portainer_user_theme_settings.py +52 -0
  1036. ptctools/portainer_client/openapi_client/test/test_portainer_webhook.py +57 -0
  1037. ptctools/portainer_client/openapi_client/test/test_portainer_webhook_type.py +34 -0
  1038. ptctools/portainer_client/openapi_client/test/test_registries_api.py +74 -0
  1039. ptctools/portainer_client/openapi_client/test/test_registries_registry_configure_payload.py +67 -0
  1040. ptctools/portainer_client/openapi_client/test/test_registries_registry_create_payload.py +71 -0
  1041. ptctools/portainer_client/openapi_client/test/test_registries_registry_update_payload.py +79 -0
  1042. ptctools/portainer_client/openapi_client/test/test_release_chart.py +132 -0
  1043. ptctools/portainer_client/openapi_client/test/test_release_chart_reference.py +54 -0
  1044. ptctools/portainer_client/openapi_client/test/test_release_dependency.py +63 -0
  1045. ptctools/portainer_client/openapi_client/test/test_release_file.py +55 -0
  1046. ptctools/portainer_client/openapi_client/test/test_release_lock.py +68 -0
  1047. ptctools/portainer_client/openapi_client/test/test_release_maintainer.py +54 -0
  1048. ptctools/portainer_client/openapi_client/test/test_release_metadata.py +93 -0
  1049. ptctools/portainer_client/openapi_client/test/test_release_release_element.py +58 -0
  1050. ptctools/portainer_client/openapi_client/test/test_release_values.py +53 -0
  1051. ptctools/portainer_client/openapi_client/test/test_resource_controls_api.py +53 -0
  1052. ptctools/portainer_client/openapi_client/test/test_resource_quantity.py +52 -0
  1053. ptctools/portainer_client/openapi_client/test/test_resourcecontrols_resource_control_create_payload.py +60 -0
  1054. ptctools/portainer_client/openapi_client/test/test_resourcecontrols_resource_control_update_payload.py +55 -0
  1055. ptctools/portainer_client/openapi_client/test/test_roles_api.py +39 -0
  1056. ptctools/portainer_client/openapi_client/test/test_settings_api.py +53 -0
  1057. ptctools/portainer_client/openapi_client/test/test_settings_public_settings_response.py +72 -0
  1058. ptctools/portainer_client/openapi_client/test/test_settings_public_settings_response_edge.py +55 -0
  1059. ptctools/portainer_client/openapi_client/test/test_settings_settings_update_payload.py +116 -0
  1060. ptctools/portainer_client/openapi_client/test/test_ssl_api.py +46 -0
  1061. ptctools/portainer_client/openapi_client/test/test_ssl_ssl_update_payload.py +54 -0
  1062. ptctools/portainer_client/openapi_client/test/test_stacks_api.py +186 -0
  1063. ptctools/portainer_client/openapi_client/test/test_stacks_compose_stack_from_file_content_payload.py +67 -0
  1064. ptctools/portainer_client/openapi_client/test/test_stacks_compose_stack_from_git_repository_payload.py +74 -0
  1065. ptctools/portainer_client/openapi_client/test/test_stacks_kubernetes_git_deployment_payload.py +70 -0
  1066. ptctools/portainer_client/openapi_client/test/test_stacks_kubernetes_manifest_url_deployment_payload.py +55 -0
  1067. ptctools/portainer_client/openapi_client/test/test_stacks_kubernetes_string_deployment_payload.py +56 -0
  1068. ptctools/portainer_client/openapi_client/test/test_stacks_stack_file_response.py +55 -0
  1069. ptctools/portainer_client/openapi_client/test/test_stacks_stack_git_redploy_payload.py +64 -0
  1070. ptctools/portainer_client/openapi_client/test/test_stacks_stack_git_update_payload.py +69 -0
  1071. ptctools/portainer_client/openapi_client/test/test_stacks_stack_migrate_payload.py +55 -0
  1072. ptctools/portainer_client/openapi_client/test/test_stacks_swarm_stack_from_file_content_payload.py +69 -0
  1073. ptctools/portainer_client/openapi_client/test/test_stacks_swarm_stack_from_git_repository_payload.py +76 -0
  1074. ptctools/portainer_client/openapi_client/test/test_stacks_update_swarm_stack_payload.py +62 -0
  1075. ptctools/portainer_client/openapi_client/test/test_status_api.py +39 -0
  1076. ptctools/portainer_client/openapi_client/test/test_swarm_service_update_response.py +54 -0
  1077. ptctools/portainer_client/openapi_client/test/test_system_api.py +67 -0
  1078. ptctools/portainer_client/openapi_client/test/test_system_nodes_count_response.py +52 -0
  1079. ptctools/portainer_client/openapi_client/test/test_system_status.py +53 -0
  1080. ptctools/portainer_client/openapi_client/test/test_system_system_info_response.py +54 -0
  1081. ptctools/portainer_client/openapi_client/test/test_system_version_response.py +74 -0
  1082. ptctools/portainer_client/openapi_client/test/test_tags_api.py +53 -0
  1083. ptctools/portainer_client/openapi_client/test/test_tags_tag_create_payload.py +53 -0
  1084. ptctools/portainer_client/openapi_client/test/test_team_memberships_api.py +67 -0
  1085. ptctools/portainer_client/openapi_client/test/test_teammemberships_team_membership_create_payload.py +57 -0
  1086. ptctools/portainer_client/openapi_client/test/test_teammemberships_team_membership_update_payload.py +57 -0
  1087. ptctools/portainer_client/openapi_client/test/test_teams_api.py +67 -0
  1088. ptctools/portainer_client/openapi_client/test/test_teams_team_create_payload.py +54 -0
  1089. ptctools/portainer_client/openapi_client/test/test_teams_team_update_payload.py +52 -0
  1090. ptctools/portainer_client/openapi_client/test/test_templates_api.py +46 -0
  1091. ptctools/portainer_client/openapi_client/test/test_templates_file_response.py +52 -0
  1092. ptctools/portainer_client/openapi_client/test/test_templates_list_response.py +101 -0
  1093. ptctools/portainer_client/openapi_client/test/test_unstructured_unstructured.py +52 -0
  1094. ptctools/portainer_client/openapi_client/test/test_upload_api.py +39 -0
  1095. ptctools/portainer_client/openapi_client/test/test_users_access_token_response.py +60 -0
  1096. ptctools/portainer_client/openapi_client/test/test_users_add_helm_repo_url_payload.py +52 -0
  1097. ptctools/portainer_client/openapi_client/test/test_users_admin_init_payload.py +55 -0
  1098. ptctools/portainer_client/openapi_client/test/test_users_api.py +123 -0
  1099. ptctools/portainer_client/openapi_client/test/test_users_helm_user_repository_response.py +58 -0
  1100. ptctools/portainer_client/openapi_client/test/test_users_theme_payload.py +52 -0
  1101. ptctools/portainer_client/openapi_client/test/test_users_user_access_token_create_payload.py +55 -0
  1102. ptctools/portainer_client/openapi_client/test/test_users_user_create_payload.py +57 -0
  1103. ptctools/portainer_client/openapi_client/test/test_users_user_update_password_payload.py +55 -0
  1104. ptctools/portainer_client/openapi_client/test/test_users_user_update_payload.py +63 -0
  1105. ptctools/portainer_client/openapi_client/test/test_v1_app_armor_profile.py +53 -0
  1106. ptctools/portainer_client/openapi_client/test/test_v1_app_armor_profile_type.py +34 -0
  1107. ptctools/portainer_client/openapi_client/test/test_v1_capabilities.py +57 -0
  1108. ptctools/portainer_client/openapi_client/test/test_v1_client_ip_config.py +52 -0
  1109. ptctools/portainer_client/openapi_client/test/test_v1_condition.py +57 -0
  1110. ptctools/portainer_client/openapi_client/test/test_v1_config_map_env_source.py +53 -0
  1111. ptctools/portainer_client/openapi_client/test/test_v1_config_map_key_selector.py +54 -0
  1112. ptctools/portainer_client/openapi_client/test/test_v1_container.py +165 -0
  1113. ptctools/portainer_client/openapi_client/test/test_v1_container_port.py +56 -0
  1114. ptctools/portainer_client/openapi_client/test/test_v1_container_resize_policy.py +53 -0
  1115. ptctools/portainer_client/openapi_client/test/test_v1_container_restart_policy.py +34 -0
  1116. ptctools/portainer_client/openapi_client/test/test_v1_csi_persistent_volume_source.py +73 -0
  1117. ptctools/portainer_client/openapi_client/test/test_v1_duration.py +52 -0
  1118. ptctools/portainer_client/openapi_client/test/test_v1_env_from_source.py +58 -0
  1119. ptctools/portainer_client/openapi_client/test/test_v1_env_var.py +58 -0
  1120. ptctools/portainer_client/openapi_client/test/test_v1_env_var_source.py +66 -0
  1121. ptctools/portainer_client/openapi_client/test/test_v1_exec_action.py +54 -0
  1122. ptctools/portainer_client/openapi_client/test/test_v1_grpc_action.py +53 -0
  1123. ptctools/portainer_client/openapi_client/test/test_v1_http_get_action.py +63 -0
  1124. ptctools/portainer_client/openapi_client/test/test_v1_http_header.py +53 -0
  1125. ptctools/portainer_client/openapi_client/test/test_v1_ip_family.py +34 -0
  1126. ptctools/portainer_client/openapi_client/test/test_v1_ip_family_policy.py +34 -0
  1127. ptctools/portainer_client/openapi_client/test/test_v1_label_selector.py +62 -0
  1128. ptctools/portainer_client/openapi_client/test/test_v1_label_selector_operator.py +34 -0
  1129. ptctools/portainer_client/openapi_client/test/test_v1_label_selector_requirement.py +56 -0
  1130. ptctools/portainer_client/openapi_client/test/test_v1_lifecycle.py +62 -0
  1131. ptctools/portainer_client/openapi_client/test/test_v1_lifecycle_handler.py +70 -0
  1132. ptctools/portainer_client/openapi_client/test/test_v1_list_meta.py +55 -0
  1133. ptctools/portainer_client/openapi_client/test/test_v1_load_balancer_ingress.py +60 -0
  1134. ptctools/portainer_client/openapi_client/test/test_v1_load_balancer_ip_mode.py +34 -0
  1135. ptctools/portainer_client/openapi_client/test/test_v1_load_balancer_status.py +63 -0
  1136. ptctools/portainer_client/openapi_client/test/test_v1_managed_fields_entry.py +58 -0
  1137. ptctools/portainer_client/openapi_client/test/test_v1_managed_fields_operation_type.py +34 -0
  1138. ptctools/portainer_client/openapi_client/test/test_v1_mount_propagation_mode.py +34 -0
  1139. ptctools/portainer_client/openapi_client/test/test_v1_namespace_condition.py +56 -0
  1140. ptctools/portainer_client/openapi_client/test/test_v1_namespace_condition_type.py +34 -0
  1141. ptctools/portainer_client/openapi_client/test/test_v1_namespace_phase.py +34 -0
  1142. ptctools/portainer_client/openapi_client/test/test_v1_namespace_status.py +60 -0
  1143. ptctools/portainer_client/openapi_client/test/test_v1_object_field_selector.py +53 -0
  1144. ptctools/portainer_client/openapi_client/test/test_v1_object_meta.py +89 -0
  1145. ptctools/portainer_client/openapi_client/test/test_v1_object_reference.py +58 -0
  1146. ptctools/portainer_client/openapi_client/test/test_v1_owner_reference.py +57 -0
  1147. ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_access_mode.py +34 -0
  1148. ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_claim_phase.py +34 -0
  1149. ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_mode.py +34 -0
  1150. ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_reclaim_policy.py +34 -0
  1151. ptctools/portainer_client/openapi_client/test/test_v1_port_status.py +54 -0
  1152. ptctools/portainer_client/openapi_client/test/test_v1_probe.py +77 -0
  1153. ptctools/portainer_client/openapi_client/test/test_v1_proc_mount_type.py +34 -0
  1154. ptctools/portainer_client/openapi_client/test/test_v1_protocol.py +34 -0
  1155. ptctools/portainer_client/openapi_client/test/test_v1_pull_policy.py +34 -0
  1156. ptctools/portainer_client/openapi_client/test/test_v1_recursive_read_only_mode.py +34 -0
  1157. ptctools/portainer_client/openapi_client/test/test_v1_resource_claim.py +53 -0
  1158. ptctools/portainer_client/openapi_client/test/test_v1_resource_field_selector.py +55 -0
  1159. ptctools/portainer_client/openapi_client/test/test_v1_resource_name.py +34 -0
  1160. ptctools/portainer_client/openapi_client/test/test_v1_resource_quota.py +101 -0
  1161. ptctools/portainer_client/openapi_client/test/test_v1_resource_quota_scope.py +34 -0
  1162. ptctools/portainer_client/openapi_client/test/test_v1_resource_quota_spec.py +67 -0
  1163. ptctools/portainer_client/openapi_client/test/test_v1_resource_quota_status.py +59 -0
  1164. ptctools/portainer_client/openapi_client/test/test_v1_resource_requirements.py +64 -0
  1165. ptctools/portainer_client/openapi_client/test/test_v1_resource_resize_restart_policy.py +34 -0
  1166. ptctools/portainer_client/openapi_client/test/test_v1_role_ref.py +54 -0
  1167. ptctools/portainer_client/openapi_client/test/test_v1_scope_selector.py +59 -0
  1168. ptctools/portainer_client/openapi_client/test/test_v1_scope_selector_operator.py +34 -0
  1169. ptctools/portainer_client/openapi_client/test/test_v1_scoped_resource_selector_requirement.py +56 -0
  1170. ptctools/portainer_client/openapi_client/test/test_v1_se_linux_options.py +55 -0
  1171. ptctools/portainer_client/openapi_client/test/test_v1_seccomp_profile.py +53 -0
  1172. ptctools/portainer_client/openapi_client/test/test_v1_seccomp_profile_type.py +34 -0
  1173. ptctools/portainer_client/openapi_client/test/test_v1_secret_env_source.py +53 -0
  1174. ptctools/portainer_client/openapi_client/test/test_v1_secret_key_selector.py +54 -0
  1175. ptctools/portainer_client/openapi_client/test/test_v1_secret_reference.py +53 -0
  1176. ptctools/portainer_client/openapi_client/test/test_v1_security_context.py +81 -0
  1177. ptctools/portainer_client/openapi_client/test/test_v1_service.py +142 -0
  1178. ptctools/portainer_client/openapi_client/test/test_v1_service_affinity.py +34 -0
  1179. ptctools/portainer_client/openapi_client/test/test_v1_service_external_traffic_policy.py +34 -0
  1180. ptctools/portainer_client/openapi_client/test/test_v1_service_internal_traffic_policy.py +34 -0
  1181. ptctools/portainer_client/openapi_client/test/test_v1_service_port.py +60 -0
  1182. ptctools/portainer_client/openapi_client/test/test_v1_service_spec.py +90 -0
  1183. ptctools/portainer_client/openapi_client/test/test_v1_service_status.py +73 -0
  1184. ptctools/portainer_client/openapi_client/test/test_v1_service_type.py +34 -0
  1185. ptctools/portainer_client/openapi_client/test/test_v1_session_affinity_config.py +53 -0
  1186. ptctools/portainer_client/openapi_client/test/test_v1_signal.py +34 -0
  1187. ptctools/portainer_client/openapi_client/test/test_v1_sleep_action.py +52 -0
  1188. ptctools/portainer_client/openapi_client/test/test_v1_tcp_socket_action.py +56 -0
  1189. ptctools/portainer_client/openapi_client/test/test_v1_termination_message_policy.py +34 -0
  1190. ptctools/portainer_client/openapi_client/test/test_v1_uri_scheme.py +34 -0
  1191. ptctools/portainer_client/openapi_client/test/test_v1_volume_device.py +53 -0
  1192. ptctools/portainer_client/openapi_client/test/test_v1_volume_mount.py +58 -0
  1193. ptctools/portainer_client/openapi_client/test/test_v1_windows_security_context_options.py +55 -0
  1194. ptctools/portainer_client/openapi_client/test/test_v1beta1_container_metrics.py +56 -0
  1195. ptctools/portainer_client/openapi_client/test/test_v1beta1_node_metrics.py +99 -0
  1196. ptctools/portainer_client/openapi_client/test/test_v1beta1_node_metrics_list.py +68 -0
  1197. ptctools/portainer_client/openapi_client/test/test_v1beta1_pod_metrics.py +100 -0
  1198. ptctools/portainer_client/openapi_client/test/test_v1beta1_pod_metrics_list.py +72 -0
  1199. ptctools/portainer_client/openapi_client/test/test_v2_container_resource_metric_source.py +58 -0
  1200. ptctools/portainer_client/openapi_client/test/test_v2_container_resource_metric_status.py +57 -0
  1201. ptctools/portainer_client/openapi_client/test/test_v2_cross_version_object_reference.py +54 -0
  1202. ptctools/portainer_client/openapi_client/test/test_v2_external_metric_source.py +59 -0
  1203. ptctools/portainer_client/openapi_client/test/test_v2_external_metric_status.py +58 -0
  1204. ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler.py +128 -0
  1205. ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_behavior.py +71 -0
  1206. ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_condition.py +56 -0
  1207. ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_condition_type.py +34 -0
  1208. ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_spec.py +69 -0
  1209. ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_status.py +72 -0
  1210. ptctools/portainer_client/openapi_client/test/test_v2_hpa_scaling_policy.py +54 -0
  1211. ptctools/portainer_client/openapi_client/test/test_v2_hpa_scaling_policy_type.py +34 -0
  1212. ptctools/portainer_client/openapi_client/test/test_v2_hpa_scaling_rules.py +61 -0
  1213. ptctools/portainer_client/openapi_client/test/test_v2_metric_identifier.py +64 -0
  1214. ptctools/portainer_client/openapi_client/test/test_v2_metric_source_type.py +34 -0
  1215. ptctools/portainer_client/openapi_client/test/test_v2_metric_spec.py +69 -0
  1216. ptctools/portainer_client/openapi_client/test/test_v2_metric_status.py +69 -0
  1217. ptctools/portainer_client/openapi_client/test/test_v2_metric_target.py +57 -0
  1218. ptctools/portainer_client/openapi_client/test/test_v2_metric_target_type.py +34 -0
  1219. ptctools/portainer_client/openapi_client/test/test_v2_metric_value_status.py +56 -0
  1220. ptctools/portainer_client/openapi_client/test/test_v2_object_metric_source.py +63 -0
  1221. ptctools/portainer_client/openapi_client/test/test_v2_object_metric_status.py +62 -0
  1222. ptctools/portainer_client/openapi_client/test/test_v2_pods_metric_source.py +59 -0
  1223. ptctools/portainer_client/openapi_client/test/test_v2_pods_metric_status.py +58 -0
  1224. ptctools/portainer_client/openapi_client/test/test_v2_resource_metric_source.py +57 -0
  1225. ptctools/portainer_client/openapi_client/test/test_v2_resource_metric_status.py +56 -0
  1226. ptctools/portainer_client/openapi_client/test/test_v2_scaling_policy_select.py +34 -0
  1227. ptctools/portainer_client/openapi_client/test/test_webhooks_api.py +67 -0
  1228. ptctools/portainer_client/openapi_client/test/test_webhooks_webhook_create_payload.py +55 -0
  1229. ptctools/portainer_client/openapi_client/test/test_webhooks_webhook_update_payload.py +52 -0
  1230. ptctools/portainer_client/openapi_client/test/test_websocket_api.py +60 -0
  1231. ptctools/portainer_client/openapi_client_README.md +707 -0
  1232. ptctools/secret.py +146 -0
  1233. ptctools/stack.py +216 -261
  1234. ptctools/utils.py +8 -0
  1235. ptctools/volume.py +668 -89
  1236. ptctools-0.2.0.dist-info/METADATA +162 -0
  1237. ptctools-0.2.0.dist-info/RECORD +1241 -0
  1238. ptctools-0.1.0.dist-info/METADATA +0 -99
  1239. ptctools-0.1.0.dist-info/RECORD +0 -14
  1240. {ptctools-0.1.0.dist-info → ptctools-0.2.0.dist-info}/WHEEL +0 -0
  1241. {ptctools-0.1.0.dist-info → ptctools-0.2.0.dist-info}/entry_points.txt +0 -0
  1242. {ptctools-0.1.0.dist-info → ptctools-0.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,1453 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ PortainerCE API
5
+
6
+ Portainer API is an HTTP API served by Portainer. It is used by the Portainer UI and everything you can do with the UI can be done using the HTTP API. Examples are available at https://documentation.portainer.io/api/api-examples/ You can find out more about Portainer at [http://portainer.io](http://portainer.io) and get some support on [Slack](http://portainer.io/slack/). # Authentication Most of the API environments(endpoints) require to be authenticated as well as some level of authorization to be used. Portainer API uses JSON Web Token to manage authentication and thus requires you to provide a token in the **Authorization** header of each request with the **Bearer** authentication mechanism. Example: ``` Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOjEsImV4cCI6MTQ5OTM3NjE1NH0.NJ6vE8FY1WG6jsRQzfMqeatJ4vh2TWAeeYfDhP71YEE ``` # Security Each API environment(endpoint) has an associated access policy, it is documented in the description of each environment(endpoint). Different access policies are available: - Public access - Authenticated access - Restricted access - Administrator access ### Public access No authentication is required to access the environments(endpoints) with this access policy. ### Authenticated access Authentication is required to access the environments(endpoints) with this access policy. ### Restricted access Authentication is required to access the environments(endpoints) with this access policy. Extra-checks might be added to ensure access to the resource is granted. Returned data might also be filtered. ### Administrator access Authentication as well as an administrator role are required to access the environments(endpoints) with this access policy. # Execute Docker requests Portainer **DO NOT** expose specific environments(endpoints) to manage your Docker resources (create a container, remove a volume, etc...). Instead, it acts as a reverse-proxy to the Docker HTTP API. This means that you can execute Docker requests **via** the Portainer HTTP API. To do so, you can use the `/endpoints/{id}/docker` Portainer API environment(endpoint) (which is not documented below due to Swagger limitations). This environment(endpoint) has a restricted access policy so you still need to be authenticated to be able to query this environment(endpoint). Any query on this environment(endpoint) will be proxied to the Docker API of the associated environment(endpoint) (requests and responses objects are the same as documented in the Docker API). # Private Registry Using private registry, you will need to pass a based64 encoded JSON string ‘{\"registryId\":\\<registryID value\\>}’ inside the Request Header. The parameter name is \"X-Registry-Auth\". \\<registryID value\\> - The registry ID where the repository was created. Example: ``` eyJyZWdpc3RyeUlkIjoxfQ== ``` **NOTE**: You can find more information on how to query the Docker API in the [Docker official documentation](https://docs.docker.com/engine/api/v1.30/) as well as in [this Portainer example](https://documentation.portainer.io/api/api-examples/).
7
+
8
+ The version of the OpenAPI document: 2.33.6
9
+ Contact: info@portainer.io
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+ import warnings
16
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
+ from typing import Any, Dict, List, Optional, Tuple, Union
18
+ from typing_extensions import Annotated
19
+
20
+ from pydantic import Field, StrictBool, StrictInt
21
+ from typing import List, Optional
22
+ from typing_extensions import Annotated
23
+ from openapi_client.models.portainer_team import PortainerTeam
24
+ from openapi_client.models.teams_team_create_payload import TeamsTeamCreatePayload
25
+ from openapi_client.models.teams_team_update_payload import TeamsTeamUpdatePayload
26
+
27
+ from openapi_client.api_client import ApiClient, RequestSerialized
28
+ from openapi_client.api_response import ApiResponse
29
+ from openapi_client.rest import RESTResponseType
30
+
31
+
32
+ class TeamsApi:
33
+ """NOTE: This class is auto generated by OpenAPI Generator
34
+ Ref: https://openapi-generator.tech
35
+
36
+ Do not edit the class manually.
37
+ """
38
+
39
+ def __init__(self, api_client=None) -> None:
40
+ if api_client is None:
41
+ api_client = ApiClient.get_default()
42
+ self.api_client = api_client
43
+
44
+
45
+ @validate_call
46
+ def team_create(
47
+ self,
48
+ body: Annotated[TeamsTeamCreatePayload, Field(description="details")],
49
+ _request_timeout: Union[
50
+ None,
51
+ Annotated[StrictFloat, Field(gt=0)],
52
+ Tuple[
53
+ Annotated[StrictFloat, Field(gt=0)],
54
+ Annotated[StrictFloat, Field(gt=0)]
55
+ ]
56
+ ] = None,
57
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
58
+ _content_type: Optional[StrictStr] = None,
59
+ _headers: Optional[Dict[StrictStr, Any]] = None,
60
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
61
+ ) -> PortainerTeam:
62
+ """Create a new team
63
+
64
+ Create a new team. **Access policy**: administrator
65
+
66
+ :param body: details (required)
67
+ :type body: TeamsTeamCreatePayload
68
+ :param _request_timeout: timeout setting for this request. If one
69
+ number provided, it will be total request
70
+ timeout. It can also be a pair (tuple) of
71
+ (connection, read) timeouts.
72
+ :type _request_timeout: int, tuple(int, int), optional
73
+ :param _request_auth: set to override the auth_settings for an a single
74
+ request; this effectively ignores the
75
+ authentication in the spec for a single request.
76
+ :type _request_auth: dict, optional
77
+ :param _content_type: force content-type for the request.
78
+ :type _content_type: str, Optional
79
+ :param _headers: set to override the headers for a single
80
+ request; this effectively ignores the headers
81
+ in the spec for a single request.
82
+ :type _headers: dict, optional
83
+ :param _host_index: set to override the host_index for a single
84
+ request; this effectively ignores the host_index
85
+ in the spec for a single request.
86
+ :type _host_index: int, optional
87
+ :return: Returns the result object.
88
+ """ # noqa: E501
89
+
90
+ _param = self._team_create_serialize(
91
+ body=body,
92
+ _request_auth=_request_auth,
93
+ _content_type=_content_type,
94
+ _headers=_headers,
95
+ _host_index=_host_index
96
+ )
97
+
98
+ _response_types_map: Dict[str, Optional[str]] = {
99
+ '200': "PortainerTeam",
100
+ '400': None,
101
+ '409': None,
102
+ '500': None,
103
+ }
104
+ response_data = self.api_client.call_api(
105
+ *_param,
106
+ _request_timeout=_request_timeout
107
+ )
108
+ response_data.read()
109
+ return self.api_client.response_deserialize(
110
+ response_data=response_data,
111
+ response_types_map=_response_types_map,
112
+ ).data
113
+
114
+
115
+ @validate_call
116
+ def team_create_with_http_info(
117
+ self,
118
+ body: Annotated[TeamsTeamCreatePayload, Field(description="details")],
119
+ _request_timeout: Union[
120
+ None,
121
+ Annotated[StrictFloat, Field(gt=0)],
122
+ Tuple[
123
+ Annotated[StrictFloat, Field(gt=0)],
124
+ Annotated[StrictFloat, Field(gt=0)]
125
+ ]
126
+ ] = None,
127
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
128
+ _content_type: Optional[StrictStr] = None,
129
+ _headers: Optional[Dict[StrictStr, Any]] = None,
130
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
131
+ ) -> ApiResponse[PortainerTeam]:
132
+ """Create a new team
133
+
134
+ Create a new team. **Access policy**: administrator
135
+
136
+ :param body: details (required)
137
+ :type body: TeamsTeamCreatePayload
138
+ :param _request_timeout: timeout setting for this request. If one
139
+ number provided, it will be total request
140
+ timeout. It can also be a pair (tuple) of
141
+ (connection, read) timeouts.
142
+ :type _request_timeout: int, tuple(int, int), optional
143
+ :param _request_auth: set to override the auth_settings for an a single
144
+ request; this effectively ignores the
145
+ authentication in the spec for a single request.
146
+ :type _request_auth: dict, optional
147
+ :param _content_type: force content-type for the request.
148
+ :type _content_type: str, Optional
149
+ :param _headers: set to override the headers for a single
150
+ request; this effectively ignores the headers
151
+ in the spec for a single request.
152
+ :type _headers: dict, optional
153
+ :param _host_index: set to override the host_index for a single
154
+ request; this effectively ignores the host_index
155
+ in the spec for a single request.
156
+ :type _host_index: int, optional
157
+ :return: Returns the result object.
158
+ """ # noqa: E501
159
+
160
+ _param = self._team_create_serialize(
161
+ body=body,
162
+ _request_auth=_request_auth,
163
+ _content_type=_content_type,
164
+ _headers=_headers,
165
+ _host_index=_host_index
166
+ )
167
+
168
+ _response_types_map: Dict[str, Optional[str]] = {
169
+ '200': "PortainerTeam",
170
+ '400': None,
171
+ '409': None,
172
+ '500': None,
173
+ }
174
+ response_data = self.api_client.call_api(
175
+ *_param,
176
+ _request_timeout=_request_timeout
177
+ )
178
+ response_data.read()
179
+ return self.api_client.response_deserialize(
180
+ response_data=response_data,
181
+ response_types_map=_response_types_map,
182
+ )
183
+
184
+
185
+ @validate_call
186
+ def team_create_without_preload_content(
187
+ self,
188
+ body: Annotated[TeamsTeamCreatePayload, Field(description="details")],
189
+ _request_timeout: Union[
190
+ None,
191
+ Annotated[StrictFloat, Field(gt=0)],
192
+ Tuple[
193
+ Annotated[StrictFloat, Field(gt=0)],
194
+ Annotated[StrictFloat, Field(gt=0)]
195
+ ]
196
+ ] = None,
197
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
198
+ _content_type: Optional[StrictStr] = None,
199
+ _headers: Optional[Dict[StrictStr, Any]] = None,
200
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
201
+ ) -> RESTResponseType:
202
+ """Create a new team
203
+
204
+ Create a new team. **Access policy**: administrator
205
+
206
+ :param body: details (required)
207
+ :type body: TeamsTeamCreatePayload
208
+ :param _request_timeout: timeout setting for this request. If one
209
+ number provided, it will be total request
210
+ timeout. It can also be a pair (tuple) of
211
+ (connection, read) timeouts.
212
+ :type _request_timeout: int, tuple(int, int), optional
213
+ :param _request_auth: set to override the auth_settings for an a single
214
+ request; this effectively ignores the
215
+ authentication in the spec for a single request.
216
+ :type _request_auth: dict, optional
217
+ :param _content_type: force content-type for the request.
218
+ :type _content_type: str, Optional
219
+ :param _headers: set to override the headers for a single
220
+ request; this effectively ignores the headers
221
+ in the spec for a single request.
222
+ :type _headers: dict, optional
223
+ :param _host_index: set to override the host_index for a single
224
+ request; this effectively ignores the host_index
225
+ in the spec for a single request.
226
+ :type _host_index: int, optional
227
+ :return: Returns the result object.
228
+ """ # noqa: E501
229
+
230
+ _param = self._team_create_serialize(
231
+ body=body,
232
+ _request_auth=_request_auth,
233
+ _content_type=_content_type,
234
+ _headers=_headers,
235
+ _host_index=_host_index
236
+ )
237
+
238
+ _response_types_map: Dict[str, Optional[str]] = {
239
+ '200': "PortainerTeam",
240
+ '400': None,
241
+ '409': None,
242
+ '500': None,
243
+ }
244
+ response_data = self.api_client.call_api(
245
+ *_param,
246
+ _request_timeout=_request_timeout
247
+ )
248
+ return response_data.response
249
+
250
+
251
+ def _team_create_serialize(
252
+ self,
253
+ body,
254
+ _request_auth,
255
+ _content_type,
256
+ _headers,
257
+ _host_index,
258
+ ) -> RequestSerialized:
259
+
260
+ _host = None
261
+
262
+ _collection_formats: Dict[str, str] = {
263
+ }
264
+
265
+ _path_params: Dict[str, str] = {}
266
+ _query_params: List[Tuple[str, str]] = []
267
+ _header_params: Dict[str, Optional[str]] = _headers or {}
268
+ _form_params: List[Tuple[str, str]] = []
269
+ _files: Dict[
270
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
271
+ ] = {}
272
+ _body_params: Optional[bytes] = None
273
+
274
+ # process the path parameters
275
+ # process the query parameters
276
+ # process the header parameters
277
+ # process the form parameters
278
+ # process the body parameter
279
+ if body is not None:
280
+ _body_params = body
281
+
282
+
283
+ # set the HTTP header `Accept`
284
+ if 'Accept' not in _header_params:
285
+ _header_params['Accept'] = self.api_client.select_header_accept(
286
+ [
287
+ 'application/json'
288
+ ]
289
+ )
290
+
291
+ # set the HTTP header `Content-Type`
292
+ if _content_type:
293
+ _header_params['Content-Type'] = _content_type
294
+ else:
295
+ _default_content_type = (
296
+ self.api_client.select_header_content_type(
297
+ [
298
+ 'application/json'
299
+ ]
300
+ )
301
+ )
302
+ if _default_content_type is not None:
303
+ _header_params['Content-Type'] = _default_content_type
304
+
305
+ # authentication setting
306
+ _auth_settings: List[str] = [
307
+ 'jwt',
308
+ 'ApiKeyAuth'
309
+ ]
310
+
311
+ return self.api_client.param_serialize(
312
+ method='POST',
313
+ resource_path='/teams',
314
+ path_params=_path_params,
315
+ query_params=_query_params,
316
+ header_params=_header_params,
317
+ body=_body_params,
318
+ post_params=_form_params,
319
+ files=_files,
320
+ auth_settings=_auth_settings,
321
+ collection_formats=_collection_formats,
322
+ _host=_host,
323
+ _request_auth=_request_auth
324
+ )
325
+
326
+
327
+
328
+
329
+ @validate_call
330
+ def team_delete(
331
+ self,
332
+ id: Annotated[StrictInt, Field(description="Team Id")],
333
+ _request_timeout: Union[
334
+ None,
335
+ Annotated[StrictFloat, Field(gt=0)],
336
+ Tuple[
337
+ Annotated[StrictFloat, Field(gt=0)],
338
+ Annotated[StrictFloat, Field(gt=0)]
339
+ ]
340
+ ] = None,
341
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
342
+ _content_type: Optional[StrictStr] = None,
343
+ _headers: Optional[Dict[StrictStr, Any]] = None,
344
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
345
+ ) -> None:
346
+ """Remove a team
347
+
348
+ Remove a team. **Access policy**: administrator
349
+
350
+ :param id: Team Id (required)
351
+ :type id: int
352
+ :param _request_timeout: timeout setting for this request. If one
353
+ number provided, it will be total request
354
+ timeout. It can also be a pair (tuple) of
355
+ (connection, read) timeouts.
356
+ :type _request_timeout: int, tuple(int, int), optional
357
+ :param _request_auth: set to override the auth_settings for an a single
358
+ request; this effectively ignores the
359
+ authentication in the spec for a single request.
360
+ :type _request_auth: dict, optional
361
+ :param _content_type: force content-type for the request.
362
+ :type _content_type: str, Optional
363
+ :param _headers: set to override the headers for a single
364
+ request; this effectively ignores the headers
365
+ in the spec for a single request.
366
+ :type _headers: dict, optional
367
+ :param _host_index: set to override the host_index for a single
368
+ request; this effectively ignores the host_index
369
+ in the spec for a single request.
370
+ :type _host_index: int, optional
371
+ :return: Returns the result object.
372
+ """ # noqa: E501
373
+
374
+ _param = self._team_delete_serialize(
375
+ id=id,
376
+ _request_auth=_request_auth,
377
+ _content_type=_content_type,
378
+ _headers=_headers,
379
+ _host_index=_host_index
380
+ )
381
+
382
+ _response_types_map: Dict[str, Optional[str]] = {
383
+ '204': None,
384
+ '400': None,
385
+ '403': None,
386
+ '404': None,
387
+ '500': None,
388
+ }
389
+ response_data = self.api_client.call_api(
390
+ *_param,
391
+ _request_timeout=_request_timeout
392
+ )
393
+ response_data.read()
394
+ return self.api_client.response_deserialize(
395
+ response_data=response_data,
396
+ response_types_map=_response_types_map,
397
+ ).data
398
+
399
+
400
+ @validate_call
401
+ def team_delete_with_http_info(
402
+ self,
403
+ id: Annotated[StrictInt, Field(description="Team Id")],
404
+ _request_timeout: Union[
405
+ None,
406
+ Annotated[StrictFloat, Field(gt=0)],
407
+ Tuple[
408
+ Annotated[StrictFloat, Field(gt=0)],
409
+ Annotated[StrictFloat, Field(gt=0)]
410
+ ]
411
+ ] = None,
412
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
413
+ _content_type: Optional[StrictStr] = None,
414
+ _headers: Optional[Dict[StrictStr, Any]] = None,
415
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
416
+ ) -> ApiResponse[None]:
417
+ """Remove a team
418
+
419
+ Remove a team. **Access policy**: administrator
420
+
421
+ :param id: Team Id (required)
422
+ :type id: int
423
+ :param _request_timeout: timeout setting for this request. If one
424
+ number provided, it will be total request
425
+ timeout. It can also be a pair (tuple) of
426
+ (connection, read) timeouts.
427
+ :type _request_timeout: int, tuple(int, int), optional
428
+ :param _request_auth: set to override the auth_settings for an a single
429
+ request; this effectively ignores the
430
+ authentication in the spec for a single request.
431
+ :type _request_auth: dict, optional
432
+ :param _content_type: force content-type for the request.
433
+ :type _content_type: str, Optional
434
+ :param _headers: set to override the headers for a single
435
+ request; this effectively ignores the headers
436
+ in the spec for a single request.
437
+ :type _headers: dict, optional
438
+ :param _host_index: set to override the host_index for a single
439
+ request; this effectively ignores the host_index
440
+ in the spec for a single request.
441
+ :type _host_index: int, optional
442
+ :return: Returns the result object.
443
+ """ # noqa: E501
444
+
445
+ _param = self._team_delete_serialize(
446
+ id=id,
447
+ _request_auth=_request_auth,
448
+ _content_type=_content_type,
449
+ _headers=_headers,
450
+ _host_index=_host_index
451
+ )
452
+
453
+ _response_types_map: Dict[str, Optional[str]] = {
454
+ '204': None,
455
+ '400': None,
456
+ '403': None,
457
+ '404': None,
458
+ '500': None,
459
+ }
460
+ response_data = self.api_client.call_api(
461
+ *_param,
462
+ _request_timeout=_request_timeout
463
+ )
464
+ response_data.read()
465
+ return self.api_client.response_deserialize(
466
+ response_data=response_data,
467
+ response_types_map=_response_types_map,
468
+ )
469
+
470
+
471
+ @validate_call
472
+ def team_delete_without_preload_content(
473
+ self,
474
+ id: Annotated[StrictInt, Field(description="Team Id")],
475
+ _request_timeout: Union[
476
+ None,
477
+ Annotated[StrictFloat, Field(gt=0)],
478
+ Tuple[
479
+ Annotated[StrictFloat, Field(gt=0)],
480
+ Annotated[StrictFloat, Field(gt=0)]
481
+ ]
482
+ ] = None,
483
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
484
+ _content_type: Optional[StrictStr] = None,
485
+ _headers: Optional[Dict[StrictStr, Any]] = None,
486
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
487
+ ) -> RESTResponseType:
488
+ """Remove a team
489
+
490
+ Remove a team. **Access policy**: administrator
491
+
492
+ :param id: Team Id (required)
493
+ :type id: int
494
+ :param _request_timeout: timeout setting for this request. If one
495
+ number provided, it will be total request
496
+ timeout. It can also be a pair (tuple) of
497
+ (connection, read) timeouts.
498
+ :type _request_timeout: int, tuple(int, int), optional
499
+ :param _request_auth: set to override the auth_settings for an a single
500
+ request; this effectively ignores the
501
+ authentication in the spec for a single request.
502
+ :type _request_auth: dict, optional
503
+ :param _content_type: force content-type for the request.
504
+ :type _content_type: str, Optional
505
+ :param _headers: set to override the headers for a single
506
+ request; this effectively ignores the headers
507
+ in the spec for a single request.
508
+ :type _headers: dict, optional
509
+ :param _host_index: set to override the host_index for a single
510
+ request; this effectively ignores the host_index
511
+ in the spec for a single request.
512
+ :type _host_index: int, optional
513
+ :return: Returns the result object.
514
+ """ # noqa: E501
515
+
516
+ _param = self._team_delete_serialize(
517
+ id=id,
518
+ _request_auth=_request_auth,
519
+ _content_type=_content_type,
520
+ _headers=_headers,
521
+ _host_index=_host_index
522
+ )
523
+
524
+ _response_types_map: Dict[str, Optional[str]] = {
525
+ '204': None,
526
+ '400': None,
527
+ '403': None,
528
+ '404': None,
529
+ '500': None,
530
+ }
531
+ response_data = self.api_client.call_api(
532
+ *_param,
533
+ _request_timeout=_request_timeout
534
+ )
535
+ return response_data.response
536
+
537
+
538
+ def _team_delete_serialize(
539
+ self,
540
+ id,
541
+ _request_auth,
542
+ _content_type,
543
+ _headers,
544
+ _host_index,
545
+ ) -> RequestSerialized:
546
+
547
+ _host = None
548
+
549
+ _collection_formats: Dict[str, str] = {
550
+ }
551
+
552
+ _path_params: Dict[str, str] = {}
553
+ _query_params: List[Tuple[str, str]] = []
554
+ _header_params: Dict[str, Optional[str]] = _headers or {}
555
+ _form_params: List[Tuple[str, str]] = []
556
+ _files: Dict[
557
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
558
+ ] = {}
559
+ _body_params: Optional[bytes] = None
560
+
561
+ # process the path parameters
562
+ if id is not None:
563
+ _path_params['id'] = id
564
+ # process the query parameters
565
+ # process the header parameters
566
+ # process the form parameters
567
+ # process the body parameter
568
+
569
+
570
+
571
+
572
+ # authentication setting
573
+ _auth_settings: List[str] = [
574
+ 'jwt',
575
+ 'ApiKeyAuth'
576
+ ]
577
+
578
+ return self.api_client.param_serialize(
579
+ method='DELETE',
580
+ resource_path='/teams/{id}',
581
+ path_params=_path_params,
582
+ query_params=_query_params,
583
+ header_params=_header_params,
584
+ body=_body_params,
585
+ post_params=_form_params,
586
+ files=_files,
587
+ auth_settings=_auth_settings,
588
+ collection_formats=_collection_formats,
589
+ _host=_host,
590
+ _request_auth=_request_auth
591
+ )
592
+
593
+
594
+
595
+
596
+ @validate_call
597
+ def team_inspect(
598
+ self,
599
+ id: Annotated[StrictInt, Field(description="Team identifier")],
600
+ _request_timeout: Union[
601
+ None,
602
+ Annotated[StrictFloat, Field(gt=0)],
603
+ Tuple[
604
+ Annotated[StrictFloat, Field(gt=0)],
605
+ Annotated[StrictFloat, Field(gt=0)]
606
+ ]
607
+ ] = None,
608
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
609
+ _content_type: Optional[StrictStr] = None,
610
+ _headers: Optional[Dict[StrictStr, Any]] = None,
611
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
612
+ ) -> PortainerTeam:
613
+ """Inspect a team
614
+
615
+ Retrieve details about a team. Access is only available for administrator and leaders of that team. **Access policy**: administrator
616
+
617
+ :param id: Team identifier (required)
618
+ :type id: int
619
+ :param _request_timeout: timeout setting for this request. If one
620
+ number provided, it will be total request
621
+ timeout. It can also be a pair (tuple) of
622
+ (connection, read) timeouts.
623
+ :type _request_timeout: int, tuple(int, int), optional
624
+ :param _request_auth: set to override the auth_settings for an a single
625
+ request; this effectively ignores the
626
+ authentication in the spec for a single request.
627
+ :type _request_auth: dict, optional
628
+ :param _content_type: force content-type for the request.
629
+ :type _content_type: str, Optional
630
+ :param _headers: set to override the headers for a single
631
+ request; this effectively ignores the headers
632
+ in the spec for a single request.
633
+ :type _headers: dict, optional
634
+ :param _host_index: set to override the host_index for a single
635
+ request; this effectively ignores the host_index
636
+ in the spec for a single request.
637
+ :type _host_index: int, optional
638
+ :return: Returns the result object.
639
+ """ # noqa: E501
640
+
641
+ _param = self._team_inspect_serialize(
642
+ id=id,
643
+ _request_auth=_request_auth,
644
+ _content_type=_content_type,
645
+ _headers=_headers,
646
+ _host_index=_host_index
647
+ )
648
+
649
+ _response_types_map: Dict[str, Optional[str]] = {
650
+ '200': "PortainerTeam",
651
+ '400': None,
652
+ '403': None,
653
+ '404': None,
654
+ '500': None,
655
+ }
656
+ response_data = self.api_client.call_api(
657
+ *_param,
658
+ _request_timeout=_request_timeout
659
+ )
660
+ response_data.read()
661
+ return self.api_client.response_deserialize(
662
+ response_data=response_data,
663
+ response_types_map=_response_types_map,
664
+ ).data
665
+
666
+
667
+ @validate_call
668
+ def team_inspect_with_http_info(
669
+ self,
670
+ id: Annotated[StrictInt, Field(description="Team identifier")],
671
+ _request_timeout: Union[
672
+ None,
673
+ Annotated[StrictFloat, Field(gt=0)],
674
+ Tuple[
675
+ Annotated[StrictFloat, Field(gt=0)],
676
+ Annotated[StrictFloat, Field(gt=0)]
677
+ ]
678
+ ] = None,
679
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
680
+ _content_type: Optional[StrictStr] = None,
681
+ _headers: Optional[Dict[StrictStr, Any]] = None,
682
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
683
+ ) -> ApiResponse[PortainerTeam]:
684
+ """Inspect a team
685
+
686
+ Retrieve details about a team. Access is only available for administrator and leaders of that team. **Access policy**: administrator
687
+
688
+ :param id: Team identifier (required)
689
+ :type id: int
690
+ :param _request_timeout: timeout setting for this request. If one
691
+ number provided, it will be total request
692
+ timeout. It can also be a pair (tuple) of
693
+ (connection, read) timeouts.
694
+ :type _request_timeout: int, tuple(int, int), optional
695
+ :param _request_auth: set to override the auth_settings for an a single
696
+ request; this effectively ignores the
697
+ authentication in the spec for a single request.
698
+ :type _request_auth: dict, optional
699
+ :param _content_type: force content-type for the request.
700
+ :type _content_type: str, Optional
701
+ :param _headers: set to override the headers for a single
702
+ request; this effectively ignores the headers
703
+ in the spec for a single request.
704
+ :type _headers: dict, optional
705
+ :param _host_index: set to override the host_index for a single
706
+ request; this effectively ignores the host_index
707
+ in the spec for a single request.
708
+ :type _host_index: int, optional
709
+ :return: Returns the result object.
710
+ """ # noqa: E501
711
+
712
+ _param = self._team_inspect_serialize(
713
+ id=id,
714
+ _request_auth=_request_auth,
715
+ _content_type=_content_type,
716
+ _headers=_headers,
717
+ _host_index=_host_index
718
+ )
719
+
720
+ _response_types_map: Dict[str, Optional[str]] = {
721
+ '200': "PortainerTeam",
722
+ '400': None,
723
+ '403': None,
724
+ '404': None,
725
+ '500': None,
726
+ }
727
+ response_data = self.api_client.call_api(
728
+ *_param,
729
+ _request_timeout=_request_timeout
730
+ )
731
+ response_data.read()
732
+ return self.api_client.response_deserialize(
733
+ response_data=response_data,
734
+ response_types_map=_response_types_map,
735
+ )
736
+
737
+
738
+ @validate_call
739
+ def team_inspect_without_preload_content(
740
+ self,
741
+ id: Annotated[StrictInt, Field(description="Team identifier")],
742
+ _request_timeout: Union[
743
+ None,
744
+ Annotated[StrictFloat, Field(gt=0)],
745
+ Tuple[
746
+ Annotated[StrictFloat, Field(gt=0)],
747
+ Annotated[StrictFloat, Field(gt=0)]
748
+ ]
749
+ ] = None,
750
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
751
+ _content_type: Optional[StrictStr] = None,
752
+ _headers: Optional[Dict[StrictStr, Any]] = None,
753
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
754
+ ) -> RESTResponseType:
755
+ """Inspect a team
756
+
757
+ Retrieve details about a team. Access is only available for administrator and leaders of that team. **Access policy**: administrator
758
+
759
+ :param id: Team identifier (required)
760
+ :type id: int
761
+ :param _request_timeout: timeout setting for this request. If one
762
+ number provided, it will be total request
763
+ timeout. It can also be a pair (tuple) of
764
+ (connection, read) timeouts.
765
+ :type _request_timeout: int, tuple(int, int), optional
766
+ :param _request_auth: set to override the auth_settings for an a single
767
+ request; this effectively ignores the
768
+ authentication in the spec for a single request.
769
+ :type _request_auth: dict, optional
770
+ :param _content_type: force content-type for the request.
771
+ :type _content_type: str, Optional
772
+ :param _headers: set to override the headers for a single
773
+ request; this effectively ignores the headers
774
+ in the spec for a single request.
775
+ :type _headers: dict, optional
776
+ :param _host_index: set to override the host_index for a single
777
+ request; this effectively ignores the host_index
778
+ in the spec for a single request.
779
+ :type _host_index: int, optional
780
+ :return: Returns the result object.
781
+ """ # noqa: E501
782
+
783
+ _param = self._team_inspect_serialize(
784
+ id=id,
785
+ _request_auth=_request_auth,
786
+ _content_type=_content_type,
787
+ _headers=_headers,
788
+ _host_index=_host_index
789
+ )
790
+
791
+ _response_types_map: Dict[str, Optional[str]] = {
792
+ '200': "PortainerTeam",
793
+ '400': None,
794
+ '403': None,
795
+ '404': None,
796
+ '500': None,
797
+ }
798
+ response_data = self.api_client.call_api(
799
+ *_param,
800
+ _request_timeout=_request_timeout
801
+ )
802
+ return response_data.response
803
+
804
+
805
+ def _team_inspect_serialize(
806
+ self,
807
+ id,
808
+ _request_auth,
809
+ _content_type,
810
+ _headers,
811
+ _host_index,
812
+ ) -> RequestSerialized:
813
+
814
+ _host = None
815
+
816
+ _collection_formats: Dict[str, str] = {
817
+ }
818
+
819
+ _path_params: Dict[str, str] = {}
820
+ _query_params: List[Tuple[str, str]] = []
821
+ _header_params: Dict[str, Optional[str]] = _headers or {}
822
+ _form_params: List[Tuple[str, str]] = []
823
+ _files: Dict[
824
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
825
+ ] = {}
826
+ _body_params: Optional[bytes] = None
827
+
828
+ # process the path parameters
829
+ if id is not None:
830
+ _path_params['id'] = id
831
+ # process the query parameters
832
+ # process the header parameters
833
+ # process the form parameters
834
+ # process the body parameter
835
+
836
+
837
+ # set the HTTP header `Accept`
838
+ if 'Accept' not in _header_params:
839
+ _header_params['Accept'] = self.api_client.select_header_accept(
840
+ [
841
+ 'application/json'
842
+ ]
843
+ )
844
+
845
+
846
+ # authentication setting
847
+ _auth_settings: List[str] = [
848
+ 'jwt',
849
+ 'ApiKeyAuth'
850
+ ]
851
+
852
+ return self.api_client.param_serialize(
853
+ method='GET',
854
+ resource_path='/teams/{id}',
855
+ path_params=_path_params,
856
+ query_params=_query_params,
857
+ header_params=_header_params,
858
+ body=_body_params,
859
+ post_params=_form_params,
860
+ files=_files,
861
+ auth_settings=_auth_settings,
862
+ collection_formats=_collection_formats,
863
+ _host=_host,
864
+ _request_auth=_request_auth
865
+ )
866
+
867
+
868
+
869
+
870
+ @validate_call
871
+ def team_list(
872
+ self,
873
+ only_led_teams: Annotated[Optional[StrictBool], Field(description="Only list teams that the user is leader of")] = None,
874
+ environment_id: Annotated[Optional[StrictInt], Field(description="Identifier of the environment(endpoint) that will be used to filter the authorized teams")] = None,
875
+ _request_timeout: Union[
876
+ None,
877
+ Annotated[StrictFloat, Field(gt=0)],
878
+ Tuple[
879
+ Annotated[StrictFloat, Field(gt=0)],
880
+ Annotated[StrictFloat, Field(gt=0)]
881
+ ]
882
+ ] = None,
883
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
884
+ _content_type: Optional[StrictStr] = None,
885
+ _headers: Optional[Dict[StrictStr, Any]] = None,
886
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
887
+ ) -> List[PortainerTeam]:
888
+ """List teams
889
+
890
+ List teams. For non-administrator users, will only list the teams they are member of. **Access policy**: restricted
891
+
892
+ :param only_led_teams: Only list teams that the user is leader of
893
+ :type only_led_teams: bool
894
+ :param environment_id: Identifier of the environment(endpoint) that will be used to filter the authorized teams
895
+ :type environment_id: int
896
+ :param _request_timeout: timeout setting for this request. If one
897
+ number provided, it will be total request
898
+ timeout. It can also be a pair (tuple) of
899
+ (connection, read) timeouts.
900
+ :type _request_timeout: int, tuple(int, int), optional
901
+ :param _request_auth: set to override the auth_settings for an a single
902
+ request; this effectively ignores the
903
+ authentication in the spec for a single request.
904
+ :type _request_auth: dict, optional
905
+ :param _content_type: force content-type for the request.
906
+ :type _content_type: str, Optional
907
+ :param _headers: set to override the headers for a single
908
+ request; this effectively ignores the headers
909
+ in the spec for a single request.
910
+ :type _headers: dict, optional
911
+ :param _host_index: set to override the host_index for a single
912
+ request; this effectively ignores the host_index
913
+ in the spec for a single request.
914
+ :type _host_index: int, optional
915
+ :return: Returns the result object.
916
+ """ # noqa: E501
917
+
918
+ _param = self._team_list_serialize(
919
+ only_led_teams=only_led_teams,
920
+ environment_id=environment_id,
921
+ _request_auth=_request_auth,
922
+ _content_type=_content_type,
923
+ _headers=_headers,
924
+ _host_index=_host_index
925
+ )
926
+
927
+ _response_types_map: Dict[str, Optional[str]] = {
928
+ '200': "List[PortainerTeam]",
929
+ '500': None,
930
+ }
931
+ response_data = self.api_client.call_api(
932
+ *_param,
933
+ _request_timeout=_request_timeout
934
+ )
935
+ response_data.read()
936
+ return self.api_client.response_deserialize(
937
+ response_data=response_data,
938
+ response_types_map=_response_types_map,
939
+ ).data
940
+
941
+
942
+ @validate_call
943
+ def team_list_with_http_info(
944
+ self,
945
+ only_led_teams: Annotated[Optional[StrictBool], Field(description="Only list teams that the user is leader of")] = None,
946
+ environment_id: Annotated[Optional[StrictInt], Field(description="Identifier of the environment(endpoint) that will be used to filter the authorized teams")] = None,
947
+ _request_timeout: Union[
948
+ None,
949
+ Annotated[StrictFloat, Field(gt=0)],
950
+ Tuple[
951
+ Annotated[StrictFloat, Field(gt=0)],
952
+ Annotated[StrictFloat, Field(gt=0)]
953
+ ]
954
+ ] = None,
955
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
956
+ _content_type: Optional[StrictStr] = None,
957
+ _headers: Optional[Dict[StrictStr, Any]] = None,
958
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
959
+ ) -> ApiResponse[List[PortainerTeam]]:
960
+ """List teams
961
+
962
+ List teams. For non-administrator users, will only list the teams they are member of. **Access policy**: restricted
963
+
964
+ :param only_led_teams: Only list teams that the user is leader of
965
+ :type only_led_teams: bool
966
+ :param environment_id: Identifier of the environment(endpoint) that will be used to filter the authorized teams
967
+ :type environment_id: int
968
+ :param _request_timeout: timeout setting for this request. If one
969
+ number provided, it will be total request
970
+ timeout. It can also be a pair (tuple) of
971
+ (connection, read) timeouts.
972
+ :type _request_timeout: int, tuple(int, int), optional
973
+ :param _request_auth: set to override the auth_settings for an a single
974
+ request; this effectively ignores the
975
+ authentication in the spec for a single request.
976
+ :type _request_auth: dict, optional
977
+ :param _content_type: force content-type for the request.
978
+ :type _content_type: str, Optional
979
+ :param _headers: set to override the headers for a single
980
+ request; this effectively ignores the headers
981
+ in the spec for a single request.
982
+ :type _headers: dict, optional
983
+ :param _host_index: set to override the host_index for a single
984
+ request; this effectively ignores the host_index
985
+ in the spec for a single request.
986
+ :type _host_index: int, optional
987
+ :return: Returns the result object.
988
+ """ # noqa: E501
989
+
990
+ _param = self._team_list_serialize(
991
+ only_led_teams=only_led_teams,
992
+ environment_id=environment_id,
993
+ _request_auth=_request_auth,
994
+ _content_type=_content_type,
995
+ _headers=_headers,
996
+ _host_index=_host_index
997
+ )
998
+
999
+ _response_types_map: Dict[str, Optional[str]] = {
1000
+ '200': "List[PortainerTeam]",
1001
+ '500': None,
1002
+ }
1003
+ response_data = self.api_client.call_api(
1004
+ *_param,
1005
+ _request_timeout=_request_timeout
1006
+ )
1007
+ response_data.read()
1008
+ return self.api_client.response_deserialize(
1009
+ response_data=response_data,
1010
+ response_types_map=_response_types_map,
1011
+ )
1012
+
1013
+
1014
+ @validate_call
1015
+ def team_list_without_preload_content(
1016
+ self,
1017
+ only_led_teams: Annotated[Optional[StrictBool], Field(description="Only list teams that the user is leader of")] = None,
1018
+ environment_id: Annotated[Optional[StrictInt], Field(description="Identifier of the environment(endpoint) that will be used to filter the authorized teams")] = None,
1019
+ _request_timeout: Union[
1020
+ None,
1021
+ Annotated[StrictFloat, Field(gt=0)],
1022
+ Tuple[
1023
+ Annotated[StrictFloat, Field(gt=0)],
1024
+ Annotated[StrictFloat, Field(gt=0)]
1025
+ ]
1026
+ ] = None,
1027
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1028
+ _content_type: Optional[StrictStr] = None,
1029
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1030
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1031
+ ) -> RESTResponseType:
1032
+ """List teams
1033
+
1034
+ List teams. For non-administrator users, will only list the teams they are member of. **Access policy**: restricted
1035
+
1036
+ :param only_led_teams: Only list teams that the user is leader of
1037
+ :type only_led_teams: bool
1038
+ :param environment_id: Identifier of the environment(endpoint) that will be used to filter the authorized teams
1039
+ :type environment_id: int
1040
+ :param _request_timeout: timeout setting for this request. If one
1041
+ number provided, it will be total request
1042
+ timeout. It can also be a pair (tuple) of
1043
+ (connection, read) timeouts.
1044
+ :type _request_timeout: int, tuple(int, int), optional
1045
+ :param _request_auth: set to override the auth_settings for an a single
1046
+ request; this effectively ignores the
1047
+ authentication in the spec for a single request.
1048
+ :type _request_auth: dict, optional
1049
+ :param _content_type: force content-type for the request.
1050
+ :type _content_type: str, Optional
1051
+ :param _headers: set to override the headers for a single
1052
+ request; this effectively ignores the headers
1053
+ in the spec for a single request.
1054
+ :type _headers: dict, optional
1055
+ :param _host_index: set to override the host_index for a single
1056
+ request; this effectively ignores the host_index
1057
+ in the spec for a single request.
1058
+ :type _host_index: int, optional
1059
+ :return: Returns the result object.
1060
+ """ # noqa: E501
1061
+
1062
+ _param = self._team_list_serialize(
1063
+ only_led_teams=only_led_teams,
1064
+ environment_id=environment_id,
1065
+ _request_auth=_request_auth,
1066
+ _content_type=_content_type,
1067
+ _headers=_headers,
1068
+ _host_index=_host_index
1069
+ )
1070
+
1071
+ _response_types_map: Dict[str, Optional[str]] = {
1072
+ '200': "List[PortainerTeam]",
1073
+ '500': None,
1074
+ }
1075
+ response_data = self.api_client.call_api(
1076
+ *_param,
1077
+ _request_timeout=_request_timeout
1078
+ )
1079
+ return response_data.response
1080
+
1081
+
1082
+ def _team_list_serialize(
1083
+ self,
1084
+ only_led_teams,
1085
+ environment_id,
1086
+ _request_auth,
1087
+ _content_type,
1088
+ _headers,
1089
+ _host_index,
1090
+ ) -> RequestSerialized:
1091
+
1092
+ _host = None
1093
+
1094
+ _collection_formats: Dict[str, str] = {
1095
+ }
1096
+
1097
+ _path_params: Dict[str, str] = {}
1098
+ _query_params: List[Tuple[str, str]] = []
1099
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1100
+ _form_params: List[Tuple[str, str]] = []
1101
+ _files: Dict[
1102
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1103
+ ] = {}
1104
+ _body_params: Optional[bytes] = None
1105
+
1106
+ # process the path parameters
1107
+ # process the query parameters
1108
+ if only_led_teams is not None:
1109
+
1110
+ _query_params.append(('onlyLedTeams', only_led_teams))
1111
+
1112
+ if environment_id is not None:
1113
+
1114
+ _query_params.append(('environmentId', environment_id))
1115
+
1116
+ # process the header parameters
1117
+ # process the form parameters
1118
+ # process the body parameter
1119
+
1120
+
1121
+ # set the HTTP header `Accept`
1122
+ if 'Accept' not in _header_params:
1123
+ _header_params['Accept'] = self.api_client.select_header_accept(
1124
+ [
1125
+ 'application/json'
1126
+ ]
1127
+ )
1128
+
1129
+
1130
+ # authentication setting
1131
+ _auth_settings: List[str] = [
1132
+ 'jwt',
1133
+ 'ApiKeyAuth'
1134
+ ]
1135
+
1136
+ return self.api_client.param_serialize(
1137
+ method='GET',
1138
+ resource_path='/teams',
1139
+ path_params=_path_params,
1140
+ query_params=_query_params,
1141
+ header_params=_header_params,
1142
+ body=_body_params,
1143
+ post_params=_form_params,
1144
+ files=_files,
1145
+ auth_settings=_auth_settings,
1146
+ collection_formats=_collection_formats,
1147
+ _host=_host,
1148
+ _request_auth=_request_auth
1149
+ )
1150
+
1151
+
1152
+
1153
+
1154
+ @validate_call
1155
+ def team_update(
1156
+ self,
1157
+ id: Annotated[StrictInt, Field(description="Team identifier")],
1158
+ body: Annotated[TeamsTeamUpdatePayload, Field(description="Team details")],
1159
+ _request_timeout: Union[
1160
+ None,
1161
+ Annotated[StrictFloat, Field(gt=0)],
1162
+ Tuple[
1163
+ Annotated[StrictFloat, Field(gt=0)],
1164
+ Annotated[StrictFloat, Field(gt=0)]
1165
+ ]
1166
+ ] = None,
1167
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1168
+ _content_type: Optional[StrictStr] = None,
1169
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1170
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1171
+ ) -> PortainerTeam:
1172
+ """Update a team
1173
+
1174
+ Update a team. **Access policy**: administrator
1175
+
1176
+ :param id: Team identifier (required)
1177
+ :type id: int
1178
+ :param body: Team details (required)
1179
+ :type body: TeamsTeamUpdatePayload
1180
+ :param _request_timeout: timeout setting for this request. If one
1181
+ number provided, it will be total request
1182
+ timeout. It can also be a pair (tuple) of
1183
+ (connection, read) timeouts.
1184
+ :type _request_timeout: int, tuple(int, int), optional
1185
+ :param _request_auth: set to override the auth_settings for an a single
1186
+ request; this effectively ignores the
1187
+ authentication in the spec for a single request.
1188
+ :type _request_auth: dict, optional
1189
+ :param _content_type: force content-type for the request.
1190
+ :type _content_type: str, Optional
1191
+ :param _headers: set to override the headers for a single
1192
+ request; this effectively ignores the headers
1193
+ in the spec for a single request.
1194
+ :type _headers: dict, optional
1195
+ :param _host_index: set to override the host_index for a single
1196
+ request; this effectively ignores the host_index
1197
+ in the spec for a single request.
1198
+ :type _host_index: int, optional
1199
+ :return: Returns the result object.
1200
+ """ # noqa: E501
1201
+
1202
+ _param = self._team_update_serialize(
1203
+ id=id,
1204
+ body=body,
1205
+ _request_auth=_request_auth,
1206
+ _content_type=_content_type,
1207
+ _headers=_headers,
1208
+ _host_index=_host_index
1209
+ )
1210
+
1211
+ _response_types_map: Dict[str, Optional[str]] = {
1212
+ '200': "PortainerTeam",
1213
+ '400': None,
1214
+ '403': None,
1215
+ '404': None,
1216
+ '500': None,
1217
+ }
1218
+ response_data = self.api_client.call_api(
1219
+ *_param,
1220
+ _request_timeout=_request_timeout
1221
+ )
1222
+ response_data.read()
1223
+ return self.api_client.response_deserialize(
1224
+ response_data=response_data,
1225
+ response_types_map=_response_types_map,
1226
+ ).data
1227
+
1228
+
1229
+ @validate_call
1230
+ def team_update_with_http_info(
1231
+ self,
1232
+ id: Annotated[StrictInt, Field(description="Team identifier")],
1233
+ body: Annotated[TeamsTeamUpdatePayload, Field(description="Team details")],
1234
+ _request_timeout: Union[
1235
+ None,
1236
+ Annotated[StrictFloat, Field(gt=0)],
1237
+ Tuple[
1238
+ Annotated[StrictFloat, Field(gt=0)],
1239
+ Annotated[StrictFloat, Field(gt=0)]
1240
+ ]
1241
+ ] = None,
1242
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1243
+ _content_type: Optional[StrictStr] = None,
1244
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1245
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1246
+ ) -> ApiResponse[PortainerTeam]:
1247
+ """Update a team
1248
+
1249
+ Update a team. **Access policy**: administrator
1250
+
1251
+ :param id: Team identifier (required)
1252
+ :type id: int
1253
+ :param body: Team details (required)
1254
+ :type body: TeamsTeamUpdatePayload
1255
+ :param _request_timeout: timeout setting for this request. If one
1256
+ number provided, it will be total request
1257
+ timeout. It can also be a pair (tuple) of
1258
+ (connection, read) timeouts.
1259
+ :type _request_timeout: int, tuple(int, int), optional
1260
+ :param _request_auth: set to override the auth_settings for an a single
1261
+ request; this effectively ignores the
1262
+ authentication in the spec for a single request.
1263
+ :type _request_auth: dict, optional
1264
+ :param _content_type: force content-type for the request.
1265
+ :type _content_type: str, Optional
1266
+ :param _headers: set to override the headers for a single
1267
+ request; this effectively ignores the headers
1268
+ in the spec for a single request.
1269
+ :type _headers: dict, optional
1270
+ :param _host_index: set to override the host_index for a single
1271
+ request; this effectively ignores the host_index
1272
+ in the spec for a single request.
1273
+ :type _host_index: int, optional
1274
+ :return: Returns the result object.
1275
+ """ # noqa: E501
1276
+
1277
+ _param = self._team_update_serialize(
1278
+ id=id,
1279
+ body=body,
1280
+ _request_auth=_request_auth,
1281
+ _content_type=_content_type,
1282
+ _headers=_headers,
1283
+ _host_index=_host_index
1284
+ )
1285
+
1286
+ _response_types_map: Dict[str, Optional[str]] = {
1287
+ '200': "PortainerTeam",
1288
+ '400': None,
1289
+ '403': None,
1290
+ '404': None,
1291
+ '500': None,
1292
+ }
1293
+ response_data = self.api_client.call_api(
1294
+ *_param,
1295
+ _request_timeout=_request_timeout
1296
+ )
1297
+ response_data.read()
1298
+ return self.api_client.response_deserialize(
1299
+ response_data=response_data,
1300
+ response_types_map=_response_types_map,
1301
+ )
1302
+
1303
+
1304
+ @validate_call
1305
+ def team_update_without_preload_content(
1306
+ self,
1307
+ id: Annotated[StrictInt, Field(description="Team identifier")],
1308
+ body: Annotated[TeamsTeamUpdatePayload, Field(description="Team details")],
1309
+ _request_timeout: Union[
1310
+ None,
1311
+ Annotated[StrictFloat, Field(gt=0)],
1312
+ Tuple[
1313
+ Annotated[StrictFloat, Field(gt=0)],
1314
+ Annotated[StrictFloat, Field(gt=0)]
1315
+ ]
1316
+ ] = None,
1317
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1318
+ _content_type: Optional[StrictStr] = None,
1319
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1320
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1321
+ ) -> RESTResponseType:
1322
+ """Update a team
1323
+
1324
+ Update a team. **Access policy**: administrator
1325
+
1326
+ :param id: Team identifier (required)
1327
+ :type id: int
1328
+ :param body: Team details (required)
1329
+ :type body: TeamsTeamUpdatePayload
1330
+ :param _request_timeout: timeout setting for this request. If one
1331
+ number provided, it will be total request
1332
+ timeout. It can also be a pair (tuple) of
1333
+ (connection, read) timeouts.
1334
+ :type _request_timeout: int, tuple(int, int), optional
1335
+ :param _request_auth: set to override the auth_settings for an a single
1336
+ request; this effectively ignores the
1337
+ authentication in the spec for a single request.
1338
+ :type _request_auth: dict, optional
1339
+ :param _content_type: force content-type for the request.
1340
+ :type _content_type: str, Optional
1341
+ :param _headers: set to override the headers for a single
1342
+ request; this effectively ignores the headers
1343
+ in the spec for a single request.
1344
+ :type _headers: dict, optional
1345
+ :param _host_index: set to override the host_index for a single
1346
+ request; this effectively ignores the host_index
1347
+ in the spec for a single request.
1348
+ :type _host_index: int, optional
1349
+ :return: Returns the result object.
1350
+ """ # noqa: E501
1351
+
1352
+ _param = self._team_update_serialize(
1353
+ id=id,
1354
+ body=body,
1355
+ _request_auth=_request_auth,
1356
+ _content_type=_content_type,
1357
+ _headers=_headers,
1358
+ _host_index=_host_index
1359
+ )
1360
+
1361
+ _response_types_map: Dict[str, Optional[str]] = {
1362
+ '200': "PortainerTeam",
1363
+ '400': None,
1364
+ '403': None,
1365
+ '404': None,
1366
+ '500': None,
1367
+ }
1368
+ response_data = self.api_client.call_api(
1369
+ *_param,
1370
+ _request_timeout=_request_timeout
1371
+ )
1372
+ return response_data.response
1373
+
1374
+
1375
+ def _team_update_serialize(
1376
+ self,
1377
+ id,
1378
+ body,
1379
+ _request_auth,
1380
+ _content_type,
1381
+ _headers,
1382
+ _host_index,
1383
+ ) -> RequestSerialized:
1384
+
1385
+ _host = None
1386
+
1387
+ _collection_formats: Dict[str, str] = {
1388
+ }
1389
+
1390
+ _path_params: Dict[str, str] = {}
1391
+ _query_params: List[Tuple[str, str]] = []
1392
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1393
+ _form_params: List[Tuple[str, str]] = []
1394
+ _files: Dict[
1395
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1396
+ ] = {}
1397
+ _body_params: Optional[bytes] = None
1398
+
1399
+ # process the path parameters
1400
+ if id is not None:
1401
+ _path_params['id'] = id
1402
+ # process the query parameters
1403
+ # process the header parameters
1404
+ # process the form parameters
1405
+ # process the body parameter
1406
+ if body is not None:
1407
+ _body_params = body
1408
+
1409
+
1410
+ # set the HTTP header `Accept`
1411
+ if 'Accept' not in _header_params:
1412
+ _header_params['Accept'] = self.api_client.select_header_accept(
1413
+ [
1414
+ 'application/json'
1415
+ ]
1416
+ )
1417
+
1418
+ # set the HTTP header `Content-Type`
1419
+ if _content_type:
1420
+ _header_params['Content-Type'] = _content_type
1421
+ else:
1422
+ _default_content_type = (
1423
+ self.api_client.select_header_content_type(
1424
+ [
1425
+ 'application/json'
1426
+ ]
1427
+ )
1428
+ )
1429
+ if _default_content_type is not None:
1430
+ _header_params['Content-Type'] = _default_content_type
1431
+
1432
+ # authentication setting
1433
+ _auth_settings: List[str] = [
1434
+ 'jwt',
1435
+ 'ApiKeyAuth'
1436
+ ]
1437
+
1438
+ return self.api_client.param_serialize(
1439
+ method='PUT',
1440
+ resource_path='/teams/{id}',
1441
+ path_params=_path_params,
1442
+ query_params=_query_params,
1443
+ header_params=_header_params,
1444
+ body=_body_params,
1445
+ post_params=_form_params,
1446
+ files=_files,
1447
+ auth_settings=_auth_settings,
1448
+ collection_formats=_collection_formats,
1449
+ _host=_host,
1450
+ _request_auth=_request_auth
1451
+ )
1452
+
1453
+