ptctools 0.1.0__py3-none-any.whl → 0.1.1__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.
- ptctools/__init__.py +7 -1
- ptctools/_portainer.py +450 -226
- ptctools/config.py +81 -142
- ptctools/db.py +166 -136
- ptctools/portainer_client/.openapi-generator/FILES +818 -0
- ptctools/portainer_client/.openapi-generator/VERSION +1 -0
- ptctools/portainer_client/.openapi-generator-ignore +23 -0
- ptctools/portainer_client/openapi_client/__init__.py +855 -0
- ptctools/portainer_client/openapi_client/api/__init__.py +36 -0
- ptctools/portainer_client/openapi_client/api/auth_api.py +848 -0
- ptctools/portainer_client/openapi_client/api/backup_api.py +587 -0
- ptctools/portainer_client/openapi_client/api/custom_templates_api.py +2659 -0
- ptctools/portainer_client/openapi_client/api/docker_api.py +878 -0
- ptctools/portainer_client/openapi_client/api/edge_api.py +597 -0
- ptctools/portainer_client/openapi_client/api/edge_groups_api.py +1405 -0
- ptctools/portainer_client/openapi_client/api/edge_jobs_api.py +3146 -0
- ptctools/portainer_client/openapi_client/api/edge_stacks_api.py +2990 -0
- ptctools/portainer_client/openapi_client/api/endpoint_groups_api.py +1965 -0
- ptctools/portainer_client/openapi_client/api/endpoints_api.py +6607 -0
- ptctools/portainer_client/openapi_client/api/gitops_api.py +308 -0
- ptctools/portainer_client/openapi_client/api/helm_api.py +3529 -0
- ptctools/portainer_client/openapi_client/api/intel_api.py +1718 -0
- ptctools/portainer_client/openapi_client/api/kubernetes_api.py +18877 -0
- ptctools/portainer_client/openapi_client/api/ldap_api.py +313 -0
- ptctools/portainer_client/openapi_client/api/motd_api.py +284 -0
- ptctools/portainer_client/openapi_client/api/registries_api.py +1712 -0
- ptctools/portainer_client/openapi_client/api/resource_controls_api.py +891 -0
- ptctools/portainer_client/openapi_client/api/roles_api.py +288 -0
- ptctools/portainer_client/openapi_client/api/settings_api.py +820 -0
- ptctools/portainer_client/openapi_client/api/ssl_api.py +573 -0
- ptctools/portainer_client/openapi_client/api/stacks_api.py +6640 -0
- ptctools/portainer_client/openapi_client/api/status_api.py +285 -0
- ptctools/portainer_client/openapi_client/api/system_api.py +1277 -0
- ptctools/portainer_client/openapi_client/api/tags_api.py +839 -0
- ptctools/portainer_client/openapi_client/api/team_memberships_api.py +1425 -0
- ptctools/portainer_client/openapi_client/api/teams_api.py +1453 -0
- ptctools/portainer_client/openapi_client/api/templates_api.py +558 -0
- ptctools/portainer_client/openapi_client/api/upload_api.py +343 -0
- ptctools/portainer_client/openapi_client/api/users_api.py +3659 -0
- ptctools/portainer_client/openapi_client/api/webhooks_api.py +1415 -0
- ptctools/portainer_client/openapi_client/api/websocket_api.py +1279 -0
- ptctools/portainer_client/openapi_client/api_client.py +805 -0
- ptctools/portainer_client/openapi_client/api_response.py +21 -0
- ptctools/portainer_client/openapi_client/configuration.py +619 -0
- ptctools/portainer_client/openapi_client/docs/AuthApi.md +236 -0
- ptctools/portainer_client/openapi_client/docs/AuthAuthenticatePayload.md +30 -0
- ptctools/portainer_client/openapi_client/docs/AuthAuthenticateResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/AuthOauthPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/BackupApi.md +166 -0
- ptctools/portainer_client/openapi_client/docs/BackupBackupPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/BackupRestorePayload.md +31 -0
- ptctools/portainer_client/openapi_client/docs/BuildBuildInfo.md +35 -0
- ptctools/portainer_client/openapi_client/docs/BuildDependenciesInfo.md +32 -0
- ptctools/portainer_client/openapi_client/docs/BuildRuntimeInfo.md +29 -0
- ptctools/portainer_client/openapi_client/docs/ContainersContainerGpusResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/CustomTemplatesApi.md +842 -0
- ptctools/portainer_client/openapi_client/docs/CustomtemplatesCustomTemplateFromFileContentPayload.md +37 -0
- ptctools/portainer_client/openapi_client/docs/CustomtemplatesCustomTemplateFromGitRepositoryPayload.md +44 -0
- ptctools/portainer_client/openapi_client/docs/CustomtemplatesCustomTemplateUpdatePayload.md +47 -0
- ptctools/portainer_client/openapi_client/docs/CustomtemplatesFileResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/DockerApi.md +259 -0
- ptctools/portainer_client/openapi_client/docs/DockerContainerStats.md +33 -0
- ptctools/portainer_client/openapi_client/docs/DockerDashboardResponse.md +34 -0
- ptctools/portainer_client/openapi_client/docs/DockerImagesCounters.md +30 -0
- ptctools/portainer_client/openapi_client/docs/EdgeApi.md +152 -0
- ptctools/portainer_client/openapi_client/docs/EdgeDeployerOptionsPayload.md +30 -0
- ptctools/portainer_client/openapi_client/docs/EdgeGroupsApi.md +451 -0
- ptctools/portainer_client/openapi_client/docs/EdgeJobsApi.md +1003 -0
- ptctools/portainer_client/openapi_client/docs/EdgeRegistryCredentials.md +31 -0
- ptctools/portainer_client/openapi_client/docs/EdgeStackPayload.md +48 -0
- ptctools/portainer_client/openapi_client/docs/EdgeStacksApi.md +900 -0
- ptctools/portainer_client/openapi_client/docs/EdgegroupsDecoratedEdgeGroup.md +39 -0
- ptctools/portainer_client/openapi_client/docs/EdgegroupsEdgeGroupCreatePayload.md +33 -0
- ptctools/portainer_client/openapi_client/docs/EdgegroupsEdgeGroupUpdatePayload.md +33 -0
- ptctools/portainer_client/openapi_client/docs/EdgejobsEdgeJobCreateFromFileContentPayload.md +34 -0
- ptctools/portainer_client/openapi_client/docs/EdgejobsEdgeJobFileResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/EdgejobsEdgeJobUpdatePayload.md +34 -0
- ptctools/portainer_client/openapi_client/docs/EdgejobsFileResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/EdgejobsTaskContainer.md +32 -0
- ptctools/portainer_client/openapi_client/docs/EdgestacksEdgeStackFromGitRepositoryPayload.md +41 -0
- ptctools/portainer_client/openapi_client/docs/EdgestacksEdgeStackFromStringPayload.md +34 -0
- ptctools/portainer_client/openapi_client/docs/EdgestacksStackFileResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/EdgestacksUpdateEdgeStackPayload.md +33 -0
- ptctools/portainer_client/openapi_client/docs/EdgestacksUpdateStatusPayload.md +33 -0
- ptctools/portainer_client/openapi_client/docs/EndpointGroupsApi.md +638 -0
- ptctools/portainer_client/openapi_client/docs/EndpointedgeEdgeJobResponse.md +33 -0
- ptctools/portainer_client/openapi_client/docs/EndpointedgeEndpointEdgeStatusInspectResponse.md +34 -0
- ptctools/portainer_client/openapi_client/docs/EndpointedgeStackStatusResponse.md +30 -0
- ptctools/portainer_client/openapi_client/docs/EndpointgroupsEndpointGroupCreatePayload.md +32 -0
- ptctools/portainer_client/openapi_client/docs/EndpointgroupsEndpointGroupUpdatePayload.md +33 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsApi.md +1930 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsDockerhubStatusResponse.md +30 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointCreateGlobalKeyResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointDeleteBatchPartialResponse.md +30 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointDeleteBatchPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointDeleteRequest.md +30 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointSettingsUpdatePayload.md +39 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointUpdatePayload.md +45 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointUpdateRelationsPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsEndpointUpdateRelationsPayloadRelationsValue.md +31 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsForceUpdateServicePayload.md +30 -0
- ptctools/portainer_client/openapi_client/docs/EndpointsRegistryAccessPayload.md +31 -0
- ptctools/portainer_client/openapi_client/docs/FilesystemDirEntry.md +32 -0
- ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseHook.md +36 -0
- ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseHookExecution.md +31 -0
- ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseInfo.md +35 -0
- ptctools/portainer_client/openapi_client/docs/GithubComPortainerPortainerPkgLibhelmReleaseRelease.md +39 -0
- ptctools/portainer_client/openapi_client/docs/GitopsApi.md +99 -0
- ptctools/portainer_client/openapi_client/docs/GitopsFileResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/GitopsRepositoryFilePreviewPayload.md +35 -0
- ptctools/portainer_client/openapi_client/docs/GittypesGitAuthentication.md +32 -0
- ptctools/portainer_client/openapi_client/docs/GittypesGitCredentialAuthType.md +12 -0
- ptctools/portainer_client/openapi_client/docs/GittypesRepoConfig.md +34 -0
- ptctools/portainer_client/openapi_client/docs/HelmApi.md +1062 -0
- ptctools/portainer_client/openapi_client/docs/HelmInstallChartPayload.md +35 -0
- ptctools/portainer_client/openapi_client/docs/ImagesImageResponse.md +34 -0
- ptctools/portainer_client/openapi_client/docs/IntelApi.md +505 -0
- ptctools/portainer_client/openapi_client/docs/IntstrIntOrString.md +31 -0
- ptctools/portainer_client/openapi_client/docs/IntstrType.md +12 -0
- ptctools/portainer_client/openapi_client/docs/K8sIoApiCoreV1ConditionStatus.md +14 -0
- ptctools/portainer_client/openapi_client/docs/K8sIoApiRbacV1Subject.md +32 -0
- ptctools/portainer_client/openapi_client/docs/K8sIoApimachineryPkgApisMetaV1ConditionStatus.md +14 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesApi.md +6017 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesConfiguration.md +31 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesCustomResourceMetadata.md +31 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesDescribeResourceResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesIngressRule.md +32 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sApplication.md +60 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sApplicationResource.md +32 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sClusterRole.md +32 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sClusterRoleBinding.md +35 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sConfigMap.md +39 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sConfigurationOwnerResource.md +31 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sCronJob.md +37 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sDashboard.md +35 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sEvent.md +40 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sEventInvolvedObject.md +32 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressController.md +34 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressInfo.md +39 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressPath.md +35 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sIngressTLS.md +30 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sJob.md +42 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sNamespaceDetails.md +32 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sPersistentVolume.md +37 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sPersistentVolumeClaim.md +41 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sResourceQuota.md +31 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sRole.md +33 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sRoleBinding.md +35 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sSecret.md +40 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sServiceAccount.md +33 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sServiceInfo.md +43 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sServiceIngress.md +30 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sServicePort.md +33 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sStorageClass.md +32 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesK8sVolumeInfo.md +31 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesMetadata.md +30 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesNamespacesToggleSystemPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesPod.md +38 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesPublishedPort.md +30 -0
- ptctools/portainer_client/openapi_client/docs/KubernetesTLSInfo.md +29 -0
- ptctools/portainer_client/openapi_client/docs/LdapApi.md +96 -0
- ptctools/portainer_client/openapi_client/docs/LdapCheckPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/MotdApi.md +91 -0
- ptctools/portainer_client/openapi_client/docs/MotdMotdResponse.md +33 -0
- ptctools/portainer_client/openapi_client/docs/Oauth2AuthStyle.md +14 -0
- ptctools/portainer_client/openapi_client/docs/OpenamtDeviceActionPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/OpenamtDeviceFeaturesPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/OpenamtOpenAMTConfigurePayload.md +36 -0
- ptctools/portainer_client/openapi_client/docs/OsFileMode.md +38 -0
- ptctools/portainer_client/openapi_client/docs/PlatformContainerPlatform.md +18 -0
- ptctools/portainer_client/openapi_client/docs/PortainerAPIKey.md +35 -0
- ptctools/portainer_client/openapi_client/docs/PortainerAccessPolicy.md +29 -0
- ptctools/portainer_client/openapi_client/docs/PortainerAuthenticationMethod.md +16 -0
- ptctools/portainer_client/openapi_client/docs/PortainerAutoUpdateSettings.md +33 -0
- ptctools/portainer_client/openapi_client/docs/PortainerAzureCredentials.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerCustomTemplate.md +43 -0
- ptctools/portainer_client/openapi_client/docs/PortainerCustomTemplatePlatform.md +14 -0
- ptctools/portainer_client/openapi_client/docs/PortainerCustomTemplateVariableDefinition.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerDiagnosticsData.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerDockerSnapshot.md +49 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEcrData.md +29 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdge.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeGroup.md +35 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeJob.md +38 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeJobEndpointMeta.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeJobLogsStatus.md +16 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeStack.md +40 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackDeploymentStatus.md +33 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackDeploymentType.md +12 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackStatus.md +35 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackStatusDetails.md +35 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEdgeStackStatusType.md +36 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEndpoint.md +66 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEndpointAgent.md +29 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEndpointGroup.md +38 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEndpointPostInitMigrations.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEndpointSecuritySettings.md +37 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEndpointStatus.md +14 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEndpointType.md +24 -0
- ptctools/portainer_client/openapi_client/docs/PortainerEnvironmentEdgeSettings.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerGithubRegistryData.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerGitlabRegistryData.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerGlobalDeploymentOptions.md +29 -0
- ptctools/portainer_client/openapi_client/docs/PortainerHelmUserRepository.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerInternalAuthSettings.md +29 -0
- ptctools/portainer_client/openapi_client/docs/PortainerK8sNamespaceInfo.md +38 -0
- ptctools/portainer_client/openapi_client/docs/PortainerK8sNodeLimits.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerKubernetesConfiguration.md +37 -0
- ptctools/portainer_client/openapi_client/docs/PortainerKubernetesData.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerKubernetesFlags.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerKubernetesIngressClassConfig.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerKubernetesSnapshot.md +35 -0
- ptctools/portainer_client/openapi_client/docs/PortainerKubernetesStorageClassConfig.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerLDAPGroupSearchSettings.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerLDAPSearchSettings.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerLDAPSettings.md +37 -0
- ptctools/portainer_client/openapi_client/docs/PortainerMembershipRole.md +14 -0
- ptctools/portainer_client/openapi_client/docs/PortainerOAuthSettings.md +42 -0
- ptctools/portainer_client/openapi_client/docs/PortainerOpenAMTConfiguration.md +37 -0
- ptctools/portainer_client/openapi_client/docs/PortainerOpenAMTDeviceEnabledFeatures.md +33 -0
- ptctools/portainer_client/openapi_client/docs/PortainerPair.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerPerformanceMetrics.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerQuayRegistryData.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerRegistry.md +48 -0
- ptctools/portainer_client/openapi_client/docs/PortainerRegistryAccessPolicies.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerRegistryManagementConfiguration.md +36 -0
- ptctools/portainer_client/openapi_client/docs/PortainerRegistryType.md +26 -0
- ptctools/portainer_client/openapi_client/docs/PortainerResourceAccessLevel.md +12 -0
- ptctools/portainer_client/openapi_client/docs/PortainerResourceControl.md +39 -0
- ptctools/portainer_client/openapi_client/docs/PortainerResourceControlType.md +28 -0
- ptctools/portainer_client/openapi_client/docs/PortainerRole.md +33 -0
- ptctools/portainer_client/openapi_client/docs/PortainerSSLSettings.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerSettings.md +62 -0
- ptctools/portainer_client/openapi_client/docs/PortainerStack.md +48 -0
- ptctools/portainer_client/openapi_client/docs/PortainerStackDeploymentInfo.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerStackOption.md +29 -0
- ptctools/portainer_client/openapi_client/docs/PortainerStackStatus.md +14 -0
- ptctools/portainer_client/openapi_client/docs/PortainerStackType.md +16 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTLSConfiguration.md +33 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTag.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTeam.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTeamMembership.md +32 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTeamResourceAccess.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTemplate.md +52 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTemplateEnv.md +34 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTemplateEnvSelect.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTemplateRepository.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTemplateType.md +16 -0
- ptctools/portainer_client/openapi_client/docs/PortainerTemplateVolume.md +31 -0
- ptctools/portainer_client/openapi_client/docs/PortainerUser.md +37 -0
- ptctools/portainer_client/openapi_client/docs/PortainerUserResourceAccess.md +30 -0
- ptctools/portainer_client/openapi_client/docs/PortainerUserRole.md +14 -0
- ptctools/portainer_client/openapi_client/docs/PortainerUserThemeSettings.md +29 -0
- ptctools/portainer_client/openapi_client/docs/PortainerWebhook.md +34 -0
- ptctools/portainer_client/openapi_client/docs/PortainerWebhookType.md +12 -0
- ptctools/portainer_client/openapi_client/docs/RegistriesApi.md +554 -0
- ptctools/portainer_client/openapi_client/docs/RegistriesRegistryConfigurePayload.md +37 -0
- ptctools/portainer_client/openapi_client/docs/RegistriesRegistryCreatePayload.md +38 -0
- ptctools/portainer_client/openapi_client/docs/RegistriesRegistryUpdatePayload.md +37 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseChart.md +34 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseChartReference.md +31 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseDependency.md +36 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseFile.md +30 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseLock.md +31 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseMaintainer.md +31 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseMetadata.md +45 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseReleaseElement.md +35 -0
- ptctools/portainer_client/openapi_client/docs/ReleaseValues.md +30 -0
- ptctools/portainer_client/openapi_client/docs/ResourceControlsApi.md +283 -0
- ptctools/portainer_client/openapi_client/docs/ResourceQuantity.md +29 -0
- ptctools/portainer_client/openapi_client/docs/ResourcecontrolsResourceControlCreatePayload.md +35 -0
- ptctools/portainer_client/openapi_client/docs/ResourcecontrolsResourceControlUpdatePayload.md +32 -0
- ptctools/portainer_client/openapi_client/docs/RolesApi.md +93 -0
- ptctools/portainer_client/openapi_client/docs/SettingsApi.md +251 -0
- ptctools/portainer_client/openapi_client/docs/SettingsPublicSettingsResponse.md +42 -0
- ptctools/portainer_client/openapi_client/docs/SettingsPublicSettingsResponseEdge.md +32 -0
- ptctools/portainer_client/openapi_client/docs/SettingsSettingsUpdatePayload.md +47 -0
- ptctools/portainer_client/openapi_client/docs/SslApi.md +184 -0
- ptctools/portainer_client/openapi_client/docs/SslSslUpdatePayload.md +31 -0
- ptctools/portainer_client/openapi_client/docs/StacksApi.md +2064 -0
- ptctools/portainer_client/openapi_client/docs/StacksComposeStackFromFileContentPayload.md +32 -0
- ptctools/portainer_client/openapi_client/docs/StacksComposeStackFromGitRepositoryPayload.md +40 -0
- ptctools/portainer_client/openapi_client/docs/StacksKubernetesGitDeploymentPayload.md +40 -0
- ptctools/portainer_client/openapi_client/docs/StacksKubernetesManifestURLDeploymentPayload.md +32 -0
- ptctools/portainer_client/openapi_client/docs/StacksKubernetesStringDeploymentPayload.md +33 -0
- ptctools/portainer_client/openapi_client/docs/StacksStackFileResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/StacksStackGitRedployPayload.md +37 -0
- ptctools/portainer_client/openapi_client/docs/StacksStackGitUpdatePayload.md +37 -0
- ptctools/portainer_client/openapi_client/docs/StacksStackMigratePayload.md +31 -0
- ptctools/portainer_client/openapi_client/docs/StacksSwarmStackFromFileContentPayload.md +33 -0
- ptctools/portainer_client/openapi_client/docs/StacksSwarmStackFromGitRepositoryPayload.md +41 -0
- ptctools/portainer_client/openapi_client/docs/StacksUpdateSwarmStackPayload.md +32 -0
- ptctools/portainer_client/openapi_client/docs/StatusApi.md +75 -0
- ptctools/portainer_client/openapi_client/docs/SwarmServiceUpdateResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/SystemApi.md +392 -0
- ptctools/portainer_client/openapi_client/docs/SystemNodesCountResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/SystemStatus.md +30 -0
- ptctools/portainer_client/openapi_client/docs/SystemSystemInfoResponse.md +31 -0
- ptctools/portainer_client/openapi_client/docs/SystemVersionResponse.md +37 -0
- ptctools/portainer_client/openapi_client/docs/TagsApi.md +273 -0
- ptctools/portainer_client/openapi_client/docs/TagsTagCreatePayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/TeamMembershipsApi.md +463 -0
- ptctools/portainer_client/openapi_client/docs/TeammembershipsTeamMembershipCreatePayload.md +31 -0
- ptctools/portainer_client/openapi_client/docs/TeammembershipsTeamMembershipUpdatePayload.md +31 -0
- ptctools/portainer_client/openapi_client/docs/TeamsApi.md +467 -0
- ptctools/portainer_client/openapi_client/docs/TeamsTeamCreatePayload.md +30 -0
- ptctools/portainer_client/openapi_client/docs/TeamsTeamUpdatePayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/TemplatesApi.md +183 -0
- ptctools/portainer_client/openapi_client/docs/TemplatesFileResponse.md +29 -0
- ptctools/portainer_client/openapi_client/docs/TemplatesListResponse.md +30 -0
- ptctools/portainer_client/openapi_client/docs/UnstructuredUnstructured.md +29 -0
- ptctools/portainer_client/openapi_client/docs/UploadApi.md +99 -0
- ptctools/portainer_client/openapi_client/docs/UsersAccessTokenResponse.md +30 -0
- ptctools/portainer_client/openapi_client/docs/UsersAddHelmRepoUrlPayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/UsersAdminInitPayload.md +30 -0
- ptctools/portainer_client/openapi_client/docs/UsersApi.md +1159 -0
- ptctools/portainer_client/openapi_client/docs/UsersHelmUserRepositoryResponse.md +30 -0
- ptctools/portainer_client/openapi_client/docs/UsersThemePayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/UsersUserAccessTokenCreatePayload.md +30 -0
- ptctools/portainer_client/openapi_client/docs/UsersUserCreatePayload.md +31 -0
- ptctools/portainer_client/openapi_client/docs/UsersUserUpdatePasswordPayload.md +30 -0
- ptctools/portainer_client/openapi_client/docs/UsersUserUpdatePayload.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V1AppArmorProfile.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1AppArmorProfileType.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1CSIPersistentVolumeSource.md +38 -0
- ptctools/portainer_client/openapi_client/docs/V1Capabilities.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ClientIPConfig.md +29 -0
- ptctools/portainer_client/openapi_client/docs/V1Condition.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V1ConfigMapEnvSource.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ConfigMapKeySelector.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1Container.md +52 -0
- ptctools/portainer_client/openapi_client/docs/V1ContainerPort.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V1ContainerResizePolicy.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ContainerRestartPolicy.md +10 -0
- ptctools/portainer_client/openapi_client/docs/V1Duration.md +29 -0
- ptctools/portainer_client/openapi_client/docs/V1EnvFromSource.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1EnvVar.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1EnvVarSource.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V1ExecAction.md +29 -0
- ptctools/portainer_client/openapi_client/docs/V1GRPCAction.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1HTTPGetAction.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V1HTTPHeader.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1IPFamily.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1IPFamilyPolicy.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1LabelSelector.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1LabelSelectorOperator.md +16 -0
- ptctools/portainer_client/openapi_client/docs/V1LabelSelectorRequirement.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1Lifecycle.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1LifecycleHandler.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V1ListMeta.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V1LoadBalancerIPMode.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1LoadBalancerIngress.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V1LoadBalancerStatus.md +29 -0
- ptctools/portainer_client/openapi_client/docs/V1ManagedFieldsEntry.md +35 -0
- ptctools/portainer_client/openapi_client/docs/V1ManagedFieldsOperationType.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1MountPropagationMode.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1NamespaceCondition.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V1NamespaceConditionType.md +18 -0
- ptctools/portainer_client/openapi_client/docs/V1NamespacePhase.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1NamespaceStatus.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ObjectFieldSelector.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ObjectMeta.md +43 -0
- ptctools/portainer_client/openapi_client/docs/V1ObjectReference.md +35 -0
- ptctools/portainer_client/openapi_client/docs/V1OwnerReference.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeAccessMode.md +16 -0
- ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeClaimPhase.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeMode.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1PersistentVolumeReclaimPolicy.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1PortStatus.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1Probe.md +38 -0
- ptctools/portainer_client/openapi_client/docs/V1ProcMountType.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1Protocol.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1PullPolicy.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1RecursiveReadOnlyMode.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceClaim.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceFieldSelector.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceName.md +48 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceQuota.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceQuotaScope.md +22 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceQuotaSpec.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceQuotaStatus.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceRequirements.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1ResourceResizeRestartPolicy.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1RoleRef.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1SELinuxOptions.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V1ScopeSelector.md +29 -0
- ptctools/portainer_client/openapi_client/docs/V1ScopeSelectorOperator.md +16 -0
- ptctools/portainer_client/openapi_client/docs/V1ScopedResourceSelectorRequirement.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1SeccompProfile.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1SeccompProfileType.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V1SecretEnvSource.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1SecretKeySelector.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V1SecretReference.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1SecurityContext.md +40 -0
- ptctools/portainer_client/openapi_client/docs/V1Service.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V1ServiceAffinity.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1ServiceExternalTrafficPolicy.md +16 -0
- ptctools/portainer_client/openapi_client/docs/V1ServiceInternalTrafficPolicy.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1ServicePort.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V1ServiceSpec.md +48 -0
- ptctools/portainer_client/openapi_client/docs/V1ServiceStatus.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1ServiceType.md +16 -0
- ptctools/portainer_client/openapi_client/docs/V1SessionAffinityConfig.md +29 -0
- ptctools/portainer_client/openapi_client/docs/V1Signal.md +138 -0
- ptctools/portainer_client/openapi_client/docs/V1SleepAction.md +29 -0
- ptctools/portainer_client/openapi_client/docs/V1TCPSocketAction.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1TerminationMessagePolicy.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1URIScheme.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V1VolumeDevice.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1VolumeMount.md +35 -0
- ptctools/portainer_client/openapi_client/docs/V1WindowsSecurityContextOptions.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V1beta1ContainerMetrics.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V1beta1NodeMetrics.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V1beta1NodeMetricsList.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V1beta1PodMetrics.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V1beta1PodMetricsList.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V2ContainerResourceMetricSource.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V2ContainerResourceMetricStatus.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V2CrossVersionObjectReference.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V2ExternalMetricSource.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2ExternalMetricStatus.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2HPAScalingPolicy.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V2HPAScalingPolicyType.md +12 -0
- ptctools/portainer_client/openapi_client/docs/V2HPAScalingRules.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscaler.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerBehavior.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerCondition.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerConditionType.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerSpec.md +33 -0
- ptctools/portainer_client/openapi_client/docs/V2HorizontalPodAutoscalerStatus.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V2MetricIdentifier.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2MetricSourceType.md +18 -0
- ptctools/portainer_client/openapi_client/docs/V2MetricSpec.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V2MetricStatus.md +34 -0
- ptctools/portainer_client/openapi_client/docs/V2MetricTarget.md +32 -0
- ptctools/portainer_client/openapi_client/docs/V2MetricTargetType.md +14 -0
- ptctools/portainer_client/openapi_client/docs/V2MetricValueStatus.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V2ObjectMetricSource.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V2ObjectMetricStatus.md +31 -0
- ptctools/portainer_client/openapi_client/docs/V2PodsMetricSource.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2PodsMetricStatus.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2ResourceMetricSource.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2ResourceMetricStatus.md +30 -0
- ptctools/portainer_client/openapi_client/docs/V2ScalingPolicySelect.md +14 -0
- ptctools/portainer_client/openapi_client/docs/WebhooksApi.md +436 -0
- ptctools/portainer_client/openapi_client/docs/WebhooksWebhookCreatePayload.md +32 -0
- ptctools/portainer_client/openapi_client/docs/WebhooksWebhookUpdatePayload.md +29 -0
- ptctools/portainer_client/openapi_client/docs/WebsocketApi.md +385 -0
- ptctools/portainer_client/openapi_client/exceptions.py +220 -0
- ptctools/portainer_client/openapi_client/models/__init__.py +389 -0
- ptctools/portainer_client/openapi_client/models/auth_authenticate_payload.py +90 -0
- ptctools/portainer_client/openapi_client/models/auth_authenticate_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/auth_oauth_payload.py +88 -0
- ptctools/portainer_client/openapi_client/models/backup_backup_payload.py +88 -0
- ptctools/portainer_client/openapi_client/models/backup_restore_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/build_build_info.py +100 -0
- ptctools/portainer_client/openapi_client/models/build_dependencies_info.py +94 -0
- ptctools/portainer_client/openapi_client/models/build_runtime_info.py +88 -0
- ptctools/portainer_client/openapi_client/models/containers_container_gpus_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/customtemplates_custom_template_from_file_content_payload.py +114 -0
- ptctools/portainer_client/openapi_client/models/customtemplates_custom_template_from_git_repository_payload.py +128 -0
- ptctools/portainer_client/openapi_client/models/customtemplates_custom_template_update_payload.py +135 -0
- ptctools/portainer_client/openapi_client/models/customtemplates_file_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/docker_container_stats.py +96 -0
- ptctools/portainer_client/openapi_client/models/docker_dashboard_response.py +106 -0
- ptctools/portainer_client/openapi_client/models/docker_images_counters.py +90 -0
- ptctools/portainer_client/openapi_client/models/edge_deployer_options_payload.py +90 -0
- ptctools/portainer_client/openapi_client/models/edge_registry_credentials.py +92 -0
- ptctools/portainer_client/openapi_client/models/edge_stack_payload.py +154 -0
- ptctools/portainer_client/openapi_client/models/edgegroups_decorated_edge_group.py +109 -0
- ptctools/portainer_client/openapi_client/models/edgegroups_edge_group_create_payload.py +96 -0
- ptctools/portainer_client/openapi_client/models/edgegroups_edge_group_update_payload.py +96 -0
- ptctools/portainer_client/openapi_client/models/edgejobs_edge_job_create_from_file_content_payload.py +98 -0
- ptctools/portainer_client/openapi_client/models/edgejobs_edge_job_file_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/edgejobs_edge_job_update_payload.py +98 -0
- ptctools/portainer_client/openapi_client/models/edgejobs_file_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/edgejobs_task_container.py +95 -0
- ptctools/portainer_client/openapi_client/models/edgestacks_edge_stack_from_git_repository_payload.py +114 -0
- ptctools/portainer_client/openapi_client/models/edgestacks_edge_stack_from_string_payload.py +99 -0
- ptctools/portainer_client/openapi_client/models/edgestacks_stack_file_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/edgestacks_update_edge_stack_payload.py +97 -0
- ptctools/portainer_client/openapi_client/models/edgestacks_update_status_payload.py +97 -0
- ptctools/portainer_client/openapi_client/models/endpointedge_edge_job_response.py +96 -0
- ptctools/portainer_client/openapi_client/models/endpointedge_endpoint_edge_status_inspect_response.py +114 -0
- ptctools/portainer_client/openapi_client/models/endpointedge_stack_status_response.py +90 -0
- ptctools/portainer_client/openapi_client/models/endpointgroups_endpoint_group_create_payload.py +94 -0
- ptctools/portainer_client/openapi_client/models/endpointgroups_endpoint_group_update_payload.py +121 -0
- ptctools/portainer_client/openapi_client/models/endpoints_dockerhub_status_response.py +90 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_create_global_key_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_delete_batch_partial_response.py +90 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_delete_batch_payload.py +96 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_delete_request.py +90 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_settings_update_payload.py +116 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_update_payload.py +157 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_update_relations_payload.py +101 -0
- ptctools/portainer_client/openapi_client/models/endpoints_endpoint_update_relations_payload_relations_value.py +92 -0
- ptctools/portainer_client/openapi_client/models/endpoints_force_update_service_payload.py +90 -0
- ptctools/portainer_client/openapi_client/models/endpoints_registry_access_payload.py +117 -0
- ptctools/portainer_client/openapi_client/models/filesystem_dir_entry.py +95 -0
- ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_hook.py +106 -0
- ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_hook_execution.py +92 -0
- ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_info.py +108 -0
- ptctools/portainer_client/openapi_client/models/github_com_portainer_portainer_pkg_libhelm_release_release.py +132 -0
- ptctools/portainer_client/openapi_client/models/gitops_file_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/gitops_repository_file_preview_payload.py +101 -0
- ptctools/portainer_client/openapi_client/models/gittypes_git_authentication.py +95 -0
- ptctools/portainer_client/openapi_client/models/gittypes_git_credential_auth_type.py +38 -0
- ptctools/portainer_client/openapi_client/models/gittypes_repo_config.py +102 -0
- ptctools/portainer_client/openapi_client/models/helm_install_chart_payload.py +100 -0
- ptctools/portainer_client/openapi_client/models/images_image_response.py +98 -0
- ptctools/portainer_client/openapi_client/models/intstr_int_or_string.py +93 -0
- ptctools/portainer_client/openapi_client/models/intstr_type.py +38 -0
- ptctools/portainer_client/openapi_client/models/k8s_io_api_core_v1_condition_status.py +39 -0
- ptctools/portainer_client/openapi_client/models/k8s_io_api_rbac_v1_subject.py +94 -0
- ptctools/portainer_client/openapi_client/models/k8s_io_apimachinery_pkg_apis_meta_v1_condition_status.py +39 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_configuration.py +92 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_custom_resource_metadata.py +92 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_describe_resource_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_ingress_rule.py +102 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_application.py +198 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_application_resource.py +94 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_cluster_role.py +94 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_cluster_role_binding.py +112 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_config_map.py +116 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_configuration_owner_resource.py +92 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_cron_job.py +112 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_dashboard.py +100 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_event.py +114 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_event_involved_object.py +94 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_controller.py +98 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_info.py +124 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_path.py +100 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_ingress_tls.py +90 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_job.py +118 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_namespace_details.py +98 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_persistent_volume.py +128 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_persistent_volume_claim.py +136 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_resource_quota.py +92 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_role.py +96 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_role_binding.py +112 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_secret.py +118 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_account.py +96 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_info.py +140 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_ingress.py +90 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_service_port.py +96 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_storage_class.py +95 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_k8s_volume_info.py +104 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_metadata.py +90 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_namespaces_toggle_system_payload.py +88 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_pod.py +110 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_published_port.py +98 -0
- ptctools/portainer_client/openapi_client/models/kubernetes_tls_info.py +88 -0
- ptctools/portainer_client/openapi_client/models/ldap_check_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/motd_motd_response.py +96 -0
- ptctools/portainer_client/openapi_client/models/oauth2_auth_style.py +39 -0
- ptctools/portainer_client/openapi_client/models/openamt_device_action_payload.py +88 -0
- ptctools/portainer_client/openapi_client/models/openamt_device_features_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/openamt_open_amt_configure_payload.py +102 -0
- ptctools/portainer_client/openapi_client/models/os_file_mode.py +51 -0
- ptctools/portainer_client/openapi_client/models/platform_container_platform.py +41 -0
- ptctools/portainer_client/openapi_client/models/portainer_access_policy.py +88 -0
- ptctools/portainer_client/openapi_client/models/portainer_api_key.py +100 -0
- ptctools/portainer_client/openapi_client/models/portainer_authentication_method.py +40 -0
- ptctools/portainer_client/openapi_client/models/portainer_auto_update_settings.py +96 -0
- ptctools/portainer_client/openapi_client/models/portainer_azure_credentials.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_custom_template.py +134 -0
- ptctools/portainer_client/openapi_client/models/portainer_custom_template_platform.py +39 -0
- ptctools/portainer_client/openapi_client/models/portainer_custom_template_variable_definition.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_diagnostics_data.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_docker_snapshot.py +136 -0
- ptctools/portainer_client/openapi_client/models/portainer_ecr_data.py +88 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_group.py +100 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_job.py +131 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_job_endpoint_meta.py +91 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_job_logs_status.py +40 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_stack.py +124 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_stack_deployment_status.py +97 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_stack_deployment_type.py +38 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_stack_status.py +117 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_stack_status_details.py +100 -0
- ptctools/portainer_client/openapi_client/models/portainer_edge_stack_status_type.py +50 -0
- ptctools/portainer_client/openapi_client/models/portainer_endpoint.py +233 -0
- ptctools/portainer_client/openapi_client/models/portainer_endpoint_agent.py +88 -0
- ptctools/portainer_client/openapi_client/models/portainer_endpoint_group.py +139 -0
- ptctools/portainer_client/openapi_client/models/portainer_endpoint_post_init_migrations.py +90 -0
- ptctools/portainer_client/openapi_client/models/portainer_endpoint_security_settings.py +104 -0
- ptctools/portainer_client/openapi_client/models/portainer_endpoint_status.py +39 -0
- ptctools/portainer_client/openapi_client/models/portainer_endpoint_type.py +44 -0
- ptctools/portainer_client/openapi_client/models/portainer_environment_edge_settings.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_github_registry_data.py +90 -0
- ptctools/portainer_client/openapi_client/models/portainer_gitlab_registry_data.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_global_deployment_options.py +88 -0
- ptctools/portainer_client/openapi_client/models/portainer_helm_user_repository.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_internal_auth_settings.py +88 -0
- ptctools/portainer_client/openapi_client/models/portainer_k8s_namespace_info.py +114 -0
- ptctools/portainer_client/openapi_client/models/portainer_k8s_node_limits.py +90 -0
- ptctools/portainer_client/openapi_client/models/portainer_kubernetes_configuration.py +120 -0
- ptctools/portainer_client/openapi_client/models/portainer_kubernetes_data.py +108 -0
- ptctools/portainer_client/openapi_client/models/portainer_kubernetes_flags.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_kubernetes_ingress_class_config.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_kubernetes_snapshot.py +108 -0
- ptctools/portainer_client/openapi_client/models/portainer_kubernetes_storage_class_config.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_ldap_group_search_settings.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_ldap_search_settings.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_ldap_settings.py +124 -0
- ptctools/portainer_client/openapi_client/models/portainer_membership_role.py +39 -0
- ptctools/portainer_client/openapi_client/models/portainer_o_auth_settings.py +115 -0
- ptctools/portainer_client/openapi_client/models/portainer_open_amt_configuration.py +104 -0
- ptctools/portainer_client/openapi_client/models/portainer_open_amt_device_enabled_features.py +96 -0
- ptctools/portainer_client/openapi_client/models/portainer_pair.py +90 -0
- ptctools/portainer_client/openapi_client/models/portainer_performance_metrics.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_quay_registry_data.py +90 -0
- ptctools/portainer_client/openapi_client/models/portainer_registry.py +185 -0
- ptctools/portainer_client/openapi_client/models/portainer_registry_access_policies.py +117 -0
- ptctools/portainer_client/openapi_client/models/portainer_registry_management_configuration.py +111 -0
- ptctools/portainer_client/openapi_client/models/portainer_registry_type.py +45 -0
- ptctools/portainer_client/openapi_client/models/portainer_resource_access_level.py +38 -0
- ptctools/portainer_client/openapi_client/models/portainer_resource_control.py +126 -0
- ptctools/portainer_client/openapi_client/models/portainer_resource_control_type.py +46 -0
- ptctools/portainer_client/openapi_client/models/portainer_role.py +96 -0
- ptctools/portainer_client/openapi_client/models/portainer_settings.py +187 -0
- ptctools/portainer_client/openapi_client/models/portainer_ssl_settings.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_stack.py +152 -0
- ptctools/portainer_client/openapi_client/models/portainer_stack_deployment_info.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_stack_option.py +88 -0
- ptctools/portainer_client/openapi_client/models/portainer_stack_status.py +39 -0
- ptctools/portainer_client/openapi_client/models/portainer_stack_type.py +40 -0
- ptctools/portainer_client/openapi_client/models/portainer_tag.py +94 -0
- ptctools/portainer_client/openapi_client/models/portainer_team.py +90 -0
- ptctools/portainer_client/openapi_client/models/portainer_team_membership.py +95 -0
- ptctools/portainer_client/openapi_client/models/portainer_team_resource_access.py +91 -0
- ptctools/portainer_client/openapi_client/models/portainer_template.py +163 -0
- ptctools/portainer_client/openapi_client/models/portainer_template_env.py +106 -0
- ptctools/portainer_client/openapi_client/models/portainer_template_env_select.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_template_repository.py +90 -0
- ptctools/portainer_client/openapi_client/models/portainer_template_type.py +40 -0
- ptctools/portainer_client/openapi_client/models/portainer_template_volume.py +92 -0
- ptctools/portainer_client/openapi_client/models/portainer_tls_configuration.py +96 -0
- ptctools/portainer_client/openapi_client/models/portainer_user.py +109 -0
- ptctools/portainer_client/openapi_client/models/portainer_user_resource_access.py +91 -0
- ptctools/portainer_client/openapi_client/models/portainer_user_role.py +39 -0
- ptctools/portainer_client/openapi_client/models/portainer_user_theme_settings.py +98 -0
- ptctools/portainer_client/openapi_client/models/portainer_webhook.py +99 -0
- ptctools/portainer_client/openapi_client/models/portainer_webhook_type.py +38 -0
- ptctools/portainer_client/openapi_client/models/registries_registry_configure_payload.py +104 -0
- ptctools/portainer_client/openapi_client/models/registries_registry_create_payload.py +119 -0
- ptctools/portainer_client/openapi_client/models/registries_registry_update_payload.py +125 -0
- ptctools/portainer_client/openapi_client/models/release_chart.py +121 -0
- ptctools/portainer_client/openapi_client/models/release_chart_reference.py +92 -0
- ptctools/portainer_client/openapi_client/models/release_dependency.py +102 -0
- ptctools/portainer_client/openapi_client/models/release_file.py +90 -0
- ptctools/portainer_client/openapi_client/models/release_lock.py +100 -0
- ptctools/portainer_client/openapi_client/models/release_maintainer.py +92 -0
- ptctools/portainer_client/openapi_client/models/release_metadata.py +136 -0
- ptctools/portainer_client/openapi_client/models/release_release_element.py +100 -0
- ptctools/portainer_client/openapi_client/models/release_values.py +90 -0
- ptctools/portainer_client/openapi_client/models/resource_quantity.py +98 -0
- ptctools/portainer_client/openapi_client/models/resourcecontrols_resource_control_create_payload.py +101 -0
- ptctools/portainer_client/openapi_client/models/resourcecontrols_resource_control_update_payload.py +94 -0
- ptctools/portainer_client/openapi_client/models/settings_public_settings_response.py +123 -0
- ptctools/portainer_client/openapi_client/models/settings_public_settings_response_edge.py +94 -0
- ptctools/portainer_client/openapi_client/models/settings_settings_update_payload.py +148 -0
- ptctools/portainer_client/openapi_client/models/ssl_ssl_update_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/stacks_compose_stack_from_file_content_payload.py +102 -0
- ptctools/portainer_client/openapi_client/models/stacks_compose_stack_from_git_repository_payload.py +122 -0
- ptctools/portainer_client/openapi_client/models/stacks_kubernetes_git_deployment_payload.py +114 -0
- ptctools/portainer_client/openapi_client/models/stacks_kubernetes_manifest_url_deployment_payload.py +94 -0
- ptctools/portainer_client/openapi_client/models/stacks_kubernetes_string_deployment_payload.py +96 -0
- ptctools/portainer_client/openapi_client/models/stacks_stack_file_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/stacks_stack_git_redploy_payload.py +113 -0
- ptctools/portainer_client/openapi_client/models/stacks_stack_git_update_payload.py +117 -0
- ptctools/portainer_client/openapi_client/models/stacks_stack_migrate_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/stacks_swarm_stack_from_file_content_payload.py +104 -0
- ptctools/portainer_client/openapi_client/models/stacks_swarm_stack_from_git_repository_payload.py +124 -0
- ptctools/portainer_client/openapi_client/models/stacks_update_swarm_stack_payload.py +102 -0
- ptctools/portainer_client/openapi_client/models/swarm_service_update_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/system_nodes_count_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/system_status.py +90 -0
- ptctools/portainer_client/openapi_client/models/system_system_info_response.py +93 -0
- ptctools/portainer_client/openapi_client/models/system_version_response.py +116 -0
- ptctools/portainer_client/openapi_client/models/tags_tag_create_payload.py +88 -0
- ptctools/portainer_client/openapi_client/models/teammemberships_team_membership_create_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/teammemberships_team_membership_update_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/teams_team_create_payload.py +90 -0
- ptctools/portainer_client/openapi_client/models/teams_team_update_payload.py +88 -0
- ptctools/portainer_client/openapi_client/models/templates_file_response.py +88 -0
- ptctools/portainer_client/openapi_client/models/templates_list_response.py +98 -0
- ptctools/portainer_client/openapi_client/models/unstructured_unstructured.py +88 -0
- ptctools/portainer_client/openapi_client/models/users_access_token_response.py +94 -0
- ptctools/portainer_client/openapi_client/models/users_add_helm_repo_url_payload.py +88 -0
- ptctools/portainer_client/openapi_client/models/users_admin_init_payload.py +90 -0
- ptctools/portainer_client/openapi_client/models/users_helm_user_repository_response.py +98 -0
- ptctools/portainer_client/openapi_client/models/users_theme_payload.py +98 -0
- ptctools/portainer_client/openapi_client/models/users_user_access_token_create_payload.py +90 -0
- ptctools/portainer_client/openapi_client/models/users_user_create_payload.py +92 -0
- ptctools/portainer_client/openapi_client/models/users_user_update_password_payload.py +90 -0
- ptctools/portainer_client/openapi_client/models/users_user_update_payload.py +102 -0
- ptctools/portainer_client/openapi_client/models/v1_app_armor_profile.py +91 -0
- ptctools/portainer_client/openapi_client/models/v1_app_armor_profile_type.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_capabilities.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_client_ip_config.py +88 -0
- ptctools/portainer_client/openapi_client/models/v1_condition.py +99 -0
- ptctools/portainer_client/openapi_client/models/v1_config_map_env_source.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_config_map_key_selector.py +92 -0
- ptctools/portainer_client/openapi_client/models/v1_container.py +207 -0
- ptctools/portainer_client/openapi_client/models/v1_container_port.py +97 -0
- ptctools/portainer_client/openapi_client/models/v1_container_resize_policy.py +92 -0
- ptctools/portainer_client/openapi_client/models/v1_container_restart_policy.py +37 -0
- ptctools/portainer_client/openapi_client/models/v1_csi_persistent_volume_source.py +122 -0
- ptctools/portainer_client/openapi_client/models/v1_duration.py +88 -0
- ptctools/portainer_client/openapi_client/models/v1_env_from_source.py +100 -0
- ptctools/portainer_client/openapi_client/models/v1_env_var.py +96 -0
- ptctools/portainer_client/openapi_client/models/v1_env_var_source.py +110 -0
- ptctools/portainer_client/openapi_client/models/v1_exec_action.py +88 -0
- ptctools/portainer_client/openapi_client/models/v1_grpc_action.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_http_get_action.py +109 -0
- ptctools/portainer_client/openapi_client/models/v1_http_header.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_ip_family.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_ip_family_policy.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_label_selector.py +98 -0
- ptctools/portainer_client/openapi_client/models/v1_label_selector_operator.py +40 -0
- ptctools/portainer_client/openapi_client/models/v1_label_selector_requirement.py +93 -0
- ptctools/portainer_client/openapi_client/models/v1_lifecycle.py +100 -0
- ptctools/portainer_client/openapi_client/models/v1_lifecycle_handler.py +110 -0
- ptctools/portainer_client/openapi_client/models/v1_list_meta.py +94 -0
- ptctools/portainer_client/openapi_client/models/v1_load_balancer_ingress.py +103 -0
- ptctools/portainer_client/openapi_client/models/v1_load_balancer_ip_mode.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_load_balancer_status.py +96 -0
- ptctools/portainer_client/openapi_client/models/v1_managed_fields_entry.py +101 -0
- ptctools/portainer_client/openapi_client/models/v1_managed_fields_operation_type.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_mount_propagation_mode.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_namespace_condition.py +98 -0
- ptctools/portainer_client/openapi_client/models/v1_namespace_condition_type.py +41 -0
- ptctools/portainer_client/openapi_client/models/v1_namespace_phase.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_namespace_status.py +99 -0
- ptctools/portainer_client/openapi_client/models/v1_object_field_selector.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_object_meta.py +132 -0
- ptctools/portainer_client/openapi_client/models/v1_object_reference.py +100 -0
- ptctools/portainer_client/openapi_client/models/v1_owner_reference.py +98 -0
- ptctools/portainer_client/openapi_client/models/v1_persistent_volume_access_mode.py +40 -0
- ptctools/portainer_client/openapi_client/models/v1_persistent_volume_claim_phase.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_persistent_volume_mode.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_persistent_volume_reclaim_policy.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_port_status.py +93 -0
- ptctools/portainer_client/openapi_client/models/v1_probe.py +122 -0
- ptctools/portainer_client/openapi_client/models/v1_proc_mount_type.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_protocol.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_pull_policy.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_recursive_read_only_mode.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_claim.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_field_selector.py +96 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_name.py +56 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_quota.py +108 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_quota_scope.py +43 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_quota_spec.py +110 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_quota_status.py +115 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_requirements.py +125 -0
- ptctools/portainer_client/openapi_client/models/v1_resource_resize_restart_policy.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_role_ref.py +92 -0
- ptctools/portainer_client/openapi_client/models/v1_scope_selector.py +96 -0
- ptctools/portainer_client/openapi_client/models/v1_scope_selector_operator.py +40 -0
- ptctools/portainer_client/openapi_client/models/v1_scoped_resource_selector_requirement.py +94 -0
- ptctools/portainer_client/openapi_client/models/v1_se_linux_options.py +94 -0
- ptctools/portainer_client/openapi_client/models/v1_seccomp_profile.py +91 -0
- ptctools/portainer_client/openapi_client/models/v1_seccomp_profile_type.py +39 -0
- ptctools/portainer_client/openapi_client/models/v1_secret_env_source.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_secret_key_selector.py +92 -0
- ptctools/portainer_client/openapi_client/models/v1_secret_reference.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_security_context.py +131 -0
- ptctools/portainer_client/openapi_client/models/v1_service.py +108 -0
- ptctools/portainer_client/openapi_client/models/v1_service_affinity.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_service_external_traffic_policy.py +40 -0
- ptctools/portainer_client/openapi_client/models/v1_service_internal_traffic_policy.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_service_port.py +103 -0
- ptctools/portainer_client/openapi_client/models/v1_service_spec.py +144 -0
- ptctools/portainer_client/openapi_client/models/v1_service_status.py +102 -0
- ptctools/portainer_client/openapi_client/models/v1_service_type.py +40 -0
- ptctools/portainer_client/openapi_client/models/v1_session_affinity_config.py +92 -0
- ptctools/portainer_client/openapi_client/models/v1_signal.py +101 -0
- ptctools/portainer_client/openapi_client/models/v1_sleep_action.py +88 -0
- ptctools/portainer_client/openapi_client/models/v1_tcp_socket_action.py +94 -0
- ptctools/portainer_client/openapi_client/models/v1_termination_message_policy.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_uri_scheme.py +38 -0
- ptctools/portainer_client/openapi_client/models/v1_volume_device.py +90 -0
- ptctools/portainer_client/openapi_client/models/v1_volume_mount.py +102 -0
- ptctools/portainer_client/openapi_client/models/v1_windows_security_context_options.py +94 -0
- ptctools/portainer_client/openapi_client/models/v1beta1_container_metrics.py +103 -0
- ptctools/portainer_client/openapi_client/models/v1beta1_node_metrics.py +119 -0
- ptctools/portainer_client/openapi_client/models/v1beta1_node_metrics_list.py +106 -0
- ptctools/portainer_client/openapi_client/models/v1beta1_pod_metrics.py +114 -0
- ptctools/portainer_client/openapi_client/models/v1beta1_pod_metrics_list.py +106 -0
- ptctools/portainer_client/openapi_client/models/v2_container_resource_metric_source.py +97 -0
- ptctools/portainer_client/openapi_client/models/v2_container_resource_metric_status.py +97 -0
- ptctools/portainer_client/openapi_client/models/v2_cross_version_object_reference.py +92 -0
- ptctools/portainer_client/openapi_client/models/v2_external_metric_source.py +98 -0
- ptctools/portainer_client/openapi_client/models/v2_external_metric_status.py +98 -0
- ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler.py +108 -0
- ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_behavior.py +97 -0
- ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_condition.py +98 -0
- ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_condition_type.py +39 -0
- ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_spec.py +112 -0
- ptctools/portainer_client/openapi_client/models/v2_horizontal_pod_autoscaler_status.py +114 -0
- ptctools/portainer_client/openapi_client/models/v2_hpa_scaling_policy.py +93 -0
- ptctools/portainer_client/openapi_client/models/v2_hpa_scaling_policy_type.py +38 -0
- ptctools/portainer_client/openapi_client/models/v2_hpa_scaling_rules.py +107 -0
- ptctools/portainer_client/openapi_client/models/v2_metric_identifier.py +94 -0
- ptctools/portainer_client/openapi_client/models/v2_metric_source_type.py +41 -0
- ptctools/portainer_client/openapi_client/models/v2_metric_spec.py +119 -0
- ptctools/portainer_client/openapi_client/models/v2_metric_status.py +119 -0
- ptctools/portainer_client/openapi_client/models/v2_metric_target.py +102 -0
- ptctools/portainer_client/openapi_client/models/v2_metric_target_type.py +39 -0
- ptctools/portainer_client/openapi_client/models/v2_metric_value_status.py +99 -0
- ptctools/portainer_client/openapi_client/models/v2_object_metric_source.py +104 -0
- ptctools/portainer_client/openapi_client/models/v2_object_metric_status.py +104 -0
- ptctools/portainer_client/openapi_client/models/v2_pods_metric_source.py +98 -0
- ptctools/portainer_client/openapi_client/models/v2_pods_metric_status.py +98 -0
- ptctools/portainer_client/openapi_client/models/v2_resource_metric_source.py +95 -0
- ptctools/portainer_client/openapi_client/models/v2_resource_metric_status.py +95 -0
- ptctools/portainer_client/openapi_client/models/v2_scaling_policy_select.py +39 -0
- ptctools/portainer_client/openapi_client/models/webhooks_webhook_create_payload.py +95 -0
- ptctools/portainer_client/openapi_client/models/webhooks_webhook_update_payload.py +88 -0
- ptctools/portainer_client/openapi_client/rest.py +264 -0
- ptctools/portainer_client/openapi_client/test/__init__.py +0 -0
- ptctools/portainer_client/openapi_client/test/test_auth_api.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_auth_authenticate_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_auth_authenticate_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_auth_oauth_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_backup_api.py +46 -0
- ptctools/portainer_client/openapi_client/test/test_backup_backup_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_backup_restore_payload.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_build_build_info.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_build_dependencies_info.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_build_runtime_info.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_containers_container_gpus_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_custom_templates_api.py +95 -0
- ptctools/portainer_client/openapi_client/test/test_customtemplates_custom_template_from_file_content_payload.py +70 -0
- ptctools/portainer_client/openapi_client/test/test_customtemplates_custom_template_from_git_repository_payload.py +77 -0
- ptctools/portainer_client/openapi_client/test/test_customtemplates_custom_template_update_payload.py +81 -0
- ptctools/portainer_client/openapi_client/test/test_customtemplates_file_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_docker_api.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_docker_container_stats.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_docker_dashboard_response.py +64 -0
- ptctools/portainer_client/openapi_client/test/test_docker_images_counters.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_edge_api.py +46 -0
- ptctools/portainer_client/openapi_client/test/test_edge_deployer_options_payload.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_edge_groups_api.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_edge_jobs_api.py +109 -0
- ptctools/portainer_client/openapi_client/test/test_edge_registry_credentials.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_edge_stack_payload.py +88 -0
- ptctools/portainer_client/openapi_client/test/test_edge_stacks_api.py +102 -0
- ptctools/portainer_client/openapi_client/test/test_edgegroups_decorated_edge_group.py +70 -0
- ptctools/portainer_client/openapi_client/test/test_edgegroups_edge_group_create_payload.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_edgegroups_edge_group_update_payload.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_edgejobs_edge_job_create_from_file_content_payload.py +61 -0
- ptctools/portainer_client/openapi_client/test/test_edgejobs_edge_job_file_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_edgejobs_edge_job_update_payload.py +61 -0
- ptctools/portainer_client/openapi_client/test/test_edgejobs_file_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_edgejobs_task_container.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_edgestacks_edge_stack_from_git_repository_payload.py +69 -0
- ptctools/portainer_client/openapi_client/test/test_edgestacks_edge_stack_from_string_payload.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_edgestacks_stack_file_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_edgestacks_update_edge_stack_payload.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_edgestacks_update_status_payload.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_endpoint_groups_api.py +81 -0
- ptctools/portainer_client/openapi_client/test/test_endpointedge_edge_job_response.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_endpointedge_endpoint_edge_status_inspect_response.py +68 -0
- ptctools/portainer_client/openapi_client/test/test_endpointedge_stack_status_response.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_endpointgroups_endpoint_group_create_payload.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_endpointgroups_endpoint_group_update_payload.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_api.py +179 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_dockerhub_status_response.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_create_global_key_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_delete_batch_partial_response.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_delete_batch_payload.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_delete_request.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_settings_update_payload.py +66 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_update_payload.py +131 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_update_relations_payload.py +61 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_endpoint_update_relations_payload_relations_value.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_force_update_service_payload.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_endpoints_registry_access_payload.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_filesystem_dir_entry.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_hook.py +66 -0
- ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_hook_execution.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_info.py +61 -0
- ptctools/portainer_client/openapi_client/test/test_github_com_portainer_portainer_pkg_libhelm_release_release.py +112 -0
- ptctools/portainer_client/openapi_client/test/test_gitops_api.py +39 -0
- ptctools/portainer_client/openapi_client/test/test_gitops_file_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_gitops_repository_file_preview_payload.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_gittypes_git_authentication.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_gittypes_git_credential_auth_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_gittypes_repo_config.py +61 -0
- ptctools/portainer_client/openapi_client/test/test_helm_api.py +109 -0
- ptctools/portainer_client/openapi_client/test/test_helm_install_chart_payload.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_images_image_response.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_intel_api.py +74 -0
- ptctools/portainer_client/openapi_client/test/test_intstr_int_or_string.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_intstr_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_k8s_io_api_core_v1_condition_status.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_k8s_io_api_rbac_v1_subject.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_k8s_io_apimachinery_pkg_apis_meta_v1_condition_status.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_api.py +480 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_configuration.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_custom_resource_metadata.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_describe_resource_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_ingress_rule.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_application.py +152 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_application_resource.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_cluster_role.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_cluster_role_binding.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_config_map.py +73 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_configuration_owner_resource.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_cron_job.py +138 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_dashboard.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_event.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_event_involved_object.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_controller.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_info.py +83 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_path.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_ingress_tls.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_job.py +127 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_namespace_details.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_persistent_volume.py +86 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_persistent_volume_claim.py +174 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_resource_quota.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_role.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_role_binding.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_secret.py +74 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_account.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_info.py +190 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_ingress.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_service_port.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_storage_class.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_k8s_volume_info.py +213 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_metadata.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_namespaces_toggle_system_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_pod.py +65 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_published_port.py +64 -0
- ptctools/portainer_client/openapi_client/test/test_kubernetes_tls_info.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_ldap_api.py +39 -0
- ptctools/portainer_client/openapi_client/test/test_ldap_check_payload.py +76 -0
- ptctools/portainer_client/openapi_client/test/test_motd_api.py +39 -0
- ptctools/portainer_client/openapi_client/test/test_motd_motd_response.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_oauth2_auth_style.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_openamt_device_action_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_openamt_device_features_payload.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_openamt_open_amt_configure_payload.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_os_file_mode.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_platform_container_platform.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_access_policy.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_api_key.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_authentication_method.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_auto_update_settings.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_azure_credentials.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_custom_template.py +95 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_custom_template_platform.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_custom_template_variable_definition.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_diagnostics_data.py +61 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_docker_snapshot.py +87 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_ecr_data.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_group.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_job.py +71 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_job_endpoint_meta.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_job_logs_status.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack.py +81 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_deployment_status.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_deployment_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_status.py +75 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_status_details.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_edge_stack_status_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_endpoint.py +222 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_agent.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_group.py +79 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_post_init_migrations.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_security_settings.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_status.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_endpoint_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_environment_edge_settings.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_github_registry_data.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_gitlab_registry_data.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_global_deployment_options.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_helm_user_repository.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_internal_auth_settings.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_k8s_namespace_info.py +77 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_k8s_node_limits.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_configuration.py +76 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_data.py +104 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_flags.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_ingress_class_config.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_snapshot.py +71 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_kubernetes_storage_class_config.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_ldap_group_search_settings.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_ldap_search_settings.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_ldap_settings.py +75 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_membership_role.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_o_auth_settings.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_open_amt_configuration.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_open_amt_device_enabled_features.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_pair.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_performance_metrics.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_quay_registry_data.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_registry.py +116 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_registry_access_policies.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_registry_management_configuration.py +65 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_registry_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_resource_access_level.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_resource_control.py +70 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_resource_control_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_role.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_settings.py +146 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_ssl_settings.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_stack.py +106 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_stack_deployment_info.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_stack_option.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_stack_status.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_stack_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_tag.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_team.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_team_membership.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_team_resource_access.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_template.py +99 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_template_env.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_template_env_select.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_template_repository.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_template_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_template_volume.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_tls_configuration.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_user.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_user_resource_access.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_user_role.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_user_theme_settings.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_webhook.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_portainer_webhook_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_registries_api.py +74 -0
- ptctools/portainer_client/openapi_client/test/test_registries_registry_configure_payload.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_registries_registry_create_payload.py +71 -0
- ptctools/portainer_client/openapi_client/test/test_registries_registry_update_payload.py +79 -0
- ptctools/portainer_client/openapi_client/test/test_release_chart.py +132 -0
- ptctools/portainer_client/openapi_client/test/test_release_chart_reference.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_release_dependency.py +63 -0
- ptctools/portainer_client/openapi_client/test/test_release_file.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_release_lock.py +68 -0
- ptctools/portainer_client/openapi_client/test/test_release_maintainer.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_release_metadata.py +93 -0
- ptctools/portainer_client/openapi_client/test/test_release_release_element.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_release_values.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_resource_controls_api.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_resource_quantity.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_resourcecontrols_resource_control_create_payload.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_resourcecontrols_resource_control_update_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_roles_api.py +39 -0
- ptctools/portainer_client/openapi_client/test/test_settings_api.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_settings_public_settings_response.py +72 -0
- ptctools/portainer_client/openapi_client/test/test_settings_public_settings_response_edge.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_settings_settings_update_payload.py +116 -0
- ptctools/portainer_client/openapi_client/test/test_ssl_api.py +46 -0
- ptctools/portainer_client/openapi_client/test/test_ssl_ssl_update_payload.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_api.py +186 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_compose_stack_from_file_content_payload.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_compose_stack_from_git_repository_payload.py +74 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_kubernetes_git_deployment_payload.py +70 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_kubernetes_manifest_url_deployment_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_kubernetes_string_deployment_payload.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_stack_file_response.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_stack_git_redploy_payload.py +64 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_stack_git_update_payload.py +69 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_stack_migrate_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_swarm_stack_from_file_content_payload.py +69 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_swarm_stack_from_git_repository_payload.py +76 -0
- ptctools/portainer_client/openapi_client/test/test_stacks_update_swarm_stack_payload.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_status_api.py +39 -0
- ptctools/portainer_client/openapi_client/test/test_swarm_service_update_response.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_system_api.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_system_nodes_count_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_system_status.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_system_system_info_response.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_system_version_response.py +74 -0
- ptctools/portainer_client/openapi_client/test/test_tags_api.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_tags_tag_create_payload.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_team_memberships_api.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_teammemberships_team_membership_create_payload.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_teammemberships_team_membership_update_payload.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_teams_api.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_teams_team_create_payload.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_teams_team_update_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_templates_api.py +46 -0
- ptctools/portainer_client/openapi_client/test/test_templates_file_response.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_templates_list_response.py +101 -0
- ptctools/portainer_client/openapi_client/test/test_unstructured_unstructured.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_upload_api.py +39 -0
- ptctools/portainer_client/openapi_client/test/test_users_access_token_response.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_users_add_helm_repo_url_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_users_admin_init_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_users_api.py +123 -0
- ptctools/portainer_client/openapi_client/test/test_users_helm_user_repository_response.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_users_theme_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_users_user_access_token_create_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_users_user_create_payload.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_users_user_update_password_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_users_user_update_payload.py +63 -0
- ptctools/portainer_client/openapi_client/test/test_v1_app_armor_profile.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_app_armor_profile_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_capabilities.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_v1_client_ip_config.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_v1_condition.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_v1_config_map_env_source.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_config_map_key_selector.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_v1_container.py +165 -0
- ptctools/portainer_client/openapi_client/test/test_v1_container_port.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v1_container_resize_policy.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_container_restart_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_csi_persistent_volume_source.py +73 -0
- ptctools/portainer_client/openapi_client/test/test_v1_duration.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_v1_env_from_source.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v1_env_var.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v1_env_var_source.py +66 -0
- ptctools/portainer_client/openapi_client/test/test_v1_exec_action.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_v1_grpc_action.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_http_get_action.py +63 -0
- ptctools/portainer_client/openapi_client/test/test_v1_http_header.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_ip_family.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_ip_family_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_label_selector.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_v1_label_selector_operator.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_label_selector_requirement.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v1_lifecycle.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_v1_lifecycle_handler.py +70 -0
- ptctools/portainer_client/openapi_client/test/test_v1_list_meta.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_v1_load_balancer_ingress.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_v1_load_balancer_ip_mode.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_load_balancer_status.py +63 -0
- ptctools/portainer_client/openapi_client/test/test_v1_managed_fields_entry.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v1_managed_fields_operation_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_mount_propagation_mode.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_namespace_condition.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v1_namespace_condition_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_namespace_phase.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_namespace_status.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_v1_object_field_selector.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_object_meta.py +89 -0
- ptctools/portainer_client/openapi_client/test/test_v1_object_reference.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v1_owner_reference.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_access_mode.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_claim_phase.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_mode.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_persistent_volume_reclaim_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_port_status.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_v1_probe.py +77 -0
- ptctools/portainer_client/openapi_client/test/test_v1_proc_mount_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_protocol.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_pull_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_recursive_read_only_mode.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_claim.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_field_selector.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_name.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_quota.py +101 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_quota_scope.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_quota_spec.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_quota_status.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_requirements.py +64 -0
- ptctools/portainer_client/openapi_client/test/test_v1_resource_resize_restart_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_role_ref.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_v1_scope_selector.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_v1_scope_selector_operator.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_scoped_resource_selector_requirement.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v1_se_linux_options.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_v1_seccomp_profile.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_seccomp_profile_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_secret_env_source.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_secret_key_selector.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_v1_secret_reference.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_security_context.py +81 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service.py +142 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service_affinity.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service_external_traffic_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service_internal_traffic_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service_port.py +60 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service_spec.py +90 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service_status.py +73 -0
- ptctools/portainer_client/openapi_client/test/test_v1_service_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_session_affinity_config.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_signal.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_sleep_action.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_v1_tcp_socket_action.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v1_termination_message_policy.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_uri_scheme.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v1_volume_device.py +53 -0
- ptctools/portainer_client/openapi_client/test/test_v1_volume_mount.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v1_windows_security_context_options.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_v1beta1_container_metrics.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v1beta1_node_metrics.py +99 -0
- ptctools/portainer_client/openapi_client/test/test_v1beta1_node_metrics_list.py +68 -0
- ptctools/portainer_client/openapi_client/test/test_v1beta1_pod_metrics.py +100 -0
- ptctools/portainer_client/openapi_client/test/test_v1beta1_pod_metrics_list.py +72 -0
- ptctools/portainer_client/openapi_client/test/test_v2_container_resource_metric_source.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v2_container_resource_metric_status.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_v2_cross_version_object_reference.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_v2_external_metric_source.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_v2_external_metric_status.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler.py +128 -0
- ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_behavior.py +71 -0
- ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_condition.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_condition_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_spec.py +69 -0
- ptctools/portainer_client/openapi_client/test/test_v2_horizontal_pod_autoscaler_status.py +72 -0
- ptctools/portainer_client/openapi_client/test/test_v2_hpa_scaling_policy.py +54 -0
- ptctools/portainer_client/openapi_client/test/test_v2_hpa_scaling_policy_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v2_hpa_scaling_rules.py +61 -0
- ptctools/portainer_client/openapi_client/test/test_v2_metric_identifier.py +64 -0
- ptctools/portainer_client/openapi_client/test/test_v2_metric_source_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v2_metric_spec.py +69 -0
- ptctools/portainer_client/openapi_client/test/test_v2_metric_status.py +69 -0
- ptctools/portainer_client/openapi_client/test/test_v2_metric_target.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_v2_metric_target_type.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_v2_metric_value_status.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v2_object_metric_source.py +63 -0
- ptctools/portainer_client/openapi_client/test/test_v2_object_metric_status.py +62 -0
- ptctools/portainer_client/openapi_client/test/test_v2_pods_metric_source.py +59 -0
- ptctools/portainer_client/openapi_client/test/test_v2_pods_metric_status.py +58 -0
- ptctools/portainer_client/openapi_client/test/test_v2_resource_metric_source.py +57 -0
- ptctools/portainer_client/openapi_client/test/test_v2_resource_metric_status.py +56 -0
- ptctools/portainer_client/openapi_client/test/test_v2_scaling_policy_select.py +34 -0
- ptctools/portainer_client/openapi_client/test/test_webhooks_api.py +67 -0
- ptctools/portainer_client/openapi_client/test/test_webhooks_webhook_create_payload.py +55 -0
- ptctools/portainer_client/openapi_client/test/test_webhooks_webhook_update_payload.py +52 -0
- ptctools/portainer_client/openapi_client/test/test_websocket_api.py +60 -0
- ptctools/portainer_client/openapi_client_README.md +707 -0
- ptctools/stack.py +177 -259
- ptctools/utils.py +8 -0
- ptctools/volume.py +581 -66
- {ptctools-0.1.0.dist-info → ptctools-0.1.1.dist-info}/METADATA +33 -1
- ptctools-0.1.1.dist-info/RECORD +1239 -0
- ptctools-0.1.0.dist-info/RECORD +0 -14
- {ptctools-0.1.0.dist-info → ptctools-0.1.1.dist-info}/WHEEL +0 -0
- {ptctools-0.1.0.dist-info → ptctools-0.1.1.dist-info}/entry_points.txt +0 -0
- {ptctools-0.1.0.dist-info → ptctools-0.1.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,1930 @@
|
|
|
1
|
+
# openapi_client.EndpointsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to */api*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**endpoint_association_delete**](EndpointsApi.md#endpoint_association_delete) | **PUT** /endpoints/{id}/association | De-association an edge environment(endpoint)
|
|
8
|
+
[**endpoint_create**](EndpointsApi.md#endpoint_create) | **POST** /endpoints | Create a new environment(endpoint)
|
|
9
|
+
[**endpoint_create_global_key**](EndpointsApi.md#endpoint_create_global_key) | **POST** /endpoints/global-key | Create or retrieve the endpoint for an EdgeID
|
|
10
|
+
[**endpoint_delete**](EndpointsApi.md#endpoint_delete) | **DELETE** /endpoints/{id} | Remove an environment
|
|
11
|
+
[**endpoint_delete_batch**](EndpointsApi.md#endpoint_delete_batch) | **POST** /endpoints/delete | Remove multiple environments
|
|
12
|
+
[**endpoint_delete_batch_deprecated**](EndpointsApi.md#endpoint_delete_batch_deprecated) | **DELETE** /endpoints | Remove multiple environments
|
|
13
|
+
[**endpoint_dockerhub_status**](EndpointsApi.md#endpoint_dockerhub_status) | **GET** /endpoints/{id}/dockerhub/{registryId} | fetch docker pull limits
|
|
14
|
+
[**endpoint_edge_status_inspect**](EndpointsApi.md#endpoint_edge_status_inspect) | **GET** /endpoints/{id}/edge/status | Get environment(endpoint) status
|
|
15
|
+
[**endpoint_force_update_service**](EndpointsApi.md#endpoint_force_update_service) | **PUT** /endpoints/{id}/forceupdateservice | force update a docker service
|
|
16
|
+
[**endpoint_inspect**](EndpointsApi.md#endpoint_inspect) | **GET** /endpoints/{id} | Inspect an environment(endpoint)
|
|
17
|
+
[**endpoint_list**](EndpointsApi.md#endpoint_list) | **GET** /endpoints | List environments(endpoints)
|
|
18
|
+
[**endpoint_registries_list**](EndpointsApi.md#endpoint_registries_list) | **GET** /endpoints/{id}/registries | List Registries on environment
|
|
19
|
+
[**endpoint_registry_access**](EndpointsApi.md#endpoint_registry_access) | **PUT** /endpoints/{id}/registries/{registryId} | update registry access for environment
|
|
20
|
+
[**endpoint_settings_update**](EndpointsApi.md#endpoint_settings_update) | **PUT** /endpoints/{id}/settings | Update settings for an environment(endpoint)
|
|
21
|
+
[**endpoint_snapshot**](EndpointsApi.md#endpoint_snapshot) | **POST** /endpoints/{id}/snapshot | Snapshots an environment(endpoint)
|
|
22
|
+
[**endpoint_snapshots**](EndpointsApi.md#endpoint_snapshots) | **POST** /endpoints/snapshot | Snapshot all environments(endpoints)
|
|
23
|
+
[**endpoint_update**](EndpointsApi.md#endpoint_update) | **PUT** /endpoints/{id} | Update an environment(endpoint)
|
|
24
|
+
[**endpoint_update_relations**](EndpointsApi.md#endpoint_update_relations) | **PUT** /endpoints/relations | Update relations for a list of environments
|
|
25
|
+
[**endpoints_id_docker_v2_browse_put_post**](EndpointsApi.md#endpoints_id_docker_v2_browse_put_post) | **POST** /endpoints/{id}/docker/v2/browse/put | Upload a file under a specific path on the file system of an environment (endpoint)
|
|
26
|
+
[**endpoints_id_edge_jobs_job_id_logs_post**](EndpointsApi.md#endpoints_id_edge_jobs_job_id_logs_post) | **POST** /endpoints/{id}/edge/jobs/{jobID}/logs | Inspect an EdgeJob Log
|
|
27
|
+
[**endpoints_id_edge_stacks_stack_id_get**](EndpointsApi.md#endpoints_id_edge_stacks_stack_id_get) | **GET** /endpoints/{id}/edge/stacks/{stackId} | Inspect an Edge Stack for an Environment(Endpoint)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# **endpoint_association_delete**
|
|
31
|
+
> endpoint_association_delete(id)
|
|
32
|
+
|
|
33
|
+
De-association an edge environment(endpoint)
|
|
34
|
+
|
|
35
|
+
De-association an edge environment(endpoint).
|
|
36
|
+
**Access policy**: administrator
|
|
37
|
+
|
|
38
|
+
### Example
|
|
39
|
+
|
|
40
|
+
* Api Key Authentication (jwt):
|
|
41
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
import openapi_client
|
|
45
|
+
from openapi_client.rest import ApiException
|
|
46
|
+
from pprint import pprint
|
|
47
|
+
|
|
48
|
+
# Defining the host is optional and defaults to /api
|
|
49
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
50
|
+
configuration = openapi_client.Configuration(
|
|
51
|
+
host = "/api"
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
# The client must configure the authentication and authorization parameters
|
|
55
|
+
# in accordance with the API server security policy.
|
|
56
|
+
# Examples for each auth method are provided below, use the example that
|
|
57
|
+
# satisfies your auth use case.
|
|
58
|
+
|
|
59
|
+
# Configure API key authorization: jwt
|
|
60
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
61
|
+
|
|
62
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
63
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
64
|
+
|
|
65
|
+
# Configure API key authorization: ApiKeyAuth
|
|
66
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
67
|
+
|
|
68
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
69
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
70
|
+
|
|
71
|
+
# Enter a context with an instance of the API client
|
|
72
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
73
|
+
# Create an instance of the API class
|
|
74
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
75
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
76
|
+
|
|
77
|
+
try:
|
|
78
|
+
# De-association an edge environment(endpoint)
|
|
79
|
+
api_instance.endpoint_association_delete(id)
|
|
80
|
+
except Exception as e:
|
|
81
|
+
print("Exception when calling EndpointsApi->endpoint_association_delete: %s\n" % e)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
Name | Type | Description | Notes
|
|
90
|
+
------------- | ------------- | ------------- | -------------
|
|
91
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
92
|
+
|
|
93
|
+
### Return type
|
|
94
|
+
|
|
95
|
+
void (empty response body)
|
|
96
|
+
|
|
97
|
+
### Authorization
|
|
98
|
+
|
|
99
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
100
|
+
|
|
101
|
+
### HTTP request headers
|
|
102
|
+
|
|
103
|
+
- **Content-Type**: Not defined
|
|
104
|
+
- **Accept**: Not defined
|
|
105
|
+
|
|
106
|
+
### HTTP response details
|
|
107
|
+
|
|
108
|
+
| Status code | Description | Response headers |
|
|
109
|
+
|-------------|-------------|------------------|
|
|
110
|
+
**204** | Success | - |
|
|
111
|
+
**400** | Invalid request | - |
|
|
112
|
+
**404** | Environment(Endpoint) not found | - |
|
|
113
|
+
**500** | Server error | - |
|
|
114
|
+
|
|
115
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
116
|
+
|
|
117
|
+
# **endpoint_create**
|
|
118
|
+
> PortainerEndpoint endpoint_create(name, endpoint_creation_type, edge_tunnel_server_address, container_engine=container_engine, url=url, public_url=public_url, group_id=group_id, tls=tls, tls_skip_verify=tls_skip_verify, tls_skip_client_verify=tls_skip_client_verify, tlsca_cert_file=tlsca_cert_file, tls_cert_file=tls_cert_file, tls_key_file=tls_key_file, azure_application_id=azure_application_id, azure_tenant_id=azure_tenant_id, azure_authentication_key=azure_authentication_key, tag_ids=tag_ids, edge_checkin_interval=edge_checkin_interval, gpus=gpus)
|
|
119
|
+
|
|
120
|
+
Create a new environment(endpoint)
|
|
121
|
+
|
|
122
|
+
Create a new environment(endpoint) that will be used to manage an environment(endpoint).
|
|
123
|
+
**Access policy**: administrator
|
|
124
|
+
|
|
125
|
+
### Example
|
|
126
|
+
|
|
127
|
+
* Api Key Authentication (jwt):
|
|
128
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
129
|
+
|
|
130
|
+
```python
|
|
131
|
+
import openapi_client
|
|
132
|
+
from openapi_client.models.portainer_endpoint import PortainerEndpoint
|
|
133
|
+
from openapi_client.rest import ApiException
|
|
134
|
+
from pprint import pprint
|
|
135
|
+
|
|
136
|
+
# Defining the host is optional and defaults to /api
|
|
137
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
138
|
+
configuration = openapi_client.Configuration(
|
|
139
|
+
host = "/api"
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
# The client must configure the authentication and authorization parameters
|
|
143
|
+
# in accordance with the API server security policy.
|
|
144
|
+
# Examples for each auth method are provided below, use the example that
|
|
145
|
+
# satisfies your auth use case.
|
|
146
|
+
|
|
147
|
+
# Configure API key authorization: jwt
|
|
148
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
149
|
+
|
|
150
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
151
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
152
|
+
|
|
153
|
+
# Configure API key authorization: ApiKeyAuth
|
|
154
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
155
|
+
|
|
156
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
157
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
158
|
+
|
|
159
|
+
# Enter a context with an instance of the API client
|
|
160
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
161
|
+
# Create an instance of the API class
|
|
162
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
163
|
+
name = 'name_example' # str | Name that will be used to identify this environment(endpoint) (example: my-environment)
|
|
164
|
+
endpoint_creation_type = 56 # int | Environment(Endpoint) type. Value must be one of: 1 (Local Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge agent environment) or 5 (Local Kubernetes Environment)
|
|
165
|
+
edge_tunnel_server_address = 'edge_tunnel_server_address_example' # str | URL or IP address that will be used to establish a reverse tunnel
|
|
166
|
+
container_engine = 'container_engine_example' # str | Container engine used by the environment(endpoint). Value must be one of: 'docker' or 'podman' (optional)
|
|
167
|
+
url = 'url_example' # str | URL or IP address of a Docker host (example: docker.mydomain.tld:2375). Defaults to local if not specified (Linux: /var/run/docker.sock, Windows: //./pipe/docker_engine). Cannot be empty if EndpointCreationType is set to 4 (Edge agent environment) (optional)
|
|
168
|
+
public_url = 'public_url_example' # str | URL or IP address where exposed containers will be reachable. Defaults to URL if not specified (example: docker.mydomain.tld:2375) (optional)
|
|
169
|
+
group_id = 56 # int | Environment(Endpoint) group identifier. If not specified will default to 1 (unassigned). (optional)
|
|
170
|
+
tls = True # bool | Require TLS to connect against this environment(endpoint). Must be true if EndpointCreationType is set to 2 (Agent environment) (optional)
|
|
171
|
+
tls_skip_verify = True # bool | Skip server verification when using TLS. Must be true if EndpointCreationType is set to 2 (Agent environment) (optional)
|
|
172
|
+
tls_skip_client_verify = True # bool | Skip client verification when using TLS. Must be true if EndpointCreationType is set to 2 (Agent environment) (optional)
|
|
173
|
+
tlsca_cert_file = None # bytearray | TLS CA certificate file (optional)
|
|
174
|
+
tls_cert_file = None # bytearray | TLS client certificate file (optional)
|
|
175
|
+
tls_key_file = None # bytearray | TLS client key file (optional)
|
|
176
|
+
azure_application_id = 'azure_application_id_example' # str | Azure application ID. Required if environment(endpoint) type is set to 3 (optional)
|
|
177
|
+
azure_tenant_id = 'azure_tenant_id_example' # str | Azure tenant ID. Required if environment(endpoint) type is set to 3 (optional)
|
|
178
|
+
azure_authentication_key = 'azure_authentication_key_example' # str | Azure authentication key. Required if environment(endpoint) type is set to 3 (optional)
|
|
179
|
+
tag_ids = [56] # List[int] | List of tag identifiers to which this environment(endpoint) is associated (optional)
|
|
180
|
+
edge_checkin_interval = 56 # int | The check in interval for edge agent (in seconds) (optional)
|
|
181
|
+
gpus = 'gpus_example' # str | List of GPUs - json stringified array of {name, value} structs (optional)
|
|
182
|
+
|
|
183
|
+
try:
|
|
184
|
+
# Create a new environment(endpoint)
|
|
185
|
+
api_response = api_instance.endpoint_create(name, endpoint_creation_type, edge_tunnel_server_address, container_engine=container_engine, url=url, public_url=public_url, group_id=group_id, tls=tls, tls_skip_verify=tls_skip_verify, tls_skip_client_verify=tls_skip_client_verify, tlsca_cert_file=tlsca_cert_file, tls_cert_file=tls_cert_file, tls_key_file=tls_key_file, azure_application_id=azure_application_id, azure_tenant_id=azure_tenant_id, azure_authentication_key=azure_authentication_key, tag_ids=tag_ids, edge_checkin_interval=edge_checkin_interval, gpus=gpus)
|
|
186
|
+
print("The response of EndpointsApi->endpoint_create:\n")
|
|
187
|
+
pprint(api_response)
|
|
188
|
+
except Exception as e:
|
|
189
|
+
print("Exception when calling EndpointsApi->endpoint_create: %s\n" % e)
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Parameters
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
Name | Type | Description | Notes
|
|
198
|
+
------------- | ------------- | ------------- | -------------
|
|
199
|
+
**name** | **str**| Name that will be used to identify this environment(endpoint) (example: my-environment) |
|
|
200
|
+
**endpoint_creation_type** | **int**| Environment(Endpoint) type. Value must be one of: 1 (Local Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge agent environment) or 5 (Local Kubernetes Environment) |
|
|
201
|
+
**edge_tunnel_server_address** | **str**| URL or IP address that will be used to establish a reverse tunnel |
|
|
202
|
+
**container_engine** | **str**| Container engine used by the environment(endpoint). Value must be one of: 'docker' or 'podman' | [optional]
|
|
203
|
+
**url** | **str**| URL or IP address of a Docker host (example: docker.mydomain.tld:2375). Defaults to local if not specified (Linux: /var/run/docker.sock, Windows: //./pipe/docker_engine). Cannot be empty if EndpointCreationType is set to 4 (Edge agent environment) | [optional]
|
|
204
|
+
**public_url** | **str**| URL or IP address where exposed containers will be reachable. Defaults to URL if not specified (example: docker.mydomain.tld:2375) | [optional]
|
|
205
|
+
**group_id** | **int**| Environment(Endpoint) group identifier. If not specified will default to 1 (unassigned). | [optional]
|
|
206
|
+
**tls** | **bool**| Require TLS to connect against this environment(endpoint). Must be true if EndpointCreationType is set to 2 (Agent environment) | [optional]
|
|
207
|
+
**tls_skip_verify** | **bool**| Skip server verification when using TLS. Must be true if EndpointCreationType is set to 2 (Agent environment) | [optional]
|
|
208
|
+
**tls_skip_client_verify** | **bool**| Skip client verification when using TLS. Must be true if EndpointCreationType is set to 2 (Agent environment) | [optional]
|
|
209
|
+
**tlsca_cert_file** | **bytearray**| TLS CA certificate file | [optional]
|
|
210
|
+
**tls_cert_file** | **bytearray**| TLS client certificate file | [optional]
|
|
211
|
+
**tls_key_file** | **bytearray**| TLS client key file | [optional]
|
|
212
|
+
**azure_application_id** | **str**| Azure application ID. Required if environment(endpoint) type is set to 3 | [optional]
|
|
213
|
+
**azure_tenant_id** | **str**| Azure tenant ID. Required if environment(endpoint) type is set to 3 | [optional]
|
|
214
|
+
**azure_authentication_key** | **str**| Azure authentication key. Required if environment(endpoint) type is set to 3 | [optional]
|
|
215
|
+
**tag_ids** | [**List[int]**](int.md)| List of tag identifiers to which this environment(endpoint) is associated | [optional]
|
|
216
|
+
**edge_checkin_interval** | **int**| The check in interval for edge agent (in seconds) | [optional]
|
|
217
|
+
**gpus** | **str**| List of GPUs - json stringified array of {name, value} structs | [optional]
|
|
218
|
+
|
|
219
|
+
### Return type
|
|
220
|
+
|
|
221
|
+
[**PortainerEndpoint**](PortainerEndpoint.md)
|
|
222
|
+
|
|
223
|
+
### Authorization
|
|
224
|
+
|
|
225
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
226
|
+
|
|
227
|
+
### HTTP request headers
|
|
228
|
+
|
|
229
|
+
- **Content-Type**: multipart/form-data
|
|
230
|
+
- **Accept**: application/json
|
|
231
|
+
|
|
232
|
+
### HTTP response details
|
|
233
|
+
|
|
234
|
+
| Status code | Description | Response headers |
|
|
235
|
+
|-------------|-------------|------------------|
|
|
236
|
+
**200** | Success | - |
|
|
237
|
+
**400** | Invalid request | - |
|
|
238
|
+
**409** | Name is not unique | - |
|
|
239
|
+
**500** | Server error | - |
|
|
240
|
+
|
|
241
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
242
|
+
|
|
243
|
+
# **endpoint_create_global_key**
|
|
244
|
+
> EndpointsEndpointCreateGlobalKeyResponse endpoint_create_global_key()
|
|
245
|
+
|
|
246
|
+
Create or retrieve the endpoint for an EdgeID
|
|
247
|
+
|
|
248
|
+
### Example
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
```python
|
|
252
|
+
import openapi_client
|
|
253
|
+
from openapi_client.models.endpoints_endpoint_create_global_key_response import EndpointsEndpointCreateGlobalKeyResponse
|
|
254
|
+
from openapi_client.rest import ApiException
|
|
255
|
+
from pprint import pprint
|
|
256
|
+
|
|
257
|
+
# Defining the host is optional and defaults to /api
|
|
258
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
259
|
+
configuration = openapi_client.Configuration(
|
|
260
|
+
host = "/api"
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
# Enter a context with an instance of the API client
|
|
265
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
266
|
+
# Create an instance of the API class
|
|
267
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
268
|
+
|
|
269
|
+
try:
|
|
270
|
+
# Create or retrieve the endpoint for an EdgeID
|
|
271
|
+
api_response = api_instance.endpoint_create_global_key()
|
|
272
|
+
print("The response of EndpointsApi->endpoint_create_global_key:\n")
|
|
273
|
+
pprint(api_response)
|
|
274
|
+
except Exception as e:
|
|
275
|
+
print("Exception when calling EndpointsApi->endpoint_create_global_key: %s\n" % e)
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
### Parameters
|
|
281
|
+
|
|
282
|
+
This endpoint does not need any parameter.
|
|
283
|
+
|
|
284
|
+
### Return type
|
|
285
|
+
|
|
286
|
+
[**EndpointsEndpointCreateGlobalKeyResponse**](EndpointsEndpointCreateGlobalKeyResponse.md)
|
|
287
|
+
|
|
288
|
+
### Authorization
|
|
289
|
+
|
|
290
|
+
No authorization required
|
|
291
|
+
|
|
292
|
+
### HTTP request headers
|
|
293
|
+
|
|
294
|
+
- **Content-Type**: Not defined
|
|
295
|
+
- **Accept**: */*
|
|
296
|
+
|
|
297
|
+
### HTTP response details
|
|
298
|
+
|
|
299
|
+
| Status code | Description | Response headers |
|
|
300
|
+
|-------------|-------------|------------------|
|
|
301
|
+
**200** | Success | - |
|
|
302
|
+
**400** | Invalid request | - |
|
|
303
|
+
**500** | Server error | - |
|
|
304
|
+
|
|
305
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
306
|
+
|
|
307
|
+
# **endpoint_delete**
|
|
308
|
+
> endpoint_delete(id)
|
|
309
|
+
|
|
310
|
+
Remove an environment
|
|
311
|
+
|
|
312
|
+
Remove the environment associated to the specified identifier and optionally clean-up associated resources.
|
|
313
|
+
**Access policy**: Administrator only.
|
|
314
|
+
|
|
315
|
+
### Example
|
|
316
|
+
|
|
317
|
+
* Api Key Authentication (jwt):
|
|
318
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
319
|
+
|
|
320
|
+
```python
|
|
321
|
+
import openapi_client
|
|
322
|
+
from openapi_client.rest import ApiException
|
|
323
|
+
from pprint import pprint
|
|
324
|
+
|
|
325
|
+
# Defining the host is optional and defaults to /api
|
|
326
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
327
|
+
configuration = openapi_client.Configuration(
|
|
328
|
+
host = "/api"
|
|
329
|
+
)
|
|
330
|
+
|
|
331
|
+
# The client must configure the authentication and authorization parameters
|
|
332
|
+
# in accordance with the API server security policy.
|
|
333
|
+
# Examples for each auth method are provided below, use the example that
|
|
334
|
+
# satisfies your auth use case.
|
|
335
|
+
|
|
336
|
+
# Configure API key authorization: jwt
|
|
337
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
338
|
+
|
|
339
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
340
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
341
|
+
|
|
342
|
+
# Configure API key authorization: ApiKeyAuth
|
|
343
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
344
|
+
|
|
345
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
346
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
347
|
+
|
|
348
|
+
# Enter a context with an instance of the API client
|
|
349
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
350
|
+
# Create an instance of the API class
|
|
351
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
352
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
353
|
+
|
|
354
|
+
try:
|
|
355
|
+
# Remove an environment
|
|
356
|
+
api_instance.endpoint_delete(id)
|
|
357
|
+
except Exception as e:
|
|
358
|
+
print("Exception when calling EndpointsApi->endpoint_delete: %s\n" % e)
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
### Parameters
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
Name | Type | Description | Notes
|
|
367
|
+
------------- | ------------- | ------------- | -------------
|
|
368
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
369
|
+
|
|
370
|
+
### Return type
|
|
371
|
+
|
|
372
|
+
void (empty response body)
|
|
373
|
+
|
|
374
|
+
### Authorization
|
|
375
|
+
|
|
376
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
377
|
+
|
|
378
|
+
### HTTP request headers
|
|
379
|
+
|
|
380
|
+
- **Content-Type**: Not defined
|
|
381
|
+
- **Accept**: Not defined
|
|
382
|
+
|
|
383
|
+
### HTTP response details
|
|
384
|
+
|
|
385
|
+
| Status code | Description | Response headers |
|
|
386
|
+
|-------------|-------------|------------------|
|
|
387
|
+
**204** | Environment successfully deleted. | - |
|
|
388
|
+
**400** | Invalid request payload, such as missing required fields or fields not meeting validation criteria. | - |
|
|
389
|
+
**403** | Unauthorized access or operation not allowed. | - |
|
|
390
|
+
**404** | Unable to find the environment with the specified identifier inside the database. | - |
|
|
391
|
+
**500** | Server error occurred while attempting to delete the environment. | - |
|
|
392
|
+
|
|
393
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
394
|
+
|
|
395
|
+
# **endpoint_delete_batch**
|
|
396
|
+
> endpoint_delete_batch(body)
|
|
397
|
+
|
|
398
|
+
Remove multiple environments
|
|
399
|
+
|
|
400
|
+
Remove multiple environments and optionally clean-up associated resources.
|
|
401
|
+
**Access policy**: Administrator only.
|
|
402
|
+
|
|
403
|
+
### Example
|
|
404
|
+
|
|
405
|
+
* Api Key Authentication (jwt):
|
|
406
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
407
|
+
|
|
408
|
+
```python
|
|
409
|
+
import openapi_client
|
|
410
|
+
from openapi_client.models.endpoints_endpoint_delete_batch_payload import EndpointsEndpointDeleteBatchPayload
|
|
411
|
+
from openapi_client.rest import ApiException
|
|
412
|
+
from pprint import pprint
|
|
413
|
+
|
|
414
|
+
# Defining the host is optional and defaults to /api
|
|
415
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
416
|
+
configuration = openapi_client.Configuration(
|
|
417
|
+
host = "/api"
|
|
418
|
+
)
|
|
419
|
+
|
|
420
|
+
# The client must configure the authentication and authorization parameters
|
|
421
|
+
# in accordance with the API server security policy.
|
|
422
|
+
# Examples for each auth method are provided below, use the example that
|
|
423
|
+
# satisfies your auth use case.
|
|
424
|
+
|
|
425
|
+
# Configure API key authorization: jwt
|
|
426
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
427
|
+
|
|
428
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
429
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
430
|
+
|
|
431
|
+
# Configure API key authorization: ApiKeyAuth
|
|
432
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
433
|
+
|
|
434
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
435
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
436
|
+
|
|
437
|
+
# Enter a context with an instance of the API client
|
|
438
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
439
|
+
# Create an instance of the API class
|
|
440
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
441
|
+
body = openapi_client.EndpointsEndpointDeleteBatchPayload() # EndpointsEndpointDeleteBatchPayload | List of environments to delete, with optional deleteCluster flag to clean-up associated resources (cloud environments only)
|
|
442
|
+
|
|
443
|
+
try:
|
|
444
|
+
# Remove multiple environments
|
|
445
|
+
api_instance.endpoint_delete_batch(body)
|
|
446
|
+
except Exception as e:
|
|
447
|
+
print("Exception when calling EndpointsApi->endpoint_delete_batch: %s\n" % e)
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
### Parameters
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
Name | Type | Description | Notes
|
|
456
|
+
------------- | ------------- | ------------- | -------------
|
|
457
|
+
**body** | [**EndpointsEndpointDeleteBatchPayload**](EndpointsEndpointDeleteBatchPayload.md)| List of environments to delete, with optional deleteCluster flag to clean-up associated resources (cloud environments only) |
|
|
458
|
+
|
|
459
|
+
### Return type
|
|
460
|
+
|
|
461
|
+
void (empty response body)
|
|
462
|
+
|
|
463
|
+
### Authorization
|
|
464
|
+
|
|
465
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
466
|
+
|
|
467
|
+
### HTTP request headers
|
|
468
|
+
|
|
469
|
+
- **Content-Type**: application/json
|
|
470
|
+
- **Accept**: application/json
|
|
471
|
+
|
|
472
|
+
### HTTP response details
|
|
473
|
+
|
|
474
|
+
| Status code | Description | Response headers |
|
|
475
|
+
|-------------|-------------|------------------|
|
|
476
|
+
**204** | Environment(s) successfully deleted. | - |
|
|
477
|
+
**207** | Partial success. Some environments were deleted successfully, while others failed. | - |
|
|
478
|
+
**400** | Invalid request payload, such as missing required fields or fields not meeting validation criteria. | - |
|
|
479
|
+
**403** | Unauthorized access or operation not allowed. | - |
|
|
480
|
+
**500** | Server error occurred while attempting to delete the specified environments. | - |
|
|
481
|
+
|
|
482
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
483
|
+
|
|
484
|
+
# **endpoint_delete_batch_deprecated**
|
|
485
|
+
> endpoint_delete_batch_deprecated(body)
|
|
486
|
+
|
|
487
|
+
Remove multiple environments
|
|
488
|
+
|
|
489
|
+
Deprecated: use the `POST` endpoint instead.
|
|
490
|
+
Remove multiple environments and optionally clean-up associated resources.
|
|
491
|
+
**Access policy**: Administrator only.
|
|
492
|
+
|
|
493
|
+
### Example
|
|
494
|
+
|
|
495
|
+
* Api Key Authentication (jwt):
|
|
496
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
497
|
+
|
|
498
|
+
```python
|
|
499
|
+
import openapi_client
|
|
500
|
+
from openapi_client.models.endpoints_endpoint_delete_batch_payload import EndpointsEndpointDeleteBatchPayload
|
|
501
|
+
from openapi_client.rest import ApiException
|
|
502
|
+
from pprint import pprint
|
|
503
|
+
|
|
504
|
+
# Defining the host is optional and defaults to /api
|
|
505
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
506
|
+
configuration = openapi_client.Configuration(
|
|
507
|
+
host = "/api"
|
|
508
|
+
)
|
|
509
|
+
|
|
510
|
+
# The client must configure the authentication and authorization parameters
|
|
511
|
+
# in accordance with the API server security policy.
|
|
512
|
+
# Examples for each auth method are provided below, use the example that
|
|
513
|
+
# satisfies your auth use case.
|
|
514
|
+
|
|
515
|
+
# Configure API key authorization: jwt
|
|
516
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
517
|
+
|
|
518
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
519
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
520
|
+
|
|
521
|
+
# Configure API key authorization: ApiKeyAuth
|
|
522
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
523
|
+
|
|
524
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
525
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
526
|
+
|
|
527
|
+
# Enter a context with an instance of the API client
|
|
528
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
529
|
+
# Create an instance of the API class
|
|
530
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
531
|
+
body = openapi_client.EndpointsEndpointDeleteBatchPayload() # EndpointsEndpointDeleteBatchPayload | List of environments to delete, with optional deleteCluster flag to clean-up associated resources (cloud environments only)
|
|
532
|
+
|
|
533
|
+
try:
|
|
534
|
+
# Remove multiple environments
|
|
535
|
+
api_instance.endpoint_delete_batch_deprecated(body)
|
|
536
|
+
except Exception as e:
|
|
537
|
+
print("Exception when calling EndpointsApi->endpoint_delete_batch_deprecated: %s\n" % e)
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
### Parameters
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
Name | Type | Description | Notes
|
|
546
|
+
------------- | ------------- | ------------- | -------------
|
|
547
|
+
**body** | [**EndpointsEndpointDeleteBatchPayload**](EndpointsEndpointDeleteBatchPayload.md)| List of environments to delete, with optional deleteCluster flag to clean-up associated resources (cloud environments only) |
|
|
548
|
+
|
|
549
|
+
### Return type
|
|
550
|
+
|
|
551
|
+
void (empty response body)
|
|
552
|
+
|
|
553
|
+
### Authorization
|
|
554
|
+
|
|
555
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
556
|
+
|
|
557
|
+
### HTTP request headers
|
|
558
|
+
|
|
559
|
+
- **Content-Type**: application/json
|
|
560
|
+
- **Accept**: application/json
|
|
561
|
+
|
|
562
|
+
### HTTP response details
|
|
563
|
+
|
|
564
|
+
| Status code | Description | Response headers |
|
|
565
|
+
|-------------|-------------|------------------|
|
|
566
|
+
**204** | Environment(s) successfully deleted. | - |
|
|
567
|
+
**207** | Partial success. Some environments were deleted successfully, while others failed. | - |
|
|
568
|
+
**400** | Invalid request payload, such as missing required fields or fields not meeting validation criteria. | - |
|
|
569
|
+
**403** | Unauthorized access or operation not allowed. | - |
|
|
570
|
+
**500** | Server error occurred while attempting to delete the specified environments. | - |
|
|
571
|
+
|
|
572
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
573
|
+
|
|
574
|
+
# **endpoint_dockerhub_status**
|
|
575
|
+
> EndpointsDockerhubStatusResponse endpoint_dockerhub_status(id, registry_id)
|
|
576
|
+
|
|
577
|
+
fetch docker pull limits
|
|
578
|
+
|
|
579
|
+
get docker pull limits for a docker hub registry in the environment
|
|
580
|
+
**Access policy**:
|
|
581
|
+
|
|
582
|
+
### Example
|
|
583
|
+
|
|
584
|
+
* Api Key Authentication (jwt):
|
|
585
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
586
|
+
|
|
587
|
+
```python
|
|
588
|
+
import openapi_client
|
|
589
|
+
from openapi_client.models.endpoints_dockerhub_status_response import EndpointsDockerhubStatusResponse
|
|
590
|
+
from openapi_client.rest import ApiException
|
|
591
|
+
from pprint import pprint
|
|
592
|
+
|
|
593
|
+
# Defining the host is optional and defaults to /api
|
|
594
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
595
|
+
configuration = openapi_client.Configuration(
|
|
596
|
+
host = "/api"
|
|
597
|
+
)
|
|
598
|
+
|
|
599
|
+
# The client must configure the authentication and authorization parameters
|
|
600
|
+
# in accordance with the API server security policy.
|
|
601
|
+
# Examples for each auth method are provided below, use the example that
|
|
602
|
+
# satisfies your auth use case.
|
|
603
|
+
|
|
604
|
+
# Configure API key authorization: jwt
|
|
605
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
606
|
+
|
|
607
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
608
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
609
|
+
|
|
610
|
+
# Configure API key authorization: ApiKeyAuth
|
|
611
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
612
|
+
|
|
613
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
614
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
615
|
+
|
|
616
|
+
# Enter a context with an instance of the API client
|
|
617
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
618
|
+
# Create an instance of the API class
|
|
619
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
620
|
+
id = 56 # int | endpoint ID
|
|
621
|
+
registry_id = 56 # int | registry ID
|
|
622
|
+
|
|
623
|
+
try:
|
|
624
|
+
# fetch docker pull limits
|
|
625
|
+
api_response = api_instance.endpoint_dockerhub_status(id, registry_id)
|
|
626
|
+
print("The response of EndpointsApi->endpoint_dockerhub_status:\n")
|
|
627
|
+
pprint(api_response)
|
|
628
|
+
except Exception as e:
|
|
629
|
+
print("Exception when calling EndpointsApi->endpoint_dockerhub_status: %s\n" % e)
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
### Parameters
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
Name | Type | Description | Notes
|
|
638
|
+
------------- | ------------- | ------------- | -------------
|
|
639
|
+
**id** | **int**| endpoint ID |
|
|
640
|
+
**registry_id** | **int**| registry ID |
|
|
641
|
+
|
|
642
|
+
### Return type
|
|
643
|
+
|
|
644
|
+
[**EndpointsDockerhubStatusResponse**](EndpointsDockerhubStatusResponse.md)
|
|
645
|
+
|
|
646
|
+
### Authorization
|
|
647
|
+
|
|
648
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
649
|
+
|
|
650
|
+
### HTTP request headers
|
|
651
|
+
|
|
652
|
+
- **Content-Type**: Not defined
|
|
653
|
+
- **Accept**: application/json
|
|
654
|
+
|
|
655
|
+
### HTTP response details
|
|
656
|
+
|
|
657
|
+
| Status code | Description | Response headers |
|
|
658
|
+
|-------------|-------------|------------------|
|
|
659
|
+
**200** | Success | - |
|
|
660
|
+
**400** | Invalid request | - |
|
|
661
|
+
**403** | Permission denied | - |
|
|
662
|
+
**404** | registry or endpoint not found | - |
|
|
663
|
+
**500** | Server error | - |
|
|
664
|
+
|
|
665
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
666
|
+
|
|
667
|
+
# **endpoint_edge_status_inspect**
|
|
668
|
+
> EndpointedgeEndpointEdgeStatusInspectResponse endpoint_edge_status_inspect(id)
|
|
669
|
+
|
|
670
|
+
Get environment(endpoint) status
|
|
671
|
+
|
|
672
|
+
environment(endpoint) for edge agent to check status of environment(endpoint)
|
|
673
|
+
**Access policy**: restricted only to Edge environments(endpoints)
|
|
674
|
+
|
|
675
|
+
### Example
|
|
676
|
+
|
|
677
|
+
* Api Key Authentication (jwt):
|
|
678
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
679
|
+
|
|
680
|
+
```python
|
|
681
|
+
import openapi_client
|
|
682
|
+
from openapi_client.models.endpointedge_endpoint_edge_status_inspect_response import EndpointedgeEndpointEdgeStatusInspectResponse
|
|
683
|
+
from openapi_client.rest import ApiException
|
|
684
|
+
from pprint import pprint
|
|
685
|
+
|
|
686
|
+
# Defining the host is optional and defaults to /api
|
|
687
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
688
|
+
configuration = openapi_client.Configuration(
|
|
689
|
+
host = "/api"
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
# The client must configure the authentication and authorization parameters
|
|
693
|
+
# in accordance with the API server security policy.
|
|
694
|
+
# Examples for each auth method are provided below, use the example that
|
|
695
|
+
# satisfies your auth use case.
|
|
696
|
+
|
|
697
|
+
# Configure API key authorization: jwt
|
|
698
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
699
|
+
|
|
700
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
701
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
702
|
+
|
|
703
|
+
# Configure API key authorization: ApiKeyAuth
|
|
704
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
705
|
+
|
|
706
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
707
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
708
|
+
|
|
709
|
+
# Enter a context with an instance of the API client
|
|
710
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
711
|
+
# Create an instance of the API class
|
|
712
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
713
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
714
|
+
|
|
715
|
+
try:
|
|
716
|
+
# Get environment(endpoint) status
|
|
717
|
+
api_response = api_instance.endpoint_edge_status_inspect(id)
|
|
718
|
+
print("The response of EndpointsApi->endpoint_edge_status_inspect:\n")
|
|
719
|
+
pprint(api_response)
|
|
720
|
+
except Exception as e:
|
|
721
|
+
print("Exception when calling EndpointsApi->endpoint_edge_status_inspect: %s\n" % e)
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
### Parameters
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
Name | Type | Description | Notes
|
|
730
|
+
------------- | ------------- | ------------- | -------------
|
|
731
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
732
|
+
|
|
733
|
+
### Return type
|
|
734
|
+
|
|
735
|
+
[**EndpointedgeEndpointEdgeStatusInspectResponse**](EndpointedgeEndpointEdgeStatusInspectResponse.md)
|
|
736
|
+
|
|
737
|
+
### Authorization
|
|
738
|
+
|
|
739
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
740
|
+
|
|
741
|
+
### HTTP request headers
|
|
742
|
+
|
|
743
|
+
- **Content-Type**: Not defined
|
|
744
|
+
- **Accept**: */*
|
|
745
|
+
|
|
746
|
+
### HTTP response details
|
|
747
|
+
|
|
748
|
+
| Status code | Description | Response headers |
|
|
749
|
+
|-------------|-------------|------------------|
|
|
750
|
+
**200** | Success | - |
|
|
751
|
+
**400** | Invalid request | - |
|
|
752
|
+
**403** | Permission denied to access environment(endpoint) | - |
|
|
753
|
+
**404** | Environment(Endpoint) not found | - |
|
|
754
|
+
**500** | Server error | - |
|
|
755
|
+
|
|
756
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
757
|
+
|
|
758
|
+
# **endpoint_force_update_service**
|
|
759
|
+
> SwarmServiceUpdateResponse endpoint_force_update_service(id, body)
|
|
760
|
+
|
|
761
|
+
force update a docker service
|
|
762
|
+
|
|
763
|
+
force update a docker service
|
|
764
|
+
**Access policy**: authenticated
|
|
765
|
+
|
|
766
|
+
### Example
|
|
767
|
+
|
|
768
|
+
* Api Key Authentication (jwt):
|
|
769
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
770
|
+
|
|
771
|
+
```python
|
|
772
|
+
import openapi_client
|
|
773
|
+
from openapi_client.models.endpoints_force_update_service_payload import EndpointsForceUpdateServicePayload
|
|
774
|
+
from openapi_client.models.swarm_service_update_response import SwarmServiceUpdateResponse
|
|
775
|
+
from openapi_client.rest import ApiException
|
|
776
|
+
from pprint import pprint
|
|
777
|
+
|
|
778
|
+
# Defining the host is optional and defaults to /api
|
|
779
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
780
|
+
configuration = openapi_client.Configuration(
|
|
781
|
+
host = "/api"
|
|
782
|
+
)
|
|
783
|
+
|
|
784
|
+
# The client must configure the authentication and authorization parameters
|
|
785
|
+
# in accordance with the API server security policy.
|
|
786
|
+
# Examples for each auth method are provided below, use the example that
|
|
787
|
+
# satisfies your auth use case.
|
|
788
|
+
|
|
789
|
+
# Configure API key authorization: jwt
|
|
790
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
791
|
+
|
|
792
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
793
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
794
|
+
|
|
795
|
+
# Configure API key authorization: ApiKeyAuth
|
|
796
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
797
|
+
|
|
798
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
799
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
800
|
+
|
|
801
|
+
# Enter a context with an instance of the API client
|
|
802
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
803
|
+
# Create an instance of the API class
|
|
804
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
805
|
+
id = 56 # int | endpoint identifier
|
|
806
|
+
body = openapi_client.EndpointsForceUpdateServicePayload() # EndpointsForceUpdateServicePayload | details
|
|
807
|
+
|
|
808
|
+
try:
|
|
809
|
+
# force update a docker service
|
|
810
|
+
api_response = api_instance.endpoint_force_update_service(id, body)
|
|
811
|
+
print("The response of EndpointsApi->endpoint_force_update_service:\n")
|
|
812
|
+
pprint(api_response)
|
|
813
|
+
except Exception as e:
|
|
814
|
+
print("Exception when calling EndpointsApi->endpoint_force_update_service: %s\n" % e)
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
### Parameters
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
Name | Type | Description | Notes
|
|
823
|
+
------------- | ------------- | ------------- | -------------
|
|
824
|
+
**id** | **int**| endpoint identifier |
|
|
825
|
+
**body** | [**EndpointsForceUpdateServicePayload**](EndpointsForceUpdateServicePayload.md)| details |
|
|
826
|
+
|
|
827
|
+
### Return type
|
|
828
|
+
|
|
829
|
+
[**SwarmServiceUpdateResponse**](SwarmServiceUpdateResponse.md)
|
|
830
|
+
|
|
831
|
+
### Authorization
|
|
832
|
+
|
|
833
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
834
|
+
|
|
835
|
+
### HTTP request headers
|
|
836
|
+
|
|
837
|
+
- **Content-Type**: application/json
|
|
838
|
+
- **Accept**: application/json
|
|
839
|
+
|
|
840
|
+
### HTTP response details
|
|
841
|
+
|
|
842
|
+
| Status code | Description | Response headers |
|
|
843
|
+
|-------------|-------------|------------------|
|
|
844
|
+
**200** | Success | - |
|
|
845
|
+
**400** | Invalid request | - |
|
|
846
|
+
**403** | Permission denied | - |
|
|
847
|
+
**404** | endpoint not found | - |
|
|
848
|
+
**500** | Server error | - |
|
|
849
|
+
|
|
850
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
851
|
+
|
|
852
|
+
# **endpoint_inspect**
|
|
853
|
+
> PortainerEndpoint endpoint_inspect(id, exclude_snapshot=exclude_snapshot)
|
|
854
|
+
|
|
855
|
+
Inspect an environment(endpoint)
|
|
856
|
+
|
|
857
|
+
Retrieve details about an environment(endpoint).
|
|
858
|
+
**Access policy**: restricted
|
|
859
|
+
|
|
860
|
+
### Example
|
|
861
|
+
|
|
862
|
+
* Api Key Authentication (jwt):
|
|
863
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
864
|
+
|
|
865
|
+
```python
|
|
866
|
+
import openapi_client
|
|
867
|
+
from openapi_client.models.portainer_endpoint import PortainerEndpoint
|
|
868
|
+
from openapi_client.rest import ApiException
|
|
869
|
+
from pprint import pprint
|
|
870
|
+
|
|
871
|
+
# Defining the host is optional and defaults to /api
|
|
872
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
873
|
+
configuration = openapi_client.Configuration(
|
|
874
|
+
host = "/api"
|
|
875
|
+
)
|
|
876
|
+
|
|
877
|
+
# The client must configure the authentication and authorization parameters
|
|
878
|
+
# in accordance with the API server security policy.
|
|
879
|
+
# Examples for each auth method are provided below, use the example that
|
|
880
|
+
# satisfies your auth use case.
|
|
881
|
+
|
|
882
|
+
# Configure API key authorization: jwt
|
|
883
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
884
|
+
|
|
885
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
886
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
887
|
+
|
|
888
|
+
# Configure API key authorization: ApiKeyAuth
|
|
889
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
890
|
+
|
|
891
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
892
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
893
|
+
|
|
894
|
+
# Enter a context with an instance of the API client
|
|
895
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
896
|
+
# Create an instance of the API class
|
|
897
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
898
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
899
|
+
exclude_snapshot = True # bool | if true, the snapshot data won't be retrieved (optional)
|
|
900
|
+
|
|
901
|
+
try:
|
|
902
|
+
# Inspect an environment(endpoint)
|
|
903
|
+
api_response = api_instance.endpoint_inspect(id, exclude_snapshot=exclude_snapshot)
|
|
904
|
+
print("The response of EndpointsApi->endpoint_inspect:\n")
|
|
905
|
+
pprint(api_response)
|
|
906
|
+
except Exception as e:
|
|
907
|
+
print("Exception when calling EndpointsApi->endpoint_inspect: %s\n" % e)
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
### Parameters
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
Name | Type | Description | Notes
|
|
916
|
+
------------- | ------------- | ------------- | -------------
|
|
917
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
918
|
+
**exclude_snapshot** | **bool**| if true, the snapshot data won't be retrieved | [optional]
|
|
919
|
+
|
|
920
|
+
### Return type
|
|
921
|
+
|
|
922
|
+
[**PortainerEndpoint**](PortainerEndpoint.md)
|
|
923
|
+
|
|
924
|
+
### Authorization
|
|
925
|
+
|
|
926
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
927
|
+
|
|
928
|
+
### HTTP request headers
|
|
929
|
+
|
|
930
|
+
- **Content-Type**: Not defined
|
|
931
|
+
- **Accept**: application/json
|
|
932
|
+
|
|
933
|
+
### HTTP response details
|
|
934
|
+
|
|
935
|
+
| Status code | Description | Response headers |
|
|
936
|
+
|-------------|-------------|------------------|
|
|
937
|
+
**200** | Success | - |
|
|
938
|
+
**400** | Invalid request | - |
|
|
939
|
+
**404** | Environment(Endpoint) not found | - |
|
|
940
|
+
**500** | Server error | - |
|
|
941
|
+
|
|
942
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
943
|
+
|
|
944
|
+
# **endpoint_list**
|
|
945
|
+
> List[PortainerEndpoint] endpoint_list(start=start, limit=limit, sort=sort, order=order, search=search, group_ids=group_ids, status=status, types=types, tag_ids=tag_ids, tags_partial_match=tags_partial_match, endpoint_ids=endpoint_ids, exclude_ids=exclude_ids, provisioned=provisioned, agent_versions=agent_versions, edge_async=edge_async, edge_device_untrusted=edge_device_untrusted, edge_check_in_passed_seconds=edge_check_in_passed_seconds, exclude_snapshots=exclude_snapshots, name=name, edge_stack_status=edge_stack_status, edge_group_ids=edge_group_ids, exclude_edge_group_ids=exclude_edge_group_ids)
|
|
946
|
+
|
|
947
|
+
List environments(endpoints)
|
|
948
|
+
|
|
949
|
+
List all environments(endpoints) based on the current user authorizations. Will
|
|
950
|
+
return all environments(endpoints) if using an administrator or team leader account otherwise it will
|
|
951
|
+
only return authorized environments(endpoints).
|
|
952
|
+
**Access policy**: restricted
|
|
953
|
+
|
|
954
|
+
### Example
|
|
955
|
+
|
|
956
|
+
* Api Key Authentication (jwt):
|
|
957
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
958
|
+
|
|
959
|
+
```python
|
|
960
|
+
import openapi_client
|
|
961
|
+
from openapi_client.models.portainer_endpoint import PortainerEndpoint
|
|
962
|
+
from openapi_client.rest import ApiException
|
|
963
|
+
from pprint import pprint
|
|
964
|
+
|
|
965
|
+
# Defining the host is optional and defaults to /api
|
|
966
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
967
|
+
configuration = openapi_client.Configuration(
|
|
968
|
+
host = "/api"
|
|
969
|
+
)
|
|
970
|
+
|
|
971
|
+
# The client must configure the authentication and authorization parameters
|
|
972
|
+
# in accordance with the API server security policy.
|
|
973
|
+
# Examples for each auth method are provided below, use the example that
|
|
974
|
+
# satisfies your auth use case.
|
|
975
|
+
|
|
976
|
+
# Configure API key authorization: jwt
|
|
977
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
978
|
+
|
|
979
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
980
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
981
|
+
|
|
982
|
+
# Configure API key authorization: ApiKeyAuth
|
|
983
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
984
|
+
|
|
985
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
986
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
987
|
+
|
|
988
|
+
# Enter a context with an instance of the API client
|
|
989
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
990
|
+
# Create an instance of the API class
|
|
991
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
992
|
+
start = 56 # int | Start searching from (optional)
|
|
993
|
+
limit = 56 # int | Limit results to this value (optional)
|
|
994
|
+
sort = 'sort_example' # str | Sort results by this value (optional)
|
|
995
|
+
order = 56 # int | Order sorted results by desc/asc (optional)
|
|
996
|
+
search = 'search_example' # str | Search query (optional)
|
|
997
|
+
group_ids = [56] # List[int] | List environments(endpoints) of these groups (optional)
|
|
998
|
+
status = [56] # List[int] | List environments(endpoints) by this status (optional)
|
|
999
|
+
types = [56] # List[int] | List environments(endpoints) of this type (optional)
|
|
1000
|
+
tag_ids = [56] # List[int] | search environments(endpoints) with these tags (depends on tagsPartialMatch) (optional)
|
|
1001
|
+
tags_partial_match = True # bool | If true, will return environment(endpoint) which has one of tagIds, if false (or missing) will return only environments(endpoints) that has all the tags (optional)
|
|
1002
|
+
endpoint_ids = [56] # List[int] | will return only these environments(endpoints) (optional)
|
|
1003
|
+
exclude_ids = [56] # List[int] | will exclude these environments(endpoints) (optional)
|
|
1004
|
+
provisioned = True # bool | If true, will return environment(endpoint) that were provisioned (optional)
|
|
1005
|
+
agent_versions = ['agent_versions_example'] # List[str] | will return only environments with on of these agent versions (optional)
|
|
1006
|
+
edge_async = True # bool | if exists true show only edge async agents, false show only standard edge agents. if missing, will show both types (relevant only for edge agents) (optional)
|
|
1007
|
+
edge_device_untrusted = True # bool | if true, show only untrusted edge agents, if false show only trusted edge agents (relevant only for edge agents) (optional)
|
|
1008
|
+
edge_check_in_passed_seconds = 3.4 # float | if bigger then zero, show only edge agents that checked-in in the last provided seconds (relevant only for edge agents) (optional)
|
|
1009
|
+
exclude_snapshots = True # bool | if true, the snapshot data won't be retrieved (optional)
|
|
1010
|
+
name = 'name_example' # str | will return only environments(endpoints) with this name (optional)
|
|
1011
|
+
edge_stack_status = 'edge_stack_status_example' # str | only applied when edgeStackId exists. Filter the returned environments based on their deployment status in the stack (not the environment status!) (optional)
|
|
1012
|
+
edge_group_ids = [56] # List[int] | List environments(endpoints) of these edge groups (optional)
|
|
1013
|
+
exclude_edge_group_ids = [56] # List[int] | Exclude environments(endpoints) of these edge groups (optional)
|
|
1014
|
+
|
|
1015
|
+
try:
|
|
1016
|
+
# List environments(endpoints)
|
|
1017
|
+
api_response = api_instance.endpoint_list(start=start, limit=limit, sort=sort, order=order, search=search, group_ids=group_ids, status=status, types=types, tag_ids=tag_ids, tags_partial_match=tags_partial_match, endpoint_ids=endpoint_ids, exclude_ids=exclude_ids, provisioned=provisioned, agent_versions=agent_versions, edge_async=edge_async, edge_device_untrusted=edge_device_untrusted, edge_check_in_passed_seconds=edge_check_in_passed_seconds, exclude_snapshots=exclude_snapshots, name=name, edge_stack_status=edge_stack_status, edge_group_ids=edge_group_ids, exclude_edge_group_ids=exclude_edge_group_ids)
|
|
1018
|
+
print("The response of EndpointsApi->endpoint_list:\n")
|
|
1019
|
+
pprint(api_response)
|
|
1020
|
+
except Exception as e:
|
|
1021
|
+
print("Exception when calling EndpointsApi->endpoint_list: %s\n" % e)
|
|
1022
|
+
```
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
### Parameters
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
Name | Type | Description | Notes
|
|
1030
|
+
------------- | ------------- | ------------- | -------------
|
|
1031
|
+
**start** | **int**| Start searching from | [optional]
|
|
1032
|
+
**limit** | **int**| Limit results to this value | [optional]
|
|
1033
|
+
**sort** | **str**| Sort results by this value | [optional]
|
|
1034
|
+
**order** | **int**| Order sorted results by desc/asc | [optional]
|
|
1035
|
+
**search** | **str**| Search query | [optional]
|
|
1036
|
+
**group_ids** | [**List[int]**](int.md)| List environments(endpoints) of these groups | [optional]
|
|
1037
|
+
**status** | [**List[int]**](int.md)| List environments(endpoints) by this status | [optional]
|
|
1038
|
+
**types** | [**List[int]**](int.md)| List environments(endpoints) of this type | [optional]
|
|
1039
|
+
**tag_ids** | [**List[int]**](int.md)| search environments(endpoints) with these tags (depends on tagsPartialMatch) | [optional]
|
|
1040
|
+
**tags_partial_match** | **bool**| If true, will return environment(endpoint) which has one of tagIds, if false (or missing) will return only environments(endpoints) that has all the tags | [optional]
|
|
1041
|
+
**endpoint_ids** | [**List[int]**](int.md)| will return only these environments(endpoints) | [optional]
|
|
1042
|
+
**exclude_ids** | [**List[int]**](int.md)| will exclude these environments(endpoints) | [optional]
|
|
1043
|
+
**provisioned** | **bool**| If true, will return environment(endpoint) that were provisioned | [optional]
|
|
1044
|
+
**agent_versions** | [**List[str]**](str.md)| will return only environments with on of these agent versions | [optional]
|
|
1045
|
+
**edge_async** | **bool**| if exists true show only edge async agents, false show only standard edge agents. if missing, will show both types (relevant only for edge agents) | [optional]
|
|
1046
|
+
**edge_device_untrusted** | **bool**| if true, show only untrusted edge agents, if false show only trusted edge agents (relevant only for edge agents) | [optional]
|
|
1047
|
+
**edge_check_in_passed_seconds** | **float**| if bigger then zero, show only edge agents that checked-in in the last provided seconds (relevant only for edge agents) | [optional]
|
|
1048
|
+
**exclude_snapshots** | **bool**| if true, the snapshot data won't be retrieved | [optional]
|
|
1049
|
+
**name** | **str**| will return only environments(endpoints) with this name | [optional]
|
|
1050
|
+
**edge_stack_status** | **str**| only applied when edgeStackId exists. Filter the returned environments based on their deployment status in the stack (not the environment status!) | [optional]
|
|
1051
|
+
**edge_group_ids** | [**List[int]**](int.md)| List environments(endpoints) of these edge groups | [optional]
|
|
1052
|
+
**exclude_edge_group_ids** | [**List[int]**](int.md)| Exclude environments(endpoints) of these edge groups | [optional]
|
|
1053
|
+
|
|
1054
|
+
### Return type
|
|
1055
|
+
|
|
1056
|
+
[**List[PortainerEndpoint]**](PortainerEndpoint.md)
|
|
1057
|
+
|
|
1058
|
+
### Authorization
|
|
1059
|
+
|
|
1060
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1061
|
+
|
|
1062
|
+
### HTTP request headers
|
|
1063
|
+
|
|
1064
|
+
- **Content-Type**: Not defined
|
|
1065
|
+
- **Accept**: application/json
|
|
1066
|
+
|
|
1067
|
+
### HTTP response details
|
|
1068
|
+
|
|
1069
|
+
| Status code | Description | Response headers |
|
|
1070
|
+
|-------------|-------------|------------------|
|
|
1071
|
+
**200** | Endpoints | - |
|
|
1072
|
+
**500** | Server error | - |
|
|
1073
|
+
|
|
1074
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1075
|
+
|
|
1076
|
+
# **endpoint_registries_list**
|
|
1077
|
+
> List[PortainerRegistry] endpoint_registries_list(id, namespace=namespace)
|
|
1078
|
+
|
|
1079
|
+
List Registries on environment
|
|
1080
|
+
|
|
1081
|
+
List all registries based on the current user authorizations in current environment.
|
|
1082
|
+
**Access policy**: authenticated
|
|
1083
|
+
|
|
1084
|
+
### Example
|
|
1085
|
+
|
|
1086
|
+
* Api Key Authentication (jwt):
|
|
1087
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
1088
|
+
|
|
1089
|
+
```python
|
|
1090
|
+
import openapi_client
|
|
1091
|
+
from openapi_client.models.portainer_registry import PortainerRegistry
|
|
1092
|
+
from openapi_client.rest import ApiException
|
|
1093
|
+
from pprint import pprint
|
|
1094
|
+
|
|
1095
|
+
# Defining the host is optional and defaults to /api
|
|
1096
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1097
|
+
configuration = openapi_client.Configuration(
|
|
1098
|
+
host = "/api"
|
|
1099
|
+
)
|
|
1100
|
+
|
|
1101
|
+
# The client must configure the authentication and authorization parameters
|
|
1102
|
+
# in accordance with the API server security policy.
|
|
1103
|
+
# Examples for each auth method are provided below, use the example that
|
|
1104
|
+
# satisfies your auth use case.
|
|
1105
|
+
|
|
1106
|
+
# Configure API key authorization: jwt
|
|
1107
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1108
|
+
|
|
1109
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1110
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1111
|
+
|
|
1112
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1113
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
1114
|
+
|
|
1115
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1116
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
1117
|
+
|
|
1118
|
+
# Enter a context with an instance of the API client
|
|
1119
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1120
|
+
# Create an instance of the API class
|
|
1121
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1122
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
1123
|
+
namespace = 'namespace_example' # str | required if kubernetes environment, will show registries by namespace (optional)
|
|
1124
|
+
|
|
1125
|
+
try:
|
|
1126
|
+
# List Registries on environment
|
|
1127
|
+
api_response = api_instance.endpoint_registries_list(id, namespace=namespace)
|
|
1128
|
+
print("The response of EndpointsApi->endpoint_registries_list:\n")
|
|
1129
|
+
pprint(api_response)
|
|
1130
|
+
except Exception as e:
|
|
1131
|
+
print("Exception when calling EndpointsApi->endpoint_registries_list: %s\n" % e)
|
|
1132
|
+
```
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
### Parameters
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
Name | Type | Description | Notes
|
|
1140
|
+
------------- | ------------- | ------------- | -------------
|
|
1141
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
1142
|
+
**namespace** | **str**| required if kubernetes environment, will show registries by namespace | [optional]
|
|
1143
|
+
|
|
1144
|
+
### Return type
|
|
1145
|
+
|
|
1146
|
+
[**List[PortainerRegistry]**](PortainerRegistry.md)
|
|
1147
|
+
|
|
1148
|
+
### Authorization
|
|
1149
|
+
|
|
1150
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1151
|
+
|
|
1152
|
+
### HTTP request headers
|
|
1153
|
+
|
|
1154
|
+
- **Content-Type**: Not defined
|
|
1155
|
+
- **Accept**: application/json
|
|
1156
|
+
|
|
1157
|
+
### HTTP response details
|
|
1158
|
+
|
|
1159
|
+
| Status code | Description | Response headers |
|
|
1160
|
+
|-------------|-------------|------------------|
|
|
1161
|
+
**200** | Success | - |
|
|
1162
|
+
**500** | Server error | - |
|
|
1163
|
+
|
|
1164
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1165
|
+
|
|
1166
|
+
# **endpoint_registry_access**
|
|
1167
|
+
> endpoint_registry_access(id, registry_id, body)
|
|
1168
|
+
|
|
1169
|
+
update registry access for environment
|
|
1170
|
+
|
|
1171
|
+
**Access policy**: authenticated
|
|
1172
|
+
|
|
1173
|
+
### Example
|
|
1174
|
+
|
|
1175
|
+
* Api Key Authentication (jwt):
|
|
1176
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
1177
|
+
|
|
1178
|
+
```python
|
|
1179
|
+
import openapi_client
|
|
1180
|
+
from openapi_client.models.endpoints_registry_access_payload import EndpointsRegistryAccessPayload
|
|
1181
|
+
from openapi_client.rest import ApiException
|
|
1182
|
+
from pprint import pprint
|
|
1183
|
+
|
|
1184
|
+
# Defining the host is optional and defaults to /api
|
|
1185
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1186
|
+
configuration = openapi_client.Configuration(
|
|
1187
|
+
host = "/api"
|
|
1188
|
+
)
|
|
1189
|
+
|
|
1190
|
+
# The client must configure the authentication and authorization parameters
|
|
1191
|
+
# in accordance with the API server security policy.
|
|
1192
|
+
# Examples for each auth method are provided below, use the example that
|
|
1193
|
+
# satisfies your auth use case.
|
|
1194
|
+
|
|
1195
|
+
# Configure API key authorization: jwt
|
|
1196
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1197
|
+
|
|
1198
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1199
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1200
|
+
|
|
1201
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1202
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
1203
|
+
|
|
1204
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1205
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
1206
|
+
|
|
1207
|
+
# Enter a context with an instance of the API client
|
|
1208
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1209
|
+
# Create an instance of the API class
|
|
1210
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1211
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
1212
|
+
registry_id = 56 # int | Registry identifier
|
|
1213
|
+
body = openapi_client.EndpointsRegistryAccessPayload() # EndpointsRegistryAccessPayload | details
|
|
1214
|
+
|
|
1215
|
+
try:
|
|
1216
|
+
# update registry access for environment
|
|
1217
|
+
api_instance.endpoint_registry_access(id, registry_id, body)
|
|
1218
|
+
except Exception as e:
|
|
1219
|
+
print("Exception when calling EndpointsApi->endpoint_registry_access: %s\n" % e)
|
|
1220
|
+
```
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
### Parameters
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
Name | Type | Description | Notes
|
|
1228
|
+
------------- | ------------- | ------------- | -------------
|
|
1229
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
1230
|
+
**registry_id** | **int**| Registry identifier |
|
|
1231
|
+
**body** | [**EndpointsRegistryAccessPayload**](EndpointsRegistryAccessPayload.md)| details |
|
|
1232
|
+
|
|
1233
|
+
### Return type
|
|
1234
|
+
|
|
1235
|
+
void (empty response body)
|
|
1236
|
+
|
|
1237
|
+
### Authorization
|
|
1238
|
+
|
|
1239
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1240
|
+
|
|
1241
|
+
### HTTP request headers
|
|
1242
|
+
|
|
1243
|
+
- **Content-Type**: application/json
|
|
1244
|
+
- **Accept**: Not defined
|
|
1245
|
+
|
|
1246
|
+
### HTTP response details
|
|
1247
|
+
|
|
1248
|
+
| Status code | Description | Response headers |
|
|
1249
|
+
|-------------|-------------|------------------|
|
|
1250
|
+
**204** | Success | - |
|
|
1251
|
+
**400** | Invalid request | - |
|
|
1252
|
+
**403** | Permission denied | - |
|
|
1253
|
+
**404** | Endpoint not found | - |
|
|
1254
|
+
**500** | Server error | - |
|
|
1255
|
+
|
|
1256
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1257
|
+
|
|
1258
|
+
# **endpoint_settings_update**
|
|
1259
|
+
> PortainerEndpoint endpoint_settings_update(id, body)
|
|
1260
|
+
|
|
1261
|
+
Update settings for an environment(endpoint)
|
|
1262
|
+
|
|
1263
|
+
Update settings for an environment(endpoint).
|
|
1264
|
+
**Access policy**: authenticated
|
|
1265
|
+
|
|
1266
|
+
### Example
|
|
1267
|
+
|
|
1268
|
+
* Api Key Authentication (jwt):
|
|
1269
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
1270
|
+
|
|
1271
|
+
```python
|
|
1272
|
+
import openapi_client
|
|
1273
|
+
from openapi_client.models.endpoints_endpoint_settings_update_payload import EndpointsEndpointSettingsUpdatePayload
|
|
1274
|
+
from openapi_client.models.portainer_endpoint import PortainerEndpoint
|
|
1275
|
+
from openapi_client.rest import ApiException
|
|
1276
|
+
from pprint import pprint
|
|
1277
|
+
|
|
1278
|
+
# Defining the host is optional and defaults to /api
|
|
1279
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1280
|
+
configuration = openapi_client.Configuration(
|
|
1281
|
+
host = "/api"
|
|
1282
|
+
)
|
|
1283
|
+
|
|
1284
|
+
# The client must configure the authentication and authorization parameters
|
|
1285
|
+
# in accordance with the API server security policy.
|
|
1286
|
+
# Examples for each auth method are provided below, use the example that
|
|
1287
|
+
# satisfies your auth use case.
|
|
1288
|
+
|
|
1289
|
+
# Configure API key authorization: jwt
|
|
1290
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1291
|
+
|
|
1292
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1293
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1294
|
+
|
|
1295
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1296
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
1297
|
+
|
|
1298
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1299
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
1300
|
+
|
|
1301
|
+
# Enter a context with an instance of the API client
|
|
1302
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1303
|
+
# Create an instance of the API class
|
|
1304
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1305
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
1306
|
+
body = openapi_client.EndpointsEndpointSettingsUpdatePayload() # EndpointsEndpointSettingsUpdatePayload | Environment(Endpoint) details
|
|
1307
|
+
|
|
1308
|
+
try:
|
|
1309
|
+
# Update settings for an environment(endpoint)
|
|
1310
|
+
api_response = api_instance.endpoint_settings_update(id, body)
|
|
1311
|
+
print("The response of EndpointsApi->endpoint_settings_update:\n")
|
|
1312
|
+
pprint(api_response)
|
|
1313
|
+
except Exception as e:
|
|
1314
|
+
print("Exception when calling EndpointsApi->endpoint_settings_update: %s\n" % e)
|
|
1315
|
+
```
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
### Parameters
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
Name | Type | Description | Notes
|
|
1323
|
+
------------- | ------------- | ------------- | -------------
|
|
1324
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
1325
|
+
**body** | [**EndpointsEndpointSettingsUpdatePayload**](EndpointsEndpointSettingsUpdatePayload.md)| Environment(Endpoint) details |
|
|
1326
|
+
|
|
1327
|
+
### Return type
|
|
1328
|
+
|
|
1329
|
+
[**PortainerEndpoint**](PortainerEndpoint.md)
|
|
1330
|
+
|
|
1331
|
+
### Authorization
|
|
1332
|
+
|
|
1333
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1334
|
+
|
|
1335
|
+
### HTTP request headers
|
|
1336
|
+
|
|
1337
|
+
- **Content-Type**: application/json
|
|
1338
|
+
- **Accept**: application/json
|
|
1339
|
+
|
|
1340
|
+
### HTTP response details
|
|
1341
|
+
|
|
1342
|
+
| Status code | Description | Response headers |
|
|
1343
|
+
|-------------|-------------|------------------|
|
|
1344
|
+
**200** | Success | - |
|
|
1345
|
+
**400** | Invalid request | - |
|
|
1346
|
+
**404** | Environment(Endpoint) not found | - |
|
|
1347
|
+
**500** | Server error | - |
|
|
1348
|
+
|
|
1349
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1350
|
+
|
|
1351
|
+
# **endpoint_snapshot**
|
|
1352
|
+
> endpoint_snapshot(id)
|
|
1353
|
+
|
|
1354
|
+
Snapshots an environment(endpoint)
|
|
1355
|
+
|
|
1356
|
+
Snapshots an environment(endpoint)
|
|
1357
|
+
**Access policy**: administrator
|
|
1358
|
+
|
|
1359
|
+
### Example
|
|
1360
|
+
|
|
1361
|
+
* Api Key Authentication (jwt):
|
|
1362
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
1363
|
+
|
|
1364
|
+
```python
|
|
1365
|
+
import openapi_client
|
|
1366
|
+
from openapi_client.rest import ApiException
|
|
1367
|
+
from pprint import pprint
|
|
1368
|
+
|
|
1369
|
+
# Defining the host is optional and defaults to /api
|
|
1370
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1371
|
+
configuration = openapi_client.Configuration(
|
|
1372
|
+
host = "/api"
|
|
1373
|
+
)
|
|
1374
|
+
|
|
1375
|
+
# The client must configure the authentication and authorization parameters
|
|
1376
|
+
# in accordance with the API server security policy.
|
|
1377
|
+
# Examples for each auth method are provided below, use the example that
|
|
1378
|
+
# satisfies your auth use case.
|
|
1379
|
+
|
|
1380
|
+
# Configure API key authorization: jwt
|
|
1381
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1382
|
+
|
|
1383
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1384
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1385
|
+
|
|
1386
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1387
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
1388
|
+
|
|
1389
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1390
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
1391
|
+
|
|
1392
|
+
# Enter a context with an instance of the API client
|
|
1393
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1394
|
+
# Create an instance of the API class
|
|
1395
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1396
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
1397
|
+
|
|
1398
|
+
try:
|
|
1399
|
+
# Snapshots an environment(endpoint)
|
|
1400
|
+
api_instance.endpoint_snapshot(id)
|
|
1401
|
+
except Exception as e:
|
|
1402
|
+
print("Exception when calling EndpointsApi->endpoint_snapshot: %s\n" % e)
|
|
1403
|
+
```
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
### Parameters
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
Name | Type | Description | Notes
|
|
1411
|
+
------------- | ------------- | ------------- | -------------
|
|
1412
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
1413
|
+
|
|
1414
|
+
### Return type
|
|
1415
|
+
|
|
1416
|
+
void (empty response body)
|
|
1417
|
+
|
|
1418
|
+
### Authorization
|
|
1419
|
+
|
|
1420
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1421
|
+
|
|
1422
|
+
### HTTP request headers
|
|
1423
|
+
|
|
1424
|
+
- **Content-Type**: Not defined
|
|
1425
|
+
- **Accept**: Not defined
|
|
1426
|
+
|
|
1427
|
+
### HTTP response details
|
|
1428
|
+
|
|
1429
|
+
| Status code | Description | Response headers |
|
|
1430
|
+
|-------------|-------------|------------------|
|
|
1431
|
+
**204** | Success | - |
|
|
1432
|
+
**400** | Invalid request | - |
|
|
1433
|
+
**404** | Environment(Endpoint) not found | - |
|
|
1434
|
+
**500** | Server error | - |
|
|
1435
|
+
|
|
1436
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1437
|
+
|
|
1438
|
+
# **endpoint_snapshots**
|
|
1439
|
+
> endpoint_snapshots()
|
|
1440
|
+
|
|
1441
|
+
Snapshot all environments(endpoints)
|
|
1442
|
+
|
|
1443
|
+
Snapshot all environments(endpoints)
|
|
1444
|
+
**Access policy**: administrator
|
|
1445
|
+
|
|
1446
|
+
### Example
|
|
1447
|
+
|
|
1448
|
+
* Api Key Authentication (jwt):
|
|
1449
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
1450
|
+
|
|
1451
|
+
```python
|
|
1452
|
+
import openapi_client
|
|
1453
|
+
from openapi_client.rest import ApiException
|
|
1454
|
+
from pprint import pprint
|
|
1455
|
+
|
|
1456
|
+
# Defining the host is optional and defaults to /api
|
|
1457
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1458
|
+
configuration = openapi_client.Configuration(
|
|
1459
|
+
host = "/api"
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
# The client must configure the authentication and authorization parameters
|
|
1463
|
+
# in accordance with the API server security policy.
|
|
1464
|
+
# Examples for each auth method are provided below, use the example that
|
|
1465
|
+
# satisfies your auth use case.
|
|
1466
|
+
|
|
1467
|
+
# Configure API key authorization: jwt
|
|
1468
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1469
|
+
|
|
1470
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1471
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1472
|
+
|
|
1473
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1474
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
1475
|
+
|
|
1476
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1477
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
1478
|
+
|
|
1479
|
+
# Enter a context with an instance of the API client
|
|
1480
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1481
|
+
# Create an instance of the API class
|
|
1482
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1483
|
+
|
|
1484
|
+
try:
|
|
1485
|
+
# Snapshot all environments(endpoints)
|
|
1486
|
+
api_instance.endpoint_snapshots()
|
|
1487
|
+
except Exception as e:
|
|
1488
|
+
print("Exception when calling EndpointsApi->endpoint_snapshots: %s\n" % e)
|
|
1489
|
+
```
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
### Parameters
|
|
1494
|
+
|
|
1495
|
+
This endpoint does not need any parameter.
|
|
1496
|
+
|
|
1497
|
+
### Return type
|
|
1498
|
+
|
|
1499
|
+
void (empty response body)
|
|
1500
|
+
|
|
1501
|
+
### Authorization
|
|
1502
|
+
|
|
1503
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1504
|
+
|
|
1505
|
+
### HTTP request headers
|
|
1506
|
+
|
|
1507
|
+
- **Content-Type**: Not defined
|
|
1508
|
+
- **Accept**: Not defined
|
|
1509
|
+
|
|
1510
|
+
### HTTP response details
|
|
1511
|
+
|
|
1512
|
+
| Status code | Description | Response headers |
|
|
1513
|
+
|-------------|-------------|------------------|
|
|
1514
|
+
**204** | Success | - |
|
|
1515
|
+
**500** | Server Error | - |
|
|
1516
|
+
|
|
1517
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1518
|
+
|
|
1519
|
+
# **endpoint_update**
|
|
1520
|
+
> PortainerEndpoint endpoint_update(id, body)
|
|
1521
|
+
|
|
1522
|
+
Update an environment(endpoint)
|
|
1523
|
+
|
|
1524
|
+
Update an environment(endpoint).
|
|
1525
|
+
**Access policy**: authenticated
|
|
1526
|
+
|
|
1527
|
+
### Example
|
|
1528
|
+
|
|
1529
|
+
* Api Key Authentication (jwt):
|
|
1530
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
1531
|
+
|
|
1532
|
+
```python
|
|
1533
|
+
import openapi_client
|
|
1534
|
+
from openapi_client.models.endpoints_endpoint_update_payload import EndpointsEndpointUpdatePayload
|
|
1535
|
+
from openapi_client.models.portainer_endpoint import PortainerEndpoint
|
|
1536
|
+
from openapi_client.rest import ApiException
|
|
1537
|
+
from pprint import pprint
|
|
1538
|
+
|
|
1539
|
+
# Defining the host is optional and defaults to /api
|
|
1540
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1541
|
+
configuration = openapi_client.Configuration(
|
|
1542
|
+
host = "/api"
|
|
1543
|
+
)
|
|
1544
|
+
|
|
1545
|
+
# The client must configure the authentication and authorization parameters
|
|
1546
|
+
# in accordance with the API server security policy.
|
|
1547
|
+
# Examples for each auth method are provided below, use the example that
|
|
1548
|
+
# satisfies your auth use case.
|
|
1549
|
+
|
|
1550
|
+
# Configure API key authorization: jwt
|
|
1551
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1552
|
+
|
|
1553
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1554
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1555
|
+
|
|
1556
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1557
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
1558
|
+
|
|
1559
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1560
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
1561
|
+
|
|
1562
|
+
# Enter a context with an instance of the API client
|
|
1563
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1564
|
+
# Create an instance of the API class
|
|
1565
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1566
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
1567
|
+
body = openapi_client.EndpointsEndpointUpdatePayload() # EndpointsEndpointUpdatePayload | Environment(Endpoint) details
|
|
1568
|
+
|
|
1569
|
+
try:
|
|
1570
|
+
# Update an environment(endpoint)
|
|
1571
|
+
api_response = api_instance.endpoint_update(id, body)
|
|
1572
|
+
print("The response of EndpointsApi->endpoint_update:\n")
|
|
1573
|
+
pprint(api_response)
|
|
1574
|
+
except Exception as e:
|
|
1575
|
+
print("Exception when calling EndpointsApi->endpoint_update: %s\n" % e)
|
|
1576
|
+
```
|
|
1577
|
+
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
### Parameters
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
Name | Type | Description | Notes
|
|
1584
|
+
------------- | ------------- | ------------- | -------------
|
|
1585
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
1586
|
+
**body** | [**EndpointsEndpointUpdatePayload**](EndpointsEndpointUpdatePayload.md)| Environment(Endpoint) details |
|
|
1587
|
+
|
|
1588
|
+
### Return type
|
|
1589
|
+
|
|
1590
|
+
[**PortainerEndpoint**](PortainerEndpoint.md)
|
|
1591
|
+
|
|
1592
|
+
### Authorization
|
|
1593
|
+
|
|
1594
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1595
|
+
|
|
1596
|
+
### HTTP request headers
|
|
1597
|
+
|
|
1598
|
+
- **Content-Type**: application/json
|
|
1599
|
+
- **Accept**: application/json
|
|
1600
|
+
|
|
1601
|
+
### HTTP response details
|
|
1602
|
+
|
|
1603
|
+
| Status code | Description | Response headers |
|
|
1604
|
+
|-------------|-------------|------------------|
|
|
1605
|
+
**200** | Success | - |
|
|
1606
|
+
**400** | Invalid request | - |
|
|
1607
|
+
**404** | Environment(Endpoint) not found | - |
|
|
1608
|
+
**409** | Name is not unique | - |
|
|
1609
|
+
**500** | Server error | - |
|
|
1610
|
+
|
|
1611
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1612
|
+
|
|
1613
|
+
# **endpoint_update_relations**
|
|
1614
|
+
> endpoint_update_relations(body)
|
|
1615
|
+
|
|
1616
|
+
Update relations for a list of environments
|
|
1617
|
+
|
|
1618
|
+
Update relations for a list of environments
|
|
1619
|
+
Edge groups, tags and environment group can be updated.
|
|
1620
|
+
|
|
1621
|
+
**Access policy**: administrator
|
|
1622
|
+
|
|
1623
|
+
### Example
|
|
1624
|
+
|
|
1625
|
+
* Api Key Authentication (jwt):
|
|
1626
|
+
|
|
1627
|
+
```python
|
|
1628
|
+
import openapi_client
|
|
1629
|
+
from openapi_client.models.endpoints_endpoint_update_relations_payload import EndpointsEndpointUpdateRelationsPayload
|
|
1630
|
+
from openapi_client.rest import ApiException
|
|
1631
|
+
from pprint import pprint
|
|
1632
|
+
|
|
1633
|
+
# Defining the host is optional and defaults to /api
|
|
1634
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1635
|
+
configuration = openapi_client.Configuration(
|
|
1636
|
+
host = "/api"
|
|
1637
|
+
)
|
|
1638
|
+
|
|
1639
|
+
# The client must configure the authentication and authorization parameters
|
|
1640
|
+
# in accordance with the API server security policy.
|
|
1641
|
+
# Examples for each auth method are provided below, use the example that
|
|
1642
|
+
# satisfies your auth use case.
|
|
1643
|
+
|
|
1644
|
+
# Configure API key authorization: jwt
|
|
1645
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1646
|
+
|
|
1647
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1648
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1649
|
+
|
|
1650
|
+
# Enter a context with an instance of the API client
|
|
1651
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1652
|
+
# Create an instance of the API class
|
|
1653
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1654
|
+
body = openapi_client.EndpointsEndpointUpdateRelationsPayload() # EndpointsEndpointUpdateRelationsPayload | Environment relations data
|
|
1655
|
+
|
|
1656
|
+
try:
|
|
1657
|
+
# Update relations for a list of environments
|
|
1658
|
+
api_instance.endpoint_update_relations(body)
|
|
1659
|
+
except Exception as e:
|
|
1660
|
+
print("Exception when calling EndpointsApi->endpoint_update_relations: %s\n" % e)
|
|
1661
|
+
```
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
### Parameters
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
Name | Type | Description | Notes
|
|
1669
|
+
------------- | ------------- | ------------- | -------------
|
|
1670
|
+
**body** | [**EndpointsEndpointUpdateRelationsPayload**](EndpointsEndpointUpdateRelationsPayload.md)| Environment relations data |
|
|
1671
|
+
|
|
1672
|
+
### Return type
|
|
1673
|
+
|
|
1674
|
+
void (empty response body)
|
|
1675
|
+
|
|
1676
|
+
### Authorization
|
|
1677
|
+
|
|
1678
|
+
[jwt](../README.md#jwt)
|
|
1679
|
+
|
|
1680
|
+
### HTTP request headers
|
|
1681
|
+
|
|
1682
|
+
- **Content-Type**: application/json
|
|
1683
|
+
- **Accept**: Not defined
|
|
1684
|
+
|
|
1685
|
+
### HTTP response details
|
|
1686
|
+
|
|
1687
|
+
| Status code | Description | Response headers |
|
|
1688
|
+
|-------------|-------------|------------------|
|
|
1689
|
+
**204** | Success | - |
|
|
1690
|
+
**400** | Invalid request | - |
|
|
1691
|
+
**401** | Unauthorized | - |
|
|
1692
|
+
**404** | Not found | - |
|
|
1693
|
+
**500** | Server error | - |
|
|
1694
|
+
|
|
1695
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1696
|
+
|
|
1697
|
+
# **endpoints_id_docker_v2_browse_put_post**
|
|
1698
|
+
> endpoints_id_docker_v2_browse_put_post(id, path, file, volume_id=volume_id)
|
|
1699
|
+
|
|
1700
|
+
Upload a file under a specific path on the file system of an environment (endpoint)
|
|
1701
|
+
|
|
1702
|
+
Use this environment(endpoint) to upload TLS files.
|
|
1703
|
+
**Access policy**: administrator
|
|
1704
|
+
|
|
1705
|
+
### Example
|
|
1706
|
+
|
|
1707
|
+
* Api Key Authentication (jwt):
|
|
1708
|
+
* Api Key Authentication (ApiKeyAuth):
|
|
1709
|
+
|
|
1710
|
+
```python
|
|
1711
|
+
import openapi_client
|
|
1712
|
+
from openapi_client.rest import ApiException
|
|
1713
|
+
from pprint import pprint
|
|
1714
|
+
|
|
1715
|
+
# Defining the host is optional and defaults to /api
|
|
1716
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1717
|
+
configuration = openapi_client.Configuration(
|
|
1718
|
+
host = "/api"
|
|
1719
|
+
)
|
|
1720
|
+
|
|
1721
|
+
# The client must configure the authentication and authorization parameters
|
|
1722
|
+
# in accordance with the API server security policy.
|
|
1723
|
+
# Examples for each auth method are provided below, use the example that
|
|
1724
|
+
# satisfies your auth use case.
|
|
1725
|
+
|
|
1726
|
+
# Configure API key authorization: jwt
|
|
1727
|
+
configuration.api_key['jwt'] = os.environ["API_KEY"]
|
|
1728
|
+
|
|
1729
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1730
|
+
# configuration.api_key_prefix['jwt'] = 'Bearer'
|
|
1731
|
+
|
|
1732
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1733
|
+
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
|
|
1734
|
+
|
|
1735
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1736
|
+
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
|
|
1737
|
+
|
|
1738
|
+
# Enter a context with an instance of the API client
|
|
1739
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1740
|
+
# Create an instance of the API class
|
|
1741
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1742
|
+
id = 56 # int | Environment(Endpoint) identifier
|
|
1743
|
+
path = 'path_example' # str | The destination path to upload the file to
|
|
1744
|
+
file = None # bytearray | The file to upload
|
|
1745
|
+
volume_id = 'volume_id_example' # str | Optional volume identifier to upload the file (optional)
|
|
1746
|
+
|
|
1747
|
+
try:
|
|
1748
|
+
# Upload a file under a specific path on the file system of an environment (endpoint)
|
|
1749
|
+
api_instance.endpoints_id_docker_v2_browse_put_post(id, path, file, volume_id=volume_id)
|
|
1750
|
+
except Exception as e:
|
|
1751
|
+
print("Exception when calling EndpointsApi->endpoints_id_docker_v2_browse_put_post: %s\n" % e)
|
|
1752
|
+
```
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
### Parameters
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
Name | Type | Description | Notes
|
|
1760
|
+
------------- | ------------- | ------------- | -------------
|
|
1761
|
+
**id** | **int**| Environment(Endpoint) identifier |
|
|
1762
|
+
**path** | **str**| The destination path to upload the file to |
|
|
1763
|
+
**file** | **bytearray**| The file to upload |
|
|
1764
|
+
**volume_id** | **str**| Optional volume identifier to upload the file | [optional]
|
|
1765
|
+
|
|
1766
|
+
### Return type
|
|
1767
|
+
|
|
1768
|
+
void (empty response body)
|
|
1769
|
+
|
|
1770
|
+
### Authorization
|
|
1771
|
+
|
|
1772
|
+
[jwt](../README.md#jwt), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
1773
|
+
|
|
1774
|
+
### HTTP request headers
|
|
1775
|
+
|
|
1776
|
+
- **Content-Type**: multipart/form-data
|
|
1777
|
+
- **Accept**: Not defined
|
|
1778
|
+
|
|
1779
|
+
### HTTP response details
|
|
1780
|
+
|
|
1781
|
+
| Status code | Description | Response headers |
|
|
1782
|
+
|-------------|-------------|------------------|
|
|
1783
|
+
**204** | Success | - |
|
|
1784
|
+
**400** | Invalid request | - |
|
|
1785
|
+
**500** | Server error | - |
|
|
1786
|
+
|
|
1787
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1788
|
+
|
|
1789
|
+
# **endpoints_id_edge_jobs_job_id_logs_post**
|
|
1790
|
+
> endpoints_id_edge_jobs_job_id_logs_post(id, job_id)
|
|
1791
|
+
|
|
1792
|
+
Inspect an EdgeJob Log
|
|
1793
|
+
|
|
1794
|
+
**Access policy**: public
|
|
1795
|
+
|
|
1796
|
+
### Example
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
```python
|
|
1800
|
+
import openapi_client
|
|
1801
|
+
from openapi_client.rest import ApiException
|
|
1802
|
+
from pprint import pprint
|
|
1803
|
+
|
|
1804
|
+
# Defining the host is optional and defaults to /api
|
|
1805
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1806
|
+
configuration = openapi_client.Configuration(
|
|
1807
|
+
host = "/api"
|
|
1808
|
+
)
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
# Enter a context with an instance of the API client
|
|
1812
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1813
|
+
# Create an instance of the API class
|
|
1814
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1815
|
+
id = 56 # int | environment(endpoint) Id
|
|
1816
|
+
job_id = 56 # int | Job Id
|
|
1817
|
+
|
|
1818
|
+
try:
|
|
1819
|
+
# Inspect an EdgeJob Log
|
|
1820
|
+
api_instance.endpoints_id_edge_jobs_job_id_logs_post(id, job_id)
|
|
1821
|
+
except Exception as e:
|
|
1822
|
+
print("Exception when calling EndpointsApi->endpoints_id_edge_jobs_job_id_logs_post: %s\n" % e)
|
|
1823
|
+
```
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
### Parameters
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
Name | Type | Description | Notes
|
|
1831
|
+
------------- | ------------- | ------------- | -------------
|
|
1832
|
+
**id** | **int**| environment(endpoint) Id |
|
|
1833
|
+
**job_id** | **int**| Job Id |
|
|
1834
|
+
|
|
1835
|
+
### Return type
|
|
1836
|
+
|
|
1837
|
+
void (empty response body)
|
|
1838
|
+
|
|
1839
|
+
### Authorization
|
|
1840
|
+
|
|
1841
|
+
No authorization required
|
|
1842
|
+
|
|
1843
|
+
### HTTP request headers
|
|
1844
|
+
|
|
1845
|
+
- **Content-Type**: Not defined
|
|
1846
|
+
- **Accept**: Not defined
|
|
1847
|
+
|
|
1848
|
+
### HTTP response details
|
|
1849
|
+
|
|
1850
|
+
| Status code | Description | Response headers |
|
|
1851
|
+
|-------------|-------------|------------------|
|
|
1852
|
+
**200** | OK | - |
|
|
1853
|
+
**400** | Bad Request | - |
|
|
1854
|
+
**500** | Internal Server Error | - |
|
|
1855
|
+
|
|
1856
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1857
|
+
|
|
1858
|
+
# **endpoints_id_edge_stacks_stack_id_get**
|
|
1859
|
+
> EdgeStackPayload endpoints_id_edge_stacks_stack_id_get(id, stack_id)
|
|
1860
|
+
|
|
1861
|
+
Inspect an Edge Stack for an Environment(Endpoint)
|
|
1862
|
+
|
|
1863
|
+
**Access policy**: public
|
|
1864
|
+
|
|
1865
|
+
### Example
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
```python
|
|
1869
|
+
import openapi_client
|
|
1870
|
+
from openapi_client.models.edge_stack_payload import EdgeStackPayload
|
|
1871
|
+
from openapi_client.rest import ApiException
|
|
1872
|
+
from pprint import pprint
|
|
1873
|
+
|
|
1874
|
+
# Defining the host is optional and defaults to /api
|
|
1875
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1876
|
+
configuration = openapi_client.Configuration(
|
|
1877
|
+
host = "/api"
|
|
1878
|
+
)
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
# Enter a context with an instance of the API client
|
|
1882
|
+
with openapi_client.ApiClient(configuration) as api_client:
|
|
1883
|
+
# Create an instance of the API class
|
|
1884
|
+
api_instance = openapi_client.EndpointsApi(api_client)
|
|
1885
|
+
id = 56 # int | environment(endpoint) Id
|
|
1886
|
+
stack_id = 56 # int | EdgeStack Id
|
|
1887
|
+
|
|
1888
|
+
try:
|
|
1889
|
+
# Inspect an Edge Stack for an Environment(Endpoint)
|
|
1890
|
+
api_response = api_instance.endpoints_id_edge_stacks_stack_id_get(id, stack_id)
|
|
1891
|
+
print("The response of EndpointsApi->endpoints_id_edge_stacks_stack_id_get:\n")
|
|
1892
|
+
pprint(api_response)
|
|
1893
|
+
except Exception as e:
|
|
1894
|
+
print("Exception when calling EndpointsApi->endpoints_id_edge_stacks_stack_id_get: %s\n" % e)
|
|
1895
|
+
```
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
### Parameters
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
Name | Type | Description | Notes
|
|
1903
|
+
------------- | ------------- | ------------- | -------------
|
|
1904
|
+
**id** | **int**| environment(endpoint) Id |
|
|
1905
|
+
**stack_id** | **int**| EdgeStack Id |
|
|
1906
|
+
|
|
1907
|
+
### Return type
|
|
1908
|
+
|
|
1909
|
+
[**EdgeStackPayload**](EdgeStackPayload.md)
|
|
1910
|
+
|
|
1911
|
+
### Authorization
|
|
1912
|
+
|
|
1913
|
+
No authorization required
|
|
1914
|
+
|
|
1915
|
+
### HTTP request headers
|
|
1916
|
+
|
|
1917
|
+
- **Content-Type**: Not defined
|
|
1918
|
+
- **Accept**: application/json
|
|
1919
|
+
|
|
1920
|
+
### HTTP response details
|
|
1921
|
+
|
|
1922
|
+
| Status code | Description | Response headers |
|
|
1923
|
+
|-------------|-------------|------------------|
|
|
1924
|
+
**200** | OK | - |
|
|
1925
|
+
**400** | Bad Request | - |
|
|
1926
|
+
**404** | Not Found | - |
|
|
1927
|
+
**500** | Internal Server Error | - |
|
|
1928
|
+
|
|
1929
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1930
|
+
|