lightning-sdk 2025.10.8__py3-none-any.whl → 2025.10.22__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.
- lightning_sdk/__init__.py +6 -3
- lightning_sdk/api/base_studio_api.py +13 -9
- lightning_sdk/api/cloud_account_api.py +0 -2
- lightning_sdk/api/license_api.py +26 -59
- lightning_sdk/api/studio_api.py +15 -2
- lightning_sdk/base_studio.py +30 -17
- lightning_sdk/cli/base_studio/list.py +1 -3
- lightning_sdk/cli/entrypoint.py +8 -34
- lightning_sdk/cli/studio/connect.py +42 -92
- lightning_sdk/cli/studio/create.py +23 -1
- lightning_sdk/cli/studio/start.py +12 -2
- lightning_sdk/cli/utils/get_base_studio.py +24 -0
- lightning_sdk/cli/utils/handle_machine_and_gpus_args.py +71 -0
- lightning_sdk/cli/utils/logging.py +121 -0
- lightning_sdk/cli/utils/ssh_connection.py +1 -1
- lightning_sdk/constants.py +1 -0
- lightning_sdk/helpers.py +53 -34
- lightning_sdk/job/job.py +5 -0
- lightning_sdk/job/v1.py +8 -0
- lightning_sdk/job/v2.py +8 -0
- lightning_sdk/lightning_cloud/login.py +260 -10
- lightning_sdk/lightning_cloud/openapi/__init__.py +30 -3
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +19 -19
- lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +97 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +1463 -240
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +108 -108
- lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/create_machine_request_represents_the_request_to_create_a_machine.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/license_key_validate_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_incidents_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_license_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_detail.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_event.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_license.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_product_licenses_response.py → v1_list_license_response.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_owner_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +209 -131
- lightning_sdk/lightning_cloud/openapi/models/{v1_product_license_check_response.py → v1_validate_license_response.py} +21 -21
- lightning_sdk/lightning_cloud/rest_client.py +48 -45
- lightning_sdk/machine.py +2 -1
- lightning_sdk/studio.py +22 -2
- lightning_sdk/utils/license.py +13 -0
- {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/METADATA +1 -1
- {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/RECORD +94 -64
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +0 -435
- lightning_sdk/services/license.py +0 -363
- {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.10.8.dist-info → lightning_sdk-2025.10.22.dist-info}/top_level.txt +0 -0
|
@@ -109,18 +109,22 @@ from lightning_sdk.lightning_cloud.openapi.models.id_uploads_body import IdUploa
|
|
|
109
109
|
from lightning_sdk.lightning_cloud.openapi.models.id_visibility_body import IdVisibilityBody
|
|
110
110
|
from lightning_sdk.lightning_cloud.openapi.models.id_visibility_body1 import IdVisibilityBody1
|
|
111
111
|
from lightning_sdk.lightning_cloud.openapi.models.id_visibility_body2 import IdVisibilityBody2
|
|
112
|
+
from lightning_sdk.lightning_cloud.openapi.models.incident_id_messages_body import IncidentIdMessagesBody
|
|
113
|
+
from lightning_sdk.lightning_cloud.openapi.models.incidents_id_body import IncidentsIdBody
|
|
112
114
|
from lightning_sdk.lightning_cloud.openapi.models.job_id_reportroutingtelemetry_body import JobIdReportroutingtelemetryBody
|
|
113
115
|
from lightning_sdk.lightning_cloud.openapi.models.jobs_id_body import JobsIdBody
|
|
114
116
|
from lightning_sdk.lightning_cloud.openapi.models.jobs_id_body1 import JobsIdBody1
|
|
115
117
|
from lightning_sdk.lightning_cloud.openapi.models.jobs_id_body2 import JobsIdBody2
|
|
116
118
|
from lightning_sdk.lightning_cloud.openapi.models.jobs_id_body3 import JobsIdBody3
|
|
117
119
|
from lightning_sdk.lightning_cloud.openapi.models.kubernetestemplates_id_body import KubernetestemplatesIdBody
|
|
120
|
+
from lightning_sdk.lightning_cloud.openapi.models.license_key_validate_body import LicenseKeyValidateBody
|
|
118
121
|
from lightning_sdk.lightning_cloud.openapi.models.litdatasets_dataset_id_body import LitdatasetsDatasetIdBody
|
|
119
122
|
from lightning_sdk.lightning_cloud.openapi.models.litloggermetrics_id_body import LitloggermetricsIdBody
|
|
120
123
|
from lightning_sdk.lightning_cloud.openapi.models.litpages_id_body import LitpagesIdBody
|
|
121
124
|
from lightning_sdk.lightning_cloud.openapi.models.litregistry_lit_repo_name_body import LitregistryLitRepoNameBody
|
|
122
125
|
from lightning_sdk.lightning_cloud.openapi.models.loggermetrics_id_body import LoggermetricsIdBody
|
|
123
126
|
from lightning_sdk.lightning_cloud.openapi.models.messages_id_body import MessagesIdBody
|
|
127
|
+
from lightning_sdk.lightning_cloud.openapi.models.messages_message_id_body import MessagesMessageIdBody
|
|
124
128
|
from lightning_sdk.lightning_cloud.openapi.models.metrics_stream_id_loggerartifacts_body import MetricsStreamIdLoggerartifactsBody
|
|
125
129
|
from lightning_sdk.lightning_cloud.openapi.models.metricsstream_create_body import MetricsstreamCreateBody
|
|
126
130
|
from lightning_sdk.lightning_cloud.openapi.models.metricsstream_delete_body import MetricsstreamDeleteBody
|
|
@@ -147,6 +151,7 @@ from lightning_sdk.lightning_cloud.openapi.models.project_id_clusters_body impor
|
|
|
147
151
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_datasets_body import ProjectIdDatasetsBody
|
|
148
152
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_endpoints_body import ProjectIdEndpointsBody
|
|
149
153
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_getapp_body import ProjectIdGetappBody
|
|
154
|
+
from lightning_sdk.lightning_cloud.openapi.models.project_id_incidents_body import ProjectIdIncidentsBody
|
|
150
155
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_invite_body import ProjectIdInviteBody
|
|
151
156
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_jobs_body import ProjectIdJobsBody
|
|
152
157
|
from lightning_sdk.lightning_cloud.openapi.models.project_id_kubernetestemplates_body import ProjectIdKubernetestemplatesBody
|
|
@@ -341,6 +346,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_create_deployment_request i
|
|
|
341
346
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_deployment_template_request import V1CreateDeploymentTemplateRequest
|
|
342
347
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_git_credentials_request import V1CreateGitCredentialsRequest
|
|
343
348
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_job_request import V1CreateJobRequest
|
|
349
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_create_license_request import V1CreateLicenseRequest
|
|
344
350
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_lit_dataset_multi_part_upload_response import V1CreateLitDatasetMultiPartUploadResponse
|
|
345
351
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_lit_page_request import V1CreateLitPageRequest
|
|
346
352
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_lit_page_response import V1CreateLitPageResponse
|
|
@@ -352,6 +358,8 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_create_multi_part_upload_re
|
|
|
352
358
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_organization_request import V1CreateOrganizationRequest
|
|
353
359
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_pipeline_template_request import V1CreatePipelineTemplateRequest
|
|
354
360
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_project_request import V1CreateProjectRequest
|
|
361
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_create_sdk_command_history_request import V1CreateSDKCommandHistoryRequest
|
|
362
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_create_sdk_command_history_response import V1CreateSDKCommandHistoryResponse
|
|
355
363
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_ssh_public_key_request import V1CreateSSHPublicKeyRequest
|
|
356
364
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_server_alert_response import V1CreateServerAlertResponse
|
|
357
365
|
from lightning_sdk.lightning_cloud.openapi.models.v1_create_shared_metrics_stream_request import V1CreateSharedMetricsStreamRequest
|
|
@@ -392,9 +400,12 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_delete_deployment_release_r
|
|
|
392
400
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_deployment_response import V1DeleteDeploymentResponse
|
|
393
401
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_endpoint_response import V1DeleteEndpointResponse
|
|
394
402
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_git_credentials_response import V1DeleteGitCredentialsResponse
|
|
403
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_incident_message_response import V1DeleteIncidentMessageResponse
|
|
404
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_incident_response import V1DeleteIncidentResponse
|
|
395
405
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_index_response import V1DeleteIndexResponse
|
|
396
406
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_job_response import V1DeleteJobResponse
|
|
397
407
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_kubernetes_template_response import V1DeleteKubernetesTemplateResponse
|
|
408
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_license_response import V1DeleteLicenseResponse
|
|
398
409
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lightning_run_response import V1DeleteLightningRunResponse
|
|
399
410
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lightningapp_instance_artifact_response import V1DeleteLightningappInstanceArtifactResponse
|
|
400
411
|
from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lightningapp_instance_response import V1DeleteLightningappInstanceResponse
|
|
@@ -519,6 +530,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_instance_st
|
|
|
519
530
|
from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_instance_system_metrics_aggregate_response import V1GetCloudSpaceInstanceSystemMetricsAggregateResponse
|
|
520
531
|
from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_required_balance_status_response import V1GetCloudSpaceRequiredBalanceStatusResponse
|
|
521
532
|
from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_size_response import V1GetCloudSpaceSizeResponse
|
|
533
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_get_cloud_space_transfer_estimate_response import V1GetCloudSpaceTransferEstimateResponse
|
|
522
534
|
from lightning_sdk.lightning_cloud.openapi.models.v1_get_cluster_accelerator_demand_response import V1GetClusterAcceleratorDemandResponse
|
|
523
535
|
from lightning_sdk.lightning_cloud.openapi.models.v1_get_cluster_credentials_response import V1GetClusterCredentialsResponse
|
|
524
536
|
from lightning_sdk.lightning_cloud.openapi.models.v1_get_cluster_health_response import V1GetClusterHealthResponse
|
|
@@ -561,6 +573,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_git_credentials import V1Gi
|
|
|
561
573
|
from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1 import V1GoogleCloudDirectV1
|
|
562
574
|
from lightning_sdk.lightning_cloud.openapi.models.v1_google_cloud_direct_v1_status import V1GoogleCloudDirectV1Status
|
|
563
575
|
from lightning_sdk.lightning_cloud.openapi.models.v1_group_node_metrics import V1GroupNodeMetrics
|
|
576
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_group_pod_metrics import V1GroupPodMetrics
|
|
564
577
|
from lightning_sdk.lightning_cloud.openapi.models.v1_guest_login_request import V1GuestLoginRequest
|
|
565
578
|
from lightning_sdk.lightning_cloud.openapi.models.v1_guest_login_response import V1GuestLoginResponse
|
|
566
579
|
from lightning_sdk.lightning_cloud.openapi.models.v1_guest_user import V1GuestUser
|
|
@@ -570,7 +583,10 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_health_check_http_get impor
|
|
|
570
583
|
from lightning_sdk.lightning_cloud.openapi.models.v1_ids_logger_metrics import V1IdsLoggerMetrics
|
|
571
584
|
from lightning_sdk.lightning_cloud.openapi.models.v1_image_spec import V1ImageSpec
|
|
572
585
|
from lightning_sdk.lightning_cloud.openapi.models.v1_image_state import V1ImageState
|
|
586
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_incident import V1Incident
|
|
587
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_incident_detail import V1IncidentDetail
|
|
573
588
|
from lightning_sdk.lightning_cloud.openapi.models.v1_incident_event import V1IncidentEvent
|
|
589
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_incident_message import V1IncidentMessage
|
|
574
590
|
from lightning_sdk.lightning_cloud.openapi.models.v1_incident_severity import V1IncidentSeverity
|
|
575
591
|
from lightning_sdk.lightning_cloud.openapi.models.v1_incident_type import V1IncidentType
|
|
576
592
|
from lightning_sdk.lightning_cloud.openapi.models.v1_index import V1Index
|
|
@@ -593,6 +609,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_job_timing import V1JobTimi
|
|
|
593
609
|
from lightning_sdk.lightning_cloud.openapi.models.v1_job_type import V1JobType
|
|
594
610
|
from lightning_sdk.lightning_cloud.openapi.models.v1_joinable_organization import V1JoinableOrganization
|
|
595
611
|
from lightning_sdk.lightning_cloud.openapi.models.v1_k8s_incident_indexes import V1K8sIncidentIndexes
|
|
612
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_kai_scheduler_queue_metrics import V1KaiSchedulerQueueMetrics
|
|
596
613
|
from lightning_sdk.lightning_cloud.openapi.models.v1_keep_alive_cloud_space_instance_response import V1KeepAliveCloudSpaceInstanceResponse
|
|
597
614
|
from lightning_sdk.lightning_cloud.openapi.models.v1_knowledge_configuration import V1KnowledgeConfiguration
|
|
598
615
|
from lightning_sdk.lightning_cloud.openapi.models.v1_kubernetes_direct_v1 import V1KubernetesDirectV1
|
|
@@ -600,6 +617,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_kubernetes_direct_v1_status
|
|
|
600
617
|
from lightning_sdk.lightning_cloud.openapi.models.v1_kubernetes_template import V1KubernetesTemplate
|
|
601
618
|
from lightning_sdk.lightning_cloud.openapi.models.v1_kubernetes_template_property import V1KubernetesTemplateProperty
|
|
602
619
|
from lightning_sdk.lightning_cloud.openapi.models.v1_lambda_labs_direct_v1 import V1LambdaLabsDirectV1
|
|
620
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_license import V1License
|
|
603
621
|
from lightning_sdk.lightning_cloud.openapi.models.v1_lightning_app_user import V1LightningAppUser
|
|
604
622
|
from lightning_sdk.lightning_cloud.openapi.models.v1_lightning_auth import V1LightningAuth
|
|
605
623
|
from lightning_sdk.lightning_cloud.openapi.models.v1_lightning_basic_auth import V1LightningBasicAuth
|
|
@@ -673,12 +691,17 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_list_filesystem_snowflake_r
|
|
|
673
691
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_gallery_components_response import V1ListGalleryComponentsResponse
|
|
674
692
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_gallery_lightningapps_response import V1ListGalleryLightningappsResponse
|
|
675
693
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_git_credentials_response import V1ListGitCredentialsResponse
|
|
694
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_list_group_pod_metrics_response import V1ListGroupPodMetricsResponse
|
|
676
695
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_incident_events_response import V1ListIncidentEventsResponse
|
|
696
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_list_incident_messages_response import V1ListIncidentMessagesResponse
|
|
697
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_list_incidents_response import V1ListIncidentsResponse
|
|
677
698
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_job_files_response import V1ListJobFilesResponse
|
|
678
699
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_job_resources_response import V1ListJobResourcesResponse
|
|
679
700
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_jobs_response import V1ListJobsResponse
|
|
680
701
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_joinable_organizations_response import V1ListJoinableOrganizationsResponse
|
|
702
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_list_kai_scheduler_queues_metrics_response import V1ListKaiSchedulerQueuesMetricsResponse
|
|
681
703
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_kubernetes_templates_response import V1ListKubernetesTemplatesResponse
|
|
704
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_list_license_response import V1ListLicenseResponse
|
|
682
705
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_lightning_run_response import V1ListLightningRunResponse
|
|
683
706
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_lightningapp_instance_artifacts_response import V1ListLightningappInstanceArtifactsResponse
|
|
684
707
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_lightningapp_instance_events_response import V1ListLightningappInstanceEventsResponse
|
|
@@ -709,7 +732,6 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_list_organization_cluster_e
|
|
|
709
732
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_organizations_response import V1ListOrganizationsResponse
|
|
710
733
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_pipelines_response import V1ListPipelinesResponse
|
|
711
734
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_pod_metrics_response import V1ListPodMetricsResponse
|
|
712
|
-
from lightning_sdk.lightning_cloud.openapi.models.v1_list_product_licenses_response import V1ListProductLicensesResponse
|
|
713
735
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_profiler_captures_response import V1ListProfilerCapturesResponse
|
|
714
736
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_project_artifacts_response import V1ListProjectArtifactsResponse
|
|
715
737
|
from lightning_sdk.lightning_cloud.openapi.models.v1_list_project_cluster_accelerators_response import V1ListProjectClusterAcceleratorsResponse
|
|
@@ -821,8 +843,6 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_plugins_list_response impor
|
|
|
821
843
|
from lightning_sdk.lightning_cloud.openapi.models.v1_pod_metrics import V1PodMetrics
|
|
822
844
|
from lightning_sdk.lightning_cloud.openapi.models.v1_post_cloud_space_artifact_events_response import V1PostCloudSpaceArtifactEventsResponse
|
|
823
845
|
from lightning_sdk.lightning_cloud.openapi.models.v1_presigned_url import V1PresignedUrl
|
|
824
|
-
from lightning_sdk.lightning_cloud.openapi.models.v1_product_license import V1ProductLicense
|
|
825
|
-
from lightning_sdk.lightning_cloud.openapi.models.v1_product_license_check_response import V1ProductLicenseCheckResponse
|
|
826
846
|
from lightning_sdk.lightning_cloud.openapi.models.v1_profiler_capture import V1ProfilerCapture
|
|
827
847
|
from lightning_sdk.lightning_cloud.openapi.models.v1_profiler_enabled_response import V1ProfilerEnabledResponse
|
|
828
848
|
from lightning_sdk.lightning_cloud.openapi.models.v1_project import V1Project
|
|
@@ -890,6 +910,8 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_rule_condition import V1Rul
|
|
|
890
910
|
from lightning_sdk.lightning_cloud.openapi.models.v1_rule_effect import V1RuleEffect
|
|
891
911
|
from lightning_sdk.lightning_cloud.openapi.models.v1_rule_resource import V1RuleResource
|
|
892
912
|
from lightning_sdk.lightning_cloud.openapi.models.v1_s3_folder_data_connection import V1S3FolderDataConnection
|
|
913
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_sdk_command_history_severity import V1SDKCommandHistorySeverity
|
|
914
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_sdk_command_history_type import V1SDKCommandHistoryType
|
|
893
915
|
from lightning_sdk.lightning_cloud.openapi.models.v1_slurm_job import V1SLURMJob
|
|
894
916
|
from lightning_sdk.lightning_cloud.openapi.models.v1_ssh_key_pair import V1SSHKeyPair
|
|
895
917
|
from lightning_sdk.lightning_cloud.openapi.models.v1_ssh_public_key import V1SSHPublicKey
|
|
@@ -942,6 +964,9 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_system_metrics_aggregated i
|
|
|
942
964
|
from lightning_sdk.lightning_cloud.openapi.models.v1_system_metrics_list import V1SystemMetricsList
|
|
943
965
|
from lightning_sdk.lightning_cloud.openapi.models.v1_telemetry import V1Telemetry
|
|
944
966
|
from lightning_sdk.lightning_cloud.openapi.models.v1_timestamp_code_telemetry import V1TimestampCodeTelemetry
|
|
967
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_token_login_request import V1TokenLoginRequest
|
|
968
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_token_login_response import V1TokenLoginResponse
|
|
969
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_token_owner_type import V1TokenOwnerType
|
|
945
970
|
from lightning_sdk.lightning_cloud.openapi.models.v1_token_usage import V1TokenUsage
|
|
946
971
|
from lightning_sdk.lightning_cloud.openapi.models.v1_tool import V1Tool
|
|
947
972
|
from lightning_sdk.lightning_cloud.openapi.models.v1_tool_call import V1ToolCall
|
|
@@ -1006,6 +1031,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_validate_auto_join_domain_r
|
|
|
1006
1031
|
from lightning_sdk.lightning_cloud.openapi.models.v1_validate_data_connection_response import V1ValidateDataConnectionResponse
|
|
1007
1032
|
from lightning_sdk.lightning_cloud.openapi.models.v1_validate_deployment_image_request import V1ValidateDeploymentImageRequest
|
|
1008
1033
|
from lightning_sdk.lightning_cloud.openapi.models.v1_validate_deployment_image_response import V1ValidateDeploymentImageResponse
|
|
1034
|
+
from lightning_sdk.lightning_cloud.openapi.models.v1_validate_license_response import V1ValidateLicenseResponse
|
|
1009
1035
|
from lightning_sdk.lightning_cloud.openapi.models.v1_validate_managed_endpoint_request import V1ValidateManagedEndpointRequest
|
|
1010
1036
|
from lightning_sdk.lightning_cloud.openapi.models.v1_validate_managed_endpoint_response import V1ValidateManagedEndpointResponse
|
|
1011
1037
|
from lightning_sdk.lightning_cloud.openapi.models.v1_validate_managed_model_response import V1ValidateManagedModelResponse
|
|
@@ -41,20 +41,46 @@ class CloudspaceIdVisibilityBody(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
+
'emails': 'list[str]',
|
|
44
45
|
'visibility': 'V1ResourceVisibility'
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
attribute_map = {
|
|
49
|
+
'emails': 'emails',
|
|
48
50
|
'visibility': 'visibility'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
53
|
+
def __init__(self, emails: 'list[str]' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
52
54
|
"""CloudspaceIdVisibilityBody - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
self._emails = None
|
|
53
56
|
self._visibility = None
|
|
54
57
|
self.discriminator = None
|
|
58
|
+
if emails is not None:
|
|
59
|
+
self.emails = emails
|
|
55
60
|
if visibility is not None:
|
|
56
61
|
self.visibility = visibility
|
|
57
62
|
|
|
63
|
+
@property
|
|
64
|
+
def emails(self) -> 'list[str]':
|
|
65
|
+
"""Gets the emails of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The emails of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
69
|
+
:rtype: list[str]
|
|
70
|
+
"""
|
|
71
|
+
return self._emails
|
|
72
|
+
|
|
73
|
+
@emails.setter
|
|
74
|
+
def emails(self, emails: 'list[str]'):
|
|
75
|
+
"""Sets the emails of this CloudspaceIdVisibilityBody.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param emails: The emails of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
79
|
+
:type: list[str]
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._emails = emails
|
|
83
|
+
|
|
58
84
|
@property
|
|
59
85
|
def visibility(self) -> 'V1ResourceVisibility':
|
|
60
86
|
"""Gets the visibility of this CloudspaceIdVisibilityBody. # noqa: E501
|
|
@@ -44,6 +44,8 @@ class ClusterIdMetricsBody(object):
|
|
|
44
44
|
'cluster_metrics': 'V1ClusterMetrics',
|
|
45
45
|
'container_metrics': 'list[V1ContainerMetrics]',
|
|
46
46
|
'group_node_metrics': 'list[V1GroupNodeMetrics]',
|
|
47
|
+
'group_pod_metrics': 'list[V1GroupPodMetrics]',
|
|
48
|
+
'kai_scheduler_queues_metrics': 'list[V1KaiSchedulerQueueMetrics]',
|
|
47
49
|
'namespace_metrics': 'list[V1NamespaceMetrics]',
|
|
48
50
|
'node_metrics': 'list[V1NodeMetrics]',
|
|
49
51
|
'pod_metrics': 'list[V1PodMetrics]'
|
|
@@ -53,16 +55,20 @@ class ClusterIdMetricsBody(object):
|
|
|
53
55
|
'cluster_metrics': 'clusterMetrics',
|
|
54
56
|
'container_metrics': 'containerMetrics',
|
|
55
57
|
'group_node_metrics': 'groupNodeMetrics',
|
|
58
|
+
'group_pod_metrics': 'groupPodMetrics',
|
|
59
|
+
'kai_scheduler_queues_metrics': 'kaiSchedulerQueuesMetrics',
|
|
56
60
|
'namespace_metrics': 'namespaceMetrics',
|
|
57
61
|
'node_metrics': 'nodeMetrics',
|
|
58
62
|
'pod_metrics': 'podMetrics'
|
|
59
63
|
}
|
|
60
64
|
|
|
61
|
-
def __init__(self, cluster_metrics: 'V1ClusterMetrics' =None, container_metrics: 'list[V1ContainerMetrics]' =None, group_node_metrics: 'list[V1GroupNodeMetrics]' =None, namespace_metrics: 'list[V1NamespaceMetrics]' =None, node_metrics: 'list[V1NodeMetrics]' =None, pod_metrics: 'list[V1PodMetrics]' =None): # noqa: E501
|
|
65
|
+
def __init__(self, cluster_metrics: 'V1ClusterMetrics' =None, container_metrics: 'list[V1ContainerMetrics]' =None, group_node_metrics: 'list[V1GroupNodeMetrics]' =None, group_pod_metrics: 'list[V1GroupPodMetrics]' =None, kai_scheduler_queues_metrics: 'list[V1KaiSchedulerQueueMetrics]' =None, namespace_metrics: 'list[V1NamespaceMetrics]' =None, node_metrics: 'list[V1NodeMetrics]' =None, pod_metrics: 'list[V1PodMetrics]' =None): # noqa: E501
|
|
62
66
|
"""ClusterIdMetricsBody - a model defined in Swagger""" # noqa: E501
|
|
63
67
|
self._cluster_metrics = None
|
|
64
68
|
self._container_metrics = None
|
|
65
69
|
self._group_node_metrics = None
|
|
70
|
+
self._group_pod_metrics = None
|
|
71
|
+
self._kai_scheduler_queues_metrics = None
|
|
66
72
|
self._namespace_metrics = None
|
|
67
73
|
self._node_metrics = None
|
|
68
74
|
self._pod_metrics = None
|
|
@@ -73,6 +79,10 @@ class ClusterIdMetricsBody(object):
|
|
|
73
79
|
self.container_metrics = container_metrics
|
|
74
80
|
if group_node_metrics is not None:
|
|
75
81
|
self.group_node_metrics = group_node_metrics
|
|
82
|
+
if group_pod_metrics is not None:
|
|
83
|
+
self.group_pod_metrics = group_pod_metrics
|
|
84
|
+
if kai_scheduler_queues_metrics is not None:
|
|
85
|
+
self.kai_scheduler_queues_metrics = kai_scheduler_queues_metrics
|
|
76
86
|
if namespace_metrics is not None:
|
|
77
87
|
self.namespace_metrics = namespace_metrics
|
|
78
88
|
if node_metrics is not None:
|
|
@@ -143,6 +153,48 @@ class ClusterIdMetricsBody(object):
|
|
|
143
153
|
|
|
144
154
|
self._group_node_metrics = group_node_metrics
|
|
145
155
|
|
|
156
|
+
@property
|
|
157
|
+
def group_pod_metrics(self) -> 'list[V1GroupPodMetrics]':
|
|
158
|
+
"""Gets the group_pod_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:return: The group_pod_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
162
|
+
:rtype: list[V1GroupPodMetrics]
|
|
163
|
+
"""
|
|
164
|
+
return self._group_pod_metrics
|
|
165
|
+
|
|
166
|
+
@group_pod_metrics.setter
|
|
167
|
+
def group_pod_metrics(self, group_pod_metrics: 'list[V1GroupPodMetrics]'):
|
|
168
|
+
"""Sets the group_pod_metrics of this ClusterIdMetricsBody.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
:param group_pod_metrics: The group_pod_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
172
|
+
:type: list[V1GroupPodMetrics]
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
self._group_pod_metrics = group_pod_metrics
|
|
176
|
+
|
|
177
|
+
@property
|
|
178
|
+
def kai_scheduler_queues_metrics(self) -> 'list[V1KaiSchedulerQueueMetrics]':
|
|
179
|
+
"""Gets the kai_scheduler_queues_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
:return: The kai_scheduler_queues_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
183
|
+
:rtype: list[V1KaiSchedulerQueueMetrics]
|
|
184
|
+
"""
|
|
185
|
+
return self._kai_scheduler_queues_metrics
|
|
186
|
+
|
|
187
|
+
@kai_scheduler_queues_metrics.setter
|
|
188
|
+
def kai_scheduler_queues_metrics(self, kai_scheduler_queues_metrics: 'list[V1KaiSchedulerQueueMetrics]'):
|
|
189
|
+
"""Sets the kai_scheduler_queues_metrics of this ClusterIdMetricsBody.
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
:param kai_scheduler_queues_metrics: The kai_scheduler_queues_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
193
|
+
:type: list[V1KaiSchedulerQueueMetrics]
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
self._kai_scheduler_queues_metrics = kai_scheduler_queues_metrics
|
|
197
|
+
|
|
146
198
|
@property
|
|
147
199
|
def namespace_metrics(self) -> 'list[V1NamespaceMetrics]':
|
|
148
200
|
"""Gets the namespace_metrics of this ClusterIdMetricsBody. # noqa: E501
|
|
@@ -43,6 +43,7 @@ class CreateMachineRequestRepresentsTheRequestToCreateAMachine(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'address': 'str',
|
|
45
45
|
'instance_type': 'str',
|
|
46
|
+
'management_api_url': 'str',
|
|
46
47
|
'name': 'str',
|
|
47
48
|
'org_id': 'str',
|
|
48
49
|
'parent_cluster_id': 'str',
|
|
@@ -59,6 +60,7 @@ class CreateMachineRequestRepresentsTheRequestToCreateAMachine(object):
|
|
|
59
60
|
attribute_map = {
|
|
60
61
|
'address': 'address',
|
|
61
62
|
'instance_type': 'instanceType',
|
|
63
|
+
'management_api_url': 'managementApiUrl',
|
|
62
64
|
'name': 'name',
|
|
63
65
|
'org_id': 'orgId',
|
|
64
66
|
'parent_cluster_id': 'parentClusterId',
|
|
@@ -72,10 +74,11 @@ class CreateMachineRequestRepresentsTheRequestToCreateAMachine(object):
|
|
|
72
74
|
'unschedulable': 'unschedulable'
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
def __init__(self, address: 'str' =None, instance_type: 'str' =None, name: 'str' =None, org_id: 'str' =None, parent_cluster_id: 'str' =None, provider: 'str' =None, provider_instance_id: 'str' =None, provider_region: 'str' =None, provisioning_method: 'str' =None, resources: 'V1Resources' =None, tls_cert: 'str' =None, tls_key: 'str' =None, unschedulable: 'bool' =None): # noqa: E501
|
|
77
|
+
def __init__(self, address: 'str' =None, instance_type: 'str' =None, management_api_url: 'str' =None, name: 'str' =None, org_id: 'str' =None, parent_cluster_id: 'str' =None, provider: 'str' =None, provider_instance_id: 'str' =None, provider_region: 'str' =None, provisioning_method: 'str' =None, resources: 'V1Resources' =None, tls_cert: 'str' =None, tls_key: 'str' =None, unschedulable: 'bool' =None): # noqa: E501
|
|
76
78
|
"""CreateMachineRequestRepresentsTheRequestToCreateAMachine - a model defined in Swagger""" # noqa: E501
|
|
77
79
|
self._address = None
|
|
78
80
|
self._instance_type = None
|
|
81
|
+
self._management_api_url = None
|
|
79
82
|
self._name = None
|
|
80
83
|
self._org_id = None
|
|
81
84
|
self._parent_cluster_id = None
|
|
@@ -92,6 +95,8 @@ class CreateMachineRequestRepresentsTheRequestToCreateAMachine(object):
|
|
|
92
95
|
self.address = address
|
|
93
96
|
if instance_type is not None:
|
|
94
97
|
self.instance_type = instance_type
|
|
98
|
+
if management_api_url is not None:
|
|
99
|
+
self.management_api_url = management_api_url
|
|
95
100
|
if name is not None:
|
|
96
101
|
self.name = name
|
|
97
102
|
if org_id is not None:
|
|
@@ -157,6 +162,27 @@ class CreateMachineRequestRepresentsTheRequestToCreateAMachine(object):
|
|
|
157
162
|
|
|
158
163
|
self._instance_type = instance_type
|
|
159
164
|
|
|
165
|
+
@property
|
|
166
|
+
def management_api_url(self) -> 'str':
|
|
167
|
+
"""Gets the management_api_url of this CreateMachineRequestRepresentsTheRequestToCreateAMachine. # noqa: E501
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
:return: The management_api_url of this CreateMachineRequestRepresentsTheRequestToCreateAMachine. # noqa: E501
|
|
171
|
+
:rtype: str
|
|
172
|
+
"""
|
|
173
|
+
return self._management_api_url
|
|
174
|
+
|
|
175
|
+
@management_api_url.setter
|
|
176
|
+
def management_api_url(self, management_api_url: 'str'):
|
|
177
|
+
"""Sets the management_api_url of this CreateMachineRequestRepresentsTheRequestToCreateAMachine.
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
:param management_api_url: The management_api_url of this CreateMachineRequestRepresentsTheRequestToCreateAMachine. # noqa: E501
|
|
181
|
+
:type: str
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
self._management_api_url = management_api_url
|
|
185
|
+
|
|
160
186
|
@property
|
|
161
187
|
def name(self) -> 'str':
|
|
162
188
|
"""Gets the name of this CreateMachineRequestRepresentsTheRequestToCreateAMachine. # noqa: E501
|
|
@@ -62,6 +62,7 @@ class DeploymentsIdBody(object):
|
|
|
62
62
|
'recipients': 'V1DeploymentAlertingRecipients',
|
|
63
63
|
'release_id': 'str',
|
|
64
64
|
'replicas': 'int',
|
|
65
|
+
'reuse_servers': 'bool',
|
|
65
66
|
'spec': 'V1JobSpec',
|
|
66
67
|
'status': 'V1DeploymentStatus',
|
|
67
68
|
'strategy': 'V1DeploymentStrategy',
|
|
@@ -94,6 +95,7 @@ class DeploymentsIdBody(object):
|
|
|
94
95
|
'recipients': 'recipients',
|
|
95
96
|
'release_id': 'releaseId',
|
|
96
97
|
'replicas': 'replicas',
|
|
98
|
+
'reuse_servers': 'reuseServers',
|
|
97
99
|
'spec': 'spec',
|
|
98
100
|
'status': 'status',
|
|
99
101
|
'strategy': 'strategy',
|
|
@@ -104,7 +106,7 @@ class DeploymentsIdBody(object):
|
|
|
104
106
|
'visibility': 'visibility'
|
|
105
107
|
}
|
|
106
108
|
|
|
107
|
-
def __init__(self, source: 'str' =None, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, assistant_id: 'str' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, current_state: 'V1DeploymentState' =None, debug: 'bool' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, is_published: 'bool' =None, managed: 'bool' =None, managed_endpoint_id: 'str' =None, name: 'str' =None, oncall_notification: 'bool' =None, parameter_spec: 'V1ParameterizationSpec' =None, pipeline_id: 'str' =None, recipients: 'V1DeploymentAlertingRecipients' =None, release_id: 'str' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, total_cost: 'float' =None, updated_at: 'datetime' =None, user_id: 'str' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
109
|
+
def __init__(self, source: 'str' =None, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, assistant_id: 'str' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, created_at: 'datetime' =None, current_state: 'V1DeploymentState' =None, debug: 'bool' =None, desired_state: 'V1DeploymentState' =None, endpoint: 'V1Endpoint' =None, is_published: 'bool' =None, managed: 'bool' =None, managed_endpoint_id: 'str' =None, name: 'str' =None, oncall_notification: 'bool' =None, parameter_spec: 'V1ParameterizationSpec' =None, pipeline_id: 'str' =None, recipients: 'V1DeploymentAlertingRecipients' =None, release_id: 'str' =None, replicas: 'int' =None, reuse_servers: 'bool' =None, spec: 'V1JobSpec' =None, status: 'V1DeploymentStatus' =None, strategy: 'V1DeploymentStrategy' =None, template_id: 'str' =None, total_cost: 'float' =None, updated_at: 'datetime' =None, user_id: 'str' =None, visibility: 'V1ResourceVisibility' =None): # noqa: E501
|
|
108
110
|
"""DeploymentsIdBody - a model defined in Swagger""" # noqa: E501
|
|
109
111
|
self._source = None
|
|
110
112
|
self._api_standard = None
|
|
@@ -127,6 +129,7 @@ class DeploymentsIdBody(object):
|
|
|
127
129
|
self._recipients = None
|
|
128
130
|
self._release_id = None
|
|
129
131
|
self._replicas = None
|
|
132
|
+
self._reuse_servers = None
|
|
130
133
|
self._spec = None
|
|
131
134
|
self._status = None
|
|
132
135
|
self._strategy = None
|
|
@@ -178,6 +181,8 @@ class DeploymentsIdBody(object):
|
|
|
178
181
|
self.release_id = release_id
|
|
179
182
|
if replicas is not None:
|
|
180
183
|
self.replicas = replicas
|
|
184
|
+
if reuse_servers is not None:
|
|
185
|
+
self.reuse_servers = reuse_servers
|
|
181
186
|
if spec is not None:
|
|
182
187
|
self.spec = spec
|
|
183
188
|
if status is not None:
|
|
@@ -636,6 +641,27 @@ class DeploymentsIdBody(object):
|
|
|
636
641
|
|
|
637
642
|
self._replicas = replicas
|
|
638
643
|
|
|
644
|
+
@property
|
|
645
|
+
def reuse_servers(self) -> 'bool':
|
|
646
|
+
"""Gets the reuse_servers of this DeploymentsIdBody. # noqa: E501
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
:return: The reuse_servers of this DeploymentsIdBody. # noqa: E501
|
|
650
|
+
:rtype: bool
|
|
651
|
+
"""
|
|
652
|
+
return self._reuse_servers
|
|
653
|
+
|
|
654
|
+
@reuse_servers.setter
|
|
655
|
+
def reuse_servers(self, reuse_servers: 'bool'):
|
|
656
|
+
"""Sets the reuse_servers of this DeploymentsIdBody.
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
:param reuse_servers: The reuse_servers of this DeploymentsIdBody. # noqa: E501
|
|
660
|
+
:type: bool
|
|
661
|
+
"""
|
|
662
|
+
|
|
663
|
+
self._reuse_servers = reuse_servers
|
|
664
|
+
|
|
639
665
|
@property
|
|
640
666
|
def spec(self) -> 'V1JobSpec':
|
|
641
667
|
"""Gets the spec of this DeploymentsIdBody. # noqa: E501
|
|
@@ -46,6 +46,7 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
46
46
|
'bytes_to_sync': 'str',
|
|
47
47
|
'cloud_space_id': 'str',
|
|
48
48
|
'cloud_space_instance_id': 'str',
|
|
49
|
+
'cluster_id': 'str',
|
|
49
50
|
'compute_config': 'V1UserRequestedComputeConfig',
|
|
50
51
|
'creation_timestamp': 'datetime',
|
|
51
52
|
'data_connection_mounts': 'list[V1DataConnectionMount]',
|
|
@@ -58,6 +59,8 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
58
59
|
'jupyterlab_url': 'str',
|
|
59
60
|
'phase': 'V1CloudSpaceInstanceState',
|
|
60
61
|
'price': 'float',
|
|
62
|
+
'private_ip_address': 'str',
|
|
63
|
+
'public_ip_address': 'str',
|
|
61
64
|
'ssh_host': 'str',
|
|
62
65
|
'ssh_port': 'int',
|
|
63
66
|
'ssh_username': 'str',
|
|
@@ -80,6 +83,7 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
80
83
|
'bytes_to_sync': 'bytesToSync',
|
|
81
84
|
'cloud_space_id': 'cloudSpaceId',
|
|
82
85
|
'cloud_space_instance_id': 'cloudSpaceInstanceId',
|
|
86
|
+
'cluster_id': 'clusterId',
|
|
83
87
|
'compute_config': 'computeConfig',
|
|
84
88
|
'creation_timestamp': 'creationTimestamp',
|
|
85
89
|
'data_connection_mounts': 'dataConnectionMounts',
|
|
@@ -92,6 +96,8 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
92
96
|
'jupyterlab_url': 'jupyterlabUrl',
|
|
93
97
|
'phase': 'phase',
|
|
94
98
|
'price': 'price',
|
|
99
|
+
'private_ip_address': 'privateIpAddress',
|
|
100
|
+
'public_ip_address': 'publicIpAddress',
|
|
95
101
|
'ssh_host': 'sshHost',
|
|
96
102
|
'ssh_port': 'sshPort',
|
|
97
103
|
'ssh_username': 'sshUsername',
|
|
@@ -108,13 +114,14 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
108
114
|
'vscode_url': 'vscodeUrl'
|
|
109
115
|
}
|
|
110
116
|
|
|
111
|
-
def __init__(self, alerts: 'list[V1ServerAlert]' =None, app_url: 'str' =None, bytes_to_sync: 'str' =None, cloud_space_id: 'str' =None, cloud_space_instance_id: 'str' =None, compute_config: 'V1UserRequestedComputeConfig' =None, creation_timestamp: 'datetime' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, files_to_sync: 'str' =None, free: 'bool' =None, ide: 'str' =None, instance_id: 'str' =None, instance_region: 'str' =None, instance_url: 'str' =None, jupyterlab_url: 'str' =None, phase: 'V1CloudSpaceInstanceState' =None, price: 'float' =None, ssh_host: 'str' =None, ssh_port: 'int' =None, ssh_username: 'str' =None, start_timestamp: 'datetime' =None, startup_eta_seconds: 'str' =None, startup_percentage: 'str' =None, startup_phase: 'str' =None, startup_status: 'V1CloudSpaceInstanceStartupStatus' =None, status_message: 'str' =None, switched_at: 'datetime' =None, sync_last_updated: 'datetime' =None, termination_time: 'datetime' =None, transfer_metadata: 'V1CloudSpaceTransferMetadata' =None, vscode_url: 'str' =None): # noqa: E501
|
|
117
|
+
def __init__(self, alerts: 'list[V1ServerAlert]' =None, app_url: 'str' =None, bytes_to_sync: 'str' =None, cloud_space_id: 'str' =None, cloud_space_instance_id: 'str' =None, cluster_id: 'str' =None, compute_config: 'V1UserRequestedComputeConfig' =None, creation_timestamp: 'datetime' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, files_to_sync: 'str' =None, free: 'bool' =None, ide: 'str' =None, instance_id: 'str' =None, instance_region: 'str' =None, instance_url: 'str' =None, jupyterlab_url: 'str' =None, phase: 'V1CloudSpaceInstanceState' =None, price: 'float' =None, private_ip_address: 'str' =None, public_ip_address: 'str' =None, ssh_host: 'str' =None, ssh_port: 'int' =None, ssh_username: 'str' =None, start_timestamp: 'datetime' =None, startup_eta_seconds: 'str' =None, startup_percentage: 'str' =None, startup_phase: 'str' =None, startup_status: 'V1CloudSpaceInstanceStartupStatus' =None, status_message: 'str' =None, switched_at: 'datetime' =None, sync_last_updated: 'datetime' =None, termination_time: 'datetime' =None, transfer_metadata: 'V1CloudSpaceTransferMetadata' =None, vscode_url: 'str' =None): # noqa: E501
|
|
112
118
|
"""Externalv1CloudSpaceInstanceStatus - a model defined in Swagger""" # noqa: E501
|
|
113
119
|
self._alerts = None
|
|
114
120
|
self._app_url = None
|
|
115
121
|
self._bytes_to_sync = None
|
|
116
122
|
self._cloud_space_id = None
|
|
117
123
|
self._cloud_space_instance_id = None
|
|
124
|
+
self._cluster_id = None
|
|
118
125
|
self._compute_config = None
|
|
119
126
|
self._creation_timestamp = None
|
|
120
127
|
self._data_connection_mounts = None
|
|
@@ -127,6 +134,8 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
127
134
|
self._jupyterlab_url = None
|
|
128
135
|
self._phase = None
|
|
129
136
|
self._price = None
|
|
137
|
+
self._private_ip_address = None
|
|
138
|
+
self._public_ip_address = None
|
|
130
139
|
self._ssh_host = None
|
|
131
140
|
self._ssh_port = None
|
|
132
141
|
self._ssh_username = None
|
|
@@ -152,6 +161,8 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
152
161
|
self.cloud_space_id = cloud_space_id
|
|
153
162
|
if cloud_space_instance_id is not None:
|
|
154
163
|
self.cloud_space_instance_id = cloud_space_instance_id
|
|
164
|
+
if cluster_id is not None:
|
|
165
|
+
self.cluster_id = cluster_id
|
|
155
166
|
if compute_config is not None:
|
|
156
167
|
self.compute_config = compute_config
|
|
157
168
|
if creation_timestamp is not None:
|
|
@@ -176,6 +187,10 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
176
187
|
self.phase = phase
|
|
177
188
|
if price is not None:
|
|
178
189
|
self.price = price
|
|
190
|
+
if private_ip_address is not None:
|
|
191
|
+
self.private_ip_address = private_ip_address
|
|
192
|
+
if public_ip_address is not None:
|
|
193
|
+
self.public_ip_address = public_ip_address
|
|
179
194
|
if ssh_host is not None:
|
|
180
195
|
self.ssh_host = ssh_host
|
|
181
196
|
if ssh_port is not None:
|
|
@@ -310,6 +325,27 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
310
325
|
|
|
311
326
|
self._cloud_space_instance_id = cloud_space_instance_id
|
|
312
327
|
|
|
328
|
+
@property
|
|
329
|
+
def cluster_id(self) -> 'str':
|
|
330
|
+
"""Gets the cluster_id of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
:return: The cluster_id of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
334
|
+
:rtype: str
|
|
335
|
+
"""
|
|
336
|
+
return self._cluster_id
|
|
337
|
+
|
|
338
|
+
@cluster_id.setter
|
|
339
|
+
def cluster_id(self, cluster_id: 'str'):
|
|
340
|
+
"""Sets the cluster_id of this Externalv1CloudSpaceInstanceStatus.
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
:param cluster_id: The cluster_id of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
344
|
+
:type: str
|
|
345
|
+
"""
|
|
346
|
+
|
|
347
|
+
self._cluster_id = cluster_id
|
|
348
|
+
|
|
313
349
|
@property
|
|
314
350
|
def compute_config(self) -> 'V1UserRequestedComputeConfig':
|
|
315
351
|
"""Gets the compute_config of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
@@ -562,6 +598,48 @@ class Externalv1CloudSpaceInstanceStatus(object):
|
|
|
562
598
|
|
|
563
599
|
self._price = price
|
|
564
600
|
|
|
601
|
+
@property
|
|
602
|
+
def private_ip_address(self) -> 'str':
|
|
603
|
+
"""Gets the private_ip_address of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
:return: The private_ip_address of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
607
|
+
:rtype: str
|
|
608
|
+
"""
|
|
609
|
+
return self._private_ip_address
|
|
610
|
+
|
|
611
|
+
@private_ip_address.setter
|
|
612
|
+
def private_ip_address(self, private_ip_address: 'str'):
|
|
613
|
+
"""Sets the private_ip_address of this Externalv1CloudSpaceInstanceStatus.
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
:param private_ip_address: The private_ip_address of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
617
|
+
:type: str
|
|
618
|
+
"""
|
|
619
|
+
|
|
620
|
+
self._private_ip_address = private_ip_address
|
|
621
|
+
|
|
622
|
+
@property
|
|
623
|
+
def public_ip_address(self) -> 'str':
|
|
624
|
+
"""Gets the public_ip_address of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
:return: The public_ip_address of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
628
|
+
:rtype: str
|
|
629
|
+
"""
|
|
630
|
+
return self._public_ip_address
|
|
631
|
+
|
|
632
|
+
@public_ip_address.setter
|
|
633
|
+
def public_ip_address(self, public_ip_address: 'str'):
|
|
634
|
+
"""Sets the public_ip_address of this Externalv1CloudSpaceInstanceStatus.
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
:param public_ip_address: The public_ip_address of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|
|
638
|
+
:type: str
|
|
639
|
+
"""
|
|
640
|
+
|
|
641
|
+
self._public_ip_address = public_ip_address
|
|
642
|
+
|
|
565
643
|
@property
|
|
566
644
|
def ssh_host(self) -> 'str':
|
|
567
645
|
"""Gets the ssh_host of this Externalv1CloudSpaceInstanceStatus. # noqa: E501
|