From 4a1c9a47c0027bfff52b34ee3f70736fa971d0bb Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Tue, 4 Nov 2025 10:01:35 -0800 Subject: [PATCH 1/3] feat(BREV-2072): Bump launchpad, consume delivery speed setting --- v1/providers/launchpad/Makefile | 10 +- .../gen/launchpad/.openapi-generator/FILES | 35 +- .../launchpad/gen/launchpad/README.md | 254 +- .../launchpad/gen/launchpad/api/openapi.yaml | 3623 ++++- .../launchpad/gen/launchpad/api_auth.go | 90 +- .../gen/launchpad/api_catalog_deployments.go | 1028 +- .../gen/launchpad/api_catalog_experiences.go | 270 +- .../launchpad/api_catalog_gpu_os_choices.go | 52 +- .../launchpad/api_catalog_instance_types.go | 34 +- .../launchpad/api_catalog_persona_choices.go | 52 +- .../gen/launchpad/api_catalog_runtimes.go | 1038 ++ .../launchpad/gen/launchpad/api_health.go | 144 + .../gen/launchpad/api_identity_profile.go | 40 +- .../gen/launchpad/api_inventory_clusters.go | 835 +- .../gen/launchpad/api_inventory_gpus.go | 200 +- .../gen/launchpad/api_inventory_instances.go | 188 +- .../gen/launchpad/api_inventory_locations.go | 166 +- .../gen/launchpad/api_inventory_nodes.go | 274 +- .../gen/launchpad/api_inventory_oems.go | 150 +- .../gen/launchpad/api_inventory_providers.go | 214 +- .../launchpad/gen/launchpad/api_version.go | 134 + .../launchpad/gen/launchpad/client.go | 13 +- .../launchpad/gen/launchpad/configuration.go | 2 +- .../launchpad/gen/launchpad/docs/AuthAPI.md | 64 +- .../launchpad/docs/CatalogDeploymentsAPI.md | 564 +- .../launchpad/docs/CatalogExperiencesAPI.md | 152 +- .../launchpad/docs/CatalogGpuOsChoicesAPI.md | 32 +- .../launchpad/docs/CatalogInstanceTypesAPI.md | 18 +- .../docs/CatalogPersonaChoicesAPI.md | 32 +- .../gen/launchpad/docs/CatalogRuntimesAPI.md | 526 + .../launchpad/gen/launchpad/docs/Cluster.md | 72 + .../gen/launchpad/docs/ClusterBulkUpdate.md | 72 + .../gen/launchpad/docs/ClusterDeployment.md | 346 +- .../launchpad/docs/ClusterPipelineTrigger.md | 177 + .../gen/launchpad/docs/Deployment.md | 516 +- .../launchpad/docs/DeploymentBulkUpdate.md | 452 +- .../gen/launchpad/docs/DeploymentCluster.md | 52 + .../gen/launchpad/docs/DeploymentPipeline.md | 10 +- .../gen/launchpad/docs/DeploymentUpdate.md | 452 +- .../gen/launchpad/docs/DocDeploymentDelete.md | 516 +- .../gen/launchpad/docs/Experience.md | 36 + .../launchpad/docs/ExperienceBulkUpdate.md | 36 + .../gen/launchpad/docs/ExperienceNote.md | 10 +- ...erience.md => ExperienceNoteExperience.md} | 288 +- .../launchpad/gen/launchpad/docs/HealthAPI.md | 68 + .../docs/HealthRetrieve200Response.md | 82 + .../HealthRetrieve200ResponseComponents.md | 82 + .../gen/launchpad/docs/IdentityProfileAPI.md | 32 +- .../launchpad/docs/InventoryClustersAPI.md | 453 +- .../gen/launchpad/docs/InventoryGpusAPI.md | 136 +- .../launchpad/docs/InventoryInstancesAPI.md | 132 +- .../launchpad/docs/InventoryLocationsAPI.md | 108 +- .../gen/launchpad/docs/InventoryNodesAPI.md | 148 +- .../gen/launchpad/docs/InventoryOemsAPI.md | 108 +- .../launchpad/docs/InventoryProvidersAPI.md | 142 +- .../gen/launchpad/docs/LocationProvider.md | 26 + ...lineActionEnum.md => OnDemandSpeedEnum.md} | 6 +- .../launchpad/gen/launchpad/docs/Overrides.md | 1322 ++ .../launchpad/docs/PaginatedRuntimeList.md | 124 + .../gen/launchpad/docs/PipelineAction.md | 15 + .../launchpad/gen/launchpad/docs/Provider.md | 26 + .../gen/launchpad/docs/ProviderBulkUpdate.md | 26 + .../gen/launchpad/docs/ProvisioningRequest.md | 1452 ++ .../launchpad/gen/launchpad/docs/Runtime.md | 399 + .../gen/launchpad/docs/VersionAPI.md | 68 + .../docs/VersionRetrieve200Response.md | 56 + .../gen/launchpad/model_auth_login.go | 2 +- .../gen/launchpad/model_auth_redirect.go | 2 +- .../gen/launchpad/model_auth_token.go | 2 +- .../gen/launchpad/model_blank_enum.go | 2 +- .../gen/launchpad/model_category_enum.go | 2 +- .../launchpad/gen/launchpad/model_cluster.go | 100 +- .../launchpad/model_cluster_bulk_update.go | 100 +- .../gen/launchpad/model_cluster_deployment.go | 2 +- .../gen/launchpad/model_cluster_gpus_inner.go | 2 +- .../model_cluster_instances_inner.go | 2 +- .../launchpad/model_cluster_nodes_inner.go | 2 +- .../model_cluster_pipeline_trigger.go | 347 + .../launchpad/model_cpu_manufacturer_enum.go | 2 +- .../gen/launchpad/model_deployment.go | 828 +- .../launchpad/model_deployment_bulk_update.go | 609 +- .../gen/launchpad/model_deployment_cluster.go | 2 +- .../launchpad/model_deployment_instance.go | 2 +- .../gen/launchpad/model_deployment_key.go | 2 +- .../gen/launchpad/model_deployment_note.go | 2 +- .../launchpad/model_deployment_pipeline.go | 16 +- .../model_deployment_pipeline_action_enum.go | 110 - .../gen/launchpad/model_deployment_service.go | 2 +- .../gen/launchpad/model_deployment_state.go | 2 +- .../gen/launchpad/model_deployment_task.go | 2 +- .../model_deployment_task_action_enum.go | 2 +- .../gen/launchpad/model_deployment_update.go | 609 +- .../launchpad/model_doc_deployment_delete.go | 809 +- .../gen/launchpad/model_experience.go | 51 +- .../gen/launchpad/model_experience_bulk.go | 2 +- .../launchpad/model_experience_bulk_update.go | 51 +- .../gen/launchpad/model_experience_note.go | 20 +- ...go => model_experience_note_experience.go} | 48 +- .../gen/launchpad/model_fc_platform_enum.go | 2 +- .../launchpad/gen/launchpad/model_gpu.go | 2 +- .../gen/launchpad/model_gpu_bulk_update.go | 2 +- .../launchpad/gen/launchpad/model_gpu_os.go | 2 +- .../gen/launchpad/model_gpu_os_choice.go | 2 +- .../model_health_retrieve_200_response.go | 190 + ...health_retrieve_200_response_components.go | 190 + .../launchpad/gen/launchpad/model_instance.go | 2 +- .../launchpad/model_instance_bulk_update.go | 2 +- .../gen/launchpad/model_instance_state.go | 2 +- .../gen/launchpad/model_instance_type.go | 2 +- .../gen/launchpad/model_instance_type_gpu.go | 2 +- .../launchpad/model_instance_type_price.go | 2 +- .../launchpad/model_instance_type_storage.go | 2 +- .../model_interconnection_type_enum.go | 2 +- .../launchpad/gen/launchpad/model_location.go | 2 +- .../gen/launchpad/model_location_provider.go | 2 +- .../launchpad/gen/launchpad/model_logout.go | 2 +- .../gen/launchpad/model_model_change.go | 2 +- .../model_model_change_changes_inner.go | 2 +- ...el_model_change_changes_inner_new_value.go | 2 +- .../gen/launchpad/model_network_type_enum.go | 2 +- .../launchpad/gen/launchpad/model_node.go | 2 +- .../gen/launchpad/model_node_bulk.go | 2 +- .../gen/launchpad/model_node_bulk_update.go | 2 +- .../gen/launchpad/model_node_location.go | 2 +- .../gen/launchpad/model_node_storage.go | 2 +- .../launchpad/gen/launchpad/model_oem.go | 2 +- .../launchpad/model_on_demand_speed_enum.go | 110 + .../gen/launchpad/model_overrides.go | 1884 +++ .../launchpad/model_paginated_cluster_list.go | 2 +- ...odel_paginated_deployment_instance_list.go | 2 +- .../model_paginated_deployment_key_list.go | 2 +- .../model_paginated_deployment_list.go | 2 +- .../model_paginated_deployment_note_list.go | 2 +- ...odel_paginated_deployment_pipeline_list.go | 2 +- ...model_paginated_deployment_service_list.go | 2 +- .../model_paginated_deployment_task_list.go | 2 +- .../model_paginated_experience_list.go | 2 +- .../model_paginated_experience_note_list.go | 2 +- .../gen/launchpad/model_paginated_gpu_list.go | 2 +- .../model_paginated_gpu_os_choice_list.go | 2 +- .../model_paginated_instance_list.go | 2 +- .../model_paginated_instance_type_list.go | 2 +- .../model_paginated_location_list.go | 2 +- .../model_paginated_model_change_list.go | 2 +- .../launchpad/model_paginated_node_list.go | 2 +- .../gen/launchpad/model_paginated_oem_list.go | 2 +- .../model_paginated_persona_choice_list.go | 2 +- .../model_paginated_provider_list.go | 2 +- .../launchpad/model_paginated_runtime_list.go | 269 + .../gen/launchpad/model_password_change.go | 2 +- .../gen/launchpad/model_persona_choice.go | 2 +- .../gen/launchpad/model_pipeline_action.go | 112 + .../gen/launchpad/model_platform_enum.go | 2 +- .../launchpad/model_preferred_theme_enum.go | 2 +- .../gen/launchpad/model_priority_enum.go | 2 +- .../launchpad/gen/launchpad/model_profile.go | 2 +- .../launchpad/gen/launchpad/model_provider.go | 40 +- .../launchpad/model_provider_bulk_update.go | 40 +- .../launchpad/model_provisioning_request.go | 2081 +++ .../model_provisioning_state_enum.go | 2 +- .../gen/launchpad/model_published_enum.go | 2 +- .../launchpad/gen/launchpad/model_runtime.go | 662 + .../gen/launchpad/model_status_enum.go | 2 +- .../gen/launchpad/model_system_arch_enum.go | 2 +- .../launchpad/gen/launchpad/model_tenant.go | 2 +- .../gen/launchpad/model_type_enum.go | 2 +- .../model_version_retrieve_200_response.go | 153 + .../gen/launchpad/model_vgpu_profile_enum.go | 2 +- .../launchpad/gen/launchpad/response.go | 2 +- .../gen/launchpad/test/api_auth_test.go | 29 +- .../test/api_catalog_deployments_test.go | 197 +- .../test/api_catalog_experiences_test.go | 65 +- .../test/api_catalog_gpu_os_choices_test.go | 17 +- .../test/api_catalog_instance_types_test.go | 11 +- .../test/api_catalog_persona_choices_test.go | 17 +- .../test/api_catalog_runtimes_test.go | 118 + .../gen/launchpad/test/api_health_test.go | 37 + .../test/api_identity_profile_test.go | 17 +- .../test/api_inventory_clusters_test.go | 125 +- .../launchpad/test/api_inventory_gpus_test.go | 59 +- .../test/api_inventory_instances_test.go | 53 +- .../test/api_inventory_locations_test.go | 47 +- .../test/api_inventory_nodes_test.go | 59 +- .../launchpad/test/api_inventory_oems_test.go | 47 +- .../test/api_inventory_providers_test.go | 59 +- .../gen/launchpad/test/api_version_test.go | 37 + v1/providers/launchpad/gen/launchpad/utils.go | 2 +- v1/providers/launchpad/instance_create.go | 2 +- v1/providers/launchpad/instance_get.go | 2 +- v1/providers/launchpad/instance_list.go | 2 +- v1/providers/launchpad/instance_terminate.go | 2 +- v1/providers/launchpad/instancetype.go | 3 +- .../scripts/finalize-swagger/main.go | 703 + .../scripts/finalize-swagger/main_test.go | 223 + .../scripts/finalize-swagger/yaml.go | 130 + v1/providers/launchpad/swagger-v2.34.2.yaml | 10912 -------------- v1/providers/launchpad/swagger-v2.35.4.yaml | 12026 ---------------- ...gger-v2.36.0.yaml => swagger-v2.39.5.yaml} | 11838 +++++++++------ ...1.yaml => swagger-v2.39.5.yaml.final.yaml} | 3121 +++- 199 files changed, 35536 insertions(+), 32291 deletions(-) create mode 100644 v1/providers/launchpad/gen/launchpad/api_catalog_runtimes.go create mode 100644 v1/providers/launchpad/gen/launchpad/api_health.go create mode 100644 v1/providers/launchpad/gen/launchpad/api_version.go create mode 100644 v1/providers/launchpad/gen/launchpad/docs/CatalogRuntimesAPI.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/ClusterPipelineTrigger.md rename v1/providers/launchpad/gen/launchpad/docs/{DeploymentExperience.md => ExperienceNoteExperience.md} (66%) create mode 100644 v1/providers/launchpad/gen/launchpad/docs/HealthAPI.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200Response.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200ResponseComponents.md rename v1/providers/launchpad/gen/launchpad/docs/{DeploymentPipelineActionEnum.md => OnDemandSpeedEnum.md} (55%) create mode 100644 v1/providers/launchpad/gen/launchpad/docs/Overrides.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/PaginatedRuntimeList.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/PipelineAction.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/ProvisioningRequest.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/Runtime.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/VersionAPI.md create mode 100644 v1/providers/launchpad/gen/launchpad/docs/VersionRetrieve200Response.md create mode 100644 v1/providers/launchpad/gen/launchpad/model_cluster_pipeline_trigger.go delete mode 100644 v1/providers/launchpad/gen/launchpad/model_deployment_pipeline_action_enum.go rename v1/providers/launchpad/gen/launchpad/{model_deployment_experience.go => model_experience_note_experience.go} (57%) create mode 100644 v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response_components.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_on_demand_speed_enum.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_overrides.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_paginated_runtime_list.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_pipeline_action.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_provisioning_request.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_runtime.go create mode 100644 v1/providers/launchpad/gen/launchpad/model_version_retrieve_200_response.go create mode 100644 v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go create mode 100644 v1/providers/launchpad/gen/launchpad/test/api_health_test.go create mode 100644 v1/providers/launchpad/gen/launchpad/test/api_version_test.go create mode 100644 v1/providers/launchpad/scripts/finalize-swagger/main.go create mode 100644 v1/providers/launchpad/scripts/finalize-swagger/main_test.go create mode 100644 v1/providers/launchpad/scripts/finalize-swagger/yaml.go delete mode 100644 v1/providers/launchpad/swagger-v2.34.2.yaml delete mode 100644 v1/providers/launchpad/swagger-v2.35.4.yaml rename v1/providers/launchpad/{swagger-v2.36.0.yaml => swagger-v2.39.5.yaml} (54%) rename v1/providers/launchpad/{swagger-v2.36.1.yaml => swagger-v2.39.5.yaml.final.yaml} (80%) diff --git a/v1/providers/launchpad/Makefile b/v1/providers/launchpad/Makefile index 96350284..23e0c506 100644 --- a/v1/providers/launchpad/Makefile +++ b/v1/providers/launchpad/Makefile @@ -1,14 +1,16 @@ -SPEC_VERSION ?= v2.36.1 -SPEC_FILE ?= /local/swagger-${SPEC_VERSION}.yaml -OUTPUT_DIR ?= launchpad +SPEC_VERSION ?= v2.39.5 +SPEC_FILE ?= swagger-${SPEC_VERSION}.yaml +SPEC_FILE_FINAL ?= ${SPEC_FILE}.final.yaml +OUTPUT_DIR ?= launchpad # To understand disallowAdditionalPropertiesIfNotPresent=false # Check out https://openapi-generator.tech/docs/generators/go/#config-options generate-launchpad-client: + go run ./scripts/finalize-swagger ${SPEC_FILE} ${SPEC_FILE_FINAL} rm -rf gen/${OUTPUT_DIR} mkdir -p gen/${OUTPUT_DIR} docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli:v7.8.0 generate \ --additional-properties disallowAdditionalPropertiesIfNotPresent=false \ - -i ${SPEC_FILE} \ + -i /local/${SPEC_FILE_FINAL} \ -g go \ --git-user-id brevdev \ --git-repo-id cloud \ diff --git a/v1/providers/launchpad/gen/launchpad/.openapi-generator/FILES b/v1/providers/launchpad/gen/launchpad/.openapi-generator/FILES index 9d2965fe..6dba1d2e 100644 --- a/v1/providers/launchpad/gen/launchpad/.openapi-generator/FILES +++ b/v1/providers/launchpad/gen/launchpad/.openapi-generator/FILES @@ -9,6 +9,8 @@ api_catalog_experiences.go api_catalog_gpu_os_choices.go api_catalog_instance_types.go api_catalog_persona_choices.go +api_catalog_runtimes.go +api_health.go api_identity_profile.go api_inventory_clusters.go api_inventory_gpus.go @@ -17,6 +19,7 @@ api_inventory_locations.go api_inventory_nodes.go api_inventory_oems.go api_inventory_providers.go +api_version.go client.go configuration.go docs/AuthAPI.md @@ -29,6 +32,7 @@ docs/CatalogExperiencesAPI.md docs/CatalogGpuOsChoicesAPI.md docs/CatalogInstanceTypesAPI.md docs/CatalogPersonaChoicesAPI.md +docs/CatalogRuntimesAPI.md docs/CategoryEnum.md docs/Cluster.md docs/ClusterBulkUpdate.md @@ -36,16 +40,15 @@ docs/ClusterDeployment.md docs/ClusterGpusInner.md docs/ClusterInstancesInner.md docs/ClusterNodesInner.md +docs/ClusterPipelineTrigger.md docs/CpuManufacturerEnum.md docs/Deployment.md docs/DeploymentBulkUpdate.md docs/DeploymentCluster.md -docs/DeploymentExperience.md docs/DeploymentInstance.md docs/DeploymentKey.md docs/DeploymentNote.md docs/DeploymentPipeline.md -docs/DeploymentPipelineActionEnum.md docs/DeploymentService.md docs/DeploymentState.md docs/DeploymentTask.md @@ -56,11 +59,15 @@ docs/Experience.md docs/ExperienceBulk.md docs/ExperienceBulkUpdate.md docs/ExperienceNote.md +docs/ExperienceNoteExperience.md docs/FcPlatformEnum.md docs/Gpu.md docs/GpuBulkUpdate.md docs/GpuOs.md docs/GpuOsChoice.md +docs/HealthAPI.md +docs/HealthRetrieve200Response.md +docs/HealthRetrieve200ResponseComponents.md docs/IdentityProfileAPI.md docs/Instance.md docs/InstanceBulkUpdate.md @@ -90,6 +97,8 @@ docs/NodeBulkUpdate.md docs/NodeLocation.md docs/NodeStorage.md docs/OEM.md +docs/OnDemandSpeedEnum.md +docs/Overrides.md docs/PaginatedClusterList.md docs/PaginatedDeploymentInstanceList.md docs/PaginatedDeploymentKeyList.md @@ -110,20 +119,26 @@ docs/PaginatedNodeList.md docs/PaginatedOEMList.md docs/PaginatedPersonaChoiceList.md docs/PaginatedProviderList.md +docs/PaginatedRuntimeList.md docs/PasswordChange.md docs/PersonaChoice.md +docs/PipelineAction.md docs/PlatformEnum.md docs/PreferredThemeEnum.md docs/PriorityEnum.md docs/Profile.md docs/Provider.md docs/ProviderBulkUpdate.md +docs/ProvisioningRequest.md docs/ProvisioningStateEnum.md docs/PublishedEnum.md +docs/Runtime.md docs/StatusEnum.md docs/SystemArchEnum.md docs/Tenant.md docs/TypeEnum.md +docs/VersionAPI.md +docs/VersionRetrieve200Response.md docs/VgpuProfileEnum.md git_push.sh go.mod @@ -139,16 +154,15 @@ model_cluster_deployment.go model_cluster_gpus_inner.go model_cluster_instances_inner.go model_cluster_nodes_inner.go +model_cluster_pipeline_trigger.go model_cpu_manufacturer_enum.go model_deployment.go model_deployment_bulk_update.go model_deployment_cluster.go -model_deployment_experience.go model_deployment_instance.go model_deployment_key.go model_deployment_note.go model_deployment_pipeline.go -model_deployment_pipeline_action_enum.go model_deployment_service.go model_deployment_state.go model_deployment_task.go @@ -159,11 +173,14 @@ model_experience.go model_experience_bulk.go model_experience_bulk_update.go model_experience_note.go +model_experience_note_experience.go model_fc_platform_enum.go model_gpu.go model_gpu_bulk_update.go model_gpu_os.go model_gpu_os_choice.go +model_health_retrieve_200_response.go +model_health_retrieve_200_response_components.go model_instance.go model_instance_bulk_update.go model_instance_state.go @@ -185,6 +202,8 @@ model_node_bulk_update.go model_node_location.go model_node_storage.go model_oem.go +model_on_demand_speed_enum.go +model_overrides.go model_paginated_cluster_list.go model_paginated_deployment_instance_list.go model_paginated_deployment_key_list.go @@ -205,20 +224,25 @@ model_paginated_node_list.go model_paginated_oem_list.go model_paginated_persona_choice_list.go model_paginated_provider_list.go +model_paginated_runtime_list.go model_password_change.go model_persona_choice.go +model_pipeline_action.go model_platform_enum.go model_preferred_theme_enum.go model_priority_enum.go model_profile.go model_provider.go model_provider_bulk_update.go +model_provisioning_request.go model_provisioning_state_enum.go model_published_enum.go +model_runtime.go model_status_enum.go model_system_arch_enum.go model_tenant.go model_type_enum.go +model_version_retrieve_200_response.go model_vgpu_profile_enum.go response.go test/api_auth_test.go @@ -227,6 +251,8 @@ test/api_catalog_experiences_test.go test/api_catalog_gpu_os_choices_test.go test/api_catalog_instance_types_test.go test/api_catalog_persona_choices_test.go +test/api_catalog_runtimes_test.go +test/api_health_test.go test/api_identity_profile_test.go test/api_inventory_clusters_test.go test/api_inventory_gpus_test.go @@ -235,4 +261,5 @@ test/api_inventory_locations_test.go test/api_inventory_nodes_test.go test/api_inventory_oems_test.go test/api_inventory_providers_test.go +test/api_version_test.go utils.go diff --git a/v1/providers/launchpad/gen/launchpad/README.md b/v1/providers/launchpad/gen/launchpad/README.md index aa2cc8e9..c0d71d23 100644 --- a/v1/providers/launchpad/gen/launchpad/README.md +++ b/v1/providers/launchpad/gen/launchpad/README.md @@ -5,7 +5,7 @@ RESTful API for interacting with the NVIDIA LaunchPad platform ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 2.36.1 +- API version: 2.39.5 - Package version: 1.0.0 - Generator version: 7.8.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -78,119 +78,132 @@ All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AuthAPI* | [**AuthLoginCreate**](docs/AuthAPI.md#authlogincreate) | **Post** /v1/auth/login/ | -*AuthAPI* | [**AuthLogoutCreate**](docs/AuthAPI.md#authlogoutcreate) | **Post** /v1/auth/logout/ | -*AuthAPI* | [**AuthPasswordChangeCreate**](docs/AuthAPI.md#authpasswordchangecreate) | **Post** /v1/auth/password-change/ | -*AuthAPI* | [**AuthRedirectRetrieve**](docs/AuthAPI.md#authredirectretrieve) | **Get** /v1/auth/redirect/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsBulkPartialUpdate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsbulkpartialupdate) | **Patch** /v1/catalog/deployments/bulk/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsCreate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentscreate) | **Post** /v1/catalog/deployments/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsDestroy**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsdestroy) | **Delete** /v1/catalog/deployments/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsHistoryList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentshistorylist) | **Get** /v1/catalog/deployments/{id}/history/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsInstancesList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsinstanceslist) | **Get** /v1/catalog/deployments/{deployment_id}/instances/ | 🚧 [Beta Feature] -*CatalogDeploymentsAPI* | [**CatalogDeploymentsList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentslist) | **Get** /v1/catalog/deployments/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsNotesCreate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsnotescreate) | **Post** /v1/catalog/deployments/{deployment_id}/notes/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsNotesDestroy**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsnotesdestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsNotesList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsnoteslist) | **Get** /v1/catalog/deployments/{deployment_id}/notes/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsNotesPartialUpdate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsnotespartialupdate) | **Patch** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsNotesRetrieve**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsnotesretrieve) | **Get** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsNotesUpdate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsnotesupdate) | **Put** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsPartialUpdate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentspartialupdate) | **Patch** /v1/catalog/deployments/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsPipelinesCreate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentspipelinescreate) | **Post** /v1/catalog/deployments/{deployment_id}/pipelines/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsPipelinesList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentspipelineslist) | **Get** /v1/catalog/deployments/{deployment_id}/pipelines/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsRetrieve**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsretrieve) | **Get** /v1/catalog/deployments/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsServicesCreate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsservicescreate) | **Post** /v1/catalog/deployments/{deployment_id}/services/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsServicesList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsserviceslist) | **Get** /v1/catalog/deployments/{deployment_id}/services/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsSshKeysCreate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentssshkeyscreate) | **Post** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsSshKeysDestroy**](docs/CatalogDeploymentsAPI.md#catalogdeploymentssshkeysdestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsSshKeysList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentssshkeyslist) | **Get** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | -*CatalogDeploymentsAPI* | [**CatalogDeploymentsStatsRetrieve**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsstatsretrieve) | **Get** /v1/catalog/deployments/stats/ | 🚧 [Beta Feature] -*CatalogDeploymentsAPI* | [**CatalogDeploymentsTasksCreate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentstaskscreate) | **Post** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] -*CatalogDeploymentsAPI* | [**CatalogDeploymentsTasksList**](docs/CatalogDeploymentsAPI.md#catalogdeploymentstaskslist) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] -*CatalogDeploymentsAPI* | [**CatalogDeploymentsTasksRetrieve**](docs/CatalogDeploymentsAPI.md#catalogdeploymentstasksretrieve) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/{id}/ | 🚧 [Beta Feature] -*CatalogDeploymentsAPI* | [**CatalogDeploymentsUpdate**](docs/CatalogDeploymentsAPI.md#catalogdeploymentsupdate) | **Put** /v1/catalog/deployments/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogExperiencesNotesCreate**](docs/CatalogDeploymentsAPI.md#catalogexperiencesnotescreate) | **Post** /v1/catalog/experiences/{experience_id}/notes/ | -*CatalogDeploymentsAPI* | [**CatalogExperiencesNotesDestroy**](docs/CatalogDeploymentsAPI.md#catalogexperiencesnotesdestroy) | **Delete** /v1/catalog/experiences/{experience_id}/notes/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogExperiencesNotesList**](docs/CatalogDeploymentsAPI.md#catalogexperiencesnoteslist) | **Get** /v1/catalog/experiences/{experience_id}/notes/ | -*CatalogDeploymentsAPI* | [**CatalogExperiencesNotesPartialUpdate**](docs/CatalogDeploymentsAPI.md#catalogexperiencesnotespartialupdate) | **Patch** /v1/catalog/experiences/{experience_id}/notes/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogExperiencesNotesRetrieve**](docs/CatalogDeploymentsAPI.md#catalogexperiencesnotesretrieve) | **Get** /v1/catalog/experiences/{experience_id}/notes/{id}/ | -*CatalogDeploymentsAPI* | [**CatalogExperiencesNotesUpdate**](docs/CatalogDeploymentsAPI.md#catalogexperiencesnotesupdate) | **Put** /v1/catalog/experiences/{experience_id}/notes/{id}/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesBulkCreate**](docs/CatalogExperiencesAPI.md#catalogexperiencesbulkcreate) | **Post** /v1/catalog/experiences/bulk/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesBulkPartialUpdate**](docs/CatalogExperiencesAPI.md#catalogexperiencesbulkpartialupdate) | **Patch** /v1/catalog/experiences/bulk/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesCreate**](docs/CatalogExperiencesAPI.md#catalogexperiencescreate) | **Post** /v1/catalog/experiences/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesDestroy**](docs/CatalogExperiencesAPI.md#catalogexperiencesdestroy) | **Delete** /v1/catalog/experiences/{id}/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesHistoryList**](docs/CatalogExperiencesAPI.md#catalogexperienceshistorylist) | **Get** /v1/catalog/experiences/{id}/history/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesList**](docs/CatalogExperiencesAPI.md#catalogexperienceslist) | **Get** /v1/catalog/experiences/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesPartialUpdate**](docs/CatalogExperiencesAPI.md#catalogexperiencespartialupdate) | **Patch** /v1/catalog/experiences/{id}/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesRetrieve**](docs/CatalogExperiencesAPI.md#catalogexperiencesretrieve) | **Get** /v1/catalog/experiences/{id}/ | -*CatalogExperiencesAPI* | [**CatalogExperiencesStatsRetrieve**](docs/CatalogExperiencesAPI.md#catalogexperiencesstatsretrieve) | **Get** /v1/catalog/experiences/stats/ | 🚧 [Beta Feature] -*CatalogExperiencesAPI* | [**CatalogExperiencesUpdate**](docs/CatalogExperiencesAPI.md#catalogexperiencesupdate) | **Put** /v1/catalog/experiences/{id}/ | -*CatalogGpuOsChoicesAPI* | [**CatalogGpuOsChoicesCreate**](docs/CatalogGpuOsChoicesAPI.md#cataloggpuoschoicescreate) | **Post** /v1/catalog/gpu-os-choices/ | -*CatalogGpuOsChoicesAPI* | [**CatalogGpuOsChoicesList**](docs/CatalogGpuOsChoicesAPI.md#cataloggpuoschoiceslist) | **Get** /v1/catalog/gpu-os-choices/ | -*CatalogInstanceTypesAPI* | [**CatalogInstanceTypesList**](docs/CatalogInstanceTypesAPI.md#cataloginstancetypeslist) | **Get** /v1/catalog/instance-types/ | -*CatalogPersonaChoicesAPI* | [**CatalogPersonaChoicesCreate**](docs/CatalogPersonaChoicesAPI.md#catalogpersonachoicescreate) | **Post** /v1/catalog/persona-choices/ | -*CatalogPersonaChoicesAPI* | [**CatalogPersonaChoicesList**](docs/CatalogPersonaChoicesAPI.md#catalogpersonachoiceslist) | **Get** /v1/catalog/persona-choices/ | -*IdentityProfileAPI* | [**IdentityProfilePartialUpdate**](docs/IdentityProfileAPI.md#identityprofilepartialupdate) | **Patch** /v1/identity/profile/ | -*IdentityProfileAPI* | [**IdentityProfileRetrieve**](docs/IdentityProfileAPI.md#identityprofileretrieve) | **Get** /v1/identity/profile/ | -*InventoryClustersAPI* | [**InventoryClustersBulkPartialUpdate**](docs/InventoryClustersAPI.md#inventoryclustersbulkpartialupdate) | **Patch** /v1/inventory/clusters/bulk/ | -*InventoryClustersAPI* | [**InventoryClustersCreate**](docs/InventoryClustersAPI.md#inventoryclusterscreate) | **Post** /v1/inventory/clusters/ | -*InventoryClustersAPI* | [**InventoryClustersDestroy**](docs/InventoryClustersAPI.md#inventoryclustersdestroy) | **Delete** /v1/inventory/clusters/{id}/ | -*InventoryClustersAPI* | [**InventoryClustersHistoryList**](docs/InventoryClustersAPI.md#inventoryclustershistorylist) | **Get** /v1/inventory/clusters/{id}/history/ | -*InventoryClustersAPI* | [**InventoryClustersList**](docs/InventoryClustersAPI.md#inventoryclusterslist) | **Get** /v1/inventory/clusters/ | -*InventoryClustersAPI* | [**InventoryClustersPartialUpdate**](docs/InventoryClustersAPI.md#inventoryclusterspartialupdate) | **Patch** /v1/inventory/clusters/{id}/ | -*InventoryClustersAPI* | [**InventoryClustersRetrieve**](docs/InventoryClustersAPI.md#inventoryclustersretrieve) | **Get** /v1/inventory/clusters/{id}/ | -*InventoryClustersAPI* | [**InventoryClustersStatsRetrieve**](docs/InventoryClustersAPI.md#inventoryclustersstatsretrieve) | **Get** /v1/inventory/clusters/stats/ | 🚧 [Beta Feature] -*InventoryClustersAPI* | [**InventoryClustersTenantsCreate**](docs/InventoryClustersAPI.md#inventoryclusterstenantscreate) | **Post** /v1/inventory/clusters/{cluster_id}/tenants/ | -*InventoryClustersAPI* | [**InventoryClustersTenantsDestroy**](docs/InventoryClustersAPI.md#inventoryclusterstenantsdestroy) | **Delete** /v1/inventory/clusters/{cluster_id}/tenants/{id}/ | -*InventoryClustersAPI* | [**InventoryClustersUpdate**](docs/InventoryClustersAPI.md#inventoryclustersupdate) | **Put** /v1/inventory/clusters/{id}/ | -*InventoryGpusAPI* | [**InventoryGpusBulkPartialUpdate**](docs/InventoryGpusAPI.md#inventorygpusbulkpartialupdate) | **Patch** /v1/inventory/gpus/bulk/ | -*InventoryGpusAPI* | [**InventoryGpusCreate**](docs/InventoryGpusAPI.md#inventorygpuscreate) | **Post** /v1/inventory/gpus/ | -*InventoryGpusAPI* | [**InventoryGpusDestroy**](docs/InventoryGpusAPI.md#inventorygpusdestroy) | **Delete** /v1/inventory/gpus/{id}/ | -*InventoryGpusAPI* | [**InventoryGpusHistoryList**](docs/InventoryGpusAPI.md#inventorygpushistorylist) | **Get** /v1/inventory/gpus/{id}/history/ | -*InventoryGpusAPI* | [**InventoryGpusList**](docs/InventoryGpusAPI.md#inventorygpuslist) | **Get** /v1/inventory/gpus/ | -*InventoryGpusAPI* | [**InventoryGpusPartialUpdate**](docs/InventoryGpusAPI.md#inventorygpuspartialupdate) | **Patch** /v1/inventory/gpus/{id}/ | -*InventoryGpusAPI* | [**InventoryGpusRetrieve**](docs/InventoryGpusAPI.md#inventorygpusretrieve) | **Get** /v1/inventory/gpus/{id}/ | -*InventoryGpusAPI* | [**InventoryGpusStatsRetrieve**](docs/InventoryGpusAPI.md#inventorygpusstatsretrieve) | **Get** /v1/inventory/gpus/stats/ | 🚧 [Beta Feature] -*InventoryGpusAPI* | [**InventoryGpusUpdate**](docs/InventoryGpusAPI.md#inventorygpusupdate) | **Put** /v1/inventory/gpus/{id}/ | -*InventoryInstancesAPI* | [**InventoryInstancesBulkPartialUpdate**](docs/InventoryInstancesAPI.md#inventoryinstancesbulkpartialupdate) | **Patch** /v1/inventory/instances/bulk/ | 🚧 [Beta Feature] -*InventoryInstancesAPI* | [**InventoryInstancesCreate**](docs/InventoryInstancesAPI.md#inventoryinstancescreate) | **Post** /v1/inventory/instances/ | 🚧 [Beta Feature] -*InventoryInstancesAPI* | [**InventoryInstancesDestroy**](docs/InventoryInstancesAPI.md#inventoryinstancesdestroy) | **Delete** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -*InventoryInstancesAPI* | [**InventoryInstancesHistoryList**](docs/InventoryInstancesAPI.md#inventoryinstanceshistorylist) | **Get** /v1/inventory/instances/{id}/history/ | 🚧 [Beta Feature] -*InventoryInstancesAPI* | [**InventoryInstancesList**](docs/InventoryInstancesAPI.md#inventoryinstanceslist) | **Get** /v1/inventory/instances/ | 🚧 [Beta Feature] -*InventoryInstancesAPI* | [**InventoryInstancesPartialUpdate**](docs/InventoryInstancesAPI.md#inventoryinstancespartialupdate) | **Patch** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -*InventoryInstancesAPI* | [**InventoryInstancesRetrieve**](docs/InventoryInstancesAPI.md#inventoryinstancesretrieve) | **Get** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -*InventoryInstancesAPI* | [**InventoryInstancesUpdate**](docs/InventoryInstancesAPI.md#inventoryinstancesupdate) | **Put** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -*InventoryLocationsAPI* | [**InventoryLocationsCreate**](docs/InventoryLocationsAPI.md#inventorylocationscreate) | **Post** /v1/inventory/locations/ | -*InventoryLocationsAPI* | [**InventoryLocationsDestroy**](docs/InventoryLocationsAPI.md#inventorylocationsdestroy) | **Delete** /v1/inventory/locations/{id}/ | -*InventoryLocationsAPI* | [**InventoryLocationsHistoryList**](docs/InventoryLocationsAPI.md#inventorylocationshistorylist) | **Get** /v1/inventory/locations/{id}/history/ | -*InventoryLocationsAPI* | [**InventoryLocationsList**](docs/InventoryLocationsAPI.md#inventorylocationslist) | **Get** /v1/inventory/locations/ | -*InventoryLocationsAPI* | [**InventoryLocationsPartialUpdate**](docs/InventoryLocationsAPI.md#inventorylocationspartialupdate) | **Patch** /v1/inventory/locations/{id}/ | -*InventoryLocationsAPI* | [**InventoryLocationsRetrieve**](docs/InventoryLocationsAPI.md#inventorylocationsretrieve) | **Get** /v1/inventory/locations/{id}/ | -*InventoryLocationsAPI* | [**InventoryLocationsUpdate**](docs/InventoryLocationsAPI.md#inventorylocationsupdate) | **Put** /v1/inventory/locations/{id}/ | -*InventoryNodesAPI* | [**InventoryNodesBulkCreate**](docs/InventoryNodesAPI.md#inventorynodesbulkcreate) | **Post** /v1/inventory/nodes/bulk/ | -*InventoryNodesAPI* | [**InventoryNodesBulkPartialUpdate**](docs/InventoryNodesAPI.md#inventorynodesbulkpartialupdate) | **Patch** /v1/inventory/nodes/bulk/ | -*InventoryNodesAPI* | [**InventoryNodesCreate**](docs/InventoryNodesAPI.md#inventorynodescreate) | **Post** /v1/inventory/nodes/ | -*InventoryNodesAPI* | [**InventoryNodesDestroy**](docs/InventoryNodesAPI.md#inventorynodesdestroy) | **Delete** /v1/inventory/nodes/{id}/ | -*InventoryNodesAPI* | [**InventoryNodesHistoryList**](docs/InventoryNodesAPI.md#inventorynodeshistorylist) | **Get** /v1/inventory/nodes/{id}/history/ | -*InventoryNodesAPI* | [**InventoryNodesList**](docs/InventoryNodesAPI.md#inventorynodeslist) | **Get** /v1/inventory/nodes/ | -*InventoryNodesAPI* | [**InventoryNodesPartialUpdate**](docs/InventoryNodesAPI.md#inventorynodespartialupdate) | **Patch** /v1/inventory/nodes/{id}/ | -*InventoryNodesAPI* | [**InventoryNodesRetrieve**](docs/InventoryNodesAPI.md#inventorynodesretrieve) | **Get** /v1/inventory/nodes/{id}/ | -*InventoryNodesAPI* | [**InventoryNodesUpdate**](docs/InventoryNodesAPI.md#inventorynodesupdate) | **Put** /v1/inventory/nodes/{id}/ | -*InventoryOemsAPI* | [**InventoryOemsCreate**](docs/InventoryOemsAPI.md#inventoryoemscreate) | **Post** /v1/inventory/oems/ | -*InventoryOemsAPI* | [**InventoryOemsDestroy**](docs/InventoryOemsAPI.md#inventoryoemsdestroy) | **Delete** /v1/inventory/oems/{id}/ | -*InventoryOemsAPI* | [**InventoryOemsHistoryList**](docs/InventoryOemsAPI.md#inventoryoemshistorylist) | **Get** /v1/inventory/oems/{id}/history/ | -*InventoryOemsAPI* | [**InventoryOemsList**](docs/InventoryOemsAPI.md#inventoryoemslist) | **Get** /v1/inventory/oems/ | -*InventoryOemsAPI* | [**InventoryOemsPartialUpdate**](docs/InventoryOemsAPI.md#inventoryoemspartialupdate) | **Patch** /v1/inventory/oems/{id}/ | -*InventoryOemsAPI* | [**InventoryOemsRetrieve**](docs/InventoryOemsAPI.md#inventoryoemsretrieve) | **Get** /v1/inventory/oems/{id}/ | -*InventoryOemsAPI* | [**InventoryOemsUpdate**](docs/InventoryOemsAPI.md#inventoryoemsupdate) | **Put** /v1/inventory/oems/{id}/ | -*InventoryProvidersAPI* | [**InventoryProvidersBulkPartialUpdate**](docs/InventoryProvidersAPI.md#inventoryprovidersbulkpartialupdate) | **Patch** /v1/inventory/providers/bulk/ | -*InventoryProvidersAPI* | [**InventoryProvidersCreate**](docs/InventoryProvidersAPI.md#inventoryproviderscreate) | **Post** /v1/inventory/providers/ | -*InventoryProvidersAPI* | [**InventoryProvidersDestroy**](docs/InventoryProvidersAPI.md#inventoryprovidersdestroy) | **Delete** /v1/inventory/providers/{id}/ | -*InventoryProvidersAPI* | [**InventoryProvidersHistoryList**](docs/InventoryProvidersAPI.md#inventoryprovidershistorylist) | **Get** /v1/inventory/providers/{id}/history/ | -*InventoryProvidersAPI* | [**InventoryProvidersList**](docs/InventoryProvidersAPI.md#inventoryproviderslist) | **Get** /v1/inventory/providers/ | -*InventoryProvidersAPI* | [**InventoryProvidersPartialUpdate**](docs/InventoryProvidersAPI.md#inventoryproviderspartialupdate) | **Patch** /v1/inventory/providers/{id}/ | -*InventoryProvidersAPI* | [**InventoryProvidersRetrieve**](docs/InventoryProvidersAPI.md#inventoryprovidersretrieve) | **Get** /v1/inventory/providers/{id}/ | -*InventoryProvidersAPI* | [**InventoryProvidersStatsRetrieve**](docs/InventoryProvidersAPI.md#inventoryprovidersstatsretrieve) | **Get** /v1/inventory/providers/stats/ | 🚧 [Beta Feature] -*InventoryProvidersAPI* | [**InventoryProvidersUpdate**](docs/InventoryProvidersAPI.md#inventoryprovidersupdate) | **Put** /v1/inventory/providers/{id}/ | +*AuthAPI* | [**V1AuthLoginCreate**](docs/AuthAPI.md#v1authlogincreate) | **Post** /v1/auth/login/ | +*AuthAPI* | [**V1AuthLogoutCreate**](docs/AuthAPI.md#v1authlogoutcreate) | **Post** /v1/auth/logout/ | +*AuthAPI* | [**V1AuthPasswordChangeCreate**](docs/AuthAPI.md#v1authpasswordchangecreate) | **Post** /v1/auth/password-change/ | +*AuthAPI* | [**V1AuthRedirectRetrieve**](docs/AuthAPI.md#v1authredirectretrieve) | **Get** /v1/auth/redirect/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsBulkPartialUpdate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsbulkpartialupdate) | **Patch** /v1/catalog/deployments/bulk/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsCreate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentscreate) | **Post** /v1/catalog/deployments/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsDestroy**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsdestroy) | **Delete** /v1/catalog/deployments/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsHistoryList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentshistorylist) | **Get** /v1/catalog/deployments/{id}/history/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsInstancesList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsinstanceslist) | **Get** /v1/catalog/deployments/{deployment_id}/instances/ | 🚧 [Beta Feature] +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentslist) | **Get** /v1/catalog/deployments/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsNotesCreate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsnotescreate) | **Post** /v1/catalog/deployments/{deployment_id}/notes/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsNotesDestroy**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsnotesdestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsNotesList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsnoteslist) | **Get** /v1/catalog/deployments/{deployment_id}/notes/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsNotesPartialUpdate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsnotespartialupdate) | **Patch** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsNotesRetrieve**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsnotesretrieve) | **Get** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsNotesUpdate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsnotesupdate) | **Put** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsPartialUpdate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentspartialupdate) | **Patch** /v1/catalog/deployments/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsPipelinesCreate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentspipelinescreate) | **Post** /v1/catalog/deployments/{deployment_id}/pipelines/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsPipelinesList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentspipelineslist) | **Get** /v1/catalog/deployments/{deployment_id}/pipelines/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsRetrieve**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsretrieve) | **Get** /v1/catalog/deployments/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsServicesCreate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsservicescreate) | **Post** /v1/catalog/deployments/{deployment_id}/services/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsServicesList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsserviceslist) | **Get** /v1/catalog/deployments/{deployment_id}/services/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsSshKeysCreate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentssshkeyscreate) | **Post** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsSshKeysDestroy**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentssshkeysdestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsSshKeysList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentssshkeyslist) | **Get** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsStatsRetrieve**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsstatsretrieve) | **Get** /v1/catalog/deployments/stats/ | 🚧 [Beta Feature] +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsTasksCreate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentstaskscreate) | **Post** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsTasksList**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentstaskslist) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsTasksRetrieve**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentstasksretrieve) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/{id}/ | 🚧 [Beta Feature] +*CatalogDeploymentsAPI* | [**V1CatalogDeploymentsUpdate**](docs/CatalogDeploymentsAPI.md#v1catalogdeploymentsupdate) | **Put** /v1/catalog/deployments/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogExperiencesNotesCreate**](docs/CatalogDeploymentsAPI.md#v1catalogexperiencesnotescreate) | **Post** /v1/catalog/experiences/{experience_id}/notes/ | +*CatalogDeploymentsAPI* | [**V1CatalogExperiencesNotesDestroy**](docs/CatalogDeploymentsAPI.md#v1catalogexperiencesnotesdestroy) | **Delete** /v1/catalog/experiences/{experience_id}/notes/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogExperiencesNotesList**](docs/CatalogDeploymentsAPI.md#v1catalogexperiencesnoteslist) | **Get** /v1/catalog/experiences/{experience_id}/notes/ | +*CatalogDeploymentsAPI* | [**V1CatalogExperiencesNotesPartialUpdate**](docs/CatalogDeploymentsAPI.md#v1catalogexperiencesnotespartialupdate) | **Patch** /v1/catalog/experiences/{experience_id}/notes/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogExperiencesNotesRetrieve**](docs/CatalogDeploymentsAPI.md#v1catalogexperiencesnotesretrieve) | **Get** /v1/catalog/experiences/{experience_id}/notes/{id}/ | +*CatalogDeploymentsAPI* | [**V1CatalogExperiencesNotesUpdate**](docs/CatalogDeploymentsAPI.md#v1catalogexperiencesnotesupdate) | **Put** /v1/catalog/experiences/{experience_id}/notes/{id}/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesBulkCreate**](docs/CatalogExperiencesAPI.md#v1catalogexperiencesbulkcreate) | **Post** /v1/catalog/experiences/bulk/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesBulkPartialUpdate**](docs/CatalogExperiencesAPI.md#v1catalogexperiencesbulkpartialupdate) | **Patch** /v1/catalog/experiences/bulk/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesCreate**](docs/CatalogExperiencesAPI.md#v1catalogexperiencescreate) | **Post** /v1/catalog/experiences/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesDestroy**](docs/CatalogExperiencesAPI.md#v1catalogexperiencesdestroy) | **Delete** /v1/catalog/experiences/{id}/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesHistoryList**](docs/CatalogExperiencesAPI.md#v1catalogexperienceshistorylist) | **Get** /v1/catalog/experiences/{id}/history/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesList**](docs/CatalogExperiencesAPI.md#v1catalogexperienceslist) | **Get** /v1/catalog/experiences/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesPartialUpdate**](docs/CatalogExperiencesAPI.md#v1catalogexperiencespartialupdate) | **Patch** /v1/catalog/experiences/{id}/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesRetrieve**](docs/CatalogExperiencesAPI.md#v1catalogexperiencesretrieve) | **Get** /v1/catalog/experiences/{id}/ | +*CatalogExperiencesAPI* | [**V1CatalogExperiencesStatsRetrieve**](docs/CatalogExperiencesAPI.md#v1catalogexperiencesstatsretrieve) | **Get** /v1/catalog/experiences/stats/ | 🚧 [Beta Feature] +*CatalogExperiencesAPI* | [**V1CatalogExperiencesUpdate**](docs/CatalogExperiencesAPI.md#v1catalogexperiencesupdate) | **Put** /v1/catalog/experiences/{id}/ | +*CatalogGpuOsChoicesAPI* | [**V1CatalogGpuOsChoicesCreate**](docs/CatalogGpuOsChoicesAPI.md#v1cataloggpuoschoicescreate) | **Post** /v1/catalog/gpu-os-choices/ | +*CatalogGpuOsChoicesAPI* | [**V1CatalogGpuOsChoicesList**](docs/CatalogGpuOsChoicesAPI.md#v1cataloggpuoschoiceslist) | **Get** /v1/catalog/gpu-os-choices/ | +*CatalogInstanceTypesAPI* | [**V1CatalogInstanceTypesList**](docs/CatalogInstanceTypesAPI.md#v1cataloginstancetypeslist) | **Get** /v1/catalog/instance-types/ | +*CatalogPersonaChoicesAPI* | [**V1CatalogPersonaChoicesCreate**](docs/CatalogPersonaChoicesAPI.md#v1catalogpersonachoicescreate) | **Post** /v1/catalog/persona-choices/ | +*CatalogPersonaChoicesAPI* | [**V1CatalogPersonaChoicesList**](docs/CatalogPersonaChoicesAPI.md#v1catalogpersonachoiceslist) | **Get** /v1/catalog/persona-choices/ | +*CatalogRuntimesAPI* | [**V1CatalogRuntimesCreate**](docs/CatalogRuntimesAPI.md#v1catalogruntimescreate) | **Post** /v1/catalog/runtimes/ | +*CatalogRuntimesAPI* | [**V1CatalogRuntimesDestroy**](docs/CatalogRuntimesAPI.md#v1catalogruntimesdestroy) | **Delete** /v1/catalog/runtimes/{id}/ | +*CatalogRuntimesAPI* | [**V1CatalogRuntimesHistoryList**](docs/CatalogRuntimesAPI.md#v1catalogruntimeshistorylist) | **Get** /v1/catalog/runtimes/{id}/history/ | +*CatalogRuntimesAPI* | [**V1CatalogRuntimesList**](docs/CatalogRuntimesAPI.md#v1catalogruntimeslist) | **Get** /v1/catalog/runtimes/ | +*CatalogRuntimesAPI* | [**V1CatalogRuntimesPartialUpdate**](docs/CatalogRuntimesAPI.md#v1catalogruntimespartialupdate) | **Patch** /v1/catalog/runtimes/{id}/ | +*CatalogRuntimesAPI* | [**V1CatalogRuntimesRetrieve**](docs/CatalogRuntimesAPI.md#v1catalogruntimesretrieve) | **Get** /v1/catalog/runtimes/{id}/ | +*CatalogRuntimesAPI* | [**V1CatalogRuntimesUpdate**](docs/CatalogRuntimesAPI.md#v1catalogruntimesupdate) | **Put** /v1/catalog/runtimes/{id}/ | +*HealthAPI* | [**HealthRetrieve**](docs/HealthAPI.md#healthretrieve) | **Get** /health/ | +*IdentityProfileAPI* | [**V1IdentityProfilePartialUpdate**](docs/IdentityProfileAPI.md#v1identityprofilepartialupdate) | **Patch** /v1/identity/profile/ | +*IdentityProfileAPI* | [**V1IdentityProfileRetrieve**](docs/IdentityProfileAPI.md#v1identityprofileretrieve) | **Get** /v1/identity/profile/ | +*InventoryClustersAPI* | [**V1InventoryClustersBulkPartialUpdate**](docs/InventoryClustersAPI.md#v1inventoryclustersbulkpartialupdate) | **Patch** /v1/inventory/clusters/bulk/ | +*InventoryClustersAPI* | [**V1InventoryClustersCreate**](docs/InventoryClustersAPI.md#v1inventoryclusterscreate) | **Post** /v1/inventory/clusters/ | +*InventoryClustersAPI* | [**V1InventoryClustersDestroy**](docs/InventoryClustersAPI.md#v1inventoryclustersdestroy) | **Delete** /v1/inventory/clusters/{id}/ | +*InventoryClustersAPI* | [**V1InventoryClustersHistoryList**](docs/InventoryClustersAPI.md#v1inventoryclustershistorylist) | **Get** /v1/inventory/clusters/{id}/history/ | +*InventoryClustersAPI* | [**V1InventoryClustersList**](docs/InventoryClustersAPI.md#v1inventoryclusterslist) | **Get** /v1/inventory/clusters/ | +*InventoryClustersAPI* | [**V1InventoryClustersPartialUpdate**](docs/InventoryClustersAPI.md#v1inventoryclusterspartialupdate) | **Patch** /v1/inventory/clusters/{id}/ | +*InventoryClustersAPI* | [**V1InventoryClustersPipelinesTriggerCreate**](docs/InventoryClustersAPI.md#v1inventoryclusterspipelinestriggercreate) | **Post** /v1/inventory/clusters/{id}/pipelines/trigger/ | +*InventoryClustersAPI* | [**V1InventoryClustersProvisionCreate**](docs/InventoryClustersAPI.md#v1inventoryclustersprovisioncreate) | **Post** /v1/inventory/clusters/provision/ | +*InventoryClustersAPI* | [**V1InventoryClustersProvisionDestroy**](docs/InventoryClustersAPI.md#v1inventoryclustersprovisiondestroy) | **Delete** /v1/inventory/clusters/{id}/provision/ | +*InventoryClustersAPI* | [**V1InventoryClustersProvisionPartialUpdate**](docs/InventoryClustersAPI.md#v1inventoryclustersprovisionpartialupdate) | **Patch** /v1/inventory/clusters/{id}/provision/ | +*InventoryClustersAPI* | [**V1InventoryClustersRetrieve**](docs/InventoryClustersAPI.md#v1inventoryclustersretrieve) | **Get** /v1/inventory/clusters/{id}/ | +*InventoryClustersAPI* | [**V1InventoryClustersStatsRetrieve**](docs/InventoryClustersAPI.md#v1inventoryclustersstatsretrieve) | **Get** /v1/inventory/clusters/stats/ | 🚧 [Beta Feature] +*InventoryClustersAPI* | [**V1InventoryClustersTenantsCreate**](docs/InventoryClustersAPI.md#v1inventoryclusterstenantscreate) | **Post** /v1/inventory/clusters/{cluster_id}/tenants/ | +*InventoryClustersAPI* | [**V1InventoryClustersTenantsDestroy**](docs/InventoryClustersAPI.md#v1inventoryclusterstenantsdestroy) | **Delete** /v1/inventory/clusters/{cluster_id}/tenants/{id}/ | +*InventoryClustersAPI* | [**V1InventoryClustersUpdate**](docs/InventoryClustersAPI.md#v1inventoryclustersupdate) | **Put** /v1/inventory/clusters/{id}/ | +*InventoryGpusAPI* | [**V1InventoryGpusBulkPartialUpdate**](docs/InventoryGpusAPI.md#v1inventorygpusbulkpartialupdate) | **Patch** /v1/inventory/gpus/bulk/ | +*InventoryGpusAPI* | [**V1InventoryGpusCreate**](docs/InventoryGpusAPI.md#v1inventorygpuscreate) | **Post** /v1/inventory/gpus/ | +*InventoryGpusAPI* | [**V1InventoryGpusDestroy**](docs/InventoryGpusAPI.md#v1inventorygpusdestroy) | **Delete** /v1/inventory/gpus/{id}/ | +*InventoryGpusAPI* | [**V1InventoryGpusHistoryList**](docs/InventoryGpusAPI.md#v1inventorygpushistorylist) | **Get** /v1/inventory/gpus/{id}/history/ | +*InventoryGpusAPI* | [**V1InventoryGpusList**](docs/InventoryGpusAPI.md#v1inventorygpuslist) | **Get** /v1/inventory/gpus/ | +*InventoryGpusAPI* | [**V1InventoryGpusPartialUpdate**](docs/InventoryGpusAPI.md#v1inventorygpuspartialupdate) | **Patch** /v1/inventory/gpus/{id}/ | +*InventoryGpusAPI* | [**V1InventoryGpusRetrieve**](docs/InventoryGpusAPI.md#v1inventorygpusretrieve) | **Get** /v1/inventory/gpus/{id}/ | +*InventoryGpusAPI* | [**V1InventoryGpusStatsRetrieve**](docs/InventoryGpusAPI.md#v1inventorygpusstatsretrieve) | **Get** /v1/inventory/gpus/stats/ | 🚧 [Beta Feature] +*InventoryGpusAPI* | [**V1InventoryGpusUpdate**](docs/InventoryGpusAPI.md#v1inventorygpusupdate) | **Put** /v1/inventory/gpus/{id}/ | +*InventoryInstancesAPI* | [**V1InventoryInstancesBulkPartialUpdate**](docs/InventoryInstancesAPI.md#v1inventoryinstancesbulkpartialupdate) | **Patch** /v1/inventory/instances/bulk/ | 🚧 [Beta Feature] +*InventoryInstancesAPI* | [**V1InventoryInstancesCreate**](docs/InventoryInstancesAPI.md#v1inventoryinstancescreate) | **Post** /v1/inventory/instances/ | 🚧 [Beta Feature] +*InventoryInstancesAPI* | [**V1InventoryInstancesDestroy**](docs/InventoryInstancesAPI.md#v1inventoryinstancesdestroy) | **Delete** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +*InventoryInstancesAPI* | [**V1InventoryInstancesHistoryList**](docs/InventoryInstancesAPI.md#v1inventoryinstanceshistorylist) | **Get** /v1/inventory/instances/{id}/history/ | 🚧 [Beta Feature] +*InventoryInstancesAPI* | [**V1InventoryInstancesList**](docs/InventoryInstancesAPI.md#v1inventoryinstanceslist) | **Get** /v1/inventory/instances/ | 🚧 [Beta Feature] +*InventoryInstancesAPI* | [**V1InventoryInstancesPartialUpdate**](docs/InventoryInstancesAPI.md#v1inventoryinstancespartialupdate) | **Patch** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +*InventoryInstancesAPI* | [**V1InventoryInstancesRetrieve**](docs/InventoryInstancesAPI.md#v1inventoryinstancesretrieve) | **Get** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +*InventoryInstancesAPI* | [**V1InventoryInstancesUpdate**](docs/InventoryInstancesAPI.md#v1inventoryinstancesupdate) | **Put** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +*InventoryLocationsAPI* | [**V1InventoryLocationsCreate**](docs/InventoryLocationsAPI.md#v1inventorylocationscreate) | **Post** /v1/inventory/locations/ | +*InventoryLocationsAPI* | [**V1InventoryLocationsDestroy**](docs/InventoryLocationsAPI.md#v1inventorylocationsdestroy) | **Delete** /v1/inventory/locations/{id}/ | +*InventoryLocationsAPI* | [**V1InventoryLocationsHistoryList**](docs/InventoryLocationsAPI.md#v1inventorylocationshistorylist) | **Get** /v1/inventory/locations/{id}/history/ | +*InventoryLocationsAPI* | [**V1InventoryLocationsList**](docs/InventoryLocationsAPI.md#v1inventorylocationslist) | **Get** /v1/inventory/locations/ | +*InventoryLocationsAPI* | [**V1InventoryLocationsPartialUpdate**](docs/InventoryLocationsAPI.md#v1inventorylocationspartialupdate) | **Patch** /v1/inventory/locations/{id}/ | +*InventoryLocationsAPI* | [**V1InventoryLocationsRetrieve**](docs/InventoryLocationsAPI.md#v1inventorylocationsretrieve) | **Get** /v1/inventory/locations/{id}/ | +*InventoryLocationsAPI* | [**V1InventoryLocationsUpdate**](docs/InventoryLocationsAPI.md#v1inventorylocationsupdate) | **Put** /v1/inventory/locations/{id}/ | +*InventoryNodesAPI* | [**V1InventoryNodesBulkCreate**](docs/InventoryNodesAPI.md#v1inventorynodesbulkcreate) | **Post** /v1/inventory/nodes/bulk/ | +*InventoryNodesAPI* | [**V1InventoryNodesBulkPartialUpdate**](docs/InventoryNodesAPI.md#v1inventorynodesbulkpartialupdate) | **Patch** /v1/inventory/nodes/bulk/ | +*InventoryNodesAPI* | [**V1InventoryNodesCreate**](docs/InventoryNodesAPI.md#v1inventorynodescreate) | **Post** /v1/inventory/nodes/ | +*InventoryNodesAPI* | [**V1InventoryNodesDestroy**](docs/InventoryNodesAPI.md#v1inventorynodesdestroy) | **Delete** /v1/inventory/nodes/{id}/ | +*InventoryNodesAPI* | [**V1InventoryNodesHistoryList**](docs/InventoryNodesAPI.md#v1inventorynodeshistorylist) | **Get** /v1/inventory/nodes/{id}/history/ | +*InventoryNodesAPI* | [**V1InventoryNodesList**](docs/InventoryNodesAPI.md#v1inventorynodeslist) | **Get** /v1/inventory/nodes/ | +*InventoryNodesAPI* | [**V1InventoryNodesPartialUpdate**](docs/InventoryNodesAPI.md#v1inventorynodespartialupdate) | **Patch** /v1/inventory/nodes/{id}/ | +*InventoryNodesAPI* | [**V1InventoryNodesRetrieve**](docs/InventoryNodesAPI.md#v1inventorynodesretrieve) | **Get** /v1/inventory/nodes/{id}/ | +*InventoryNodesAPI* | [**V1InventoryNodesUpdate**](docs/InventoryNodesAPI.md#v1inventorynodesupdate) | **Put** /v1/inventory/nodes/{id}/ | +*InventoryOemsAPI* | [**V1InventoryOemsCreate**](docs/InventoryOemsAPI.md#v1inventoryoemscreate) | **Post** /v1/inventory/oems/ | +*InventoryOemsAPI* | [**V1InventoryOemsDestroy**](docs/InventoryOemsAPI.md#v1inventoryoemsdestroy) | **Delete** /v1/inventory/oems/{id}/ | +*InventoryOemsAPI* | [**V1InventoryOemsHistoryList**](docs/InventoryOemsAPI.md#v1inventoryoemshistorylist) | **Get** /v1/inventory/oems/{id}/history/ | +*InventoryOemsAPI* | [**V1InventoryOemsList**](docs/InventoryOemsAPI.md#v1inventoryoemslist) | **Get** /v1/inventory/oems/ | +*InventoryOemsAPI* | [**V1InventoryOemsPartialUpdate**](docs/InventoryOemsAPI.md#v1inventoryoemspartialupdate) | **Patch** /v1/inventory/oems/{id}/ | +*InventoryOemsAPI* | [**V1InventoryOemsRetrieve**](docs/InventoryOemsAPI.md#v1inventoryoemsretrieve) | **Get** /v1/inventory/oems/{id}/ | +*InventoryOemsAPI* | [**V1InventoryOemsUpdate**](docs/InventoryOemsAPI.md#v1inventoryoemsupdate) | **Put** /v1/inventory/oems/{id}/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersBulkPartialUpdate**](docs/InventoryProvidersAPI.md#v1inventoryprovidersbulkpartialupdate) | **Patch** /v1/inventory/providers/bulk/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersCreate**](docs/InventoryProvidersAPI.md#v1inventoryproviderscreate) | **Post** /v1/inventory/providers/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersDestroy**](docs/InventoryProvidersAPI.md#v1inventoryprovidersdestroy) | **Delete** /v1/inventory/providers/{id}/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersHistoryList**](docs/InventoryProvidersAPI.md#v1inventoryprovidershistorylist) | **Get** /v1/inventory/providers/{id}/history/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersList**](docs/InventoryProvidersAPI.md#v1inventoryproviderslist) | **Get** /v1/inventory/providers/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersPartialUpdate**](docs/InventoryProvidersAPI.md#v1inventoryproviderspartialupdate) | **Patch** /v1/inventory/providers/{id}/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersRetrieve**](docs/InventoryProvidersAPI.md#v1inventoryprovidersretrieve) | **Get** /v1/inventory/providers/{id}/ | +*InventoryProvidersAPI* | [**V1InventoryProvidersStatsRetrieve**](docs/InventoryProvidersAPI.md#v1inventoryprovidersstatsretrieve) | **Get** /v1/inventory/providers/stats/ | 🚧 [Beta Feature] +*InventoryProvidersAPI* | [**V1InventoryProvidersUpdate**](docs/InventoryProvidersAPI.md#v1inventoryprovidersupdate) | **Put** /v1/inventory/providers/{id}/ | +*VersionAPI* | [**VersionRetrieve**](docs/VersionAPI.md#versionretrieve) | **Get** /version/ | ## Documentation For Models @@ -206,16 +219,15 @@ Class | Method | HTTP request | Description - [ClusterGpusInner](docs/ClusterGpusInner.md) - [ClusterInstancesInner](docs/ClusterInstancesInner.md) - [ClusterNodesInner](docs/ClusterNodesInner.md) + - [ClusterPipelineTrigger](docs/ClusterPipelineTrigger.md) - [CpuManufacturerEnum](docs/CpuManufacturerEnum.md) - [Deployment](docs/Deployment.md) - [DeploymentBulkUpdate](docs/DeploymentBulkUpdate.md) - [DeploymentCluster](docs/DeploymentCluster.md) - - [DeploymentExperience](docs/DeploymentExperience.md) - [DeploymentInstance](docs/DeploymentInstance.md) - [DeploymentKey](docs/DeploymentKey.md) - [DeploymentNote](docs/DeploymentNote.md) - [DeploymentPipeline](docs/DeploymentPipeline.md) - - [DeploymentPipelineActionEnum](docs/DeploymentPipelineActionEnum.md) - [DeploymentService](docs/DeploymentService.md) - [DeploymentState](docs/DeploymentState.md) - [DeploymentTask](docs/DeploymentTask.md) @@ -226,11 +238,14 @@ Class | Method | HTTP request | Description - [ExperienceBulk](docs/ExperienceBulk.md) - [ExperienceBulkUpdate](docs/ExperienceBulkUpdate.md) - [ExperienceNote](docs/ExperienceNote.md) + - [ExperienceNoteExperience](docs/ExperienceNoteExperience.md) - [FcPlatformEnum](docs/FcPlatformEnum.md) - [Gpu](docs/Gpu.md) - [GpuBulkUpdate](docs/GpuBulkUpdate.md) - [GpuOs](docs/GpuOs.md) - [GpuOsChoice](docs/GpuOsChoice.md) + - [HealthRetrieve200Response](docs/HealthRetrieve200Response.md) + - [HealthRetrieve200ResponseComponents](docs/HealthRetrieve200ResponseComponents.md) - [Instance](docs/Instance.md) - [InstanceBulkUpdate](docs/InstanceBulkUpdate.md) - [InstanceState](docs/InstanceState.md) @@ -252,6 +267,8 @@ Class | Method | HTTP request | Description - [NodeLocation](docs/NodeLocation.md) - [NodeStorage](docs/NodeStorage.md) - [OEM](docs/OEM.md) + - [OnDemandSpeedEnum](docs/OnDemandSpeedEnum.md) + - [Overrides](docs/Overrides.md) - [PaginatedClusterList](docs/PaginatedClusterList.md) - [PaginatedDeploymentInstanceList](docs/PaginatedDeploymentInstanceList.md) - [PaginatedDeploymentKeyList](docs/PaginatedDeploymentKeyList.md) @@ -272,20 +289,25 @@ Class | Method | HTTP request | Description - [PaginatedOEMList](docs/PaginatedOEMList.md) - [PaginatedPersonaChoiceList](docs/PaginatedPersonaChoiceList.md) - [PaginatedProviderList](docs/PaginatedProviderList.md) + - [PaginatedRuntimeList](docs/PaginatedRuntimeList.md) - [PasswordChange](docs/PasswordChange.md) - [PersonaChoice](docs/PersonaChoice.md) + - [PipelineAction](docs/PipelineAction.md) - [PlatformEnum](docs/PlatformEnum.md) - [PreferredThemeEnum](docs/PreferredThemeEnum.md) - [PriorityEnum](docs/PriorityEnum.md) - [Profile](docs/Profile.md) - [Provider](docs/Provider.md) - [ProviderBulkUpdate](docs/ProviderBulkUpdate.md) + - [ProvisioningRequest](docs/ProvisioningRequest.md) - [ProvisioningStateEnum](docs/ProvisioningStateEnum.md) - [PublishedEnum](docs/PublishedEnum.md) + - [Runtime](docs/Runtime.md) - [StatusEnum](docs/StatusEnum.md) - [SystemArchEnum](docs/SystemArchEnum.md) - [Tenant](docs/Tenant.md) - [TypeEnum](docs/TypeEnum.md) + - [VersionRetrieve200Response](docs/VersionRetrieve200Response.md) - [VgpuProfileEnum](docs/VgpuProfileEnum.md) diff --git a/v1/providers/launchpad/gen/launchpad/api/openapi.yaml b/v1/providers/launchpad/gen/launchpad/api/openapi.yaml index 6700a7cf..7de51de3 100644 --- a/v1/providers/launchpad/gen/launchpad/api/openapi.yaml +++ b/v1/providers/launchpad/gen/launchpad/api/openapi.yaml @@ -2,16 +2,53 @@ openapi: 3.1.0 info: description: RESTful API for interacting with the NVIDIA LaunchPad platform title: NVIDIA LaunchPad API - version: 2.36.1 + version: 2.39.5 servers: - url: / paths: + /health/: + get: + operationId: health_retrieve + responses: + "200": + content: + application/json: + examples: + HealthyResponse: + summary: Healthy Response + value: + status: healthy + components: + application: ok + database: ok + schema: + $ref: '#/components/schemas/health_retrieve_200_response' + description: "" + "503": + content: + application/json: + examples: + UnhealthyResponse: + summary: Unhealthy Response + value: + status: unhealthy + components: + application: ok + database: connection failure + schema: + $ref: '#/components/schemas/health_retrieve_200_response' + description: "" + security: + - TokenAuthentication: [] + - {} + tags: + - health /v1/auth/login/: post: description: Login with either an authorization code or username and password (deprecated) to generate an API token that can be used with all other API endpoints. - operationId: auth_login_create + operationId: v1_auth_login_create requestBody: content: application/x-www-form-urlencoded: @@ -48,7 +85,7 @@ paths: post: description: Logout from the current session. Your API token will no longer be usable and must be regenerated via the login API. - operationId: auth_logout_create + operationId: v1_auth_logout_create responses: "200": content: @@ -64,7 +101,7 @@ paths: post: deprecated: true description: Change your current password - operationId: auth_password_change_create + operationId: v1_auth_password_change_create requestBody: content: application/x-www-form-urlencoded: @@ -91,7 +128,7 @@ paths: /v1/auth/redirect/: get: description: Get an HTTP redirect to begin an OAuth login flow. - operationId: auth_redirect_retrieve + operationId: v1_auth_redirect_retrieve parameters: - description: "If \"false\" or unset, receive an HTTP 302 with the OAuth URL\ \ returned in the Location header. If \"true\", receive an HTTP 200 with\ @@ -118,7 +155,7 @@ paths: - auth /v1/catalog/deployments/: get: - operationId: catalog_deployments_list + operationId: v1_catalog_deployments_list parameters: - explode: true in: query @@ -361,36 +398,11 @@ paths: schema: type: string style: form - - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - explode: true + - explode: true in: query name: platform required: false schema: - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - nullable: true type: string style: form - description: |- @@ -447,6 +459,69 @@ paths: schema: type: string style: form + - explode: true + in: query + name: runtime_branch + required: false + schema: + type: string + style: form + - explode: true + in: query + name: runtime_cns_addon_pack + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: runtime_cns_docker + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: runtime_cns_driver_version + required: false + schema: + type: string + style: form + - explode: true + in: query + name: runtime_cns_k8s + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: runtime_cns_nvidia_driver + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: runtime_cns_version + required: false + schema: + type: string + style: form + - explode: true + in: query + name: runtime_mig + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: runtime_mig_profile + required: false + schema: + type: string + style: form - explode: true in: query name: sales_id @@ -468,13 +543,31 @@ paths: schema: type: string style: form - - description: "Search for deployments by bastion_operating_system, collection_branch,\ - \ experience_branch, experience catalog_id, experience catalog_id_alias,\ - \ experience id, experience title, expires_at, flightcontrol_release, garage_id,\ - \ gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version,\ - \ id, oem_name, org_name, persona, pipeline_branch, platform, provider_name,\ - \ region, request_id, requester_email, requester_name, sales_id, sales_owner_email,\ - \ sales_owner_name, services url, state, tags, workshop_id" + - description: "Search for deployments by experience catalog_id, experience\ + \ catalog_id_alias, experience id, experience title, expires_at, id, org_name,\ + \ provisioning_config bastion_operating_system, provisioning_config collection_branch,\ + \ provisioning_config experience_branch, provisioning_config flightcontrol_release,\ + \ provisioning_config garage_id, provisioning_config gc_branch, provisioning_config\ + \ gpu_alias, provisioning_config gpu_model, provisioning_config gpu_os_name,\ + \ provisioning_config gpu_os_release, provisioning_config gpu_os_version,\ + \ provisioning_config oem_name, provisioning_config persona, provisioning_config\ + \ pipeline_branch, provisioning_config platform, provisioning_config provider_name,\ + \ provisioning_config region, provisioning_config runtime_branch, provisioning_config\ + \ runtime_cns_driver_version, provisioning_config runtime_cns_version, provisioning_config\ + \ runtime_mig_profile, provisioning_config runtime_url, provisioning_config\ + \ workshop_id, provisioning_request bastion_operating_system, provisioning_request\ + \ collection_branch, provisioning_request experience_branch, provisioning_request\ + \ flightcontrol_release, provisioning_request garage_id, provisioning_request\ + \ gc_branch, provisioning_request gpu_alias, provisioning_request gpu_model,\ + \ provisioning_request gpu_os_name, provisioning_request gpu_os_release,\ + \ provisioning_request gpu_os_version, provisioning_request oem_name, provisioning_request\ + \ persona, provisioning_request pipeline_branch, provisioning_request platform,\ + \ provisioning_request provider_name, provisioning_request region, provisioning_request\ + \ runtime_branch, provisioning_request runtime_cns_driver_version, provisioning_request\ + \ runtime_cns_version, provisioning_request runtime_mig_profile, provisioning_request\ + \ runtime_url, provisioning_request workshop_id, request_id, requester_email,\ + \ requester_name, sales_id, sales_owner_email, sales_owner_name, services\ + \ url, state, tags" explode: true in: query name: search @@ -517,6 +610,41 @@ paths: type: string type: array style: form + - description: |- + Multiple values may be separated by commas. + + * `destroyed` - Deployment has been fully destroyed + * `destroying` - Deployment is being destroyed + * `error` - Deployment has encountered a fatal error and will not be retried + * `failed` - Deployment has failed but may be retried + * `paused` - Deployment is paused but may be retried later + * `ready` - Deployment is ready and all instances are running + * `retrying` - Deployment is retrying + * `starting` - Deployment instances are starting + * `stopped` - Deployment instances are stopped + * `stopping` - Deployment instances are stopping + * `waiting` - Waiting for deployment to be ready + explode: false + in: query + name: state_not + required: false + schema: + items: + enum: + - destroyed + - destroying + - error + - failed + - paused + - ready + - retrying + - starting + - stopped + - stopping + - waiting + type: string + type: array + style: form - explode: true in: query name: workshop @@ -549,7 +677,7 @@ paths: created: 2024-04-01T06:14:32.602Z experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -585,6 +713,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -607,7 +745,7 @@ paths: tags: - catalog/deployments post: - operationId: catalog_deployments_create + operationId: v1_catalog_deployments_create parameters: - description: "Expand related field(s) instead of only showing a UUID (ex:\ \ \"cluster\")." @@ -630,7 +768,7 @@ paths: cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b collection_branch: my-branch experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -659,10 +797,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -676,7 +825,7 @@ paths: collection_branch: my-branch experience_branch: main experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -705,10 +854,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -722,7 +882,7 @@ paths: cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b collection_branch: my-branch experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -751,10 +911,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -768,6 +939,23 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + DeploymentRequest(MinimumRequiredFieldsW/CatalogID): + summary: Deployment Request (Minimum Required Fields w/ Catalog ID) + value: + catalog_id: aBY3Z000000xBL4NCO + org_name: NVIDIA + request_id: TRY-123 + requester_email: jane.doe@nvidia.com + requester_name: Jane Doe + DeploymentRequest(MinimumRequiredFieldsW/CatalogIDAlias): + summary: Deployment Request (Minimum Required Fields w/ Catalog ID + Alias) + value: + catalog_id_alias: LP-15 + org_name: NVIDIA + request_id: TRY-123 + requester_email: jane.doe@nvidia.com + requester_name: Jane Doe schema: $ref: '#/components/schemas/Deployment' application/x-www-form-urlencoded: @@ -791,7 +979,7 @@ paths: created: 2024-04-01T06:14:32.602Z experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -827,6 +1015,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -850,7 +1048,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/instances/: get: - operationId: catalog_deployments_instances_list + operationId: v1_catalog_deployments_instances_list parameters: - explode: false in: path @@ -983,7 +1181,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/notes/: get: - operationId: catalog_deployments_notes_list + operationId: v1_catalog_deployments_notes_list parameters: - explode: true in: query @@ -1097,7 +1295,7 @@ paths: tags: - catalog/deployments post: - operationId: catalog_deployments_notes_create + operationId: v1_catalog_deployments_notes_create parameters: - explode: false in: path @@ -1147,7 +1345,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/notes/{id}/: delete: - operationId: catalog_deployments_notes_destroy + operationId: v1_catalog_deployments_notes_destroy parameters: - explode: false in: path @@ -1173,7 +1371,7 @@ paths: tags: - catalog/deployments get: - operationId: catalog_deployments_notes_retrieve + operationId: v1_catalog_deployments_notes_retrieve parameters: - explode: false in: path @@ -1229,7 +1427,7 @@ paths: tags: - catalog/deployments patch: - operationId: catalog_deployments_notes_partial_update + operationId: v1_catalog_deployments_notes_partial_update parameters: - explode: false in: path @@ -1286,7 +1484,7 @@ paths: tags: - catalog/deployments put: - operationId: catalog_deployments_notes_update + operationId: v1_catalog_deployments_notes_update parameters: - explode: false in: path @@ -1344,13 +1542,14 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/pipelines/: get: - operationId: catalog_deployments_pipelines_list + operationId: v1_catalog_deployments_pipelines_list parameters: - description: |- Action for the pipeline to run * `apply` - apply * `destroy` - destroy + * `notify` - notify explode: true in: query name: action @@ -1359,6 +1558,7 @@ paths: enum: - apply - destroy + - notify type: string style: form - explode: false @@ -1444,7 +1644,7 @@ paths: tags: - catalog/deployments post: - operationId: catalog_deployments_pipelines_create + operationId: v1_catalog_deployments_pipelines_create parameters: - explode: false in: path @@ -1497,7 +1697,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/services/: get: - operationId: catalog_deployments_services_list + operationId: v1_catalog_deployments_services_list parameters: - explode: false in: path @@ -1579,7 +1779,7 @@ paths: tags: - catalog/deployments post: - operationId: catalog_deployments_services_create + operationId: v1_catalog_deployments_services_create parameters: - explode: false in: path @@ -1629,7 +1829,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/ssh-keys/: get: - operationId: catalog_deployments_ssh_keys_list + operationId: v1_catalog_deployments_ssh_keys_list parameters: - explode: false in: path @@ -1710,7 +1910,7 @@ paths: tags: - catalog/deployments post: - operationId: catalog_deployments_ssh_keys_create + operationId: v1_catalog_deployments_ssh_keys_create parameters: - explode: false in: path @@ -1759,7 +1959,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/: delete: - operationId: catalog_deployments_ssh_keys_destroy + operationId: v1_catalog_deployments_ssh_keys_destroy parameters: - explode: false in: path @@ -1786,7 +1986,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/tasks/: get: - operationId: catalog_deployments_tasks_list + operationId: v1_catalog_deployments_tasks_list parameters: - description: |- The action the task will perform @@ -1900,7 +2100,7 @@ paths: tags: - catalog/deployments post: - operationId: catalog_deployments_tasks_create + operationId: v1_catalog_deployments_tasks_create parameters: - explode: false in: path @@ -1952,7 +2152,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{deployment_id}/tasks/{id}/: get: - operationId: catalog_deployments_tasks_retrieve + operationId: v1_catalog_deployments_tasks_retrieve parameters: - explode: false in: path @@ -1995,7 +2195,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{id}/: delete: - operationId: catalog_deployments_destroy + operationId: v1_catalog_deployments_destroy parameters: - description: A UUID string identifying this deployment. explode: false @@ -2020,7 +2220,7 @@ paths: created: 2024-04-01T06:14:32.602Z experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -2056,6 +2256,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -2080,7 +2290,7 @@ paths: tags: - catalog/deployments get: - operationId: catalog_deployments_retrieve + operationId: v1_catalog_deployments_retrieve parameters: - description: "Expand related field(s) instead of only showing a UUID (ex:\ \ \"cluster\")." @@ -2140,7 +2350,7 @@ paths: created: 2024-04-01T06:14:32.602Z experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -2176,6 +2386,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -2198,7 +2418,7 @@ paths: tags: - catalog/deployments patch: - operationId: catalog_deployments_partial_update + operationId: v1_catalog_deployments_partial_update parameters: - description: A UUID string identifying this deployment. explode: false @@ -2218,7 +2438,7 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-18 21:04:45.203550+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ip_allowlist: @@ -2259,7 +2479,7 @@ paths: created: 2024-04-01T06:14:32.602Z experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -2295,6 +2515,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -2317,7 +2547,7 @@ paths: tags: - catalog/deployments put: - operationId: catalog_deployments_update + operationId: v1_catalog_deployments_update parameters: - description: A UUID string identifying this deployment. explode: false @@ -2337,7 +2567,7 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-18 21:04:45.203550+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ip_allowlist: @@ -2378,7 +2608,7 @@ paths: created: 2024-04-01T06:14:32.602Z experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -2414,6 +2644,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: 2025-04-10T15:08:47.381700Z sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -2437,7 +2677,7 @@ paths: - catalog/deployments /v1/catalog/deployments/{id}/history/: get: - operationId: catalog_deployments_history_list + operationId: v1_catalog_deployments_history_list parameters: - explode: false in: path @@ -2492,7 +2732,7 @@ paths: - catalog/deployments /v1/catalog/deployments/bulk/: patch: - operationId: catalog_deployments_bulk_partial_update + operationId: v1_catalog_deployments_bulk_partial_update requestBody: content: application/json: @@ -2502,7 +2742,7 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-18 21:04:45.203550+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ids: @@ -2552,7 +2792,7 @@ paths: - catalog/deployments /v1/catalog/deployments/stats/: get: - operationId: catalog_deployments_stats_retrieve + operationId: v1_catalog_deployments_stats_retrieve responses: "200": description: No response body @@ -2563,7 +2803,7 @@ paths: - catalog/deployments /v1/catalog/experiences/: get: - operationId: catalog_experiences_list + operationId: v1_catalog_experiences_list parameters: - explode: true in: query @@ -2953,6 +3193,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -2965,7 +3206,7 @@ paths: tags: - catalog/experiences post: - operationId: catalog_experiences_create + operationId: v1_catalog_experiences_create requestBody: content: application/json: @@ -3001,6 +3242,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3053,6 +3295,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3066,7 +3309,7 @@ paths: - catalog/experiences /v1/catalog/experiences/{experience_id}/notes/: get: - operationId: catalog_experiences_notes_list + operationId: v1_catalog_experiences_notes_list parameters: - explode: true in: query @@ -3180,7 +3423,7 @@ paths: tags: - catalog/deployments post: - operationId: catalog_experiences_notes_create + operationId: v1_catalog_experiences_notes_create parameters: - explode: false in: path @@ -3231,7 +3474,7 @@ paths: - catalog/deployments /v1/catalog/experiences/{experience_id}/notes/{id}/: delete: - operationId: catalog_experiences_notes_destroy + operationId: v1_catalog_experiences_notes_destroy parameters: - explode: false in: path @@ -3257,7 +3500,7 @@ paths: tags: - catalog/deployments get: - operationId: catalog_experiences_notes_retrieve + operationId: v1_catalog_experiences_notes_retrieve parameters: - explode: false in: path @@ -3313,7 +3556,7 @@ paths: tags: - catalog/deployments patch: - operationId: catalog_experiences_notes_partial_update + operationId: v1_catalog_experiences_notes_partial_update parameters: - explode: false in: path @@ -3371,7 +3614,7 @@ paths: tags: - catalog/deployments put: - operationId: catalog_experiences_notes_update + operationId: v1_catalog_experiences_notes_update parameters: - explode: false in: path @@ -3430,7 +3673,7 @@ paths: - catalog/deployments /v1/catalog/experiences/{id}/: delete: - operationId: catalog_experiences_destroy + operationId: v1_catalog_experiences_destroy parameters: - description: A UUID string identifying this experience. explode: false @@ -3449,7 +3692,7 @@ paths: tags: - catalog/experiences get: - operationId: catalog_experiences_retrieve + operationId: v1_catalog_experiences_retrieve parameters: - description: "Expand related field(s) instead of only showing a UUID (ex:\ \ \"required_gpus\")." @@ -3524,6 +3767,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3536,7 +3780,7 @@ paths: tags: - catalog/experiences patch: - operationId: catalog_experiences_partial_update + operationId: v1_catalog_experiences_partial_update parameters: - description: A UUID string identifying this experience. explode: false @@ -3582,6 +3826,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3634,6 +3879,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3646,7 +3892,7 @@ paths: tags: - catalog/experiences put: - operationId: catalog_experiences_update + operationId: v1_catalog_experiences_update parameters: - description: A UUID string identifying this experience. explode: false @@ -3692,6 +3938,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3744,6 +3991,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3757,7 +4005,7 @@ paths: - catalog/experiences /v1/catalog/experiences/{id}/history/: get: - operationId: catalog_experiences_history_list + operationId: v1_catalog_experiences_history_list parameters: - explode: false in: path @@ -3812,7 +4060,7 @@ paths: - catalog/experiences /v1/catalog/experiences/bulk/: patch: - operationId: catalog_experiences_bulk_partial_update + operationId: v1_catalog_experiences_bulk_partial_update requestBody: content: application/json: @@ -3849,6 +4097,7 @@ paths: published: "yes" required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3875,12 +4124,12 @@ paths: - catalog/experiences post: description: Create experiences in bulk via CSV file upload - operationId: catalog_experiences_bulk_create + operationId: v1_catalog_experiences_bulk_create requestBody: content: multipart/form-data: schema: - $ref: '#/components/schemas/catalog_experiences_bulk_create_request' + $ref: '#/components/schemas/v1_catalog_experiences_bulk_create_request' responses: "201": content: @@ -3894,7 +4143,7 @@ paths: - catalog/experiences /v1/catalog/experiences/stats/: get: - operationId: catalog_experiences_stats_retrieve + operationId: v1_catalog_experiences_stats_retrieve responses: "200": description: No response body @@ -3905,7 +4154,7 @@ paths: - catalog/experiences /v1/catalog/gpu-os-choices/: get: - operationId: catalog_gpu_os_choices_list + operationId: v1_catalog_gpu_os_choices_list parameters: - description: Include only the specified fields in the response explode: true @@ -3981,7 +4230,7 @@ paths: tags: - catalog/gpu-os-choices post: - operationId: catalog_gpu_os_choices_create + operationId: v1_catalog_gpu_os_choices_create requestBody: content: application/json: @@ -4024,8 +4273,20 @@ paths: - catalog/gpu-os-choices /v1/catalog/instance-types/: get: - operationId: catalog_instance_types_list + operationId: v1_catalog_instance_types_list parameters: + - description: Limit results to instance types that can meet the given delivery + timelines. + explode: true + in: query + name: delivery + required: false + schema: + enum: + - fast + - slow + type: string + style: form - description: A page number within the paginated result set. explode: true in: query @@ -4087,7 +4348,7 @@ paths: - catalog/instance-types /v1/catalog/persona-choices/: get: - operationId: catalog_persona_choices_list + operationId: v1_catalog_persona_choices_list parameters: - description: Include only the specified fields in the response explode: true @@ -4161,7 +4422,7 @@ paths: tags: - catalog/persona-choices post: - operationId: catalog_persona_choices_create + operationId: v1_catalog_persona_choices_create requestBody: content: application/json: @@ -4198,134 +4459,57 @@ paths: - TokenAuthentication: [] tags: - catalog/persona-choices - /v1/identity/profile/: - get: - operationId: identity_profile_retrieve - responses: - "200": - content: - application/json: - examples: - ProfileResponse: - summary: Profile Response - value: - created: 2024-10-01T07:24:42.702Z - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: 2024-11-03T18:04:55.480Z - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - schema: - $ref: '#/components/schemas/Profile' - description: "" - security: - - TokenAuthentication: [] - tags: - - identity/profile - patch: - operationId: identity_profile_partial_update - requestBody: - content: - application/json: - examples: - ProfileRequest: - summary: Profile Request - value: - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - schema: - $ref: '#/components/schemas/Profile' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Profile' - multipart/form-data: - schema: - $ref: '#/components/schemas/Profile' - required: true - responses: - "200": - content: - application/json: - examples: - ProfileResponse: - summary: Profile Response - value: - created: 2024-10-01T07:24:42.702Z - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: 2024-11-03T18:04:55.480Z - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - schema: - $ref: '#/components/schemas/Profile' - description: "" - security: - - TokenAuthentication: [] - tags: - - identity/profile - /v1/inventory/clusters/: + /v1/catalog/runtimes/: get: - operationId: inventory_clusters_list + operationId: v1_catalog_runtimes_list parameters: - - description: Is the cluster currently available for provisioning? - explode: true + - explode: true in: query - name: available + name: branch + required: false + schema: + type: string + style: form + - explode: true + in: query + name: cns_addon_pack required: false schema: type: boolean style: form - explode: true in: query - name: bastion_name + name: cns_docker required: false schema: - type: string + type: boolean style: form - explode: true in: query - name: deployment + name: cns_driver_version required: false schema: - format: uuid type: string style: form - explode: true in: query - name: enabled + name: cns_k8s required: false schema: type: boolean style: form - - description: "Expand related field(s) instead of only showing a UUID. Separate\ - \ nested relationships with a period (ex: \"nodes.location\"). Separate\ - \ multiple fields with a comma (ex: \"gpus,nodes\")" - explode: true + - explode: true in: query - name: expand + name: cns_nvidia_driver required: false schema: - type: string + type: boolean style: form - explode: true in: query - name: experience + name: cns_version required: false schema: - format: uuid type: string style: form - description: Include only the specified fields in the response @@ -4336,8 +4520,568 @@ paths: schema: type: string style: form - - description: Only include clusters whose nodes have the given garage ID - explode: true + - explode: true + in: query + name: id + required: false + schema: + format: uuid + type: string + style: form + - explode: true + in: query + name: mig + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: mig_profile + required: false + schema: + type: string + style: form + - description: Exclude the specified fields in the response + explode: true + in: query + name: omit + required: false + schema: + type: string + style: form + - description: Which field to use when ordering the results. + explode: true + in: query + name: ordering + required: false + schema: + type: string + style: form + - description: A page number within the paginated result set. + explode: true + in: query + name: page + required: false + schema: + type: integer + style: form + - description: Number of results to return per page. + explode: true + in: query + name: page_size + required: false + schema: + type: integer + style: form + - description: "Search for runtimes by branch, cns_driver_version, cns_version,\ + \ mig_profile, id, name, url" + explode: true + in: query + name: search + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + RuntimeResponse: + summary: Runtime Response + value: + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + created: 2024-04-01T06:14:32.602Z + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: 2024-05-03T17:03:45.380Z + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/PaginatedRuntimeList' + description: "" + security: + - TokenAuthentication: [] + tags: + - catalog/runtimes + post: + operationId: v1_catalog_runtimes_create + requestBody: + content: + application/json: + examples: + RuntimeRequest: + summary: Runtime Request + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/Runtime' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Runtime' + multipart/form-data: + schema: + $ref: '#/components/schemas/Runtime' + required: true + responses: + "201": + content: + application/json: + examples: + RuntimeResponse: + summary: Runtime Response + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + created: 2024-04-01T06:14:32.602Z + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: 2024-05-03T17:03:45.380Z + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/Runtime' + description: "" + security: + - TokenAuthentication: [] + tags: + - catalog/runtimes + /v1/catalog/runtimes/{id}/: + delete: + operationId: v1_catalog_runtimes_destroy + parameters: + - description: A UUID string identifying this runtime. + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "204": + description: No response body + security: + - TokenAuthentication: [] + tags: + - catalog/runtimes + get: + operationId: v1_catalog_runtimes_retrieve + parameters: + - description: Include only the specified fields in the response + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: A UUID string identifying this runtime. + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - description: Exclude the specified fields in the response + explode: true + in: query + name: omit + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + examples: + RuntimeResponse: + summary: Runtime Response + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + created: 2024-04-01T06:14:32.602Z + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: 2024-05-03T17:03:45.380Z + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/Runtime' + description: "" + security: + - TokenAuthentication: [] + tags: + - catalog/runtimes + patch: + operationId: v1_catalog_runtimes_partial_update + parameters: + - description: A UUID string identifying this runtime. + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + examples: + RuntimeRequest: + summary: Runtime Request + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/Runtime' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Runtime' + multipart/form-data: + schema: + $ref: '#/components/schemas/Runtime' + required: true + responses: + "200": + content: + application/json: + examples: + RuntimeResponse: + summary: Runtime Response + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + created: 2024-04-01T06:14:32.602Z + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: 2024-05-03T17:03:45.380Z + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/Runtime' + description: "" + security: + - TokenAuthentication: [] + tags: + - catalog/runtimes + put: + operationId: v1_catalog_runtimes_update + parameters: + - description: A UUID string identifying this runtime. + explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + examples: + RuntimeRequest: + summary: Runtime Request + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/Runtime' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Runtime' + multipart/form-data: + schema: + $ref: '#/components/schemas/Runtime' + required: true + responses: + "200": + content: + application/json: + examples: + RuntimeResponse: + summary: Runtime Response + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: "16.0" + created: 2024-04-01T06:14:32.602Z + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: 2024-05-03T17:03:45.380Z + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + schema: + $ref: '#/components/schemas/Runtime' + description: "" + security: + - TokenAuthentication: [] + tags: + - catalog/runtimes + /v1/catalog/runtimes/{id}/history/: + get: + operationId: v1_catalog_runtimes_history_list + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - description: A page number within the paginated result set. + explode: true + in: query + name: page + required: false + schema: + type: integer + style: form + - description: Number of results to return per page. + explode: true + in: query + name: page_size + required: false + schema: + type: integer + style: form + responses: + "200": + content: + application/json: + examples: + SuccessfulResponse: + summary: Successful Response + value: + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: 2025-01-29T13:20:39.821Z + id: 123 + username: jane.doe@nvidia.com + schema: + $ref: '#/components/schemas/PaginatedModelChangeList' + description: "" + security: + - TokenAuthentication: [] + tags: + - catalog/runtimes + /v1/identity/profile/: + get: + operationId: v1_identity_profile_retrieve + responses: + "200": + content: + application/json: + examples: + ProfileResponse: + summary: Profile Response + value: + created: 2024-10-01T07:24:42.702Z + groups: + - Reporters + id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + modified: 2024-11-03T18:04:55.480Z + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + username: jdoe@nvidia.com + schema: + $ref: '#/components/schemas/Profile' + description: "" + security: + - TokenAuthentication: [] + tags: + - identity/profile + patch: + operationId: v1_identity_profile_partial_update + requestBody: + content: + application/json: + examples: + ProfileRequest: + summary: Profile Request + value: + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + schema: + $ref: '#/components/schemas/Profile' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Profile' + multipart/form-data: + schema: + $ref: '#/components/schemas/Profile' + required: true + responses: + "200": + content: + application/json: + examples: + ProfileResponse: + summary: Profile Response + value: + created: 2024-10-01T07:24:42.702Z + groups: + - Reporters + id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + modified: 2024-11-03T18:04:55.480Z + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + username: jdoe@nvidia.com + schema: + $ref: '#/components/schemas/Profile' + description: "" + security: + - TokenAuthentication: [] + tags: + - identity/profile + /v1/inventory/clusters/: + get: + operationId: v1_inventory_clusters_list + parameters: + - description: Is the cluster currently available for provisioning? + explode: true + in: query + name: available + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: bastion_name + required: false + schema: + type: string + style: form + - explode: true + in: query + name: deployment + required: false + schema: + format: uuid + type: string + style: form + - explode: true + in: query + name: enabled + required: false + schema: + type: boolean + style: form + - description: "Expand related field(s) instead of only showing a UUID. Separate\ + \ nested relationships with a period (ex: \"nodes.location\"). Separate\ + \ multiple fields with a comma (ex: \"gpus,nodes\")" + explode: true + in: query + name: expand + required: false + schema: + type: string + style: form + - explode: true + in: query + name: experience + required: false + schema: + format: uuid + type: string + style: form + - description: Include only the specified fields in the response + explode: true + in: query + name: fields + required: false + schema: + type: string + style: form + - description: Only include clusters whose nodes have the given garage ID + explode: true in: query name: garage_id required: false @@ -4743,6 +5487,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4760,7 +5506,7 @@ paths: tags: - inventory/clusters post: - operationId: inventory_clusters_create + operationId: v1_inventory_clusters_create requestBody: content: application/json: @@ -4830,6 +5576,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4848,7 +5596,7 @@ paths: - inventory/clusters /v1/inventory/clusters/{cluster_id}/tenants/: post: - operationId: inventory_clusters_tenants_create + operationId: v1_inventory_clusters_tenants_create parameters: - explode: false in: path @@ -4904,6 +5652,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4922,7 +5672,7 @@ paths: - inventory/clusters /v1/inventory/clusters/{cluster_id}/tenants/{id}/: delete: - operationId: inventory_clusters_tenants_destroy + operationId: v1_inventory_clusters_tenants_destroy parameters: - explode: false in: path @@ -4949,7 +5699,7 @@ paths: - inventory/clusters /v1/inventory/clusters/{id}/: delete: - operationId: inventory_clusters_destroy + operationId: v1_inventory_clusters_destroy parameters: - description: A UUID string identifying this cluster. explode: false @@ -4968,7 +5718,7 @@ paths: tags: - inventory/clusters get: - operationId: inventory_clusters_retrieve + operationId: v1_inventory_clusters_retrieve parameters: - description: "Expand related field(s) instead of only showing a UUID. Separate\ \ nested relationships with a period (ex: \"nodes.location\"). Separate\ @@ -5039,6 +5789,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -5056,7 +5808,7 @@ paths: tags: - inventory/clusters patch: - operationId: inventory_clusters_partial_update + operationId: v1_inventory_clusters_partial_update parameters: - description: A UUID string identifying this cluster. explode: false @@ -5136,6 +5888,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -5153,7 +5907,7 @@ paths: tags: - inventory/clusters put: - operationId: inventory_clusters_update + operationId: v1_inventory_clusters_update parameters: - description: A UUID string identifying this cluster. explode: false @@ -5233,6 +5987,187 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + tenant_ids: + - faf0669c-eec2-47a4-a881-5c568be65597 + vlan_id: 1 + workshop: false + workshop_id: January training + schema: + $ref: '#/components/schemas/Cluster' + description: "" + security: + - TokenAuthentication: [] + tags: + - inventory/clusters + /v1/inventory/clusters/{id}/history/: + get: + operationId: v1_inventory_clusters_history_list + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + - description: A page number within the paginated result set. + explode: true + in: query + name: page + required: false + schema: + type: integer + style: form + - description: Number of results to return per page. + explode: true + in: query + name: page_size + required: false + schema: + type: integer + style: form + responses: + "200": + content: + application/json: + examples: + SuccessfulResponse: + summary: Successful Response + value: + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: 2025-01-29T13:20:39.821Z + id: 123 + username: jane.doe@nvidia.com + schema: + $ref: '#/components/schemas/PaginatedModelChangeList' + description: "" + security: + - TokenAuthentication: [] + tags: + - inventory/clusters + /v1/inventory/clusters/{id}/pipelines/trigger/: + post: + operationId: v1_inventory_clusters_pipelines_trigger_create + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + requestBody: + content: + application/json: + examples: + ClusterPipelineTriggerRequest: + summary: ClusterPipelineTrigger Request + value: + action: apply + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + required: true + responses: + "201": + content: + application/json: + examples: + ClusterPipelineTriggerResponse: + summary: ClusterPipelineTrigger Response + value: + action: apply + created: 2024-04-01T06:14:32.602Z + id: 84d750af-fa43-4ff1-9198-39535584f83e + modified: 2024-05-03T17:03:45.380Z + pipeline_id: 2101675388 + request_id: TRY-1234 + url: https://gitlab.com/my-project/-/pipelines/2101675388 + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + description: "" + security: + - TokenAuthentication: [] + tags: + - inventory/clusters + /v1/inventory/clusters/{id}/provision/: + delete: + operationId: v1_inventory_clusters_provision_destroy + parameters: + - description: "Expand related field(s) instead of only showing a UUID (ex:\ + \ \"cluster,experience\")." + explode: true + in: query + name: expand + required: false + schema: + type: string + style: form + - explode: false + in: path + name: id + required: true + schema: + format: uuid + type: string + style: simple + responses: + "200": + content: + application/json: + examples: + ClusterResponse: + summary: Cluster Response + value: + available: true + bastion_name: jovial_bastion + created: 2024-04-01T06:14:32.602Z + deployment: null + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + free_by: 2024-06-13T02:22:06.611Z + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 2 + gpus: + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + id: 089324a5-708c-4386-9fdc-92dd9aa63d2b + last_used: 2024-05-03T15:04:44.410Z + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + modified: 2024-05-03T17:03:45.380Z + netmask: 24 + node_count: 1 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." + persist: false + provider_capacity: true + provision_user: nvidia + provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -5249,9 +6184,8 @@ paths: - TokenAuthentication: [] tags: - inventory/clusters - /v1/inventory/clusters/{id}/history/: - get: - operationId: inventory_clusters_history_list + patch: + operationId: v1_inventory_clusters_provision_partial_update parameters: - explode: false in: path @@ -5261,22 +6195,159 @@ paths: format: uuid type: string style: simple - - description: A page number within the paginated result set. - explode: true - in: query - name: page - required: false - schema: - type: integer - style: form - - description: Number of results to return per page. - explode: true - in: query - name: page_size - required: false - schema: - type: integer - style: form + requestBody: + content: + application/json: + examples: + ProvisioningRequest(CatalogIDAlias): + summary: Provisioning Request (Catalog ID Alias) + value: + bastion_operating_system: ubuntu_22_04 + catalog_id_alias: LP-15 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + ProvisioningRequest(ExperienceID): + summary: Provisioning Request (Experience ID) + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + ProvisioningRequest(CatalogID): + summary: Provisioning Request (Catalog ID) + value: + bastion_operating_system: ubuntu_22_04 + catalog_id: aBY3Z000000xBL4NCO + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + ProvisioningRequest(MinimumRequiredFields): + summary: Provisioning Request (Minimum Required Fields) + value: + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + request_id: TRY-123 + ProvisioningRequest(MinimumRequiredFieldsW/CatalogID): + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID) + value: + catalog_id: aBY3Z000000xBL4NCO + request_id: TRY-123 + ProvisioningRequest(MinimumRequiredFieldsW/CatalogIDAlias): + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID Alias) + value: + catalog_id_alias: LP-15 + request_id: TRY-123 + schema: + $ref: '#/components/schemas/ProvisioningRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + required: true responses: "200": content: @@ -5285,20 +6356,45 @@ paths: SuccessfulResponse: summary: Successful Response value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: 2025-01-29T13:20:39.821Z - id: 123 - username: jane.doe@nvidia.com + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia schema: - $ref: '#/components/schemas/PaginatedModelChangeList' + $ref: '#/components/schemas/ProvisioningRequest' description: "" security: - TokenAuthentication: [] @@ -5306,56 +6402,274 @@ paths: - inventory/clusters /v1/inventory/clusters/bulk/: patch: - operationId: inventory_clusters_bulk_partial_update + operationId: v1_inventory_clusters_bulk_partial_update + requestBody: + content: + application/json: + examples: + ClusterBulkUpdateRequest: + summary: Cluster Bulk Update Request + value: + bastion_name: jovial_bastion + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + ids: + - 089324a5-708c-4386-9fdc-92dd9aa63d2b + - 3587f151-b02a-46c7-80a4-ac61db6633ed + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + netmask: 24 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." + persist: false + provision_user: nvidia + provisioning_attempts: 1 + provisioning_state: pending + reservation: false + vlan_id: 1 + workshop: false + workshop_id: January training + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + required: true + responses: + "200": + content: + application/json: + examples: + ClusterBulkUpdateResponse: + summary: Cluster Bulk Update Response + value: + count: 2 + result: Records updated successfully + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + description: "" + security: + - TokenAuthentication: [] + tags: + - inventory/clusters + /v1/inventory/clusters/provision/: + post: + operationId: v1_inventory_clusters_provision_create + parameters: + - description: "Expand related field(s) instead of only showing a UUID (ex:\ + \ \"cluster,experience\")." + explode: true + in: query + name: expand + required: false + schema: + type: string + style: form requestBody: content: application/json: examples: - ClusterBulkUpdateRequest: - summary: Cluster Bulk Update Request + ProvisioningRequest(CatalogIDAlias): + summary: Provisioning Request (Catalog ID Alias) value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - ids: - - 089324a5-708c-4386-9fdc-92dd9aa63d2b - - 3587f151-b02a-46c7-80a4-ac61db6633ed - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - reservation: false - vlan_id: 1 + bastion_operating_system: ubuntu_22_04 + catalog_id_alias: LP-15 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + ProvisioningRequest(ExperienceID): + summary: Provisioning Request (Experience ID) + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + ProvisioningRequest(CatalogID): + summary: Provisioning Request (Catalog ID) + value: + bastion_operating_system: ubuntu_22_04 + catalog_id: aBY3Z000000xBL4NCO + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb workshop: false workshop_id: January training + workshop_override_password: nvidia + ProvisioningRequest(MinimumRequiredFields): + summary: Provisioning Request (Minimum Required Fields) + value: + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + request_id: TRY-123 + ProvisioningRequest(MinimumRequiredFieldsW/CatalogID): + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID) + value: + catalog_id: aBY3Z000000xBL4NCO + request_id: TRY-123 + ProvisioningRequest(MinimumRequiredFieldsW/CatalogIDAlias): + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID Alias) + value: + catalog_id_alias: LP-15 + request_id: TRY-123 schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' required: true responses: - "200": + "201": content: application/json: examples: - ClusterBulkUpdateResponse: - summary: Cluster Bulk Update Response + SuccessfulResponse: + summary: Successful Response value: - count: 2 - result: Records updated successfully + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: "22.04" + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: "16.0" + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' description: "" security: - TokenAuthentication: [] @@ -5363,7 +6677,7 @@ paths: - inventory/clusters /v1/inventory/clusters/stats/: get: - operationId: inventory_clusters_stats_retrieve + operationId: v1_inventory_clusters_stats_retrieve responses: "200": description: No response body @@ -5374,7 +6688,7 @@ paths: - inventory/clusters /v1/inventory/gpus/: get: - operationId: inventory_gpus_list + operationId: v1_inventory_gpus_list parameters: - description: Include only the specified fields in the response explode: true @@ -5492,7 +6806,7 @@ paths: tags: - inventory/gpus post: - operationId: inventory_gpus_create + operationId: v1_inventory_gpus_create requestBody: content: application/json: @@ -5538,7 +6852,7 @@ paths: - inventory/gpus /v1/inventory/gpus/{id}/: delete: - operationId: inventory_gpus_destroy + operationId: v1_inventory_gpus_destroy parameters: - description: A UUID string identifying this gpu. explode: false @@ -5557,7 +6871,7 @@ paths: tags: - inventory/gpus get: - operationId: inventory_gpus_retrieve + operationId: v1_inventory_gpus_retrieve parameters: - description: Include only the specified fields in the response explode: true @@ -5608,7 +6922,7 @@ paths: tags: - inventory/gpus patch: - operationId: inventory_gpus_partial_update + operationId: v1_inventory_gpus_partial_update parameters: - description: A UUID string identifying this gpu. explode: false @@ -5663,7 +6977,7 @@ paths: tags: - inventory/gpus put: - operationId: inventory_gpus_update + operationId: v1_inventory_gpus_update parameters: - description: A UUID string identifying this gpu. explode: false @@ -5719,7 +7033,7 @@ paths: - inventory/gpus /v1/inventory/gpus/{id}/history/: get: - operationId: inventory_gpus_history_list + operationId: v1_inventory_gpus_history_list parameters: - explode: false in: path @@ -5774,7 +7088,7 @@ paths: - inventory/gpus /v1/inventory/gpus/bulk/: patch: - operationId: inventory_gpus_bulk_partial_update + operationId: v1_inventory_gpus_bulk_partial_update requestBody: content: application/json: @@ -5816,7 +7130,7 @@ paths: - inventory/gpus /v1/inventory/gpus/stats/: get: - operationId: inventory_gpus_stats_retrieve + operationId: v1_inventory_gpus_stats_retrieve responses: "200": description: No response body @@ -5827,7 +7141,7 @@ paths: - inventory/gpus /v1/inventory/instances/: get: - operationId: inventory_instances_list + operationId: v1_inventory_instances_list parameters: - explode: true in: query @@ -5969,7 +7283,7 @@ paths: tags: - inventory/instances post: - operationId: inventory_instances_create + operationId: v1_inventory_instances_create requestBody: content: application/json: @@ -6020,7 +7334,7 @@ paths: - inventory/instances /v1/inventory/instances/{id}/: delete: - operationId: inventory_instances_destroy + operationId: v1_inventory_instances_destroy parameters: - description: A UUID string identifying this instance. explode: false @@ -6040,7 +7354,7 @@ paths: tags: - inventory/instances get: - operationId: inventory_instances_retrieve + operationId: v1_inventory_instances_retrieve parameters: - description: "Expand related field(s) instead of only showing a UUID (ex:\ \ \"cluster\")." @@ -6103,7 +7417,7 @@ paths: tags: - inventory/instances patch: - operationId: inventory_instances_partial_update + operationId: v1_inventory_instances_partial_update parameters: - description: A UUID string identifying this instance. explode: false @@ -6163,7 +7477,7 @@ paths: tags: - inventory/instances put: - operationId: inventory_instances_update + operationId: v1_inventory_instances_update parameters: - description: A UUID string identifying this instance. explode: false @@ -6224,7 +7538,7 @@ paths: - inventory/instances /v1/inventory/instances/{id}/history/: get: - operationId: inventory_instances_history_list + operationId: v1_inventory_instances_history_list parameters: - explode: false in: path @@ -6280,7 +7594,7 @@ paths: - inventory/instances /v1/inventory/instances/bulk/: patch: - operationId: inventory_instances_bulk_partial_update + operationId: v1_inventory_instances_bulk_partial_update requestBody: content: application/json: @@ -6325,7 +7639,7 @@ paths: - inventory/instances /v1/inventory/locations/: get: - operationId: inventory_locations_list + operationId: v1_inventory_locations_list parameters: - description: "Expand related field(s) instead of only showing a UUID (ex:\ \ \"provider\")." @@ -6440,7 +7754,7 @@ paths: tags: - inventory/locations post: - operationId: inventory_locations_create + operationId: v1_inventory_locations_create requestBody: content: application/json: @@ -6483,7 +7797,7 @@ paths: - inventory/locations /v1/inventory/locations/{id}/: delete: - operationId: inventory_locations_destroy + operationId: v1_inventory_locations_destroy parameters: - description: A UUID string identifying this location. explode: false @@ -6502,7 +7816,7 @@ paths: tags: - inventory/locations get: - operationId: inventory_locations_retrieve + operationId: v1_inventory_locations_retrieve parameters: - description: "Expand related field(s) instead of only showing a UUID (ex:\ \ \"provider\")." @@ -6560,7 +7874,7 @@ paths: tags: - inventory/locations patch: - operationId: inventory_locations_partial_update + operationId: v1_inventory_locations_partial_update parameters: - description: A UUID string identifying this location. explode: false @@ -6612,7 +7926,7 @@ paths: tags: - inventory/locations put: - operationId: inventory_locations_update + operationId: v1_inventory_locations_update parameters: - description: A UUID string identifying this location. explode: false @@ -6665,7 +7979,7 @@ paths: - inventory/locations /v1/inventory/locations/{id}/history/: get: - operationId: inventory_locations_history_list + operationId: v1_inventory_locations_history_list parameters: - explode: false in: path @@ -6720,7 +8034,7 @@ paths: - inventory/locations /v1/inventory/nodes/: get: - operationId: inventory_nodes_list + operationId: v1_inventory_nodes_list parameters: - explode: true in: query @@ -6736,20 +8050,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: bmc_password - required: false - schema: - type: string - style: form - - explode: true - in: query - name: bmc_user - required: false - schema: - type: string - style: form - explode: true in: query name: cluster @@ -6993,11 +8293,11 @@ paths: schema: type: integer style: form - - description: "Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user,\ - \ cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios,\ - \ id, location name, location provider name, memory, mgmt_ip, mgmt_mac,\ - \ model, network_type, nic_prefixes, notes, oem name, provider_node_id,\ - \ rack, rack_unit, serial_number, storage, system_arch" + - description: "Search for nodes by bmc_ip, bmc_mac, cpu_manufacturer, cpu_model,\ + \ garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location\ + \ provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes,\ + \ notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage,\ + \ system_arch" explode: true in: query name: search @@ -7089,7 +8389,7 @@ paths: tags: - inventory/nodes post: - operationId: inventory_nodes_create + operationId: v1_inventory_nodes_create requestBody: content: application/json: @@ -7188,7 +8488,7 @@ paths: - inventory/nodes /v1/inventory/nodes/{id}/: delete: - operationId: inventory_nodes_destroy + operationId: v1_inventory_nodes_destroy parameters: - description: A UUID string identifying this node. explode: false @@ -7207,7 +8507,7 @@ paths: tags: - inventory/nodes get: - operationId: inventory_nodes_retrieve + operationId: v1_inventory_nodes_retrieve parameters: - description: "Expand related field(s) instead of only showing a UUID. Separate\ \ nested relationships with a period (ex: \"location.provider\"). Separate\ @@ -7295,7 +8595,7 @@ paths: tags: - inventory/nodes patch: - operationId: inventory_nodes_partial_update + operationId: v1_inventory_nodes_partial_update parameters: - description: A UUID string identifying this node. explode: false @@ -7403,7 +8703,7 @@ paths: tags: - inventory/nodes put: - operationId: inventory_nodes_update + operationId: v1_inventory_nodes_update parameters: - description: A UUID string identifying this node. explode: false @@ -7512,7 +8812,7 @@ paths: - inventory/nodes /v1/inventory/nodes/{id}/history/: get: - operationId: inventory_nodes_history_list + operationId: v1_inventory_nodes_history_list parameters: - explode: false in: path @@ -7567,7 +8867,7 @@ paths: - inventory/nodes /v1/inventory/nodes/bulk/: patch: - operationId: inventory_nodes_bulk_partial_update + operationId: v1_inventory_nodes_bulk_partial_update requestBody: content: application/json: @@ -7630,12 +8930,12 @@ paths: - inventory/nodes post: description: Create nodes in bulk via CSV file upload - operationId: inventory_nodes_bulk_create + operationId: v1_inventory_nodes_bulk_create requestBody: content: multipart/form-data: schema: - $ref: '#/components/schemas/catalog_experiences_bulk_create_request' + $ref: '#/components/schemas/v1_catalog_experiences_bulk_create_request' responses: "201": content: @@ -7649,7 +8949,7 @@ paths: - inventory/nodes /v1/inventory/oems/: get: - operationId: inventory_oems_list + operationId: v1_inventory_oems_list parameters: - explode: true in: query @@ -7722,7 +9022,7 @@ paths: tags: - inventory/oems post: - operationId: inventory_oems_create + operationId: v1_inventory_oems_create requestBody: content: application/json: @@ -7761,7 +9061,7 @@ paths: - inventory/oems /v1/inventory/oems/{id}/: delete: - operationId: inventory_oems_destroy + operationId: v1_inventory_oems_destroy parameters: - description: A UUID string identifying this oem. explode: false @@ -7780,7 +9080,7 @@ paths: tags: - inventory/oems get: - operationId: inventory_oems_retrieve + operationId: v1_inventory_oems_retrieve parameters: - description: A UUID string identifying this oem. explode: false @@ -7811,7 +9111,7 @@ paths: tags: - inventory/oems patch: - operationId: inventory_oems_partial_update + operationId: v1_inventory_oems_partial_update parameters: - description: A UUID string identifying this oem. explode: false @@ -7859,7 +9159,7 @@ paths: tags: - inventory/oems put: - operationId: inventory_oems_update + operationId: v1_inventory_oems_update parameters: - description: A UUID string identifying this oem. explode: false @@ -7908,7 +9208,7 @@ paths: - inventory/oems /v1/inventory/oems/{id}/history/: get: - operationId: inventory_oems_history_list + operationId: v1_inventory_oems_history_list parameters: - explode: false in: path @@ -7963,7 +9263,7 @@ paths: - inventory/oems /v1/inventory/providers/: get: - operationId: inventory_providers_list + operationId: v1_inventory_providers_list parameters: - explode: true in: query @@ -8010,6 +9310,21 @@ paths: schema: type: string style: form + - description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow + explode: true + in: query + name: on_demand_speed + required: false + schema: + enum: + - fast + - slow + type: string + style: form - description: Which field to use when ordering the results. explode: true in: query @@ -8041,7 +9356,7 @@ paths: schema: type: integer style: form - - description: "Search for providers by display_name, id, name" + - description: "Search for providers by display_name, id, name, on_demand_speed" explode: true in: query name: search @@ -8067,6 +9382,7 @@ paths: instance_limit: 250 modified: 2024-05-03T17:03:45.380Z name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/PaginatedProviderList' @@ -8076,7 +9392,7 @@ paths: tags: - inventory/providers post: - operationId: inventory_providers_create + operationId: v1_inventory_providers_create requestBody: content: application/json: @@ -8087,6 +9403,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/Provider' @@ -8111,6 +9428,7 @@ paths: instance_limit: 250 modified: 2024-05-03T17:03:45.380Z name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/Provider' @@ -8121,7 +9439,7 @@ paths: - inventory/providers /v1/inventory/providers/{id}/: delete: - operationId: inventory_providers_destroy + operationId: v1_inventory_providers_destroy parameters: - description: A UUID string identifying this provider. explode: false @@ -8140,7 +9458,7 @@ paths: tags: - inventory/providers get: - operationId: inventory_providers_retrieve + operationId: v1_inventory_providers_retrieve parameters: - description: Include only the specified fields in the response explode: true @@ -8181,6 +9499,7 @@ paths: instance_limit: 250 modified: 2024-05-03T17:03:45.380Z name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/Provider' @@ -8190,7 +9509,7 @@ paths: tags: - inventory/providers patch: - operationId: inventory_providers_partial_update + operationId: v1_inventory_providers_partial_update parameters: - description: A UUID string identifying this provider. explode: false @@ -8211,6 +9530,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/Provider' @@ -8235,6 +9555,7 @@ paths: instance_limit: 250 modified: 2024-05-03T17:03:45.380Z name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/Provider' @@ -8244,7 +9565,7 @@ paths: tags: - inventory/providers put: - operationId: inventory_providers_update + operationId: v1_inventory_providers_update parameters: - description: A UUID string identifying this provider. explode: false @@ -8265,6 +9586,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/Provider' @@ -8289,6 +9611,7 @@ paths: instance_limit: 250 modified: 2024-05-03T17:03:45.380Z name: my_provider + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/Provider' @@ -8299,7 +9622,7 @@ paths: - inventory/providers /v1/inventory/providers/{id}/history/: get: - operationId: inventory_providers_history_list + operationId: v1_inventory_providers_history_list parameters: - explode: false in: path @@ -8354,7 +9677,7 @@ paths: - inventory/providers /v1/inventory/providers/bulk/: patch: - operationId: inventory_providers_bulk_partial_update + operationId: v1_inventory_providers_bulk_partial_update requestBody: content: application/json: @@ -8367,6 +9690,7 @@ paths: - f8bd1b72-c213-43ec-82ad-a56a44757a11 - 5b528083-ab61-42dd-a6a1-90aa9babb014 instance_limit: 250 + on_demand_speed: slow priority: 50 schema: $ref: '#/components/schemas/ProviderBulkUpdate' @@ -8396,7 +9720,7 @@ paths: - inventory/providers /v1/inventory/providers/stats/: get: - operationId: inventory_providers_stats_retrieve + operationId: v1_inventory_providers_stats_retrieve responses: "200": description: No response body @@ -8405,6 +9729,26 @@ paths: summary: "🚧 [Beta Feature]" tags: - inventory/providers + /version/: + get: + operationId: version_retrieve + responses: + "200": + content: + application/json: + examples: + ExampleResponse: + summary: Example Response + value: + application_version: 1.0.0 + schema: + $ref: '#/components/schemas/version_retrieve_200_response' + description: "" + security: + - TokenAuthentication: [] + - {} + tags: + - version components: schemas: AuthLogin: @@ -8470,6 +9814,7 @@ components: Cluster: example: mgmt_mac: mgmt_mac + provisioning_request: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 vlan_id: 2308 notes: notes instances: @@ -8479,6 +9824,7 @@ components: provider_capacity: true available: true free_by: 2000-01-23T04:56:07.000+00:00 + provisioning_config: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 enabled: true netmask: 19 @@ -8621,6 +9967,16 @@ components: maximum: 2147483647 minimum: 0 type: integer + provisioning_config: + description: Applied provisioning configuration for the cluster + format: uuid + nullable: true + type: string + provisioning_request: + description: Requested provisioning configuration for the cluster + format: uuid + nullable: true + type: string provisioning_state: allOf: - $ref: '#/components/schemas/ProvisioningStateEnum' @@ -8682,6 +10038,7 @@ components: ClusterBulkUpdate: example: mgmt_mac: mgmt_mac + provisioning_request: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 vlan_id: 2308 notes: notes instances: @@ -8691,6 +10048,7 @@ components: provider_capacity: true available: true free_by: 2000-01-23T04:56:07.000+00:00 + provisioning_config: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 enabled: true result: result @@ -8859,6 +10217,18 @@ components: minimum: 0 type: integer writeOnly: true + provisioning_config: + description: Applied provisioning configuration for the cluster + format: uuid + nullable: true + type: string + writeOnly: true + provisioning_request: + description: Requested provisioning configuration for the cluster + format: uuid + nullable: true + type: string + writeOnly: true provisioning_state: allOf: - $ref: '#/components/schemas/ProvisioningStateEnum' @@ -8914,37 +10284,91 @@ components: maxLength: 64 nullable: true type: string - writeOnly: true - count: + writeOnly: true + count: + readOnly: true + type: integer + ids: + items: + format: uuid + type: string + type: array + result: + readOnly: true + type: string + required: + - available + - count + - created + - deployment + - gpu_alias + - gpu_count + - gpus + - id + - ids + - instances + - last_used + - modified + - node_count + - provider_capacity + - public_address + - request_id + - result + - tenant_ids + ClusterPipelineTrigger: + example: + created: 2000-01-23T04:56:07.000+00:00 + pipeline_id: 0 + action: "" + modified: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + request_id: request_id + url: https://openapi-generator.tech + properties: + action: + allOf: + - $ref: '#/components/schemas/PipelineAction' + description: |- + Action for the pipeline to run + + * `apply` - apply + * `destroy` - destroy + * `notify` - notify + created: + description: Timestamp of when the object was created + format: date-time + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + modified: + description: Timestamp of when the object was last modified + format: date-time + readOnly: true + type: string + pipeline_id: + description: GitLab pipeline ID readOnly: true type: integer - ids: - items: - format: uuid - type: string - type: array - result: + request_id: + description: Request ID that the pipeline was triggered for + readOnly: true + type: string + url: + description: URL for the pipeline details + format: uri readOnly: true type: string required: - - available - - count + - action - created - - deployment - - gpu_alias - - gpu_count - - gpus - id - - ids - - instances - - last_used - modified - - node_count - - provider_capacity - - public_address + - pipeline_id - request_id - - result - - tenant_ids + - url CpuManufacturerEnum: description: |- * `amd` - AMD @@ -8967,24 +10391,31 @@ components: lifetime: 1294386358 pipeline_branch: pipeline_branch gpu_os_name: gpu_os_name + runtime_url: https://openapi-generator.tech experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 pipelines: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + runtime_cns_nvidia_driver: true oem_name: oem_name gpu_alias: gpu_alias retry_count: 2 + runtime_cns_k8s: true modified: 2000-01-23T04:56:07.000+00:00 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 state: "" + runtime_cns_driver_version: runtime_cns_driver_version + runtime_mig_profile: runtime_mig_profile requester_name: requester_name collection_branch: collection_branch workshop_id: workshop_id persona: persona + runtime_cns_docker: true ssh_port: 7 created: 2000-01-23T04:56:07.000+00:00 - workshop: true + workshop: false + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 requester_email: requester_email ip_allowlist: - ip_allowlist @@ -8992,10 +10423,12 @@ components: priority: "" tags: "" catalog_id: catalog_id - gpu_count: 1 - min_gpu_count: 2 + gpu_count: 41 + runtime_cns_addon_pack: true + min_gpu_count: 75 catalog_id_alias: catalog_id_alias region: region + runtime_branch: runtime_branch gpu_model: gpu_model gpu_os_version: gpu_os_version platform: air @@ -9005,21 +10438,23 @@ components: experience_branch: experience_branch gc_branch: gc_branch gpu_os_release: gpu_os_release - node_count: 1280358508 + node_count: 0 org_name: org_name provider_name: provider_name sales_id: sales_id ssh_user: ssh_user flightcontrol_release: flightcontrol_release + runtime_mig: true sales_created_date: 2000-01-23T04:56:07.000+00:00 sales_owner_name: sales_owner_name overrides: "" services: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - persist_on_failure: true - pipeline: 5199562221600970752 + persist_on_failure: false + pipeline: 0 garage_id: garage_id + runtime_cns_version: runtime_cns_version request_id: request_id properties: bastion_operating_system: @@ -9029,14 +10464,11 @@ components: nullable: true type: string catalog_id: - description: Unique ID for this experience in the sales catalog. Must be - unique. + description: Catalog ID of the experience provisioned to the cluster type: string writeOnly: true catalog_id_alias: - description: "Human-readable identifier for the experience in the sales\ - \ catalog (ex: LP-15). Must be unique." - nullable: true + description: Catalog ID alias of the experience provisioned to the cluster type: string writeOnly: true cluster: @@ -9053,13 +10485,18 @@ components: readOnly: true type: string experience: - $ref: '#/components/schemas/Deployment_experience' + description: The experience being deployed for use + format: uuid + nullable: true + readOnly: true + type: string experience_branch: description: Override the experience branch maxLength: 255 nullable: true type: string experience_id: + description: UUID of the experience provisioned to the cluster format: uuid type: string writeOnly: true @@ -9088,8 +10525,9 @@ components: nullable: true type: string gpu_count: + default: 0 description: Require a cluster with the given number of GPUs - maximum: 16 + maximum: 512 minimum: 0 nullable: true type: integer @@ -9099,10 +10537,19 @@ components: nullable: true type: string gpu_os_name: + description: Override the GPU node operating system name + maxLength: 16 + nullable: true type: string gpu_os_release: + description: Override the GPU node operating system release + maxLength: 16 + nullable: true type: string gpu_os_version: + description: Override the GPU node operating system version + maxLength: 8 + nullable: true type: string id: format: uuid @@ -9121,9 +10568,10 @@ components: nullable: true type: integer min_gpu_count: + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number - maximum: 16 + maximum: 512 minimum: 0 nullable: true type: integer @@ -9133,8 +10581,8 @@ components: readOnly: true type: string node_count: + default: 0 description: Require a cluster with the given number of nodes - maximum: 2147483647 minimum: 0 nullable: true type: integer @@ -9146,19 +10594,26 @@ components: org_name: description: Requester's organization name type: string - overrides: {} + overrides: + allOf: + - $ref: '#/components/schemas/Overrides' + description: Overriden values from the original deployment request + readOnly: true persist_on_failure: + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs nullable: true type: boolean persona: + description: Override the defined persona in the experience + maxLength: 32 + nullable: true type: string pipeline: + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment - format: int64 - maximum: 9223372036854775807 minimum: 0 nullable: true type: integer @@ -9218,6 +10673,68 @@ components: description: Number of times the deployment has been retried readOnly: true type: integer + runtime: + description: Use the presets of the given runtime when provisioning this + experience + format: uuid + nullable: true + type: string + writeOnly: true + runtime_branch: + description: Override the runtime repository branch + maxLength: 255 + nullable: true + type: string + writeOnly: true + runtime_cns_addon_pack: + description: Override the runtime's CNS add-ons flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_docker: + description: Override the runtime's Docker with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_driver_version: + description: Override the runtime's GPU driver version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_cns_k8s: + description: Override the runtime's Kubernetes with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_nvidia_driver: + description: Override the runtime's NVIDIA driver with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_version: + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_mig: + description: Override the runtime's MIG support with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_mig_profile: + description: Override the runtime's MIG profile name + maxLength: 32 + nullable: true + type: string + writeOnly: true + runtime_url: + description: Override the URL of the runtime repository + format: uri + nullable: true + type: string + writeOnly: true sales_created_date: format: date-time nullable: true @@ -9269,6 +10786,7 @@ components: readOnly: true tags: {} workshop: + default: false description: Require a cluster whose workshop flag is set nullable: true type: boolean @@ -9306,35 +10824,44 @@ components: lifetime: 6 pipeline_branch: pipeline_branch gpu_os_name: gpu_os_name + runtime_url: https://openapi-generator.tech experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 pipelines: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + runtime_cns_nvidia_driver: true oem_name: oem_name gpu_alias: gpu_alias retry_count: 494379917 + runtime_cns_k8s: true modified: 2000-01-23T04:56:07.000+00:00 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 state: "" + runtime_cns_driver_version: runtime_cns_driver_version + runtime_mig_profile: runtime_mig_profile requester_name: requester_name collection_branch: collection_branch workshop_id: workshop_id persona: persona + runtime_cns_docker: true created: 2000-01-23T04:56:07.000+00:00 - workshop: true + workshop: false count: 7 + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 requester_email: requester_email ip_allowlist: - ip_allowlist - ip_allowlist priority: "" tags: "" - gpu_count: 0 + gpu_count: 41 + runtime_cns_addon_pack: true ids: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - min_gpu_count: 1 + min_gpu_count: 75 region: region + runtime_branch: runtime_branch gpu_model: gpu_model gpu_os_version: gpu_os_version platform: air @@ -9345,25 +10872,28 @@ components: experience_branch: experience_branch gc_branch: gc_branch gpu_os_release: gpu_os_release - node_count: 5 + node_count: 0 org_name: org_name provider_name: provider_name sales_id: sales_id flightcontrol_release: flightcontrol_release + runtime_mig: true sales_created_date: 2000-01-23T04:56:07.000+00:00 sales_owner_name: sales_owner_name overrides: "" services: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - persist_on_failure: true - pipeline: 5199562221600970752 + persist_on_failure: false + pipeline: 0 garage_id: garage_id + runtime_cns_version: runtime_cns_version request_id: request_id properties: bastion_operating_system: description: Override bastion operating system provisioned and/or configured by Liftoff + maxLength: 32 nullable: true readOnly: true type: string @@ -9389,7 +10919,12 @@ components: type: string writeOnly: true experience: - $ref: '#/components/schemas/Deployment_experience' + description: The experience being deployed for use + format: uuid + nullable: true + readOnly: true + type: string + writeOnly: true experience_branch: description: Override the experience branch maxLength: 255 @@ -9409,6 +10944,7 @@ components: writeOnly: true garage_id: description: Require a cluster with nodes in the given garage + maxLength: 128 nullable: true readOnly: true type: string @@ -9421,36 +10957,44 @@ components: writeOnly: true gpu_alias: description: Require a cluster with the given GPU alias + maxLength: 64 nullable: true readOnly: true type: string writeOnly: true gpu_count: + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 nullable: true readOnly: true type: integer writeOnly: true gpu_model: description: Require a cluster with the given GPU model + maxLength: 32 nullable: true readOnly: true type: string writeOnly: true gpu_os_name: description: Override the GPU node operating system name + maxLength: 16 nullable: true readOnly: true type: string writeOnly: true gpu_os_release: description: Override the GPU node operating system release + maxLength: 16 nullable: true readOnly: true type: string writeOnly: true gpu_os_version: description: Override the GPU node operating system version + maxLength: 8 nullable: true readOnly: true type: string @@ -9473,8 +11017,11 @@ components: type: integer writeOnly: true min_gpu_count: + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number + maximum: 512 + minimum: 0 nullable: true readOnly: true type: integer @@ -9486,13 +11033,16 @@ components: type: string writeOnly: true node_count: + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 nullable: true readOnly: true type: integer writeOnly: true oem_name: description: Require a cluster manufactured by the given OEM name + maxLength: 64 nullable: true readOnly: true type: string @@ -9501,8 +11051,14 @@ components: description: Requester's organization name type: string writeOnly: true - overrides: {} + overrides: + allOf: + - $ref: '#/components/schemas/Overrides' + description: Overriden values from the original deployment request + readOnly: true + writeOnly: true persist_on_failure: + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs nullable: true @@ -9515,10 +11071,9 @@ components: type: string writeOnly: true pipeline: + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment - format: int64 - maximum: 9223372036854775807 minimum: 0 nullable: true type: integer @@ -9551,6 +11106,7 @@ components: writeOnly: true provider_name: description: Require a cluster from the given provider name + maxLength: 64 nullable: true readOnly: true type: string @@ -9565,6 +11121,7 @@ components: writeOnly: true region: description: Require a cluster located in the given region + maxLength: 64 nullable: true readOnly: true type: string @@ -9588,6 +11145,68 @@ components: minimum: 0 type: integer writeOnly: true + runtime: + description: Use the presets of the given runtime when provisioning this + experience + format: uuid + nullable: true + type: string + writeOnly: true + runtime_branch: + description: Override the runtime repository branch + maxLength: 255 + nullable: true + type: string + writeOnly: true + runtime_cns_addon_pack: + description: Override the runtime's CNS add-ons flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_docker: + description: Override the runtime's Docker with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_driver_version: + description: Override the runtime's GPU driver version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_cns_k8s: + description: Override the runtime's Kubernetes with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_nvidia_driver: + description: Override the runtime's NVIDIA driver with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_version: + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_mig: + description: Override the runtime's MIG support with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_mig_profile: + description: Override the runtime's MIG profile name + maxLength: 32 + nullable: true + type: string + writeOnly: true + runtime_url: + description: Override the URL of the runtime repository + format: uri + nullable: true + type: string + writeOnly: true sales_created_date: description: Timestamp when the requester's sales relationship was created format: date-time @@ -9639,6 +11258,7 @@ components: writeOnly: true tags: {} workshop: + default: false description: Require a cluster whose workshop flag is set nullable: true readOnly: true @@ -9646,6 +11266,7 @@ components: writeOnly: true workshop_id: description: Require a cluster with the given workshop ID + maxLength: 64 nullable: true readOnly: true type: string @@ -9654,6 +11275,7 @@ components: description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 nullable: true readOnly: true type: string @@ -9864,12 +11486,13 @@ components: properties: action: allOf: - - $ref: '#/components/schemas/DeploymentPipelineActionEnum' + - $ref: '#/components/schemas/PipelineAction' description: |- Action for the pipeline to run * `apply` - apply * `destroy` - destroy + * `notify` - notify created: description: Timestamp of when the object was created format: date-time @@ -9905,17 +11528,6 @@ components: - modified - pipeline_id - url - DeploymentPipelineActionEnum: - description: |- - * `apply` - apply - * `destroy` - destroy - enum: - - apply - - destroy - type: string - x-enum-varnames: - - DeploymentPipelineActionApply - - DeploymentPipelineActionDestroy DeploymentService: example: created: 2000-01-23T04:56:07.000+00:00 @@ -10078,31 +11690,40 @@ components: lifetime: 6 pipeline_branch: pipeline_branch gpu_os_name: gpu_os_name + runtime_url: https://openapi-generator.tech experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 pipelines: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + runtime_cns_nvidia_driver: true oem_name: oem_name gpu_alias: gpu_alias retry_count: 494379917 + runtime_cns_k8s: true modified: 2000-01-23T04:56:07.000+00:00 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 state: "" + runtime_cns_driver_version: runtime_cns_driver_version + runtime_mig_profile: runtime_mig_profile requester_name: requester_name collection_branch: collection_branch workshop_id: workshop_id persona: persona + runtime_cns_docker: true created: 2000-01-23T04:56:07.000+00:00 - workshop: true + workshop: false + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 requester_email: requester_email ip_allowlist: - ip_allowlist - ip_allowlist priority: "" tags: "" - gpu_count: 0 - min_gpu_count: 1 + gpu_count: 41 + runtime_cns_addon_pack: true + min_gpu_count: 75 region: region + runtime_branch: runtime_branch gpu_model: gpu_model gpu_os_version: gpu_os_version platform: air @@ -10112,25 +11733,28 @@ components: experience_branch: experience_branch gc_branch: gc_branch gpu_os_release: gpu_os_release - node_count: 5 + node_count: 0 org_name: org_name provider_name: provider_name sales_id: sales_id flightcontrol_release: flightcontrol_release + runtime_mig: true sales_created_date: 2000-01-23T04:56:07.000+00:00 sales_owner_name: sales_owner_name overrides: "" services: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - persist_on_failure: true - pipeline: 5199562221600970752 + persist_on_failure: false + pipeline: 0 garage_id: garage_id + runtime_cns_version: runtime_cns_version request_id: request_id properties: bastion_operating_system: description: Override bastion operating system provisioned and/or configured by Liftoff + maxLength: 32 nullable: true readOnly: true type: string @@ -10152,7 +11776,11 @@ components: readOnly: true type: string experience: - $ref: '#/components/schemas/Deployment_experience' + description: The experience being deployed for use + format: uuid + nullable: true + readOnly: true + type: string experience_branch: description: Override the experience branch maxLength: 255 @@ -10169,6 +11797,7 @@ components: type: string garage_id: description: Require a cluster with nodes in the given garage + maxLength: 128 nullable: true readOnly: true type: string @@ -10179,31 +11808,39 @@ components: type: string gpu_alias: description: Require a cluster with the given GPU alias + maxLength: 64 nullable: true readOnly: true type: string gpu_count: + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 nullable: true readOnly: true type: integer gpu_model: description: Require a cluster with the given GPU model + maxLength: 32 nullable: true readOnly: true type: string gpu_os_name: description: Override the GPU node operating system name + maxLength: 16 nullable: true readOnly: true type: string gpu_os_release: description: Override the GPU node operating system release + maxLength: 16 nullable: true readOnly: true type: string gpu_os_version: description: Override the GPU node operating system version + maxLength: 8 nullable: true readOnly: true type: string @@ -10223,8 +11860,11 @@ components: readOnly: true type: integer min_gpu_count: + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number + maximum: 512 + minimum: 0 nullable: true readOnly: true type: integer @@ -10234,20 +11874,28 @@ components: readOnly: true type: string node_count: + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 nullable: true readOnly: true type: integer oem_name: description: Require a cluster manufactured by the given OEM name + maxLength: 64 nullable: true readOnly: true type: string org_name: description: Requester's organization name type: string - overrides: {} + overrides: + allOf: + - $ref: '#/components/schemas/Overrides' + description: Overriden values from the original deployment request + readOnly: true persist_on_failure: + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs nullable: true @@ -10258,10 +11906,9 @@ components: nullable: true type: string pipeline: + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment - format: int64 - maximum: 9223372036854775807 minimum: 0 nullable: true type: integer @@ -10291,6 +11938,7 @@ components: readOnly: true provider_name: description: Require a cluster from the given provider name + maxLength: 64 nullable: true readOnly: true type: string @@ -10303,6 +11951,7 @@ components: type: string region: description: Require a cluster located in the given region + maxLength: 64 nullable: true readOnly: true type: string @@ -10313,14 +11962,76 @@ components: requester_email: description: Email address of the user requesting the experience type: string - requester_name: - description: Name of the user requesting the experience + requester_name: + description: Name of the user requesting the experience + type: string + retry_count: + description: Number of times the deployment has been retried + maximum: 2147483647 + minimum: 0 + type: integer + runtime: + description: Use the presets of the given runtime when provisioning this + experience + format: uuid + nullable: true + type: string + writeOnly: true + runtime_branch: + description: Override the runtime repository branch + maxLength: 255 + nullable: true + type: string + writeOnly: true + runtime_cns_addon_pack: + description: Override the runtime's CNS add-ons flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_docker: + description: Override the runtime's Docker with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_driver_version: + description: Override the runtime's GPU driver version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_cns_k8s: + description: Override the runtime's Kubernetes with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_nvidia_driver: + description: Override the runtime's NVIDIA driver with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_version: + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_mig: + description: Override the runtime's MIG support with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_mig_profile: + description: Override the runtime's MIG profile name + maxLength: 32 + nullable: true + type: string + writeOnly: true + runtime_url: + description: Override the URL of the runtime repository + format: uri + nullable: true type: string - retry_count: - description: Number of times the deployment has been retried - maximum: 2147483647 - minimum: 0 - type: integer + writeOnly: true sales_created_date: description: Timestamp when the requester's sales relationship was created format: date-time @@ -10367,12 +12078,14 @@ components: * `waiting` - Waiting for deployment to be ready tags: {} workshop: + default: false description: Require a cluster whose workshop flag is set nullable: true readOnly: true type: boolean workshop_id: description: Require a cluster with the given workshop ID + maxLength: 64 nullable: true readOnly: true type: string @@ -10380,6 +12093,7 @@ components: description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 nullable: true readOnly: true type: string @@ -10422,24 +12136,31 @@ components: lifetime: 1294386358 pipeline_branch: pipeline_branch gpu_os_name: gpu_os_name + runtime_url: https://openapi-generator.tech experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 pipelines: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + runtime_cns_nvidia_driver: true oem_name: oem_name gpu_alias: gpu_alias retry_count: 2 + runtime_cns_k8s: true modified: 2000-01-23T04:56:07.000+00:00 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 state: "" + runtime_cns_driver_version: runtime_cns_driver_version + runtime_mig_profile: runtime_mig_profile requester_name: requester_name collection_branch: collection_branch workshop_id: workshop_id persona: persona + runtime_cns_docker: true ssh_port: 7 created: 2000-01-23T04:56:07.000+00:00 - workshop: true + workshop: false + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 requester_email: requester_email ip_allowlist: - ip_allowlist @@ -10447,10 +12168,12 @@ components: priority: "" tags: "" catalog_id: catalog_id - gpu_count: 1 - min_gpu_count: 2 + gpu_count: 41 + runtime_cns_addon_pack: true + min_gpu_count: 75 catalog_id_alias: catalog_id_alias region: region + runtime_branch: runtime_branch gpu_model: gpu_model gpu_os_version: gpu_os_version platform: air @@ -10460,21 +12183,23 @@ components: experience_branch: experience_branch gc_branch: gc_branch gpu_os_release: gpu_os_release - node_count: 1280358508 + node_count: 0 org_name: org_name provider_name: provider_name sales_id: sales_id ssh_user: ssh_user flightcontrol_release: flightcontrol_release + runtime_mig: true sales_created_date: 2000-01-23T04:56:07.000+00:00 sales_owner_name: sales_owner_name overrides: "" services: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - persist_on_failure: true - pipeline: 5199562221600970752 + persist_on_failure: false + pipeline: 0 garage_id: garage_id + runtime_cns_version: runtime_cns_version request_id: request_id properties: bastion_operating_system: @@ -10484,14 +12209,11 @@ components: nullable: true type: string catalog_id: - description: Unique ID for this experience in the sales catalog. Must be - unique. + description: Catalog ID of the experience provisioned to the cluster type: string writeOnly: true catalog_id_alias: - description: "Human-readable identifier for the experience in the sales\ - \ catalog (ex: LP-15). Must be unique." - nullable: true + description: Catalog ID alias of the experience provisioned to the cluster type: string writeOnly: true cluster: @@ -10508,13 +12230,18 @@ components: readOnly: true type: string experience: - $ref: '#/components/schemas/Deployment_experience' + description: The experience being deployed for use + format: uuid + nullable: true + readOnly: true + type: string experience_branch: description: Override the experience branch maxLength: 255 nullable: true type: string experience_id: + description: UUID of the experience provisioned to the cluster format: uuid type: string writeOnly: true @@ -10543,8 +12270,9 @@ components: nullable: true type: string gpu_count: + default: 0 description: Require a cluster with the given number of GPUs - maximum: 16 + maximum: 512 minimum: 0 nullable: true type: integer @@ -10554,10 +12282,19 @@ components: nullable: true type: string gpu_os_name: + description: Override the GPU node operating system name + maxLength: 16 + nullable: true type: string gpu_os_release: + description: Override the GPU node operating system release + maxLength: 16 + nullable: true type: string gpu_os_version: + description: Override the GPU node operating system version + maxLength: 8 + nullable: true type: string id: format: uuid @@ -10576,9 +12313,10 @@ components: nullable: true type: integer min_gpu_count: + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number - maximum: 16 + maximum: 512 minimum: 0 nullable: true type: integer @@ -10588,8 +12326,8 @@ components: readOnly: true type: string node_count: + default: 0 description: Require a cluster with the given number of nodes - maximum: 2147483647 minimum: 0 nullable: true type: integer @@ -10601,19 +12339,26 @@ components: org_name: description: Requester's organization name type: string - overrides: {} + overrides: + allOf: + - $ref: '#/components/schemas/Overrides' + description: Overriden values from the original deployment request + readOnly: true persist_on_failure: + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs nullable: true type: boolean persona: + description: Override the defined persona in the experience + maxLength: 32 + nullable: true type: string pipeline: + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment - format: int64 - maximum: 9223372036854775807 minimum: 0 nullable: true type: integer @@ -10673,6 +12418,68 @@ components: description: Number of times the deployment has been retried readOnly: true type: integer + runtime: + description: Use the presets of the given runtime when provisioning this + experience + format: uuid + nullable: true + type: string + writeOnly: true + runtime_branch: + description: Override the runtime repository branch + maxLength: 255 + nullable: true + type: string + writeOnly: true + runtime_cns_addon_pack: + description: Override the runtime's CNS add-ons flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_docker: + description: Override the runtime's Docker with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_driver_version: + description: Override the runtime's GPU driver version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_cns_k8s: + description: Override the runtime's Kubernetes with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_nvidia_driver: + description: Override the runtime's NVIDIA driver with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_cns_version: + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + nullable: true + type: string + writeOnly: true + runtime_mig: + description: Override the runtime's MIG support with CNS flag + nullable: true + type: boolean + writeOnly: true + runtime_mig_profile: + description: Override the runtime's MIG profile name + maxLength: 32 + nullable: true + type: string + writeOnly: true + runtime_url: + description: Override the URL of the runtime repository + format: uri + nullable: true + type: string + writeOnly: true sales_created_date: format: date-time nullable: true @@ -10724,6 +12531,7 @@ components: readOnly: true tags: {} workshop: + default: false description: Require a cluster whose workshop flag is set nullable: true type: boolean @@ -10781,6 +12589,7 @@ components: persona: persona autoapprove: true created: 2000-01-23T04:56:07.000+00:00 + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 published: "" catalog_id: catalog_id pipeline: 5199562221600970752 @@ -10791,7 +12600,7 @@ components: name: name version: version autoprovision: true - gpu_count: 1 + gpu_count: 41 assignee: assignee catalog_id_alias: catalog_id_alias category: "" @@ -10872,7 +12681,7 @@ components: type: string gpu_count: description: Number of GPUs used - maximum: 16 + maximum: 512 minimum: 0 type: integer gpu_os: @@ -10958,6 +12767,11 @@ components: format: uuid type: string type: array + runtime: + description: The default runtime to use when provisioning this experience + format: uuid + nullable: true + type: string sa_lab: description: Is this a persistent experience for SAs? type: boolean @@ -11015,6 +12829,7 @@ components: persona: persona autoapprove: true created: 2000-01-23T04:56:07.000+00:00 + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 published: "" catalog_id: catalog_id pipeline: 5199562221600970752 @@ -11025,7 +12840,7 @@ components: name: name version: version autoprovision: true - gpu_count: 1 + gpu_count: 41 assignee: assignee catalog_id_alias: catalog_id_alias category: "" @@ -11054,6 +12869,7 @@ components: persona: persona autoapprove: true created: 2000-01-23T04:56:07.000+00:00 + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 published: "" catalog_id: catalog_id pipeline: 5199562221600970752 @@ -11064,7 +12880,7 @@ components: name: name version: version autoprovision: true - gpu_count: 1 + gpu_count: 41 assignee: assignee catalog_id_alias: catalog_id_alias category: "" @@ -11109,6 +12925,7 @@ components: autoapprove: true created: 2000-01-23T04:56:07.000+00:00 count: 2 + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 published: "" catalog_id: catalog_id pipeline: 5199562221600970752 @@ -11116,7 +12933,7 @@ components: garage_id: garage_id gpu_os: "" autoprovision: true - gpu_count: 1 + gpu_count: 41 ids: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -11216,7 +13033,7 @@ components: writeOnly: true gpu_count: description: Number of GPUs used - maximum: 16 + maximum: 512 minimum: 0 type: integer writeOnly: true @@ -11315,6 +13132,12 @@ components: format: uuid type: string type: array + runtime: + description: The default runtime to use when provisioning this experience + format: uuid + nullable: true + type: string + writeOnly: true sa_lab: description: Is this a persistent experience for SAs? type: boolean @@ -11383,7 +13206,7 @@ components: readOnly: true type: string experience: - $ref: '#/components/schemas/Deployment_experience' + $ref: '#/components/schemas/ExperienceNote_experience' id: format: uuid readOnly: true @@ -12090,7 +13913,7 @@ components: rack_unit: 31 garage_id: garage_id bmc_password: bmc_password - gpu_count: 9 + gpu_count: 308 nic_prefixes: - nic_prefixes - nic_prefixes @@ -12153,7 +13976,7 @@ components: type: string gpu_count: description: Number of GPUs installed - maximum: 16 + maximum: 512 minimum: 0 type: integer gpu_model: @@ -12301,7 +14124,7 @@ components: rack_unit: 31 garage_id: garage_id bmc_password: bmc_password - gpu_count: 9 + gpu_count: 308 nic_prefixes: - nic_prefixes - nic_prefixes @@ -12340,7 +14163,7 @@ components: rack_unit: 31 garage_id: garage_id bmc_password: bmc_password - gpu_count: 9 + gpu_count: 308 nic_prefixes: - nic_prefixes - nic_prefixes @@ -12395,7 +14218,7 @@ components: rack_unit: 31 garage_id: garage_id bmc_password: bmc_password - gpu_count: 9 + gpu_count: 308 nic_prefixes: - nic_prefixes - nic_prefixes @@ -12471,7 +14294,7 @@ components: writeOnly: true gpu_count: description: Number of GPUs installed - maximum: 16 + maximum: 512 minimum: 0 type: integer writeOnly: true @@ -12664,11 +14487,210 @@ components: name: maxLength: 64 type: string - required: - - created - - id - - modified - - name + required: + - created + - id + - modified + - name + OnDemandSpeedEnum: + description: |- + * `fast` - fast + * `slow` - slow + enum: + - fast + - slow + type: string + x-enum-varnames: + - OnDemandSpeedFast + - OnDemandSpeedSlow + Overrides: + properties: + bastion_operating_system: + description: Override bastion operating system provisioned and/or configured + by Liftoff + maxLength: 32 + nullable: true + type: string + cluster: + description: Target a specific cluster for provisioning + format: uuid + nullable: true + type: string + collection_branch: + description: Override the Ansible collection branch initialized within the + pipeline + maxLength: 255 + nullable: true + type: string + experience_branch: + description: Override the experience branch + maxLength: 255 + nullable: true + type: string + flightcontrol_release: + description: Override the image tag used for Flight Control + maxLength: 64 + nullable: true + type: string + garage_id: + description: Require a cluster with nodes in the given garage + maxLength: 128 + nullable: true + type: string + gc_branch: + description: Override the default Ground Control branch + maxLength: 255 + nullable: true + type: string + gpu_alias: + description: Require a cluster with the given GPU alias + maxLength: 64 + nullable: true + type: string + gpu_count: + description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 + type: integer + gpu_model: + description: Require a cluster with the given GPU model + maxLength: 32 + nullable: true + type: string + gpu_os_name: + description: Override the GPU node operating system name + maxLength: 16 + nullable: true + type: string + gpu_os_release: + description: Override the GPU node operating system release + maxLength: 16 + nullable: true + type: string + gpu_os_version: + description: Override the GPU node operating system version + maxLength: 8 + nullable: true + type: string + min_gpu_count: + description: Require a cluster whose GPU count is greater than or equal + to the given number + maximum: 512 + minimum: 0 + type: integer + node_count: + description: Require a cluster with the given number of nodes + maximum: 2147483647 + minimum: 0 + type: integer + oem_name: + description: Require a cluster manufactured by the given OEM name + maxLength: 64 + nullable: true + type: string + persist_on_failure: + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs + nullable: true + type: boolean + persona: + description: Override the defined persona in the experience + maxLength: 32 + nullable: true + type: string + pipeline: + description: Override the pipeline ID that will be triggered for request + fulfillment + format: int64 + maximum: 9223372036854775807 + minimum: 0 + type: integer + pipeline_branch: + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline + maxLength: 255 + nullable: true + type: string + platform: + $ref: '#/components/schemas/PlatformEnum' + provider_name: + description: Require a cluster from the given provider name + maxLength: 64 + nullable: true + type: string + region: + description: Require a cluster located in the given region + maxLength: 64 + nullable: true + type: string + runtime: + description: Use the presets of the given runtime when provisioning this + experience + format: uuid + nullable: true + type: string + runtime_branch: + description: Override the runtime repository branch + maxLength: 255 + nullable: true + type: string + runtime_cns_addon_pack: + description: Override the runtime's CNS add-ons flag + nullable: true + type: boolean + runtime_cns_docker: + description: Override the runtime's Docker with CNS flag + nullable: true + type: boolean + runtime_cns_driver_version: + description: Override the runtime's GPU driver version + maxLength: 11 + nullable: true + type: string + runtime_cns_k8s: + description: Override the runtime's Kubernetes with CNS flag + nullable: true + type: boolean + runtime_cns_nvidia_driver: + description: Override the runtime's NVIDIA driver with CNS flag + nullable: true + type: boolean + runtime_cns_version: + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + nullable: true + type: string + runtime_mig: + description: Override the runtime's MIG support with CNS flag + nullable: true + type: boolean + runtime_mig_profile: + description: Override the runtime's MIG profile name + maxLength: 32 + nullable: true + type: string + runtime_url: + description: Override the URL of the runtime repository + format: uri + maxLength: 200 + nullable: true + type: string + workshop: + description: Require a cluster whose workshop flag is set + nullable: true + type: boolean + workshop_id: + description: Require a cluster with the given workshop ID + maxLength: 64 + nullable: true + type: string + workshop_override_password: + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 + nullable: true + type: string PaginatedClusterList: example: next: https://launchpad.api.nvidia.com/example/?page=4 @@ -12676,6 +14698,7 @@ components: count: 123 results: - mgmt_mac: mgmt_mac + provisioning_request: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 vlan_id: 2308 notes: notes instances: @@ -12685,6 +14708,7 @@ components: provider_capacity: true available: true free_by: 2000-01-23T04:56:07.000+00:00 + provisioning_config: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 enabled: true netmask: 19 @@ -12717,6 +14741,7 @@ components: maintenance: true request_id: request_id - mgmt_mac: mgmt_mac + provisioning_request: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 vlan_id: 2308 notes: notes instances: @@ -12726,6 +14751,7 @@ components: provider_capacity: true available: true free_by: 2000-01-23T04:56:07.000+00:00 + provisioning_config: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 enabled: true netmask: 19 @@ -12876,24 +14902,31 @@ components: lifetime: 1294386358 pipeline_branch: pipeline_branch gpu_os_name: gpu_os_name + runtime_url: https://openapi-generator.tech experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 pipelines: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + runtime_cns_nvidia_driver: true oem_name: oem_name gpu_alias: gpu_alias retry_count: 2 + runtime_cns_k8s: true modified: 2000-01-23T04:56:07.000+00:00 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 state: "" + runtime_cns_driver_version: runtime_cns_driver_version + runtime_mig_profile: runtime_mig_profile requester_name: requester_name collection_branch: collection_branch workshop_id: workshop_id persona: persona + runtime_cns_docker: true ssh_port: 7 created: 2000-01-23T04:56:07.000+00:00 - workshop: true + workshop: false + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 requester_email: requester_email ip_allowlist: - ip_allowlist @@ -12901,10 +14934,12 @@ components: priority: "" tags: "" catalog_id: catalog_id - gpu_count: 1 - min_gpu_count: 2 + gpu_count: 41 + runtime_cns_addon_pack: true + min_gpu_count: 75 catalog_id_alias: catalog_id_alias region: region + runtime_branch: runtime_branch gpu_model: gpu_model gpu_os_version: gpu_os_version platform: air @@ -12914,21 +14949,23 @@ components: experience_branch: experience_branch gc_branch: gc_branch gpu_os_release: gpu_os_release - node_count: 1280358508 + node_count: 0 org_name: org_name provider_name: provider_name sales_id: sales_id ssh_user: ssh_user flightcontrol_release: flightcontrol_release + runtime_mig: true sales_created_date: 2000-01-23T04:56:07.000+00:00 sales_owner_name: sales_owner_name overrides: "" services: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - persist_on_failure: true - pipeline: 5199562221600970752 + persist_on_failure: false + pipeline: 0 garage_id: garage_id + runtime_cns_version: runtime_cns_version request_id: request_id - public_key: public_key cluster: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -12936,24 +14973,31 @@ components: lifetime: 1294386358 pipeline_branch: pipeline_branch gpu_os_name: gpu_os_name + runtime_url: https://openapi-generator.tech experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 experience_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 pipelines: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + runtime_cns_nvidia_driver: true oem_name: oem_name gpu_alias: gpu_alias retry_count: 2 + runtime_cns_k8s: true modified: 2000-01-23T04:56:07.000+00:00 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 state: "" + runtime_cns_driver_version: runtime_cns_driver_version + runtime_mig_profile: runtime_mig_profile requester_name: requester_name collection_branch: collection_branch workshop_id: workshop_id persona: persona + runtime_cns_docker: true ssh_port: 7 created: 2000-01-23T04:56:07.000+00:00 - workshop: true + workshop: false + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 requester_email: requester_email ip_allowlist: - ip_allowlist @@ -12961,10 +15005,12 @@ components: priority: "" tags: "" catalog_id: catalog_id - gpu_count: 1 - min_gpu_count: 2 + gpu_count: 41 + runtime_cns_addon_pack: true + min_gpu_count: 75 catalog_id_alias: catalog_id_alias region: region + runtime_branch: runtime_branch gpu_model: gpu_model gpu_os_version: gpu_os_version platform: air @@ -12974,21 +15020,23 @@ components: experience_branch: experience_branch gc_branch: gc_branch gpu_os_release: gpu_os_release - node_count: 1280358508 + node_count: 0 org_name: org_name provider_name: provider_name sales_id: sales_id ssh_user: ssh_user flightcontrol_release: flightcontrol_release + runtime_mig: true sales_created_date: 2000-01-23T04:56:07.000+00:00 sales_owner_name: sales_owner_name overrides: "" services: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - persist_on_failure: true - pipeline: 5199562221600970752 + persist_on_failure: false + pipeline: 0 garage_id: garage_id + runtime_cns_version: runtime_cns_version request_id: request_id properties: count: @@ -13206,6 +15254,7 @@ components: persona: persona autoapprove: true created: 2000-01-23T04:56:07.000+00:00 + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 published: "" catalog_id: catalog_id pipeline: 5199562221600970752 @@ -13216,7 +15265,7 @@ components: name: name version: version autoprovision: true - gpu_count: 1 + gpu_count: 41 assignee: assignee catalog_id_alias: catalog_id_alias category: "" @@ -13245,6 +15294,7 @@ components: persona: persona autoapprove: true created: 2000-01-23T04:56:07.000+00:00 + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 published: "" catalog_id: catalog_id pipeline: 5199562221600970752 @@ -13255,7 +15305,7 @@ components: name: name version: version autoprovision: true - gpu_count: 1 + gpu_count: 41 assignee: assignee catalog_id_alias: catalog_id_alias category: "" @@ -13655,7 +15705,7 @@ components: rack_unit: 31 garage_id: garage_id bmc_password: bmc_password - gpu_count: 9 + gpu_count: 308 nic_prefixes: - nic_prefixes - nic_prefixes @@ -13694,7 +15744,7 @@ components: rack_unit: 31 garage_id: garage_id bmc_password: bmc_password - gpu_count: 9 + gpu_count: 308 nic_prefixes: - nic_prefixes - nic_prefixes @@ -13798,14 +15848,16 @@ components: previous: https://launchpad.api.nvidia.com/example/?page=2 count: 123 results: - - created: 2000-01-23T04:56:07.000+00:00 + - on_demand_speed: "" + created: 2000-01-23T04:56:07.000+00:00 instance_limit: 171976544 name: name modified: 2000-01-23T04:56:07.000+00:00 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 display_name: display_name priority: 60 - - created: 2000-01-23T04:56:07.000+00:00 + - on_demand_speed: "" + created: 2000-01-23T04:56:07.000+00:00 instance_limit: 171976544 name: name modified: 2000-01-23T04:56:07.000+00:00 @@ -13833,6 +15885,61 @@ components: required: - count - results + PaginatedRuntimeList: + example: + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + count: 123 + results: + - cns_docker: true + cns_version: cns_version + created: 2000-01-23T04:56:07.000+00:00 + mig: true + cns_nvidia_driver: true + branch: branch + cns_driver_version: cns_driver_version + url: https://openapi-generator.tech + cns_k8s: true + mig_profile: mig_profile + cns_addon_pack: true + name: name + modified: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - cns_docker: true + cns_version: cns_version + created: 2000-01-23T04:56:07.000+00:00 + mig: true + cns_nvidia_driver: true + branch: branch + cns_driver_version: cns_driver_version + url: https://openapi-generator.tech + cns_k8s: true + mig_profile: mig_profile + cns_addon_pack: true + name: name + modified: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + count: + example: 123 + type: integer + next: + example: https://launchpad.api.nvidia.com/example/?page=4 + format: uri + type: string + nullable: true + previous: + example: https://launchpad.api.nvidia.com/example/?page=2 + format: uri + type: string + nullable: true + results: + items: + $ref: '#/components/schemas/Runtime' + type: array + required: + - count + - results PasswordChange: example: result: Password changed successfully. @@ -13886,6 +15993,20 @@ components: - id - modified - name + PipelineAction: + description: |- + * `apply` - apply + * `destroy` - destroy + * `notify` - notify + enum: + - apply + - destroy + - notify + type: string + x-enum-varnames: + - PipelineActionApply + - PipelineActionDestroy + - PipelineActionNotify PlatformEnum: description: |- * `air` - NVIDIA Air @@ -13992,10 +16113,74 @@ components: - username Provider: example: + on_demand_speed: "" + created: 2000-01-23T04:56:07.000+00:00 + instance_limit: 171976544 + name: name + modified: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + display_name: display_name + priority: 60 + properties: + created: + description: Timestamp of when the object was created + format: date-time + readOnly: true + type: string + display_name: + description: Human-friendly version of name. Used for display purposes. + maxLength: 64 + nullable: true + type: string + id: + format: uuid + readOnly: true + type: string + instance_limit: + description: The maximum number of provisionined instances allowed globally + for the provider (0 = unlimited) + maximum: 2147483647 + minimum: 0 + type: integer + modified: + description: Timestamp of when the object was last modified + format: date-time + readOnly: true + type: string + name: + maxLength: 64 + type: string + on_demand_speed: + allOf: + - $ref: '#/components/schemas/OnDemandSpeedEnum' + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow + priority: + description: Weighted preference to use in selecting a provider for a deployment. + Higher priority values will be preferred over lower ones. + maximum: 100 + minimum: 0 + type: integer + required: + - created + - id + - modified + - name + ProviderBulkUpdate: + example: + result: result + on_demand_speed: "" created: 2000-01-23T04:56:07.000+00:00 instance_limit: 171976544 name: name + count: 1 modified: 2000-01-23T04:56:07.000+00:00 + ids: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 display_name: display_name priority: 60 @@ -14005,116 +16190,328 @@ components: format: date-time readOnly: true type: string - display_name: - description: Human-friendly version of name. Used for display purposes. + writeOnly: true + display_name: + description: Human-friendly version of name. Used for display purposes. + maxLength: 64 + nullable: true + type: string + writeOnly: true + id: + format: uuid + readOnly: true + type: string + writeOnly: true + instance_limit: + description: The maximum number of provisionined instances allowed globally + for the provider (0 = unlimited) + maximum: 2147483647 + minimum: 0 + type: integer + writeOnly: true + modified: + description: Timestamp of when the object was last modified + format: date-time + readOnly: true + type: string + writeOnly: true + name: + maxLength: 64 + readOnly: true + type: string + writeOnly: true + on_demand_speed: + allOf: + - $ref: '#/components/schemas/OnDemandSpeedEnum' + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow + writeOnly: true + priority: + description: Weighted preference to use in selecting a provider for a deployment. + Higher priority values will be preferred over lower ones. + maximum: 100 + minimum: 0 + type: integer + writeOnly: true + count: + readOnly: true + type: integer + ids: + items: + format: uuid + type: string + type: array + result: + readOnly: true + type: string + required: + - count + - created + - id + - ids + - modified + - name + - result + ProvisioningRequest: + example: + cluster: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + gpu_model: gpu_model + gpu_os_version: gpu_os_version + pipeline_branch: pipeline_branch + gpu_os_name: gpu_os_name + runtime_url: https://openapi-generator.tech + experience: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + platform: air + bastion_operating_system: bastion_operating_system + experience_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + runtime_cns_nvidia_driver: true + oem_name: oem_name + gpu_alias: gpu_alias + workshop_override_password: workshop_override_password + runtime_cns_k8s: true + experience_branch: experience_branch + gc_branch: gc_branch + gpu_os_release: gpu_os_release + node_count: 314780940 + provider_name: provider_name + runtime_cns_driver_version: runtime_cns_driver_version + runtime_mig_profile: runtime_mig_profile + collection_branch: collection_branch + workshop_id: workshop_id + flightcontrol_release: flightcontrol_release + persona: persona + runtime_cns_docker: true + runtime_mig: true + workshop: true + runtime: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + persist_on_failure: true + catalog_id: catalog_id + pipeline: 5499097924711910400 + garage_id: garage_id + gpu_count: 41 + runtime_cns_version: runtime_cns_version + runtime_cns_addon_pack: true + min_gpu_count: 308 + catalog_id_alias: catalog_id_alias + region: region + request_id: request_id + runtime_branch: runtime_branch + properties: + bastion_operating_system: + description: Override bastion operating system provisioned and/or configured + by Liftoff + maxLength: 32 + nullable: true + type: string + catalog_id: + description: Catalog ID of the experience provisioned to the cluster + type: string + writeOnly: true + catalog_id_alias: + description: Catalog ID alias of the experience provisioned to the cluster + type: string + writeOnly: true + cluster: + description: Target a specific cluster for provisioning + format: uuid + nullable: true + type: string + collection_branch: + description: Override the Ansible collection branch initialized within the + pipeline + maxLength: 255 + nullable: true + type: string + experience: + description: The experience being deployed for use + format: uuid + nullable: true + readOnly: true + type: string + experience_branch: + description: Override the experience branch + maxLength: 255 + nullable: true + type: string + experience_id: + description: UUID of the experience provisioned to the cluster + format: uuid + type: string + writeOnly: true + flightcontrol_release: + description: Override the image tag used for Flight Control + maxLength: 64 + nullable: true + type: string + garage_id: + description: Require a cluster with nodes in the given garage + maxLength: 128 + nullable: true + type: string + gc_branch: + description: Override the default Ground Control branch + maxLength: 255 + nullable: true + type: string + gpu_alias: + description: Require a cluster with the given GPU alias maxLength: 64 nullable: true type: string - id: - format: uuid - readOnly: true + gpu_count: + description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 + type: integer + gpu_model: + description: Require a cluster with the given GPU model + maxLength: 32 + nullable: true type: string - instance_limit: - description: The maximum number of provisionined instances allowed globally - for the provider (0 = unlimited) + gpu_os_name: + description: Override the GPU node operating system name + maxLength: 16 + nullable: true + type: string + gpu_os_release: + description: Override the GPU node operating system release + maxLength: 16 + nullable: true + type: string + gpu_os_version: + description: Override the GPU node operating system version + maxLength: 8 + nullable: true + type: string + min_gpu_count: + description: Require a cluster whose GPU count is greater than or equal + to the given number + maximum: 512 + minimum: 0 + type: integer + node_count: + description: Require a cluster with the given number of nodes maximum: 2147483647 minimum: 0 type: integer - modified: - description: Timestamp of when the object was last modified - format: date-time - readOnly: true - type: string - name: + oem_name: + description: Require a cluster manufactured by the given OEM name maxLength: 64 + nullable: true type: string - priority: - description: Weighted preference to use in selecting a provider for a deployment. - Higher priority values will be preferred over lower ones. - maximum: 100 + persist_on_failure: + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs + nullable: true + type: boolean + persona: + description: Override the defined persona in the experience + maxLength: 32 + nullable: true + type: string + pipeline: + description: Override the pipeline ID that will be triggered for request + fulfillment + format: int64 + maximum: 9223372036854775807 minimum: 0 type: integer - required: - - created - - id - - modified - - name - ProviderBulkUpdate: - example: - result: result - created: 2000-01-23T04:56:07.000+00:00 - instance_limit: 171976544 - name: name - count: 1 - modified: 2000-01-23T04:56:07.000+00:00 - ids: - - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - display_name: display_name - priority: 60 - properties: - created: - description: Timestamp of when the object was created - format: date-time - readOnly: true + pipeline_branch: + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline + maxLength: 255 + nullable: true type: string - writeOnly: true - display_name: - description: Human-friendly version of name. Used for display purposes. + platform: + $ref: '#/components/schemas/PlatformEnum' + provider_name: + description: Require a cluster from the given provider name maxLength: 64 nullable: true type: string - writeOnly: true - id: + region: + description: Require a cluster located in the given region + maxLength: 64 + nullable: true + type: string + request_id: + description: "Trial request ID (ex: TRY-1234)" + maxLength: 32 + type: string + runtime: + description: Use the presets of the given runtime when provisioning this + experience format: uuid - readOnly: true + nullable: true type: string - writeOnly: true - instance_limit: - description: The maximum number of provisionined instances allowed globally - for the provider (0 = unlimited) - maximum: 2147483647 - minimum: 0 - type: integer - writeOnly: true - modified: - description: Timestamp of when the object was last modified - format: date-time - readOnly: true + runtime_branch: + description: Override the runtime repository branch + maxLength: 255 + nullable: true type: string - writeOnly: true - name: + runtime_cns_addon_pack: + description: Override the runtime's CNS add-ons flag + nullable: true + type: boolean + runtime_cns_docker: + description: Override the runtime's Docker with CNS flag + nullable: true + type: boolean + runtime_cns_driver_version: + description: Override the runtime's GPU driver version + maxLength: 11 + nullable: true + type: string + runtime_cns_k8s: + description: Override the runtime's Kubernetes with CNS flag + nullable: true + type: boolean + runtime_cns_nvidia_driver: + description: Override the runtime's NVIDIA driver with CNS flag + nullable: true + type: boolean + runtime_cns_version: + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + nullable: true + type: string + runtime_mig: + description: Override the runtime's MIG support with CNS flag + nullable: true + type: boolean + runtime_mig_profile: + description: Override the runtime's MIG profile name + maxLength: 32 + nullable: true + type: string + runtime_url: + description: Override the URL of the runtime repository + format: uri + maxLength: 200 + nullable: true + type: string + workshop: + description: Require a cluster whose workshop flag is set + nullable: true + type: boolean + workshop_id: + description: Require a cluster with the given workshop ID maxLength: 64 - readOnly: true + nullable: true type: string - writeOnly: true - priority: - description: Weighted preference to use in selecting a provider for a deployment. - Higher priority values will be preferred over lower ones. - maximum: 100 - minimum: 0 - type: integer - writeOnly: true - count: - readOnly: true - type: integer - ids: - items: - format: uuid - type: string - type: array - result: - readOnly: true + workshop_override_password: + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 + nullable: true type: string required: - - count - - created - - id - - ids - - modified - - name - - result + - experience + - request_id ProvisioningStateEnum: description: |- * `deployed` - Cluster is in use by a deployment @@ -14155,6 +16552,86 @@ components: - PublishedDraft - PublishedNo - PublishedYes + Runtime: + example: + cns_docker: true + cns_version: cns_version + created: 2000-01-23T04:56:07.000+00:00 + mig: true + cns_nvidia_driver: true + branch: branch + cns_driver_version: cns_driver_version + url: https://openapi-generator.tech + cns_k8s: true + mig_profile: mig_profile + cns_addon_pack: true + name: name + modified: 2000-01-23T04:56:07.000+00:00 + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + branch: + description: Runtime repository branch + maxLength: 255 + type: string + cns_addon_pack: + description: Include CNS add-ons? + type: boolean + cns_docker: + description: Include Docker with CNS? + type: boolean + cns_driver_version: + description: GPU driver version + maxLength: 11 + nullable: true + type: string + cns_k8s: + description: Include Kubernetes with CNS? + type: boolean + cns_nvidia_driver: + description: Include NVIDIA driver with CNS? + type: boolean + cns_version: + description: NVIDIA Cloud Native Stack version + maxLength: 11 + nullable: true + type: string + created: + description: Timestamp of when the object was created + format: date-time + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + mig: + description: Include MIG support with CNS? + type: boolean + mig_profile: + description: MIG profile name + maxLength: 32 + nullable: true + type: string + modified: + description: Timestamp of when the object was last modified + format: date-time + readOnly: true + type: string + name: + description: Human-readable name of the runtime + maxLength: 64 + type: string + url: + description: URL of the runtime repository + format: uri + maxLength: 200 + type: string + required: + - created + - id + - modified + - name + - url StatusEnum: description: |- * `completed` - completed @@ -14251,7 +16728,27 @@ components: - VgpuProfileOpenshift - VgpuProfilePlatformOnly - VgpuProfileVmwareItadmin - catalog_experiences_bulk_create_request: + health_retrieve_200_response_components: + example: + database: database + application: application + properties: + application: + type: string + database: + type: string + health_retrieve_200_response: + example: + components: + database: database + application: application + status: status + properties: + status: + type: string + components: + $ref: '#/components/schemas/health_retrieve_200_response_components' + v1_catalog_experiences_bulk_create_request: properties: csv_file: format: binary @@ -14259,6 +16756,12 @@ components: writeOnly: true required: - csv_file + version_retrieve_200_response: + example: + application_version: application_version + properties: + application_version: + type: string Cluster_deployment: oneOf: - format: uuid @@ -14289,7 +16792,7 @@ components: type: string - $ref: '#/components/schemas/Cluster' x-go-json-tag: "cluster,omitempty" - Deployment_experience: + ExperienceNote_experience: oneOf: - format: uuid type: string diff --git a/v1/providers/launchpad/gen/launchpad/api_auth.go b/v1/providers/launchpad/gen/launchpad/api_auth.go index df4e1fe5..1130dcca 100644 --- a/v1/providers/launchpad/gen/launchpad/api_auth.go +++ b/v1/providers/launchpad/gen/launchpad/api_auth.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,7 +21,7 @@ import ( // AuthAPIService AuthAPI service type AuthAPIService service -type ApiAuthLoginCreateRequest struct { +type ApiV1AuthLoginCreateRequest struct { ctx context.Context ApiService *AuthAPIService authCode *string @@ -29,35 +29,35 @@ type ApiAuthLoginCreateRequest struct { username *string } -func (r ApiAuthLoginCreateRequest) AuthCode(authCode string) ApiAuthLoginCreateRequest { +func (r ApiV1AuthLoginCreateRequest) AuthCode(authCode string) ApiV1AuthLoginCreateRequest { r.authCode = &authCode return r } -func (r ApiAuthLoginCreateRequest) Password(password string) ApiAuthLoginCreateRequest { +func (r ApiV1AuthLoginCreateRequest) Password(password string) ApiV1AuthLoginCreateRequest { r.password = &password return r } -func (r ApiAuthLoginCreateRequest) Username(username string) ApiAuthLoginCreateRequest { +func (r ApiV1AuthLoginCreateRequest) Username(username string) ApiV1AuthLoginCreateRequest { r.username = &username return r } -func (r ApiAuthLoginCreateRequest) Execute() (*AuthToken, *http.Response, error) { - return r.ApiService.AuthLoginCreateExecute(r) +func (r ApiV1AuthLoginCreateRequest) Execute() (*AuthToken, *http.Response, error) { + return r.ApiService.V1AuthLoginCreateExecute(r) } /* -AuthLoginCreate Method for AuthLoginCreate +V1AuthLoginCreate Method for V1AuthLoginCreate Login with either an authorization code or username and password (deprecated) to generate an API token that can be used with all other API endpoints. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiAuthLoginCreateRequest + @return ApiV1AuthLoginCreateRequest */ -func (a *AuthAPIService) AuthLoginCreate(ctx context.Context) ApiAuthLoginCreateRequest { - return ApiAuthLoginCreateRequest{ +func (a *AuthAPIService) V1AuthLoginCreate(ctx context.Context) ApiV1AuthLoginCreateRequest { + return ApiV1AuthLoginCreateRequest{ ApiService: a, ctx: ctx, } @@ -66,7 +66,7 @@ func (a *AuthAPIService) AuthLoginCreate(ctx context.Context) ApiAuthLoginCreate // Execute executes the request // // @return AuthToken -func (a *AuthAPIService) AuthLoginCreateExecute(r ApiAuthLoginCreateRequest) (*AuthToken, *http.Response, error) { +func (a *AuthAPIService) V1AuthLoginCreateExecute(r ApiV1AuthLoginCreateRequest) (*AuthToken, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -74,7 +74,7 @@ func (a *AuthAPIService) AuthLoginCreateExecute(r ApiAuthLoginCreateRequest) (*A localVarReturnValue *AuthToken ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.AuthLoginCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.V1AuthLoginCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -162,25 +162,25 @@ func (a *AuthAPIService) AuthLoginCreateExecute(r ApiAuthLoginCreateRequest) (*A return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAuthLogoutCreateRequest struct { +type ApiV1AuthLogoutCreateRequest struct { ctx context.Context ApiService *AuthAPIService } -func (r ApiAuthLogoutCreateRequest) Execute() (*Logout, *http.Response, error) { - return r.ApiService.AuthLogoutCreateExecute(r) +func (r ApiV1AuthLogoutCreateRequest) Execute() (*Logout, *http.Response, error) { + return r.ApiService.V1AuthLogoutCreateExecute(r) } /* -AuthLogoutCreate Method for AuthLogoutCreate +V1AuthLogoutCreate Method for V1AuthLogoutCreate Logout from the current session. Your API token will no longer be usable and must be regenerated via the login API. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiAuthLogoutCreateRequest + @return ApiV1AuthLogoutCreateRequest */ -func (a *AuthAPIService) AuthLogoutCreate(ctx context.Context) ApiAuthLogoutCreateRequest { - return ApiAuthLogoutCreateRequest{ +func (a *AuthAPIService) V1AuthLogoutCreate(ctx context.Context) ApiV1AuthLogoutCreateRequest { + return ApiV1AuthLogoutCreateRequest{ ApiService: a, ctx: ctx, } @@ -189,7 +189,7 @@ func (a *AuthAPIService) AuthLogoutCreate(ctx context.Context) ApiAuthLogoutCrea // Execute executes the request // // @return Logout -func (a *AuthAPIService) AuthLogoutCreateExecute(r ApiAuthLogoutCreateRequest) (*Logout, *http.Response, error) { +func (a *AuthAPIService) V1AuthLogoutCreateExecute(r ApiV1AuthLogoutCreateRequest) (*Logout, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -197,7 +197,7 @@ func (a *AuthAPIService) AuthLogoutCreateExecute(r ApiAuthLogoutCreateRequest) ( localVarReturnValue *Logout ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.AuthLogoutCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.V1AuthLogoutCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -276,7 +276,7 @@ func (a *AuthAPIService) AuthLogoutCreateExecute(r ApiAuthLogoutCreateRequest) ( return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAuthPasswordChangeCreateRequest struct { +type ApiV1AuthPasswordChangeCreateRequest struct { ctx context.Context ApiService *AuthAPIService username *string @@ -285,42 +285,42 @@ type ApiAuthPasswordChangeCreateRequest struct { result *string } -func (r ApiAuthPasswordChangeCreateRequest) Username(username string) ApiAuthPasswordChangeCreateRequest { +func (r ApiV1AuthPasswordChangeCreateRequest) Username(username string) ApiV1AuthPasswordChangeCreateRequest { r.username = &username return r } -func (r ApiAuthPasswordChangeCreateRequest) Password(password string) ApiAuthPasswordChangeCreateRequest { +func (r ApiV1AuthPasswordChangeCreateRequest) Password(password string) ApiV1AuthPasswordChangeCreateRequest { r.password = &password return r } -func (r ApiAuthPasswordChangeCreateRequest) NewPassword(newPassword string) ApiAuthPasswordChangeCreateRequest { +func (r ApiV1AuthPasswordChangeCreateRequest) NewPassword(newPassword string) ApiV1AuthPasswordChangeCreateRequest { r.newPassword = &newPassword return r } -func (r ApiAuthPasswordChangeCreateRequest) Result(result string) ApiAuthPasswordChangeCreateRequest { +func (r ApiV1AuthPasswordChangeCreateRequest) Result(result string) ApiV1AuthPasswordChangeCreateRequest { r.result = &result return r } -func (r ApiAuthPasswordChangeCreateRequest) Execute() (*PasswordChange, *http.Response, error) { - return r.ApiService.AuthPasswordChangeCreateExecute(r) +func (r ApiV1AuthPasswordChangeCreateRequest) Execute() (*PasswordChange, *http.Response, error) { + return r.ApiService.V1AuthPasswordChangeCreateExecute(r) } /* -AuthPasswordChangeCreate Method for AuthPasswordChangeCreate +V1AuthPasswordChangeCreate Method for V1AuthPasswordChangeCreate Change your current password @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiAuthPasswordChangeCreateRequest + @return ApiV1AuthPasswordChangeCreateRequest Deprecated */ -func (a *AuthAPIService) AuthPasswordChangeCreate(ctx context.Context) ApiAuthPasswordChangeCreateRequest { - return ApiAuthPasswordChangeCreateRequest{ +func (a *AuthAPIService) V1AuthPasswordChangeCreate(ctx context.Context) ApiV1AuthPasswordChangeCreateRequest { + return ApiV1AuthPasswordChangeCreateRequest{ ApiService: a, ctx: ctx, } @@ -331,7 +331,7 @@ func (a *AuthAPIService) AuthPasswordChangeCreate(ctx context.Context) ApiAuthPa // @return PasswordChange // // Deprecated -func (a *AuthAPIService) AuthPasswordChangeCreateExecute(r ApiAuthPasswordChangeCreateRequest) (*PasswordChange, *http.Response, error) { +func (a *AuthAPIService) V1AuthPasswordChangeCreateExecute(r ApiV1AuthPasswordChangeCreateRequest) (*PasswordChange, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -339,7 +339,7 @@ func (a *AuthAPIService) AuthPasswordChangeCreateExecute(r ApiAuthPasswordChange localVarReturnValue *PasswordChange ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.AuthPasswordChangeCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.V1AuthPasswordChangeCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -434,32 +434,32 @@ func (a *AuthAPIService) AuthPasswordChangeCreateExecute(r ApiAuthPasswordChange return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAuthRedirectRetrieveRequest struct { +type ApiV1AuthRedirectRetrieveRequest struct { ctx context.Context ApiService *AuthAPIService asJson *bool } // If \"false\" or unset, receive an HTTP 302 with the OAuth URL returned in the Location header. If \"true\", receive an HTTP 200 with the OAuth URL returned in the JSON payload. -func (r ApiAuthRedirectRetrieveRequest) AsJson(asJson bool) ApiAuthRedirectRetrieveRequest { +func (r ApiV1AuthRedirectRetrieveRequest) AsJson(asJson bool) ApiV1AuthRedirectRetrieveRequest { r.asJson = &asJson return r } -func (r ApiAuthRedirectRetrieveRequest) Execute() (*AuthRedirect, *http.Response, error) { - return r.ApiService.AuthRedirectRetrieveExecute(r) +func (r ApiV1AuthRedirectRetrieveRequest) Execute() (*AuthRedirect, *http.Response, error) { + return r.ApiService.V1AuthRedirectRetrieveExecute(r) } /* -AuthRedirectRetrieve Method for AuthRedirectRetrieve +V1AuthRedirectRetrieve Method for V1AuthRedirectRetrieve Get an HTTP redirect to begin an OAuth login flow. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiAuthRedirectRetrieveRequest + @return ApiV1AuthRedirectRetrieveRequest */ -func (a *AuthAPIService) AuthRedirectRetrieve(ctx context.Context) ApiAuthRedirectRetrieveRequest { - return ApiAuthRedirectRetrieveRequest{ +func (a *AuthAPIService) V1AuthRedirectRetrieve(ctx context.Context) ApiV1AuthRedirectRetrieveRequest { + return ApiV1AuthRedirectRetrieveRequest{ ApiService: a, ctx: ctx, } @@ -468,7 +468,7 @@ func (a *AuthAPIService) AuthRedirectRetrieve(ctx context.Context) ApiAuthRedire // Execute executes the request // // @return AuthRedirect -func (a *AuthAPIService) AuthRedirectRetrieveExecute(r ApiAuthRedirectRetrieveRequest) (*AuthRedirect, *http.Response, error) { +func (a *AuthAPIService) V1AuthRedirectRetrieveExecute(r ApiV1AuthRedirectRetrieveRequest) (*AuthRedirect, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -476,7 +476,7 @@ func (a *AuthAPIService) AuthRedirectRetrieveExecute(r ApiAuthRedirectRetrieveRe localVarReturnValue *AuthRedirect ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.AuthRedirectRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthAPIService.V1AuthRedirectRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_catalog_deployments.go b/v1/providers/launchpad/gen/launchpad/api_catalog_deployments.go index 2ee854ab..e1793313 100644 --- a/v1/providers/launchpad/gen/launchpad/api_catalog_deployments.go +++ b/v1/providers/launchpad/gen/launchpad/api_catalog_deployments.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,29 +22,29 @@ import ( // CatalogDeploymentsAPIService CatalogDeploymentsAPI service type CatalogDeploymentsAPIService service -type ApiCatalogDeploymentsBulkPartialUpdateRequest struct { +type ApiV1CatalogDeploymentsBulkPartialUpdateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentBulkUpdate *DeploymentBulkUpdate } -func (r ApiCatalogDeploymentsBulkPartialUpdateRequest) DeploymentBulkUpdate(deploymentBulkUpdate DeploymentBulkUpdate) ApiCatalogDeploymentsBulkPartialUpdateRequest { +func (r ApiV1CatalogDeploymentsBulkPartialUpdateRequest) DeploymentBulkUpdate(deploymentBulkUpdate DeploymentBulkUpdate) ApiV1CatalogDeploymentsBulkPartialUpdateRequest { r.deploymentBulkUpdate = &deploymentBulkUpdate return r } -func (r ApiCatalogDeploymentsBulkPartialUpdateRequest) Execute() (*DeploymentBulkUpdate, *http.Response, error) { - return r.ApiService.CatalogDeploymentsBulkPartialUpdateExecute(r) +func (r ApiV1CatalogDeploymentsBulkPartialUpdateRequest) Execute() (*DeploymentBulkUpdate, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsBulkPartialUpdateExecute(r) } /* -CatalogDeploymentsBulkPartialUpdate Method for CatalogDeploymentsBulkPartialUpdate +V1CatalogDeploymentsBulkPartialUpdate Method for V1CatalogDeploymentsBulkPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogDeploymentsBulkPartialUpdateRequest + @return ApiV1CatalogDeploymentsBulkPartialUpdateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsBulkPartialUpdate(ctx context.Context) ApiCatalogDeploymentsBulkPartialUpdateRequest { - return ApiCatalogDeploymentsBulkPartialUpdateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsBulkPartialUpdate(ctx context.Context) ApiV1CatalogDeploymentsBulkPartialUpdateRequest { + return ApiV1CatalogDeploymentsBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -53,7 +53,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsBulkPartialUpdate(ctx c // Execute executes the request // // @return DeploymentBulkUpdate -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsBulkPartialUpdateExecute(r ApiCatalogDeploymentsBulkPartialUpdateRequest) (*DeploymentBulkUpdate, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsBulkPartialUpdateExecute(r ApiV1CatalogDeploymentsBulkPartialUpdateRequest) (*DeploymentBulkUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -61,7 +61,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsBulkPartialUpdateExecut localVarReturnValue *DeploymentBulkUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,36 +145,36 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsBulkPartialUpdateExecut return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsCreateRequest struct { +type ApiV1CatalogDeploymentsCreateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deployment *Deployment expand *string } -func (r ApiCatalogDeploymentsCreateRequest) Deployment(deployment Deployment) ApiCatalogDeploymentsCreateRequest { +func (r ApiV1CatalogDeploymentsCreateRequest) Deployment(deployment Deployment) ApiV1CatalogDeploymentsCreateRequest { r.deployment = &deployment return r } // Expand related field(s) instead of only showing a UUID (ex: \"cluster\"). -func (r ApiCatalogDeploymentsCreateRequest) Expand(expand string) ApiCatalogDeploymentsCreateRequest { +func (r ApiV1CatalogDeploymentsCreateRequest) Expand(expand string) ApiV1CatalogDeploymentsCreateRequest { r.expand = &expand return r } -func (r ApiCatalogDeploymentsCreateRequest) Execute() (*Deployment, *http.Response, error) { - return r.ApiService.CatalogDeploymentsCreateExecute(r) +func (r ApiV1CatalogDeploymentsCreateRequest) Execute() (*Deployment, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsCreateExecute(r) } /* -CatalogDeploymentsCreate Method for CatalogDeploymentsCreate +V1CatalogDeploymentsCreate Method for V1CatalogDeploymentsCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogDeploymentsCreateRequest + @return ApiV1CatalogDeploymentsCreateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsCreate(ctx context.Context) ApiCatalogDeploymentsCreateRequest { - return ApiCatalogDeploymentsCreateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsCreate(ctx context.Context) ApiV1CatalogDeploymentsCreateRequest { + return ApiV1CatalogDeploymentsCreateRequest{ ApiService: a, ctx: ctx, } @@ -183,7 +183,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsCreate(ctx context.Cont // Execute executes the request // // @return Deployment -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsCreateExecute(r ApiCatalogDeploymentsCreateRequest) (*Deployment, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsCreateExecute(r ApiV1CatalogDeploymentsCreateRequest) (*Deployment, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -191,7 +191,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsCreateExecute(r ApiCata localVarReturnValue *Deployment ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -278,25 +278,25 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsCreateExecute(r ApiCata return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsDestroyRequest struct { +type ApiV1CatalogDeploymentsDestroyRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService id string } -func (r ApiCatalogDeploymentsDestroyRequest) Execute() (*DocDeploymentDelete, *http.Response, error) { - return r.ApiService.CatalogDeploymentsDestroyExecute(r) +func (r ApiV1CatalogDeploymentsDestroyRequest) Execute() (*DocDeploymentDelete, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsDestroyExecute(r) } /* -CatalogDeploymentsDestroy Method for CatalogDeploymentsDestroy +V1CatalogDeploymentsDestroy Method for V1CatalogDeploymentsDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this deployment. - @return ApiCatalogDeploymentsDestroyRequest + @return ApiV1CatalogDeploymentsDestroyRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsDestroy(ctx context.Context, id string) ApiCatalogDeploymentsDestroyRequest { - return ApiCatalogDeploymentsDestroyRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsDestroy(ctx context.Context, id string) ApiV1CatalogDeploymentsDestroyRequest { + return ApiV1CatalogDeploymentsDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -306,7 +306,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsDestroy(ctx context.Con // Execute executes the request // // @return DocDeploymentDelete -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsDestroyExecute(r ApiCatalogDeploymentsDestroyRequest) (*DocDeploymentDelete, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsDestroyExecute(r ApiV1CatalogDeploymentsDestroyRequest) (*DocDeploymentDelete, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -314,7 +314,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsDestroyExecute(r ApiCat localVarReturnValue *DocDeploymentDelete ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsDestroy") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -394,7 +394,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsDestroyExecute(r ApiCat return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsHistoryListRequest struct { +type ApiV1CatalogDeploymentsHistoryListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService id string @@ -403,30 +403,30 @@ type ApiCatalogDeploymentsHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsHistoryListRequest) Page(page int32) ApiCatalogDeploymentsHistoryListRequest { +func (r ApiV1CatalogDeploymentsHistoryListRequest) Page(page int32) ApiV1CatalogDeploymentsHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsHistoryListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsHistoryListRequest { +func (r ApiV1CatalogDeploymentsHistoryListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiCatalogDeploymentsHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsHistoryListExecute(r) +func (r ApiV1CatalogDeploymentsHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsHistoryListExecute(r) } /* -CatalogDeploymentsHistoryList Method for CatalogDeploymentsHistoryList +V1CatalogDeploymentsHistoryList Method for V1CatalogDeploymentsHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiCatalogDeploymentsHistoryListRequest + @return ApiV1CatalogDeploymentsHistoryListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsHistoryList(ctx context.Context, id string) ApiCatalogDeploymentsHistoryListRequest { - return ApiCatalogDeploymentsHistoryListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsHistoryList(ctx context.Context, id string) ApiV1CatalogDeploymentsHistoryListRequest { + return ApiV1CatalogDeploymentsHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -436,7 +436,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsHistoryList(ctx context // Execute executes the request // // @return PaginatedModelChangeList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsHistoryListExecute(r ApiCatalogDeploymentsHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsHistoryListExecute(r ApiV1CatalogDeploymentsHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -444,7 +444,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsHistoryListExecute(r Ap localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -530,7 +530,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsHistoryListExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsInstancesListRequest struct { +type ApiV1CatalogDeploymentsInstancesListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -547,75 +547,75 @@ type ApiCatalogDeploymentsInstancesListRequest struct { } // Include only the specified fields in the response -func (r ApiCatalogDeploymentsInstancesListRequest) Fields(fields string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) Fields(fields string) ApiV1CatalogDeploymentsInstancesListRequest { r.fields = &fields return r } -func (r ApiCatalogDeploymentsInstancesListRequest) Id(id string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) Id(id string) ApiV1CatalogDeploymentsInstancesListRequest { r.id = &id return r } -func (r ApiCatalogDeploymentsInstancesListRequest) InstanceId(instanceId string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) InstanceId(instanceId string) ApiV1CatalogDeploymentsInstancesListRequest { r.instanceId = &instanceId return r } -func (r ApiCatalogDeploymentsInstancesListRequest) Name(name string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) Name(name string) ApiV1CatalogDeploymentsInstancesListRequest { r.name = &name return r } // Exclude the specified fields in the response -func (r ApiCatalogDeploymentsInstancesListRequest) Omit(omit string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) Omit(omit string) ApiV1CatalogDeploymentsInstancesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiCatalogDeploymentsInstancesListRequest) Ordering(ordering string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) Ordering(ordering string) ApiV1CatalogDeploymentsInstancesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsInstancesListRequest) Page(page int32) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) Page(page int32) ApiV1CatalogDeploymentsInstancesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsInstancesListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsInstancesListRequest { r.pageSize = &pageSize return r } // Search for deployment-instances by id, instance_id, name, state, tags -func (r ApiCatalogDeploymentsInstancesListRequest) Search(search string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) Search(search string) ApiV1CatalogDeploymentsInstancesListRequest { r.search = &search return r } // Current lifecycle state of this instance * `running` - Instance is running * `starting` - Instance is starting * `stopped` - Instance is stopped * `stopping` - Instance is stopping * `unknown` - Instance state is currently unknown -func (r ApiCatalogDeploymentsInstancesListRequest) State(state string) ApiCatalogDeploymentsInstancesListRequest { +func (r ApiV1CatalogDeploymentsInstancesListRequest) State(state string) ApiV1CatalogDeploymentsInstancesListRequest { r.state = &state return r } -func (r ApiCatalogDeploymentsInstancesListRequest) Execute() (*PaginatedDeploymentInstanceList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsInstancesListExecute(r) +func (r ApiV1CatalogDeploymentsInstancesListRequest) Execute() (*PaginatedDeploymentInstanceList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsInstancesListExecute(r) } /* -CatalogDeploymentsInstancesList 🚧 [Beta Feature] +V1CatalogDeploymentsInstancesList 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsInstancesListRequest + @return ApiV1CatalogDeploymentsInstancesListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsInstancesList(ctx context.Context, deploymentId string) ApiCatalogDeploymentsInstancesListRequest { - return ApiCatalogDeploymentsInstancesListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsInstancesList(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsInstancesListRequest { + return ApiV1CatalogDeploymentsInstancesListRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -625,7 +625,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsInstancesList(ctx conte // Execute executes the request // // @return PaginatedDeploymentInstanceList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsInstancesListExecute(r ApiCatalogDeploymentsInstancesListRequest) (*PaginatedDeploymentInstanceList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsInstancesListExecute(r ApiV1CatalogDeploymentsInstancesListRequest) (*PaginatedDeploymentInstanceList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -633,7 +633,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsInstancesListExecute(r localVarReturnValue *PaginatedDeploymentInstanceList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsInstancesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsInstancesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -743,311 +743,371 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsInstancesListExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsListRequest struct { - ctx context.Context - ApiService *CatalogDeploymentsAPIService - bastionOperatingSystem *string - cluster *string - clusterGpusModel *[]string - collectionBranch *string - expand *string - experience *string - experienceBranch *string - expired *bool - expiresAt *string - expiring *string - fields *string - flightcontrolRelease *string - garageId *string - gcBranch *string - gpuAlias *string - gpuCount *int32 - gpuModel *string - gpuOsName *string - gpuOsRelease *string - gpuOsVersion *string - id *string - nodeCount *int32 - oemName *string - omit *string - ordering *string - orgName *string - page *int32 - pageSize *int32 - persistOnFailure *bool - persona *string - pipeline *int32 - pipelineBranch *string - platform *string - priority *string - providerName *string - region *string - requestId *string - requesterEmail *string - requesterName *string - salesId *string - salesOwnerEmail *string - salesOwnerName *string - search *string - state *[]string - workshop *bool - workshopId *string -} - -func (r ApiCatalogDeploymentsListRequest) BastionOperatingSystem(bastionOperatingSystem string) ApiCatalogDeploymentsListRequest { +type ApiV1CatalogDeploymentsListRequest struct { + ctx context.Context + ApiService *CatalogDeploymentsAPIService + bastionOperatingSystem *string + cluster *string + clusterGpusModel *[]string + collectionBranch *string + expand *string + experience *string + experienceBranch *string + expired *bool + expiresAt *string + expiring *string + fields *string + flightcontrolRelease *string + garageId *string + gcBranch *string + gpuAlias *string + gpuCount *int32 + gpuModel *string + gpuOsName *string + gpuOsRelease *string + gpuOsVersion *string + id *string + nodeCount *int32 + oemName *string + omit *string + ordering *string + orgName *string + page *int32 + pageSize *int32 + persistOnFailure *bool + persona *string + pipeline *int32 + pipelineBranch *string + platform *string + priority *string + providerName *string + region *string + requestId *string + requesterEmail *string + requesterName *string + runtimeBranch *string + runtimeCnsAddonPack *bool + runtimeCnsDocker *bool + runtimeCnsDriverVersion *string + runtimeCnsK8s *bool + runtimeCnsNvidiaDriver *bool + runtimeCnsVersion *string + runtimeMig *bool + runtimeMigProfile *string + salesId *string + salesOwnerEmail *string + salesOwnerName *string + search *string + state *[]string + stateNot *[]string + workshop *bool + workshopId *string +} + +func (r ApiV1CatalogDeploymentsListRequest) BastionOperatingSystem(bastionOperatingSystem string) ApiV1CatalogDeploymentsListRequest { r.bastionOperatingSystem = &bastionOperatingSystem return r } -func (r ApiCatalogDeploymentsListRequest) Cluster(cluster string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Cluster(cluster string) ApiV1CatalogDeploymentsListRequest { r.cluster = &cluster return r } // Multiple values may be separated by commas. -func (r ApiCatalogDeploymentsListRequest) ClusterGpusModel(clusterGpusModel []string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) ClusterGpusModel(clusterGpusModel []string) ApiV1CatalogDeploymentsListRequest { r.clusterGpusModel = &clusterGpusModel return r } -func (r ApiCatalogDeploymentsListRequest) CollectionBranch(collectionBranch string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) CollectionBranch(collectionBranch string) ApiV1CatalogDeploymentsListRequest { r.collectionBranch = &collectionBranch return r } // Expand related field(s) instead of only showing a UUID (ex: \"cluster\"). -func (r ApiCatalogDeploymentsListRequest) Expand(expand string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Expand(expand string) ApiV1CatalogDeploymentsListRequest { r.expand = &expand return r } -func (r ApiCatalogDeploymentsListRequest) Experience(experience string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Experience(experience string) ApiV1CatalogDeploymentsListRequest { r.experience = &experience return r } -func (r ApiCatalogDeploymentsListRequest) ExperienceBranch(experienceBranch string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) ExperienceBranch(experienceBranch string) ApiV1CatalogDeploymentsListRequest { r.experienceBranch = &experienceBranch return r } -func (r ApiCatalogDeploymentsListRequest) Expired(expired bool) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Expired(expired bool) ApiV1CatalogDeploymentsListRequest { r.expired = &expired return r } -func (r ApiCatalogDeploymentsListRequest) ExpiresAt(expiresAt string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) ExpiresAt(expiresAt string) ApiV1CatalogDeploymentsListRequest { r.expiresAt = &expiresAt return r } // Include deployments whose expires_at value is within the given range (inclusive), specified as \"today\", \"tomorrow\", or \"{start}[,end]\". Start and end times must be in ISO format. -func (r ApiCatalogDeploymentsListRequest) Expiring(expiring string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Expiring(expiring string) ApiV1CatalogDeploymentsListRequest { r.expiring = &expiring return r } // Include only the specified fields in the response -func (r ApiCatalogDeploymentsListRequest) Fields(fields string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Fields(fields string) ApiV1CatalogDeploymentsListRequest { r.fields = &fields return r } -func (r ApiCatalogDeploymentsListRequest) FlightcontrolRelease(flightcontrolRelease string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) FlightcontrolRelease(flightcontrolRelease string) ApiV1CatalogDeploymentsListRequest { r.flightcontrolRelease = &flightcontrolRelease return r } -func (r ApiCatalogDeploymentsListRequest) GarageId(garageId string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GarageId(garageId string) ApiV1CatalogDeploymentsListRequest { r.garageId = &garageId return r } -func (r ApiCatalogDeploymentsListRequest) GcBranch(gcBranch string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GcBranch(gcBranch string) ApiV1CatalogDeploymentsListRequest { r.gcBranch = &gcBranch return r } -func (r ApiCatalogDeploymentsListRequest) GpuAlias(gpuAlias string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GpuAlias(gpuAlias string) ApiV1CatalogDeploymentsListRequest { r.gpuAlias = &gpuAlias return r } -func (r ApiCatalogDeploymentsListRequest) GpuCount(gpuCount int32) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GpuCount(gpuCount int32) ApiV1CatalogDeploymentsListRequest { r.gpuCount = &gpuCount return r } -func (r ApiCatalogDeploymentsListRequest) GpuModel(gpuModel string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GpuModel(gpuModel string) ApiV1CatalogDeploymentsListRequest { r.gpuModel = &gpuModel return r } -func (r ApiCatalogDeploymentsListRequest) GpuOsName(gpuOsName string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GpuOsName(gpuOsName string) ApiV1CatalogDeploymentsListRequest { r.gpuOsName = &gpuOsName return r } -func (r ApiCatalogDeploymentsListRequest) GpuOsRelease(gpuOsRelease string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GpuOsRelease(gpuOsRelease string) ApiV1CatalogDeploymentsListRequest { r.gpuOsRelease = &gpuOsRelease return r } -func (r ApiCatalogDeploymentsListRequest) GpuOsVersion(gpuOsVersion string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) GpuOsVersion(gpuOsVersion string) ApiV1CatalogDeploymentsListRequest { r.gpuOsVersion = &gpuOsVersion return r } -func (r ApiCatalogDeploymentsListRequest) Id(id string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Id(id string) ApiV1CatalogDeploymentsListRequest { r.id = &id return r } -func (r ApiCatalogDeploymentsListRequest) NodeCount(nodeCount int32) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) NodeCount(nodeCount int32) ApiV1CatalogDeploymentsListRequest { r.nodeCount = &nodeCount return r } -func (r ApiCatalogDeploymentsListRequest) OemName(oemName string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) OemName(oemName string) ApiV1CatalogDeploymentsListRequest { r.oemName = &oemName return r } // Exclude the specified fields in the response -func (r ApiCatalogDeploymentsListRequest) Omit(omit string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Omit(omit string) ApiV1CatalogDeploymentsListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiCatalogDeploymentsListRequest) Ordering(ordering string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Ordering(ordering string) ApiV1CatalogDeploymentsListRequest { r.ordering = &ordering return r } -func (r ApiCatalogDeploymentsListRequest) OrgName(orgName string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) OrgName(orgName string) ApiV1CatalogDeploymentsListRequest { r.orgName = &orgName return r } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsListRequest) Page(page int32) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Page(page int32) ApiV1CatalogDeploymentsListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsListRequest { r.pageSize = &pageSize return r } -func (r ApiCatalogDeploymentsListRequest) PersistOnFailure(persistOnFailure bool) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) PersistOnFailure(persistOnFailure bool) ApiV1CatalogDeploymentsListRequest { r.persistOnFailure = &persistOnFailure return r } -func (r ApiCatalogDeploymentsListRequest) Persona(persona string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Persona(persona string) ApiV1CatalogDeploymentsListRequest { r.persona = &persona return r } -func (r ApiCatalogDeploymentsListRequest) Pipeline(pipeline int32) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Pipeline(pipeline int32) ApiV1CatalogDeploymentsListRequest { r.pipeline = &pipeline return r } -func (r ApiCatalogDeploymentsListRequest) PipelineBranch(pipelineBranch string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) PipelineBranch(pipelineBranch string) ApiV1CatalogDeploymentsListRequest { r.pipelineBranch = &pipelineBranch return r } -// Override the default platform selection * `air` - NVIDIA Air * `flight_deck` - Flight Deck * `kvm_bastion` - KVM Bastion * `lp-vmware-platform` - lp-vmware-platform * `minimal` - minimal * `openshift` - OpenShift * `vsphere` - vSphere * `vsphere_horizon` - VMware Horizon * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 -func (r ApiCatalogDeploymentsListRequest) Platform(platform string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Platform(platform string) ApiV1CatalogDeploymentsListRequest { r.platform = &platform return r } // Priority level for the request * `p0` - p0 * `p1` - p1 * `p2` - p2 * `p3` - p3 -func (r ApiCatalogDeploymentsListRequest) Priority(priority string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Priority(priority string) ApiV1CatalogDeploymentsListRequest { r.priority = &priority return r } -func (r ApiCatalogDeploymentsListRequest) ProviderName(providerName string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) ProviderName(providerName string) ApiV1CatalogDeploymentsListRequest { r.providerName = &providerName return r } -func (r ApiCatalogDeploymentsListRequest) Region(region string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) Region(region string) ApiV1CatalogDeploymentsListRequest { r.region = ®ion return r } -func (r ApiCatalogDeploymentsListRequest) RequestId(requestId string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) RequestId(requestId string) ApiV1CatalogDeploymentsListRequest { r.requestId = &requestId return r } -func (r ApiCatalogDeploymentsListRequest) RequesterEmail(requesterEmail string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) RequesterEmail(requesterEmail string) ApiV1CatalogDeploymentsListRequest { r.requesterEmail = &requesterEmail return r } -func (r ApiCatalogDeploymentsListRequest) RequesterName(requesterName string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) RequesterName(requesterName string) ApiV1CatalogDeploymentsListRequest { r.requesterName = &requesterName return r } -func (r ApiCatalogDeploymentsListRequest) SalesId(salesId string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) RuntimeBranch(runtimeBranch string) ApiV1CatalogDeploymentsListRequest { + r.runtimeBranch = &runtimeBranch + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeCnsAddonPack(runtimeCnsAddonPack bool) ApiV1CatalogDeploymentsListRequest { + r.runtimeCnsAddonPack = &runtimeCnsAddonPack + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeCnsDocker(runtimeCnsDocker bool) ApiV1CatalogDeploymentsListRequest { + r.runtimeCnsDocker = &runtimeCnsDocker + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeCnsDriverVersion(runtimeCnsDriverVersion string) ApiV1CatalogDeploymentsListRequest { + r.runtimeCnsDriverVersion = &runtimeCnsDriverVersion + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeCnsK8s(runtimeCnsK8s bool) ApiV1CatalogDeploymentsListRequest { + r.runtimeCnsK8s = &runtimeCnsK8s + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeCnsNvidiaDriver(runtimeCnsNvidiaDriver bool) ApiV1CatalogDeploymentsListRequest { + r.runtimeCnsNvidiaDriver = &runtimeCnsNvidiaDriver + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeCnsVersion(runtimeCnsVersion string) ApiV1CatalogDeploymentsListRequest { + r.runtimeCnsVersion = &runtimeCnsVersion + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeMig(runtimeMig bool) ApiV1CatalogDeploymentsListRequest { + r.runtimeMig = &runtimeMig + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) RuntimeMigProfile(runtimeMigProfile string) ApiV1CatalogDeploymentsListRequest { + r.runtimeMigProfile = &runtimeMigProfile + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) SalesId(salesId string) ApiV1CatalogDeploymentsListRequest { r.salesId = &salesId return r } -func (r ApiCatalogDeploymentsListRequest) SalesOwnerEmail(salesOwnerEmail string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) SalesOwnerEmail(salesOwnerEmail string) ApiV1CatalogDeploymentsListRequest { r.salesOwnerEmail = &salesOwnerEmail return r } -func (r ApiCatalogDeploymentsListRequest) SalesOwnerName(salesOwnerName string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) SalesOwnerName(salesOwnerName string) ApiV1CatalogDeploymentsListRequest { r.salesOwnerName = &salesOwnerName return r } -// Search for deployments by bastion_operating_system, collection_branch, experience_branch, experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, flightcontrol_release, garage_id, gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version, id, oem_name, org_name, persona, pipeline_branch, platform, provider_name, region, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags, workshop_id -func (r ApiCatalogDeploymentsListRequest) Search(search string) ApiCatalogDeploymentsListRequest { +// Search for deployments by experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, id, org_name, provisioning_config bastion_operating_system, provisioning_config collection_branch, provisioning_config experience_branch, provisioning_config flightcontrol_release, provisioning_config garage_id, provisioning_config gc_branch, provisioning_config gpu_alias, provisioning_config gpu_model, provisioning_config gpu_os_name, provisioning_config gpu_os_release, provisioning_config gpu_os_version, provisioning_config oem_name, provisioning_config persona, provisioning_config pipeline_branch, provisioning_config platform, provisioning_config provider_name, provisioning_config region, provisioning_config runtime_branch, provisioning_config runtime_cns_driver_version, provisioning_config runtime_cns_version, provisioning_config runtime_mig_profile, provisioning_config runtime_url, provisioning_config workshop_id, provisioning_request bastion_operating_system, provisioning_request collection_branch, provisioning_request experience_branch, provisioning_request flightcontrol_release, provisioning_request garage_id, provisioning_request gc_branch, provisioning_request gpu_alias, provisioning_request gpu_model, provisioning_request gpu_os_name, provisioning_request gpu_os_release, provisioning_request gpu_os_version, provisioning_request oem_name, provisioning_request persona, provisioning_request pipeline_branch, provisioning_request platform, provisioning_request provider_name, provisioning_request region, provisioning_request runtime_branch, provisioning_request runtime_cns_driver_version, provisioning_request runtime_cns_version, provisioning_request runtime_mig_profile, provisioning_request runtime_url, provisioning_request workshop_id, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags +func (r ApiV1CatalogDeploymentsListRequest) Search(search string) ApiV1CatalogDeploymentsListRequest { r.search = &search return r } // Multiple values may be separated by commas. * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready -func (r ApiCatalogDeploymentsListRequest) State(state []string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) State(state []string) ApiV1CatalogDeploymentsListRequest { r.state = &state return r } -func (r ApiCatalogDeploymentsListRequest) Workshop(workshop bool) ApiCatalogDeploymentsListRequest { +// Multiple values may be separated by commas. * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready +func (r ApiV1CatalogDeploymentsListRequest) StateNot(stateNot []string) ApiV1CatalogDeploymentsListRequest { + r.stateNot = &stateNot + return r +} + +func (r ApiV1CatalogDeploymentsListRequest) Workshop(workshop bool) ApiV1CatalogDeploymentsListRequest { r.workshop = &workshop return r } -func (r ApiCatalogDeploymentsListRequest) WorkshopId(workshopId string) ApiCatalogDeploymentsListRequest { +func (r ApiV1CatalogDeploymentsListRequest) WorkshopId(workshopId string) ApiV1CatalogDeploymentsListRequest { r.workshopId = &workshopId return r } -func (r ApiCatalogDeploymentsListRequest) Execute() (*PaginatedDeploymentList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsListExecute(r) +func (r ApiV1CatalogDeploymentsListRequest) Execute() (*PaginatedDeploymentList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsListExecute(r) } /* -CatalogDeploymentsList Method for CatalogDeploymentsList +V1CatalogDeploymentsList Method for V1CatalogDeploymentsList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogDeploymentsListRequest + @return ApiV1CatalogDeploymentsListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsList(ctx context.Context) ApiCatalogDeploymentsListRequest { - return ApiCatalogDeploymentsListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsList(ctx context.Context) ApiV1CatalogDeploymentsListRequest { + return ApiV1CatalogDeploymentsListRequest{ ApiService: a, ctx: ctx, } @@ -1056,7 +1116,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsList(ctx context.Contex // Execute executes the request // // @return PaginatedDeploymentList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsListExecute(r ApiCatalogDeploymentsListRequest) (*PaginatedDeploymentList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsListExecute(r ApiV1CatalogDeploymentsListRequest) (*PaginatedDeploymentList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1064,7 +1124,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsListExecute(r ApiCatalo localVarReturnValue *PaginatedDeploymentList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1192,6 +1252,33 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsListExecute(r ApiCatalo if r.requesterName != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "requester_name", r.requesterName, "form", "") } + if r.runtimeBranch != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_branch", r.runtimeBranch, "form", "") + } + if r.runtimeCnsAddonPack != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_cns_addon_pack", r.runtimeCnsAddonPack, "form", "") + } + if r.runtimeCnsDocker != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_cns_docker", r.runtimeCnsDocker, "form", "") + } + if r.runtimeCnsDriverVersion != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_cns_driver_version", r.runtimeCnsDriverVersion, "form", "") + } + if r.runtimeCnsK8s != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_cns_k8s", r.runtimeCnsK8s, "form", "") + } + if r.runtimeCnsNvidiaDriver != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_cns_nvidia_driver", r.runtimeCnsNvidiaDriver, "form", "") + } + if r.runtimeCnsVersion != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_cns_version", r.runtimeCnsVersion, "form", "") + } + if r.runtimeMig != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_mig", r.runtimeMig, "form", "") + } + if r.runtimeMigProfile != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "runtime_mig_profile", r.runtimeMigProfile, "form", "") + } if r.salesId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sales_id", r.salesId, "form", "") } @@ -1207,6 +1294,9 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsListExecute(r ApiCatalo if r.state != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "state", r.state, "form", "csv") } + if r.stateNot != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "state_not", r.stateNot, "form", "csv") + } if r.workshop != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "workshop", r.workshop, "form", "") } @@ -1281,31 +1371,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsListExecute(r ApiCatalo return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsNotesCreateRequest struct { +type ApiV1CatalogDeploymentsNotesCreateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string deploymentNote *DeploymentNote } -func (r ApiCatalogDeploymentsNotesCreateRequest) DeploymentNote(deploymentNote DeploymentNote) ApiCatalogDeploymentsNotesCreateRequest { +func (r ApiV1CatalogDeploymentsNotesCreateRequest) DeploymentNote(deploymentNote DeploymentNote) ApiV1CatalogDeploymentsNotesCreateRequest { r.deploymentNote = &deploymentNote return r } -func (r ApiCatalogDeploymentsNotesCreateRequest) Execute() (*DeploymentNote, *http.Response, error) { - return r.ApiService.CatalogDeploymentsNotesCreateExecute(r) +func (r ApiV1CatalogDeploymentsNotesCreateRequest) Execute() (*DeploymentNote, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsNotesCreateExecute(r) } /* -CatalogDeploymentsNotesCreate Method for CatalogDeploymentsNotesCreate +V1CatalogDeploymentsNotesCreate Method for V1CatalogDeploymentsNotesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsNotesCreateRequest + @return ApiV1CatalogDeploymentsNotesCreateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesCreate(ctx context.Context, deploymentId string) ApiCatalogDeploymentsNotesCreateRequest { - return ApiCatalogDeploymentsNotesCreateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesCreate(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsNotesCreateRequest { + return ApiV1CatalogDeploymentsNotesCreateRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -1315,7 +1405,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesCreate(ctx context // Execute executes the request // // @return DeploymentNote -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesCreateExecute(r ApiCatalogDeploymentsNotesCreateRequest) (*DeploymentNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesCreateExecute(r ApiV1CatalogDeploymentsNotesCreateRequest) (*DeploymentNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1323,7 +1413,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesCreateExecute(r Ap localVarReturnValue *DeploymentNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsNotesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsNotesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1408,27 +1498,27 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesCreateExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsNotesDestroyRequest struct { +type ApiV1CatalogDeploymentsNotesDestroyRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string id string } -func (r ApiCatalogDeploymentsNotesDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.CatalogDeploymentsNotesDestroyExecute(r) +func (r ApiV1CatalogDeploymentsNotesDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1CatalogDeploymentsNotesDestroyExecute(r) } /* -CatalogDeploymentsNotesDestroy Method for CatalogDeploymentsNotesDestroy +V1CatalogDeploymentsNotesDestroy Method for V1CatalogDeploymentsNotesDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId @param id - @return ApiCatalogDeploymentsNotesDestroyRequest + @return ApiV1CatalogDeploymentsNotesDestroyRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesDestroy(ctx context.Context, deploymentId string, id string) ApiCatalogDeploymentsNotesDestroyRequest { - return ApiCatalogDeploymentsNotesDestroyRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesDestroy(ctx context.Context, deploymentId string, id string) ApiV1CatalogDeploymentsNotesDestroyRequest { + return ApiV1CatalogDeploymentsNotesDestroyRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -1437,14 +1527,14 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesDestroy(ctx contex } // Execute executes the request -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesDestroyExecute(r ApiCatalogDeploymentsNotesDestroyRequest) (*http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesDestroyExecute(r ApiV1CatalogDeploymentsNotesDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsNotesDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsNotesDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1516,7 +1606,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesDestroyExecute(r A return localVarHTTPResponse, nil } -type ApiCatalogDeploymentsNotesListRequest struct { +type ApiV1CatalogDeploymentsNotesListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -1532,75 +1622,75 @@ type ApiCatalogDeploymentsNotesListRequest struct { search *string } -func (r ApiCatalogDeploymentsNotesListRequest) CreatedBy(createdBy int32) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) CreatedBy(createdBy int32) ApiV1CatalogDeploymentsNotesListRequest { r.createdBy = &createdBy return r } -func (r ApiCatalogDeploymentsNotesListRequest) Deployment(deployment string) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) Deployment(deployment string) ApiV1CatalogDeploymentsNotesListRequest { r.deployment = &deployment return r } // Include only the specified fields in the response -func (r ApiCatalogDeploymentsNotesListRequest) Fields(fields string) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) Fields(fields string) ApiV1CatalogDeploymentsNotesListRequest { r.fields = &fields return r } -func (r ApiCatalogDeploymentsNotesListRequest) Id(id string) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) Id(id string) ApiV1CatalogDeploymentsNotesListRequest { r.id = &id return r } -func (r ApiCatalogDeploymentsNotesListRequest) ModifiedBy(modifiedBy int32) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) ModifiedBy(modifiedBy int32) ApiV1CatalogDeploymentsNotesListRequest { r.modifiedBy = &modifiedBy return r } // Exclude the specified fields in the response -func (r ApiCatalogDeploymentsNotesListRequest) Omit(omit string) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) Omit(omit string) ApiV1CatalogDeploymentsNotesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiCatalogDeploymentsNotesListRequest) Ordering(ordering string) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) Ordering(ordering string) ApiV1CatalogDeploymentsNotesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsNotesListRequest) Page(page int32) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) Page(page int32) ApiV1CatalogDeploymentsNotesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsNotesListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsNotesListRequest { r.pageSize = &pageSize return r } // Search for deployment-notes by content -func (r ApiCatalogDeploymentsNotesListRequest) Search(search string) ApiCatalogDeploymentsNotesListRequest { +func (r ApiV1CatalogDeploymentsNotesListRequest) Search(search string) ApiV1CatalogDeploymentsNotesListRequest { r.search = &search return r } -func (r ApiCatalogDeploymentsNotesListRequest) Execute() (*PaginatedDeploymentNoteList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsNotesListExecute(r) +func (r ApiV1CatalogDeploymentsNotesListRequest) Execute() (*PaginatedDeploymentNoteList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsNotesListExecute(r) } /* -CatalogDeploymentsNotesList Method for CatalogDeploymentsNotesList +V1CatalogDeploymentsNotesList Method for V1CatalogDeploymentsNotesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsNotesListRequest + @return ApiV1CatalogDeploymentsNotesListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesList(ctx context.Context, deploymentId string) ApiCatalogDeploymentsNotesListRequest { - return ApiCatalogDeploymentsNotesListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesList(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsNotesListRequest { + return ApiV1CatalogDeploymentsNotesListRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -1610,7 +1700,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesList(ctx context.C // Execute executes the request // // @return PaginatedDeploymentNoteList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesListExecute(r ApiCatalogDeploymentsNotesListRequest) (*PaginatedDeploymentNoteList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesListExecute(r ApiV1CatalogDeploymentsNotesListRequest) (*PaginatedDeploymentNoteList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1618,7 +1708,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesListExecute(r ApiC localVarReturnValue *PaginatedDeploymentNoteList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsNotesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsNotesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1728,7 +1818,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesListExecute(r ApiC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsNotesPartialUpdateRequest struct { +type ApiV1CatalogDeploymentsNotesPartialUpdateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -1736,25 +1826,25 @@ type ApiCatalogDeploymentsNotesPartialUpdateRequest struct { deploymentNote *DeploymentNote } -func (r ApiCatalogDeploymentsNotesPartialUpdateRequest) DeploymentNote(deploymentNote DeploymentNote) ApiCatalogDeploymentsNotesPartialUpdateRequest { +func (r ApiV1CatalogDeploymentsNotesPartialUpdateRequest) DeploymentNote(deploymentNote DeploymentNote) ApiV1CatalogDeploymentsNotesPartialUpdateRequest { r.deploymentNote = &deploymentNote return r } -func (r ApiCatalogDeploymentsNotesPartialUpdateRequest) Execute() (*DeploymentNote, *http.Response, error) { - return r.ApiService.CatalogDeploymentsNotesPartialUpdateExecute(r) +func (r ApiV1CatalogDeploymentsNotesPartialUpdateRequest) Execute() (*DeploymentNote, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsNotesPartialUpdateExecute(r) } /* -CatalogDeploymentsNotesPartialUpdate Method for CatalogDeploymentsNotesPartialUpdate +V1CatalogDeploymentsNotesPartialUpdate Method for V1CatalogDeploymentsNotesPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId @param id - @return ApiCatalogDeploymentsNotesPartialUpdateRequest + @return ApiV1CatalogDeploymentsNotesPartialUpdateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesPartialUpdate(ctx context.Context, deploymentId string, id string) ApiCatalogDeploymentsNotesPartialUpdateRequest { - return ApiCatalogDeploymentsNotesPartialUpdateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesPartialUpdate(ctx context.Context, deploymentId string, id string) ApiV1CatalogDeploymentsNotesPartialUpdateRequest { + return ApiV1CatalogDeploymentsNotesPartialUpdateRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -1765,7 +1855,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesPartialUpdate(ctx // Execute executes the request // // @return DeploymentNote -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesPartialUpdateExecute(r ApiCatalogDeploymentsNotesPartialUpdateRequest) (*DeploymentNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesPartialUpdateExecute(r ApiV1CatalogDeploymentsNotesPartialUpdateRequest) (*DeploymentNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -1773,7 +1863,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesPartialUpdateExecu localVarReturnValue *DeploymentNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsNotesPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsNotesPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1859,7 +1949,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesPartialUpdateExecu return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsNotesRetrieveRequest struct { +type ApiV1CatalogDeploymentsNotesRetrieveRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -1869,31 +1959,31 @@ type ApiCatalogDeploymentsNotesRetrieveRequest struct { } // Include only the specified fields in the response -func (r ApiCatalogDeploymentsNotesRetrieveRequest) Fields(fields string) ApiCatalogDeploymentsNotesRetrieveRequest { +func (r ApiV1CatalogDeploymentsNotesRetrieveRequest) Fields(fields string) ApiV1CatalogDeploymentsNotesRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiCatalogDeploymentsNotesRetrieveRequest) Omit(omit string) ApiCatalogDeploymentsNotesRetrieveRequest { +func (r ApiV1CatalogDeploymentsNotesRetrieveRequest) Omit(omit string) ApiV1CatalogDeploymentsNotesRetrieveRequest { r.omit = &omit return r } -func (r ApiCatalogDeploymentsNotesRetrieveRequest) Execute() (*DeploymentNote, *http.Response, error) { - return r.ApiService.CatalogDeploymentsNotesRetrieveExecute(r) +func (r ApiV1CatalogDeploymentsNotesRetrieveRequest) Execute() (*DeploymentNote, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsNotesRetrieveExecute(r) } /* -CatalogDeploymentsNotesRetrieve Method for CatalogDeploymentsNotesRetrieve +V1CatalogDeploymentsNotesRetrieve Method for V1CatalogDeploymentsNotesRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId @param id - @return ApiCatalogDeploymentsNotesRetrieveRequest + @return ApiV1CatalogDeploymentsNotesRetrieveRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesRetrieve(ctx context.Context, deploymentId string, id string) ApiCatalogDeploymentsNotesRetrieveRequest { - return ApiCatalogDeploymentsNotesRetrieveRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesRetrieve(ctx context.Context, deploymentId string, id string) ApiV1CatalogDeploymentsNotesRetrieveRequest { + return ApiV1CatalogDeploymentsNotesRetrieveRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -1904,7 +1994,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesRetrieve(ctx conte // Execute executes the request // // @return DeploymentNote -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesRetrieveExecute(r ApiCatalogDeploymentsNotesRetrieveRequest) (*DeploymentNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesRetrieveExecute(r ApiV1CatalogDeploymentsNotesRetrieveRequest) (*DeploymentNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1912,7 +2002,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesRetrieveExecute(r localVarReturnValue *DeploymentNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsNotesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsNotesRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1999,7 +2089,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesRetrieveExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsNotesUpdateRequest struct { +type ApiV1CatalogDeploymentsNotesUpdateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -2007,25 +2097,25 @@ type ApiCatalogDeploymentsNotesUpdateRequest struct { deploymentNote *DeploymentNote } -func (r ApiCatalogDeploymentsNotesUpdateRequest) DeploymentNote(deploymentNote DeploymentNote) ApiCatalogDeploymentsNotesUpdateRequest { +func (r ApiV1CatalogDeploymentsNotesUpdateRequest) DeploymentNote(deploymentNote DeploymentNote) ApiV1CatalogDeploymentsNotesUpdateRequest { r.deploymentNote = &deploymentNote return r } -func (r ApiCatalogDeploymentsNotesUpdateRequest) Execute() (*DeploymentNote, *http.Response, error) { - return r.ApiService.CatalogDeploymentsNotesUpdateExecute(r) +func (r ApiV1CatalogDeploymentsNotesUpdateRequest) Execute() (*DeploymentNote, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsNotesUpdateExecute(r) } /* -CatalogDeploymentsNotesUpdate Method for CatalogDeploymentsNotesUpdate +V1CatalogDeploymentsNotesUpdate Method for V1CatalogDeploymentsNotesUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId @param id - @return ApiCatalogDeploymentsNotesUpdateRequest + @return ApiV1CatalogDeploymentsNotesUpdateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesUpdate(ctx context.Context, deploymentId string, id string) ApiCatalogDeploymentsNotesUpdateRequest { - return ApiCatalogDeploymentsNotesUpdateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesUpdate(ctx context.Context, deploymentId string, id string) ApiV1CatalogDeploymentsNotesUpdateRequest { + return ApiV1CatalogDeploymentsNotesUpdateRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -2036,7 +2126,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesUpdate(ctx context // Execute executes the request // // @return DeploymentNote -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesUpdateExecute(r ApiCatalogDeploymentsNotesUpdateRequest) (*DeploymentNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsNotesUpdateExecute(r ApiV1CatalogDeploymentsNotesUpdateRequest) (*DeploymentNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -2044,7 +2134,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesUpdateExecute(r Ap localVarReturnValue *DeploymentNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsNotesUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsNotesUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -2130,31 +2220,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsNotesUpdateExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsPartialUpdateRequest struct { +type ApiV1CatalogDeploymentsPartialUpdateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService id string deploymentUpdate *DeploymentUpdate } -func (r ApiCatalogDeploymentsPartialUpdateRequest) DeploymentUpdate(deploymentUpdate DeploymentUpdate) ApiCatalogDeploymentsPartialUpdateRequest { +func (r ApiV1CatalogDeploymentsPartialUpdateRequest) DeploymentUpdate(deploymentUpdate DeploymentUpdate) ApiV1CatalogDeploymentsPartialUpdateRequest { r.deploymentUpdate = &deploymentUpdate return r } -func (r ApiCatalogDeploymentsPartialUpdateRequest) Execute() (*DeploymentUpdate, *http.Response, error) { - return r.ApiService.CatalogDeploymentsPartialUpdateExecute(r) +func (r ApiV1CatalogDeploymentsPartialUpdateRequest) Execute() (*DeploymentUpdate, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsPartialUpdateExecute(r) } /* -CatalogDeploymentsPartialUpdate Method for CatalogDeploymentsPartialUpdate +V1CatalogDeploymentsPartialUpdate Method for V1CatalogDeploymentsPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this deployment. - @return ApiCatalogDeploymentsPartialUpdateRequest + @return ApiV1CatalogDeploymentsPartialUpdateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPartialUpdate(ctx context.Context, id string) ApiCatalogDeploymentsPartialUpdateRequest { - return ApiCatalogDeploymentsPartialUpdateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsPartialUpdate(ctx context.Context, id string) ApiV1CatalogDeploymentsPartialUpdateRequest { + return ApiV1CatalogDeploymentsPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -2164,7 +2254,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPartialUpdate(ctx conte // Execute executes the request // // @return DeploymentUpdate -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPartialUpdateExecute(r ApiCatalogDeploymentsPartialUpdateRequest) (*DeploymentUpdate, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsPartialUpdateExecute(r ApiV1CatalogDeploymentsPartialUpdateRequest) (*DeploymentUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -2172,7 +2262,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPartialUpdateExecute(r localVarReturnValue *DeploymentUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -2254,31 +2344,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPartialUpdateExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsPipelinesCreateRequest struct { +type ApiV1CatalogDeploymentsPipelinesCreateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string deploymentPipeline *DeploymentPipeline } -func (r ApiCatalogDeploymentsPipelinesCreateRequest) DeploymentPipeline(deploymentPipeline DeploymentPipeline) ApiCatalogDeploymentsPipelinesCreateRequest { +func (r ApiV1CatalogDeploymentsPipelinesCreateRequest) DeploymentPipeline(deploymentPipeline DeploymentPipeline) ApiV1CatalogDeploymentsPipelinesCreateRequest { r.deploymentPipeline = &deploymentPipeline return r } -func (r ApiCatalogDeploymentsPipelinesCreateRequest) Execute() (*DeploymentPipeline, *http.Response, error) { - return r.ApiService.CatalogDeploymentsPipelinesCreateExecute(r) +func (r ApiV1CatalogDeploymentsPipelinesCreateRequest) Execute() (*DeploymentPipeline, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsPipelinesCreateExecute(r) } /* -CatalogDeploymentsPipelinesCreate Method for CatalogDeploymentsPipelinesCreate +V1CatalogDeploymentsPipelinesCreate Method for V1CatalogDeploymentsPipelinesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsPipelinesCreateRequest + @return ApiV1CatalogDeploymentsPipelinesCreateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesCreate(ctx context.Context, deploymentId string) ApiCatalogDeploymentsPipelinesCreateRequest { - return ApiCatalogDeploymentsPipelinesCreateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsPipelinesCreate(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsPipelinesCreateRequest { + return ApiV1CatalogDeploymentsPipelinesCreateRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -2288,7 +2378,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesCreate(ctx con // Execute executes the request // // @return DeploymentPipeline -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesCreateExecute(r ApiCatalogDeploymentsPipelinesCreateRequest) (*DeploymentPipeline, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsPipelinesCreateExecute(r ApiV1CatalogDeploymentsPipelinesCreateRequest) (*DeploymentPipeline, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -2296,7 +2386,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesCreateExecute( localVarReturnValue *DeploymentPipeline ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsPipelinesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsPipelinesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -2381,7 +2471,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesCreateExecute( return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsPipelinesListRequest struct { +type ApiV1CatalogDeploymentsPipelinesListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -2394,59 +2484,59 @@ type ApiCatalogDeploymentsPipelinesListRequest struct { search *string } -// Action for the pipeline to run * `apply` - apply * `destroy` - destroy -func (r ApiCatalogDeploymentsPipelinesListRequest) Action(action string) ApiCatalogDeploymentsPipelinesListRequest { +// Action for the pipeline to run * `apply` - apply * `destroy` - destroy * `notify` - notify +func (r ApiV1CatalogDeploymentsPipelinesListRequest) Action(action string) ApiV1CatalogDeploymentsPipelinesListRequest { r.action = &action return r } -func (r ApiCatalogDeploymentsPipelinesListRequest) Id(id string) ApiCatalogDeploymentsPipelinesListRequest { +func (r ApiV1CatalogDeploymentsPipelinesListRequest) Id(id string) ApiV1CatalogDeploymentsPipelinesListRequest { r.id = &id return r } // Which field to use when ordering the results. -func (r ApiCatalogDeploymentsPipelinesListRequest) Ordering(ordering string) ApiCatalogDeploymentsPipelinesListRequest { +func (r ApiV1CatalogDeploymentsPipelinesListRequest) Ordering(ordering string) ApiV1CatalogDeploymentsPipelinesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsPipelinesListRequest) Page(page int32) ApiCatalogDeploymentsPipelinesListRequest { +func (r ApiV1CatalogDeploymentsPipelinesListRequest) Page(page int32) ApiV1CatalogDeploymentsPipelinesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsPipelinesListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsPipelinesListRequest { +func (r ApiV1CatalogDeploymentsPipelinesListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsPipelinesListRequest { r.pageSize = &pageSize return r } -func (r ApiCatalogDeploymentsPipelinesListRequest) PipelineId(pipelineId int32) ApiCatalogDeploymentsPipelinesListRequest { +func (r ApiV1CatalogDeploymentsPipelinesListRequest) PipelineId(pipelineId int32) ApiV1CatalogDeploymentsPipelinesListRequest { r.pipelineId = &pipelineId return r } // Search for deployment-pipelines by action, id, pipeline_id, url -func (r ApiCatalogDeploymentsPipelinesListRequest) Search(search string) ApiCatalogDeploymentsPipelinesListRequest { +func (r ApiV1CatalogDeploymentsPipelinesListRequest) Search(search string) ApiV1CatalogDeploymentsPipelinesListRequest { r.search = &search return r } -func (r ApiCatalogDeploymentsPipelinesListRequest) Execute() (*PaginatedDeploymentPipelineList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsPipelinesListExecute(r) +func (r ApiV1CatalogDeploymentsPipelinesListRequest) Execute() (*PaginatedDeploymentPipelineList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsPipelinesListExecute(r) } /* -CatalogDeploymentsPipelinesList Method for CatalogDeploymentsPipelinesList +V1CatalogDeploymentsPipelinesList Method for V1CatalogDeploymentsPipelinesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsPipelinesListRequest + @return ApiV1CatalogDeploymentsPipelinesListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesList(ctx context.Context, deploymentId string) ApiCatalogDeploymentsPipelinesListRequest { - return ApiCatalogDeploymentsPipelinesListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsPipelinesList(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsPipelinesListRequest { + return ApiV1CatalogDeploymentsPipelinesListRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -2456,7 +2546,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesList(ctx conte // Execute executes the request // // @return PaginatedDeploymentPipelineList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesListExecute(r ApiCatalogDeploymentsPipelinesListRequest) (*PaginatedDeploymentPipelineList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsPipelinesListExecute(r ApiV1CatalogDeploymentsPipelinesListRequest) (*PaginatedDeploymentPipelineList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2464,7 +2554,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesListExecute(r localVarReturnValue *PaginatedDeploymentPipelineList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsPipelinesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsPipelinesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -2565,7 +2655,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsPipelinesListExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsRetrieveRequest struct { +type ApiV1CatalogDeploymentsRetrieveRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService id string @@ -2576,42 +2666,42 @@ type ApiCatalogDeploymentsRetrieveRequest struct { } // Expand related field(s) instead of only showing a UUID (ex: \"cluster\"). -func (r ApiCatalogDeploymentsRetrieveRequest) Expand(expand string) ApiCatalogDeploymentsRetrieveRequest { +func (r ApiV1CatalogDeploymentsRetrieveRequest) Expand(expand string) ApiV1CatalogDeploymentsRetrieveRequest { r.expand = &expand return r } // Include deployments whose expires_at value is within the given range (inclusive), specified as \"today\", \"tomorrow\", or \"{start}[,end]\". Start and end times must be in ISO format. -func (r ApiCatalogDeploymentsRetrieveRequest) Expiring(expiring string) ApiCatalogDeploymentsRetrieveRequest { +func (r ApiV1CatalogDeploymentsRetrieveRequest) Expiring(expiring string) ApiV1CatalogDeploymentsRetrieveRequest { r.expiring = &expiring return r } // Include only the specified fields in the response -func (r ApiCatalogDeploymentsRetrieveRequest) Fields(fields string) ApiCatalogDeploymentsRetrieveRequest { +func (r ApiV1CatalogDeploymentsRetrieveRequest) Fields(fields string) ApiV1CatalogDeploymentsRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiCatalogDeploymentsRetrieveRequest) Omit(omit string) ApiCatalogDeploymentsRetrieveRequest { +func (r ApiV1CatalogDeploymentsRetrieveRequest) Omit(omit string) ApiV1CatalogDeploymentsRetrieveRequest { r.omit = &omit return r } -func (r ApiCatalogDeploymentsRetrieveRequest) Execute() (*Deployment, *http.Response, error) { - return r.ApiService.CatalogDeploymentsRetrieveExecute(r) +func (r ApiV1CatalogDeploymentsRetrieveRequest) Execute() (*Deployment, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsRetrieveExecute(r) } /* -CatalogDeploymentsRetrieve Method for CatalogDeploymentsRetrieve +V1CatalogDeploymentsRetrieve Method for V1CatalogDeploymentsRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this deployment. - @return ApiCatalogDeploymentsRetrieveRequest + @return ApiV1CatalogDeploymentsRetrieveRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsRetrieve(ctx context.Context, id string) ApiCatalogDeploymentsRetrieveRequest { - return ApiCatalogDeploymentsRetrieveRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsRetrieve(ctx context.Context, id string) ApiV1CatalogDeploymentsRetrieveRequest { + return ApiV1CatalogDeploymentsRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -2621,7 +2711,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsRetrieve(ctx context.Co // Execute executes the request // // @return Deployment -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsRetrieveExecute(r ApiCatalogDeploymentsRetrieveRequest) (*Deployment, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsRetrieveExecute(r ApiV1CatalogDeploymentsRetrieveRequest) (*Deployment, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2629,7 +2719,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsRetrieveExecute(r ApiCa localVarReturnValue *Deployment ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -2721,31 +2811,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsRetrieveExecute(r ApiCa return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsServicesCreateRequest struct { +type ApiV1CatalogDeploymentsServicesCreateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string deploymentService *DeploymentService } -func (r ApiCatalogDeploymentsServicesCreateRequest) DeploymentService(deploymentService DeploymentService) ApiCatalogDeploymentsServicesCreateRequest { +func (r ApiV1CatalogDeploymentsServicesCreateRequest) DeploymentService(deploymentService DeploymentService) ApiV1CatalogDeploymentsServicesCreateRequest { r.deploymentService = &deploymentService return r } -func (r ApiCatalogDeploymentsServicesCreateRequest) Execute() (*DeploymentService, *http.Response, error) { - return r.ApiService.CatalogDeploymentsServicesCreateExecute(r) +func (r ApiV1CatalogDeploymentsServicesCreateRequest) Execute() (*DeploymentService, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsServicesCreateExecute(r) } /* -CatalogDeploymentsServicesCreate Method for CatalogDeploymentsServicesCreate +V1CatalogDeploymentsServicesCreate Method for V1CatalogDeploymentsServicesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsServicesCreateRequest + @return ApiV1CatalogDeploymentsServicesCreateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesCreate(ctx context.Context, deploymentId string) ApiCatalogDeploymentsServicesCreateRequest { - return ApiCatalogDeploymentsServicesCreateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsServicesCreate(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsServicesCreateRequest { + return ApiV1CatalogDeploymentsServicesCreateRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -2755,7 +2845,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesCreate(ctx cont // Execute executes the request // // @return DeploymentService -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesCreateExecute(r ApiCatalogDeploymentsServicesCreateRequest) (*DeploymentService, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsServicesCreateExecute(r ApiV1CatalogDeploymentsServicesCreateRequest) (*DeploymentService, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -2763,7 +2853,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesCreateExecute(r localVarReturnValue *DeploymentService ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsServicesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsServicesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -2848,7 +2938,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesCreateExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsServicesListRequest struct { +type ApiV1CatalogDeploymentsServicesListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -2860,53 +2950,53 @@ type ApiCatalogDeploymentsServicesListRequest struct { search *string } -func (r ApiCatalogDeploymentsServicesListRequest) Id(id string) ApiCatalogDeploymentsServicesListRequest { +func (r ApiV1CatalogDeploymentsServicesListRequest) Id(id string) ApiV1CatalogDeploymentsServicesListRequest { r.id = &id return r } -func (r ApiCatalogDeploymentsServicesListRequest) Name(name string) ApiCatalogDeploymentsServicesListRequest { +func (r ApiV1CatalogDeploymentsServicesListRequest) Name(name string) ApiV1CatalogDeploymentsServicesListRequest { r.name = &name return r } // Which field to use when ordering the results. -func (r ApiCatalogDeploymentsServicesListRequest) Ordering(ordering string) ApiCatalogDeploymentsServicesListRequest { +func (r ApiV1CatalogDeploymentsServicesListRequest) Ordering(ordering string) ApiV1CatalogDeploymentsServicesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsServicesListRequest) Page(page int32) ApiCatalogDeploymentsServicesListRequest { +func (r ApiV1CatalogDeploymentsServicesListRequest) Page(page int32) ApiV1CatalogDeploymentsServicesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsServicesListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsServicesListRequest { +func (r ApiV1CatalogDeploymentsServicesListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsServicesListRequest { r.pageSize = &pageSize return r } // Search for deployment-services by id, name, url -func (r ApiCatalogDeploymentsServicesListRequest) Search(search string) ApiCatalogDeploymentsServicesListRequest { +func (r ApiV1CatalogDeploymentsServicesListRequest) Search(search string) ApiV1CatalogDeploymentsServicesListRequest { r.search = &search return r } -func (r ApiCatalogDeploymentsServicesListRequest) Execute() (*PaginatedDeploymentServiceList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsServicesListExecute(r) +func (r ApiV1CatalogDeploymentsServicesListRequest) Execute() (*PaginatedDeploymentServiceList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsServicesListExecute(r) } /* -CatalogDeploymentsServicesList Method for CatalogDeploymentsServicesList +V1CatalogDeploymentsServicesList Method for V1CatalogDeploymentsServicesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsServicesListRequest + @return ApiV1CatalogDeploymentsServicesListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesList(ctx context.Context, deploymentId string) ApiCatalogDeploymentsServicesListRequest { - return ApiCatalogDeploymentsServicesListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsServicesList(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsServicesListRequest { + return ApiV1CatalogDeploymentsServicesListRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -2916,7 +3006,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesList(ctx contex // Execute executes the request // // @return PaginatedDeploymentServiceList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesListExecute(r ApiCatalogDeploymentsServicesListRequest) (*PaginatedDeploymentServiceList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsServicesListExecute(r ApiV1CatalogDeploymentsServicesListRequest) (*PaginatedDeploymentServiceList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2924,7 +3014,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesListExecute(r A localVarReturnValue *PaginatedDeploymentServiceList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsServicesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsServicesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -3022,31 +3112,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsServicesListExecute(r A return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsSshKeysCreateRequest struct { +type ApiV1CatalogDeploymentsSshKeysCreateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string deploymentKey *DeploymentKey } -func (r ApiCatalogDeploymentsSshKeysCreateRequest) DeploymentKey(deploymentKey DeploymentKey) ApiCatalogDeploymentsSshKeysCreateRequest { +func (r ApiV1CatalogDeploymentsSshKeysCreateRequest) DeploymentKey(deploymentKey DeploymentKey) ApiV1CatalogDeploymentsSshKeysCreateRequest { r.deploymentKey = &deploymentKey return r } -func (r ApiCatalogDeploymentsSshKeysCreateRequest) Execute() (*DeploymentKey, *http.Response, error) { - return r.ApiService.CatalogDeploymentsSshKeysCreateExecute(r) +func (r ApiV1CatalogDeploymentsSshKeysCreateRequest) Execute() (*DeploymentKey, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsSshKeysCreateExecute(r) } /* -CatalogDeploymentsSshKeysCreate Method for CatalogDeploymentsSshKeysCreate +V1CatalogDeploymentsSshKeysCreate Method for V1CatalogDeploymentsSshKeysCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsSshKeysCreateRequest + @return ApiV1CatalogDeploymentsSshKeysCreateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysCreate(ctx context.Context, deploymentId string) ApiCatalogDeploymentsSshKeysCreateRequest { - return ApiCatalogDeploymentsSshKeysCreateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsSshKeysCreate(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsSshKeysCreateRequest { + return ApiV1CatalogDeploymentsSshKeysCreateRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -3056,7 +3146,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysCreate(ctx conte // Execute executes the request // // @return DeploymentKey -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysCreateExecute(r ApiCatalogDeploymentsSshKeysCreateRequest) (*DeploymentKey, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsSshKeysCreateExecute(r ApiV1CatalogDeploymentsSshKeysCreateRequest) (*DeploymentKey, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -3064,7 +3154,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysCreateExecute(r localVarReturnValue *DeploymentKey ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsSshKeysCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsSshKeysCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -3149,27 +3239,27 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysCreateExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsSshKeysDestroyRequest struct { +type ApiV1CatalogDeploymentsSshKeysDestroyRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string id string } -func (r ApiCatalogDeploymentsSshKeysDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.CatalogDeploymentsSshKeysDestroyExecute(r) +func (r ApiV1CatalogDeploymentsSshKeysDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1CatalogDeploymentsSshKeysDestroyExecute(r) } /* -CatalogDeploymentsSshKeysDestroy Method for CatalogDeploymentsSshKeysDestroy +V1CatalogDeploymentsSshKeysDestroy Method for V1CatalogDeploymentsSshKeysDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId @param id - @return ApiCatalogDeploymentsSshKeysDestroyRequest + @return ApiV1CatalogDeploymentsSshKeysDestroyRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysDestroy(ctx context.Context, deploymentId string, id string) ApiCatalogDeploymentsSshKeysDestroyRequest { - return ApiCatalogDeploymentsSshKeysDestroyRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsSshKeysDestroy(ctx context.Context, deploymentId string, id string) ApiV1CatalogDeploymentsSshKeysDestroyRequest { + return ApiV1CatalogDeploymentsSshKeysDestroyRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -3178,14 +3268,14 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysDestroy(ctx cont } // Execute executes the request -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysDestroyExecute(r ApiCatalogDeploymentsSshKeysDestroyRequest) (*http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsSshKeysDestroyExecute(r ApiV1CatalogDeploymentsSshKeysDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsSshKeysDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsSshKeysDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -3257,7 +3347,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysDestroyExecute(r return localVarHTTPResponse, nil } -type ApiCatalogDeploymentsSshKeysListRequest struct { +type ApiV1CatalogDeploymentsSshKeysListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -3269,53 +3359,53 @@ type ApiCatalogDeploymentsSshKeysListRequest struct { search *string } -func (r ApiCatalogDeploymentsSshKeysListRequest) Id(id string) ApiCatalogDeploymentsSshKeysListRequest { +func (r ApiV1CatalogDeploymentsSshKeysListRequest) Id(id string) ApiV1CatalogDeploymentsSshKeysListRequest { r.id = &id return r } -func (r ApiCatalogDeploymentsSshKeysListRequest) Name(name string) ApiCatalogDeploymentsSshKeysListRequest { +func (r ApiV1CatalogDeploymentsSshKeysListRequest) Name(name string) ApiV1CatalogDeploymentsSshKeysListRequest { r.name = &name return r } // Which field to use when ordering the results. -func (r ApiCatalogDeploymentsSshKeysListRequest) Ordering(ordering string) ApiCatalogDeploymentsSshKeysListRequest { +func (r ApiV1CatalogDeploymentsSshKeysListRequest) Ordering(ordering string) ApiV1CatalogDeploymentsSshKeysListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsSshKeysListRequest) Page(page int32) ApiCatalogDeploymentsSshKeysListRequest { +func (r ApiV1CatalogDeploymentsSshKeysListRequest) Page(page int32) ApiV1CatalogDeploymentsSshKeysListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsSshKeysListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsSshKeysListRequest { +func (r ApiV1CatalogDeploymentsSshKeysListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsSshKeysListRequest { r.pageSize = &pageSize return r } // Search for deployment-keys by name -func (r ApiCatalogDeploymentsSshKeysListRequest) Search(search string) ApiCatalogDeploymentsSshKeysListRequest { +func (r ApiV1CatalogDeploymentsSshKeysListRequest) Search(search string) ApiV1CatalogDeploymentsSshKeysListRequest { r.search = &search return r } -func (r ApiCatalogDeploymentsSshKeysListRequest) Execute() (*PaginatedDeploymentKeyList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsSshKeysListExecute(r) +func (r ApiV1CatalogDeploymentsSshKeysListRequest) Execute() (*PaginatedDeploymentKeyList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsSshKeysListExecute(r) } /* -CatalogDeploymentsSshKeysList Method for CatalogDeploymentsSshKeysList +V1CatalogDeploymentsSshKeysList Method for V1CatalogDeploymentsSshKeysList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsSshKeysListRequest + @return ApiV1CatalogDeploymentsSshKeysListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysList(ctx context.Context, deploymentId string) ApiCatalogDeploymentsSshKeysListRequest { - return ApiCatalogDeploymentsSshKeysListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsSshKeysList(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsSshKeysListRequest { + return ApiV1CatalogDeploymentsSshKeysListRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -3325,7 +3415,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysList(ctx context // Execute executes the request // // @return PaginatedDeploymentKeyList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysListExecute(r ApiCatalogDeploymentsSshKeysListRequest) (*PaginatedDeploymentKeyList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsSshKeysListExecute(r ApiV1CatalogDeploymentsSshKeysListRequest) (*PaginatedDeploymentKeyList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -3333,7 +3423,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysListExecute(r Ap localVarReturnValue *PaginatedDeploymentKeyList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsSshKeysList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsSshKeysList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -3431,37 +3521,37 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsSshKeysListExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsStatsRetrieveRequest struct { +type ApiV1CatalogDeploymentsStatsRetrieveRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService } -func (r ApiCatalogDeploymentsStatsRetrieveRequest) Execute() (*http.Response, error) { - return r.ApiService.CatalogDeploymentsStatsRetrieveExecute(r) +func (r ApiV1CatalogDeploymentsStatsRetrieveRequest) Execute() (*http.Response, error) { + return r.ApiService.V1CatalogDeploymentsStatsRetrieveExecute(r) } /* -CatalogDeploymentsStatsRetrieve 🚧 [Beta Feature] +V1CatalogDeploymentsStatsRetrieve 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogDeploymentsStatsRetrieveRequest + @return ApiV1CatalogDeploymentsStatsRetrieveRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsStatsRetrieve(ctx context.Context) ApiCatalogDeploymentsStatsRetrieveRequest { - return ApiCatalogDeploymentsStatsRetrieveRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsStatsRetrieve(ctx context.Context) ApiV1CatalogDeploymentsStatsRetrieveRequest { + return ApiV1CatalogDeploymentsStatsRetrieveRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsStatsRetrieveExecute(r ApiCatalogDeploymentsStatsRetrieveRequest) (*http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsStatsRetrieveExecute(r ApiV1CatalogDeploymentsStatsRetrieveRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsStatsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsStatsRetrieve") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -3531,31 +3621,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsStatsRetrieveExecute(r return localVarHTTPResponse, nil } -type ApiCatalogDeploymentsTasksCreateRequest struct { +type ApiV1CatalogDeploymentsTasksCreateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string deploymentTask *DeploymentTask } -func (r ApiCatalogDeploymentsTasksCreateRequest) DeploymentTask(deploymentTask DeploymentTask) ApiCatalogDeploymentsTasksCreateRequest { +func (r ApiV1CatalogDeploymentsTasksCreateRequest) DeploymentTask(deploymentTask DeploymentTask) ApiV1CatalogDeploymentsTasksCreateRequest { r.deploymentTask = &deploymentTask return r } -func (r ApiCatalogDeploymentsTasksCreateRequest) Execute() (*DeploymentTask, *http.Response, error) { - return r.ApiService.CatalogDeploymentsTasksCreateExecute(r) +func (r ApiV1CatalogDeploymentsTasksCreateRequest) Execute() (*DeploymentTask, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsTasksCreateExecute(r) } /* -CatalogDeploymentsTasksCreate 🚧 [Beta Feature] +V1CatalogDeploymentsTasksCreate 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsTasksCreateRequest + @return ApiV1CatalogDeploymentsTasksCreateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksCreate(ctx context.Context, deploymentId string) ApiCatalogDeploymentsTasksCreateRequest { - return ApiCatalogDeploymentsTasksCreateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsTasksCreate(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsTasksCreateRequest { + return ApiV1CatalogDeploymentsTasksCreateRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -3565,7 +3655,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksCreate(ctx context // Execute executes the request // // @return DeploymentTask -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksCreateExecute(r ApiCatalogDeploymentsTasksCreateRequest) (*DeploymentTask, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsTasksCreateExecute(r ApiV1CatalogDeploymentsTasksCreateRequest) (*DeploymentTask, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -3573,7 +3663,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksCreateExecute(r Ap localVarReturnValue *DeploymentTask ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsTasksCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsTasksCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -3658,7 +3748,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksCreateExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsTasksListRequest struct { +type ApiV1CatalogDeploymentsTasksListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string @@ -3672,59 +3762,59 @@ type ApiCatalogDeploymentsTasksListRequest struct { } // The action the task will perform * `start_instances` - Start all instances in the deployment * `stop_instances` - Stop all instances in the deployment -func (r ApiCatalogDeploymentsTasksListRequest) Action(action string) ApiCatalogDeploymentsTasksListRequest { +func (r ApiV1CatalogDeploymentsTasksListRequest) Action(action string) ApiV1CatalogDeploymentsTasksListRequest { r.action = &action return r } -func (r ApiCatalogDeploymentsTasksListRequest) Id(id string) ApiCatalogDeploymentsTasksListRequest { +func (r ApiV1CatalogDeploymentsTasksListRequest) Id(id string) ApiV1CatalogDeploymentsTasksListRequest { r.id = &id return r } // Which field to use when ordering the results. -func (r ApiCatalogDeploymentsTasksListRequest) Ordering(ordering string) ApiCatalogDeploymentsTasksListRequest { +func (r ApiV1CatalogDeploymentsTasksListRequest) Ordering(ordering string) ApiV1CatalogDeploymentsTasksListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogDeploymentsTasksListRequest) Page(page int32) ApiCatalogDeploymentsTasksListRequest { +func (r ApiV1CatalogDeploymentsTasksListRequest) Page(page int32) ApiV1CatalogDeploymentsTasksListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogDeploymentsTasksListRequest) PageSize(pageSize int32) ApiCatalogDeploymentsTasksListRequest { +func (r ApiV1CatalogDeploymentsTasksListRequest) PageSize(pageSize int32) ApiV1CatalogDeploymentsTasksListRequest { r.pageSize = &pageSize return r } // Search for deployment-tasks by action, id, status, status_text -func (r ApiCatalogDeploymentsTasksListRequest) Search(search string) ApiCatalogDeploymentsTasksListRequest { +func (r ApiV1CatalogDeploymentsTasksListRequest) Search(search string) ApiV1CatalogDeploymentsTasksListRequest { r.search = &search return r } // Current status of the task * `completed` - completed * `failed` - failed * `pending` - pending * `processing` - processing * `retrying` - retrying -func (r ApiCatalogDeploymentsTasksListRequest) Status(status string) ApiCatalogDeploymentsTasksListRequest { +func (r ApiV1CatalogDeploymentsTasksListRequest) Status(status string) ApiV1CatalogDeploymentsTasksListRequest { r.status = &status return r } -func (r ApiCatalogDeploymentsTasksListRequest) Execute() (*PaginatedDeploymentTaskList, *http.Response, error) { - return r.ApiService.CatalogDeploymentsTasksListExecute(r) +func (r ApiV1CatalogDeploymentsTasksListRequest) Execute() (*PaginatedDeploymentTaskList, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsTasksListExecute(r) } /* -CatalogDeploymentsTasksList 🚧 [Beta Feature] +V1CatalogDeploymentsTasksList 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId - @return ApiCatalogDeploymentsTasksListRequest + @return ApiV1CatalogDeploymentsTasksListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksList(ctx context.Context, deploymentId string) ApiCatalogDeploymentsTasksListRequest { - return ApiCatalogDeploymentsTasksListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsTasksList(ctx context.Context, deploymentId string) ApiV1CatalogDeploymentsTasksListRequest { + return ApiV1CatalogDeploymentsTasksListRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -3734,7 +3824,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksList(ctx context.C // Execute executes the request // // @return PaginatedDeploymentTaskList -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksListExecute(r ApiCatalogDeploymentsTasksListRequest) (*PaginatedDeploymentTaskList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsTasksListExecute(r ApiV1CatalogDeploymentsTasksListRequest) (*PaginatedDeploymentTaskList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -3742,7 +3832,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksListExecute(r ApiC localVarReturnValue *PaginatedDeploymentTaskList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsTasksList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsTasksList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -3843,27 +3933,27 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksListExecute(r ApiC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsTasksRetrieveRequest struct { +type ApiV1CatalogDeploymentsTasksRetrieveRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService deploymentId string id string } -func (r ApiCatalogDeploymentsTasksRetrieveRequest) Execute() (*DeploymentTask, *http.Response, error) { - return r.ApiService.CatalogDeploymentsTasksRetrieveExecute(r) +func (r ApiV1CatalogDeploymentsTasksRetrieveRequest) Execute() (*DeploymentTask, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsTasksRetrieveExecute(r) } /* -CatalogDeploymentsTasksRetrieve 🚧 [Beta Feature] +V1CatalogDeploymentsTasksRetrieve 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param deploymentId @param id - @return ApiCatalogDeploymentsTasksRetrieveRequest + @return ApiV1CatalogDeploymentsTasksRetrieveRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksRetrieve(ctx context.Context, deploymentId string, id string) ApiCatalogDeploymentsTasksRetrieveRequest { - return ApiCatalogDeploymentsTasksRetrieveRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsTasksRetrieve(ctx context.Context, deploymentId string, id string) ApiV1CatalogDeploymentsTasksRetrieveRequest { + return ApiV1CatalogDeploymentsTasksRetrieveRequest{ ApiService: a, ctx: ctx, deploymentId: deploymentId, @@ -3874,7 +3964,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksRetrieve(ctx conte // Execute executes the request // // @return DeploymentTask -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksRetrieveExecute(r ApiCatalogDeploymentsTasksRetrieveRequest) (*DeploymentTask, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsTasksRetrieveExecute(r ApiV1CatalogDeploymentsTasksRetrieveRequest) (*DeploymentTask, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -3882,7 +3972,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksRetrieveExecute(r localVarReturnValue *DeploymentTask ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsTasksRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsTasksRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -3963,31 +4053,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsTasksRetrieveExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogDeploymentsUpdateRequest struct { +type ApiV1CatalogDeploymentsUpdateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService id string deploymentUpdate *DeploymentUpdate } -func (r ApiCatalogDeploymentsUpdateRequest) DeploymentUpdate(deploymentUpdate DeploymentUpdate) ApiCatalogDeploymentsUpdateRequest { +func (r ApiV1CatalogDeploymentsUpdateRequest) DeploymentUpdate(deploymentUpdate DeploymentUpdate) ApiV1CatalogDeploymentsUpdateRequest { r.deploymentUpdate = &deploymentUpdate return r } -func (r ApiCatalogDeploymentsUpdateRequest) Execute() (*DeploymentUpdate, *http.Response, error) { - return r.ApiService.CatalogDeploymentsUpdateExecute(r) +func (r ApiV1CatalogDeploymentsUpdateRequest) Execute() (*DeploymentUpdate, *http.Response, error) { + return r.ApiService.V1CatalogDeploymentsUpdateExecute(r) } /* -CatalogDeploymentsUpdate Method for CatalogDeploymentsUpdate +V1CatalogDeploymentsUpdate Method for V1CatalogDeploymentsUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this deployment. - @return ApiCatalogDeploymentsUpdateRequest + @return ApiV1CatalogDeploymentsUpdateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsUpdate(ctx context.Context, id string) ApiCatalogDeploymentsUpdateRequest { - return ApiCatalogDeploymentsUpdateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsUpdate(ctx context.Context, id string) ApiV1CatalogDeploymentsUpdateRequest { + return ApiV1CatalogDeploymentsUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -3997,7 +4087,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsUpdate(ctx context.Cont // Execute executes the request // // @return DeploymentUpdate -func (a *CatalogDeploymentsAPIService) CatalogDeploymentsUpdateExecute(r ApiCatalogDeploymentsUpdateRequest) (*DeploymentUpdate, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogDeploymentsUpdateExecute(r ApiV1CatalogDeploymentsUpdateRequest) (*DeploymentUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -4005,7 +4095,7 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsUpdateExecute(r ApiCata localVarReturnValue *DeploymentUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogDeploymentsUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogDeploymentsUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -4087,31 +4177,31 @@ func (a *CatalogDeploymentsAPIService) CatalogDeploymentsUpdateExecute(r ApiCata return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesNotesCreateRequest struct { +type ApiV1CatalogExperiencesNotesCreateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService experienceId string experienceNote *ExperienceNote } -func (r ApiCatalogExperiencesNotesCreateRequest) ExperienceNote(experienceNote ExperienceNote) ApiCatalogExperiencesNotesCreateRequest { +func (r ApiV1CatalogExperiencesNotesCreateRequest) ExperienceNote(experienceNote ExperienceNote) ApiV1CatalogExperiencesNotesCreateRequest { r.experienceNote = &experienceNote return r } -func (r ApiCatalogExperiencesNotesCreateRequest) Execute() (*ExperienceNote, *http.Response, error) { - return r.ApiService.CatalogExperiencesNotesCreateExecute(r) +func (r ApiV1CatalogExperiencesNotesCreateRequest) Execute() (*ExperienceNote, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesNotesCreateExecute(r) } /* -CatalogExperiencesNotesCreate Method for CatalogExperiencesNotesCreate +V1CatalogExperiencesNotesCreate Method for V1CatalogExperiencesNotesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param experienceId - @return ApiCatalogExperiencesNotesCreateRequest + @return ApiV1CatalogExperiencesNotesCreateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesCreate(ctx context.Context, experienceId string) ApiCatalogExperiencesNotesCreateRequest { - return ApiCatalogExperiencesNotesCreateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesCreate(ctx context.Context, experienceId string) ApiV1CatalogExperiencesNotesCreateRequest { + return ApiV1CatalogExperiencesNotesCreateRequest{ ApiService: a, ctx: ctx, experienceId: experienceId, @@ -4121,7 +4211,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesCreate(ctx context // Execute executes the request // // @return ExperienceNote -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesCreateExecute(r ApiCatalogExperiencesNotesCreateRequest) (*ExperienceNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesCreateExecute(r ApiV1CatalogExperiencesNotesCreateRequest) (*ExperienceNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -4129,7 +4219,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesCreateExecute(r Ap localVarReturnValue *ExperienceNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogExperiencesNotesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogExperiencesNotesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -4214,27 +4304,27 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesCreateExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesNotesDestroyRequest struct { +type ApiV1CatalogExperiencesNotesDestroyRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService experienceId string id string } -func (r ApiCatalogExperiencesNotesDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.CatalogExperiencesNotesDestroyExecute(r) +func (r ApiV1CatalogExperiencesNotesDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1CatalogExperiencesNotesDestroyExecute(r) } /* -CatalogExperiencesNotesDestroy Method for CatalogExperiencesNotesDestroy +V1CatalogExperiencesNotesDestroy Method for V1CatalogExperiencesNotesDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param experienceId @param id - @return ApiCatalogExperiencesNotesDestroyRequest + @return ApiV1CatalogExperiencesNotesDestroyRequest */ -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesDestroy(ctx context.Context, experienceId string, id string) ApiCatalogExperiencesNotesDestroyRequest { - return ApiCatalogExperiencesNotesDestroyRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesDestroy(ctx context.Context, experienceId string, id string) ApiV1CatalogExperiencesNotesDestroyRequest { + return ApiV1CatalogExperiencesNotesDestroyRequest{ ApiService: a, ctx: ctx, experienceId: experienceId, @@ -4243,14 +4333,14 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesDestroy(ctx contex } // Execute executes the request -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesDestroyExecute(r ApiCatalogExperiencesNotesDestroyRequest) (*http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesDestroyExecute(r ApiV1CatalogExperiencesNotesDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogExperiencesNotesDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogExperiencesNotesDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -4322,7 +4412,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesDestroyExecute(r A return localVarHTTPResponse, nil } -type ApiCatalogExperiencesNotesListRequest struct { +type ApiV1CatalogExperiencesNotesListRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService experienceId string @@ -4338,75 +4428,75 @@ type ApiCatalogExperiencesNotesListRequest struct { search *string } -func (r ApiCatalogExperiencesNotesListRequest) CreatedBy(createdBy int32) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) CreatedBy(createdBy int32) ApiV1CatalogExperiencesNotesListRequest { r.createdBy = &createdBy return r } -func (r ApiCatalogExperiencesNotesListRequest) Experience(experience string) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) Experience(experience string) ApiV1CatalogExperiencesNotesListRequest { r.experience = &experience return r } // Include only the specified fields in the response -func (r ApiCatalogExperiencesNotesListRequest) Fields(fields string) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) Fields(fields string) ApiV1CatalogExperiencesNotesListRequest { r.fields = &fields return r } -func (r ApiCatalogExperiencesNotesListRequest) Id(id string) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) Id(id string) ApiV1CatalogExperiencesNotesListRequest { r.id = &id return r } -func (r ApiCatalogExperiencesNotesListRequest) ModifiedBy(modifiedBy int32) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) ModifiedBy(modifiedBy int32) ApiV1CatalogExperiencesNotesListRequest { r.modifiedBy = &modifiedBy return r } // Exclude the specified fields in the response -func (r ApiCatalogExperiencesNotesListRequest) Omit(omit string) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) Omit(omit string) ApiV1CatalogExperiencesNotesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiCatalogExperiencesNotesListRequest) Ordering(ordering string) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) Ordering(ordering string) ApiV1CatalogExperiencesNotesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogExperiencesNotesListRequest) Page(page int32) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) Page(page int32) ApiV1CatalogExperiencesNotesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogExperiencesNotesListRequest) PageSize(pageSize int32) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) PageSize(pageSize int32) ApiV1CatalogExperiencesNotesListRequest { r.pageSize = &pageSize return r } // Search for experience-notes by content -func (r ApiCatalogExperiencesNotesListRequest) Search(search string) ApiCatalogExperiencesNotesListRequest { +func (r ApiV1CatalogExperiencesNotesListRequest) Search(search string) ApiV1CatalogExperiencesNotesListRequest { r.search = &search return r } -func (r ApiCatalogExperiencesNotesListRequest) Execute() (*PaginatedExperienceNoteList, *http.Response, error) { - return r.ApiService.CatalogExperiencesNotesListExecute(r) +func (r ApiV1CatalogExperiencesNotesListRequest) Execute() (*PaginatedExperienceNoteList, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesNotesListExecute(r) } /* -CatalogExperiencesNotesList Method for CatalogExperiencesNotesList +V1CatalogExperiencesNotesList Method for V1CatalogExperiencesNotesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param experienceId - @return ApiCatalogExperiencesNotesListRequest + @return ApiV1CatalogExperiencesNotesListRequest */ -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesList(ctx context.Context, experienceId string) ApiCatalogExperiencesNotesListRequest { - return ApiCatalogExperiencesNotesListRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesList(ctx context.Context, experienceId string) ApiV1CatalogExperiencesNotesListRequest { + return ApiV1CatalogExperiencesNotesListRequest{ ApiService: a, ctx: ctx, experienceId: experienceId, @@ -4416,7 +4506,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesList(ctx context.C // Execute executes the request // // @return PaginatedExperienceNoteList -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesListExecute(r ApiCatalogExperiencesNotesListRequest) (*PaginatedExperienceNoteList, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesListExecute(r ApiV1CatalogExperiencesNotesListRequest) (*PaginatedExperienceNoteList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -4424,7 +4514,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesListExecute(r ApiC localVarReturnValue *PaginatedExperienceNoteList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogExperiencesNotesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogExperiencesNotesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -4534,7 +4624,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesListExecute(r ApiC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesNotesPartialUpdateRequest struct { +type ApiV1CatalogExperiencesNotesPartialUpdateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService experienceId string @@ -4542,25 +4632,25 @@ type ApiCatalogExperiencesNotesPartialUpdateRequest struct { experienceNote *ExperienceNote } -func (r ApiCatalogExperiencesNotesPartialUpdateRequest) ExperienceNote(experienceNote ExperienceNote) ApiCatalogExperiencesNotesPartialUpdateRequest { +func (r ApiV1CatalogExperiencesNotesPartialUpdateRequest) ExperienceNote(experienceNote ExperienceNote) ApiV1CatalogExperiencesNotesPartialUpdateRequest { r.experienceNote = &experienceNote return r } -func (r ApiCatalogExperiencesNotesPartialUpdateRequest) Execute() (*ExperienceNote, *http.Response, error) { - return r.ApiService.CatalogExperiencesNotesPartialUpdateExecute(r) +func (r ApiV1CatalogExperiencesNotesPartialUpdateRequest) Execute() (*ExperienceNote, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesNotesPartialUpdateExecute(r) } /* -CatalogExperiencesNotesPartialUpdate Method for CatalogExperiencesNotesPartialUpdate +V1CatalogExperiencesNotesPartialUpdate Method for V1CatalogExperiencesNotesPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param experienceId @param id - @return ApiCatalogExperiencesNotesPartialUpdateRequest + @return ApiV1CatalogExperiencesNotesPartialUpdateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesPartialUpdate(ctx context.Context, experienceId string, id string) ApiCatalogExperiencesNotesPartialUpdateRequest { - return ApiCatalogExperiencesNotesPartialUpdateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesPartialUpdate(ctx context.Context, experienceId string, id string) ApiV1CatalogExperiencesNotesPartialUpdateRequest { + return ApiV1CatalogExperiencesNotesPartialUpdateRequest{ ApiService: a, ctx: ctx, experienceId: experienceId, @@ -4571,7 +4661,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesPartialUpdate(ctx // Execute executes the request // // @return ExperienceNote -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesPartialUpdateExecute(r ApiCatalogExperiencesNotesPartialUpdateRequest) (*ExperienceNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesPartialUpdateExecute(r ApiV1CatalogExperiencesNotesPartialUpdateRequest) (*ExperienceNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -4579,7 +4669,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesPartialUpdateExecu localVarReturnValue *ExperienceNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogExperiencesNotesPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogExperiencesNotesPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -4665,7 +4755,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesPartialUpdateExecu return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesNotesRetrieveRequest struct { +type ApiV1CatalogExperiencesNotesRetrieveRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService experienceId string @@ -4675,31 +4765,31 @@ type ApiCatalogExperiencesNotesRetrieveRequest struct { } // Include only the specified fields in the response -func (r ApiCatalogExperiencesNotesRetrieveRequest) Fields(fields string) ApiCatalogExperiencesNotesRetrieveRequest { +func (r ApiV1CatalogExperiencesNotesRetrieveRequest) Fields(fields string) ApiV1CatalogExperiencesNotesRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiCatalogExperiencesNotesRetrieveRequest) Omit(omit string) ApiCatalogExperiencesNotesRetrieveRequest { +func (r ApiV1CatalogExperiencesNotesRetrieveRequest) Omit(omit string) ApiV1CatalogExperiencesNotesRetrieveRequest { r.omit = &omit return r } -func (r ApiCatalogExperiencesNotesRetrieveRequest) Execute() (*ExperienceNote, *http.Response, error) { - return r.ApiService.CatalogExperiencesNotesRetrieveExecute(r) +func (r ApiV1CatalogExperiencesNotesRetrieveRequest) Execute() (*ExperienceNote, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesNotesRetrieveExecute(r) } /* -CatalogExperiencesNotesRetrieve Method for CatalogExperiencesNotesRetrieve +V1CatalogExperiencesNotesRetrieve Method for V1CatalogExperiencesNotesRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param experienceId @param id - @return ApiCatalogExperiencesNotesRetrieveRequest + @return ApiV1CatalogExperiencesNotesRetrieveRequest */ -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesRetrieve(ctx context.Context, experienceId string, id string) ApiCatalogExperiencesNotesRetrieveRequest { - return ApiCatalogExperiencesNotesRetrieveRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesRetrieve(ctx context.Context, experienceId string, id string) ApiV1CatalogExperiencesNotesRetrieveRequest { + return ApiV1CatalogExperiencesNotesRetrieveRequest{ ApiService: a, ctx: ctx, experienceId: experienceId, @@ -4710,7 +4800,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesRetrieve(ctx conte // Execute executes the request // // @return ExperienceNote -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesRetrieveExecute(r ApiCatalogExperiencesNotesRetrieveRequest) (*ExperienceNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesRetrieveExecute(r ApiV1CatalogExperiencesNotesRetrieveRequest) (*ExperienceNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -4718,7 +4808,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesRetrieveExecute(r localVarReturnValue *ExperienceNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogExperiencesNotesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogExperiencesNotesRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -4805,7 +4895,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesRetrieveExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesNotesUpdateRequest struct { +type ApiV1CatalogExperiencesNotesUpdateRequest struct { ctx context.Context ApiService *CatalogDeploymentsAPIService experienceId string @@ -4813,25 +4903,25 @@ type ApiCatalogExperiencesNotesUpdateRequest struct { experienceNote *ExperienceNote } -func (r ApiCatalogExperiencesNotesUpdateRequest) ExperienceNote(experienceNote ExperienceNote) ApiCatalogExperiencesNotesUpdateRequest { +func (r ApiV1CatalogExperiencesNotesUpdateRequest) ExperienceNote(experienceNote ExperienceNote) ApiV1CatalogExperiencesNotesUpdateRequest { r.experienceNote = &experienceNote return r } -func (r ApiCatalogExperiencesNotesUpdateRequest) Execute() (*ExperienceNote, *http.Response, error) { - return r.ApiService.CatalogExperiencesNotesUpdateExecute(r) +func (r ApiV1CatalogExperiencesNotesUpdateRequest) Execute() (*ExperienceNote, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesNotesUpdateExecute(r) } /* -CatalogExperiencesNotesUpdate Method for CatalogExperiencesNotesUpdate +V1CatalogExperiencesNotesUpdate Method for V1CatalogExperiencesNotesUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param experienceId @param id - @return ApiCatalogExperiencesNotesUpdateRequest + @return ApiV1CatalogExperiencesNotesUpdateRequest */ -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesUpdate(ctx context.Context, experienceId string, id string) ApiCatalogExperiencesNotesUpdateRequest { - return ApiCatalogExperiencesNotesUpdateRequest{ +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesUpdate(ctx context.Context, experienceId string, id string) ApiV1CatalogExperiencesNotesUpdateRequest { + return ApiV1CatalogExperiencesNotesUpdateRequest{ ApiService: a, ctx: ctx, experienceId: experienceId, @@ -4842,7 +4932,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesUpdate(ctx context // Execute executes the request // // @return ExperienceNote -func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesUpdateExecute(r ApiCatalogExperiencesNotesUpdateRequest) (*ExperienceNote, *http.Response, error) { +func (a *CatalogDeploymentsAPIService) V1CatalogExperiencesNotesUpdateExecute(r ApiV1CatalogExperiencesNotesUpdateRequest) (*ExperienceNote, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -4850,7 +4940,7 @@ func (a *CatalogDeploymentsAPIService) CatalogExperiencesNotesUpdateExecute(r Ap localVarReturnValue *ExperienceNote ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.CatalogExperiencesNotesUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogDeploymentsAPIService.V1CatalogExperiencesNotesUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_catalog_experiences.go b/v1/providers/launchpad/gen/launchpad/api_catalog_experiences.go index 44f86c65..7f376097 100644 --- a/v1/providers/launchpad/gen/launchpad/api_catalog_experiences.go +++ b/v1/providers/launchpad/gen/launchpad/api_catalog_experiences.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,31 +23,31 @@ import ( // CatalogExperiencesAPIService CatalogExperiencesAPI service type CatalogExperiencesAPIService service -type ApiCatalogExperiencesBulkCreateRequest struct { +type ApiV1CatalogExperiencesBulkCreateRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService csvFile *os.File } -func (r ApiCatalogExperiencesBulkCreateRequest) CsvFile(csvFile *os.File) ApiCatalogExperiencesBulkCreateRequest { +func (r ApiV1CatalogExperiencesBulkCreateRequest) CsvFile(csvFile *os.File) ApiV1CatalogExperiencesBulkCreateRequest { r.csvFile = csvFile return r } -func (r ApiCatalogExperiencesBulkCreateRequest) Execute() (*ExperienceBulk, *http.Response, error) { - return r.ApiService.CatalogExperiencesBulkCreateExecute(r) +func (r ApiV1CatalogExperiencesBulkCreateRequest) Execute() (*ExperienceBulk, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesBulkCreateExecute(r) } /* -CatalogExperiencesBulkCreate Method for CatalogExperiencesBulkCreate +V1CatalogExperiencesBulkCreate Method for V1CatalogExperiencesBulkCreate Create experiences in bulk via CSV file upload @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogExperiencesBulkCreateRequest + @return ApiV1CatalogExperiencesBulkCreateRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkCreate(ctx context.Context) ApiCatalogExperiencesBulkCreateRequest { - return ApiCatalogExperiencesBulkCreateRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesBulkCreate(ctx context.Context) ApiV1CatalogExperiencesBulkCreateRequest { + return ApiV1CatalogExperiencesBulkCreateRequest{ ApiService: a, ctx: ctx, } @@ -56,7 +56,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkCreate(ctx context. // Execute executes the request // // @return ExperienceBulk -func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkCreateExecute(r ApiCatalogExperiencesBulkCreateRequest) (*ExperienceBulk, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesBulkCreateExecute(r ApiV1CatalogExperiencesBulkCreateRequest) (*ExperienceBulk, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -64,7 +64,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkCreateExecute(r Api localVarReturnValue *ExperienceBulk ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesBulkCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesBulkCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -161,29 +161,29 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkCreateExecute(r Api return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesBulkPartialUpdateRequest struct { +type ApiV1CatalogExperiencesBulkPartialUpdateRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService experienceBulkUpdate *ExperienceBulkUpdate } -func (r ApiCatalogExperiencesBulkPartialUpdateRequest) ExperienceBulkUpdate(experienceBulkUpdate ExperienceBulkUpdate) ApiCatalogExperiencesBulkPartialUpdateRequest { +func (r ApiV1CatalogExperiencesBulkPartialUpdateRequest) ExperienceBulkUpdate(experienceBulkUpdate ExperienceBulkUpdate) ApiV1CatalogExperiencesBulkPartialUpdateRequest { r.experienceBulkUpdate = &experienceBulkUpdate return r } -func (r ApiCatalogExperiencesBulkPartialUpdateRequest) Execute() (*ExperienceBulkUpdate, *http.Response, error) { - return r.ApiService.CatalogExperiencesBulkPartialUpdateExecute(r) +func (r ApiV1CatalogExperiencesBulkPartialUpdateRequest) Execute() (*ExperienceBulkUpdate, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesBulkPartialUpdateExecute(r) } /* -CatalogExperiencesBulkPartialUpdate Method for CatalogExperiencesBulkPartialUpdate +V1CatalogExperiencesBulkPartialUpdate Method for V1CatalogExperiencesBulkPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogExperiencesBulkPartialUpdateRequest + @return ApiV1CatalogExperiencesBulkPartialUpdateRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkPartialUpdate(ctx context.Context) ApiCatalogExperiencesBulkPartialUpdateRequest { - return ApiCatalogExperiencesBulkPartialUpdateRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesBulkPartialUpdate(ctx context.Context) ApiV1CatalogExperiencesBulkPartialUpdateRequest { + return ApiV1CatalogExperiencesBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -192,7 +192,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkPartialUpdate(ctx c // Execute executes the request // // @return ExperienceBulkUpdate -func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkPartialUpdateExecute(r ApiCatalogExperiencesBulkPartialUpdateRequest) (*ExperienceBulkUpdate, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesBulkPartialUpdateExecute(r ApiV1CatalogExperiencesBulkPartialUpdateRequest) (*ExperienceBulkUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -200,7 +200,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkPartialUpdateExecut localVarReturnValue *ExperienceBulkUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -284,29 +284,29 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesBulkPartialUpdateExecut return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesCreateRequest struct { +type ApiV1CatalogExperiencesCreateRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService experience *Experience } -func (r ApiCatalogExperiencesCreateRequest) Experience(experience Experience) ApiCatalogExperiencesCreateRequest { +func (r ApiV1CatalogExperiencesCreateRequest) Experience(experience Experience) ApiV1CatalogExperiencesCreateRequest { r.experience = &experience return r } -func (r ApiCatalogExperiencesCreateRequest) Execute() (*Experience, *http.Response, error) { - return r.ApiService.CatalogExperiencesCreateExecute(r) +func (r ApiV1CatalogExperiencesCreateRequest) Execute() (*Experience, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesCreateExecute(r) } /* -CatalogExperiencesCreate Method for CatalogExperiencesCreate +V1CatalogExperiencesCreate Method for V1CatalogExperiencesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogExperiencesCreateRequest + @return ApiV1CatalogExperiencesCreateRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesCreate(ctx context.Context) ApiCatalogExperiencesCreateRequest { - return ApiCatalogExperiencesCreateRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesCreate(ctx context.Context) ApiV1CatalogExperiencesCreateRequest { + return ApiV1CatalogExperiencesCreateRequest{ ApiService: a, ctx: ctx, } @@ -315,7 +315,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesCreate(ctx context.Cont // Execute executes the request // // @return Experience -func (a *CatalogExperiencesAPIService) CatalogExperiencesCreateExecute(r ApiCatalogExperiencesCreateRequest) (*Experience, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesCreateExecute(r ApiV1CatalogExperiencesCreateRequest) (*Experience, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -323,7 +323,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesCreateExecute(r ApiCata localVarReturnValue *Experience ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -407,25 +407,25 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesCreateExecute(r ApiCata return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesDestroyRequest struct { +type ApiV1CatalogExperiencesDestroyRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService id string } -func (r ApiCatalogExperiencesDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.CatalogExperiencesDestroyExecute(r) +func (r ApiV1CatalogExperiencesDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1CatalogExperiencesDestroyExecute(r) } /* -CatalogExperiencesDestroy Method for CatalogExperiencesDestroy +V1CatalogExperiencesDestroy Method for V1CatalogExperiencesDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this experience. - @return ApiCatalogExperiencesDestroyRequest + @return ApiV1CatalogExperiencesDestroyRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesDestroy(ctx context.Context, id string) ApiCatalogExperiencesDestroyRequest { - return ApiCatalogExperiencesDestroyRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesDestroy(ctx context.Context, id string) ApiV1CatalogExperiencesDestroyRequest { + return ApiV1CatalogExperiencesDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -433,14 +433,14 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesDestroy(ctx context.Con } // Execute executes the request -func (a *CatalogExperiencesAPIService) CatalogExperiencesDestroyExecute(r ApiCatalogExperiencesDestroyRequest) (*http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesDestroyExecute(r ApiV1CatalogExperiencesDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -511,7 +511,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesDestroyExecute(r ApiCat return localVarHTTPResponse, nil } -type ApiCatalogExperiencesHistoryListRequest struct { +type ApiV1CatalogExperiencesHistoryListRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService id string @@ -520,30 +520,30 @@ type ApiCatalogExperiencesHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiCatalogExperiencesHistoryListRequest) Page(page int32) ApiCatalogExperiencesHistoryListRequest { +func (r ApiV1CatalogExperiencesHistoryListRequest) Page(page int32) ApiV1CatalogExperiencesHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogExperiencesHistoryListRequest) PageSize(pageSize int32) ApiCatalogExperiencesHistoryListRequest { +func (r ApiV1CatalogExperiencesHistoryListRequest) PageSize(pageSize int32) ApiV1CatalogExperiencesHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiCatalogExperiencesHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.CatalogExperiencesHistoryListExecute(r) +func (r ApiV1CatalogExperiencesHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesHistoryListExecute(r) } /* -CatalogExperiencesHistoryList Method for CatalogExperiencesHistoryList +V1CatalogExperiencesHistoryList Method for V1CatalogExperiencesHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiCatalogExperiencesHistoryListRequest + @return ApiV1CatalogExperiencesHistoryListRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesHistoryList(ctx context.Context, id string) ApiCatalogExperiencesHistoryListRequest { - return ApiCatalogExperiencesHistoryListRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesHistoryList(ctx context.Context, id string) ApiV1CatalogExperiencesHistoryListRequest { + return ApiV1CatalogExperiencesHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -553,7 +553,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesHistoryList(ctx context // Execute executes the request // // @return PaginatedModelChangeList -func (a *CatalogExperiencesAPIService) CatalogExperiencesHistoryListExecute(r ApiCatalogExperiencesHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesHistoryListExecute(r ApiV1CatalogExperiencesHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -561,7 +561,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesHistoryListExecute(r Ap localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -647,7 +647,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesHistoryListExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesListRequest struct { +type ApiV1CatalogExperiencesListRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService assignee *string @@ -686,201 +686,201 @@ type ApiCatalogExperiencesListRequest struct { vgpuProfile *string } -func (r ApiCatalogExperiencesListRequest) Assignee(assignee string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Assignee(assignee string) ApiV1CatalogExperiencesListRequest { r.assignee = &assignee return r } -func (r ApiCatalogExperiencesListRequest) Autoapprove(autoapprove bool) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Autoapprove(autoapprove bool) ApiV1CatalogExperiencesListRequest { r.autoapprove = &autoapprove return r } -func (r ApiCatalogExperiencesListRequest) Autoprovision(autoprovision bool) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Autoprovision(autoprovision bool) ApiV1CatalogExperiencesListRequest { r.autoprovision = &autoprovision return r } -func (r ApiCatalogExperiencesListRequest) Bootstrap(bootstrap bool) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Bootstrap(bootstrap bool) ApiV1CatalogExperiencesListRequest { r.bootstrap = &bootstrap return r } -func (r ApiCatalogExperiencesListRequest) CatalogId(catalogId string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) CatalogId(catalogId string) ApiV1CatalogExperiencesListRequest { r.catalogId = &catalogId return r } -func (r ApiCatalogExperiencesListRequest) CatalogIdAlias(catalogIdAlias string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) CatalogIdAlias(catalogIdAlias string) ApiV1CatalogExperiencesListRequest { r.catalogIdAlias = &catalogIdAlias return r } // Multiple values may be separated by commas. * `AI` - AI * `Clara` - Clara * `Data Science` - Data Science * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation * `Developer` - Developer * `Infrastructure Optimization` - Infrastructure Optimization -func (r ApiCatalogExperiencesListRequest) Category(category []string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Category(category []string) ApiV1CatalogExperiencesListRequest { r.category = &category return r } -func (r ApiCatalogExperiencesListRequest) CollectionBranch(collectionBranch string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) CollectionBranch(collectionBranch string) ApiV1CatalogExperiencesListRequest { r.collectionBranch = &collectionBranch return r } // Expand related field(s) instead of only showing a UUID (ex: \"required_gpus\"). -func (r ApiCatalogExperiencesListRequest) Expand(expand string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Expand(expand string) ApiV1CatalogExperiencesListRequest { r.expand = &expand return r } -func (r ApiCatalogExperiencesListRequest) Experience(experience string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Experience(experience string) ApiV1CatalogExperiencesListRequest { r.experience = &experience return r } -func (r ApiCatalogExperiencesListRequest) ExperienceBranch(experienceBranch string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) ExperienceBranch(experienceBranch string) ApiV1CatalogExperiencesListRequest { r.experienceBranch = &experienceBranch return r } // Include only the specified fields in the response -func (r ApiCatalogExperiencesListRequest) Fields(fields string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Fields(fields string) ApiV1CatalogExperiencesListRequest { r.fields = &fields return r } -func (r ApiCatalogExperiencesListRequest) GarageId(garageId string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) GarageId(garageId string) ApiV1CatalogExperiencesListRequest { r.garageId = &garageId return r } -func (r ApiCatalogExperiencesListRequest) GcBranch(gcBranch string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) GcBranch(gcBranch string) ApiV1CatalogExperiencesListRequest { r.gcBranch = &gcBranch return r } -func (r ApiCatalogExperiencesListRequest) GpuCount(gpuCount int32) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) GpuCount(gpuCount int32) ApiV1CatalogExperiencesListRequest { r.gpuCount = &gpuCount return r } -func (r ApiCatalogExperiencesListRequest) GpuOsName(gpuOsName string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) GpuOsName(gpuOsName string) ApiV1CatalogExperiencesListRequest { r.gpuOsName = &gpuOsName return r } -func (r ApiCatalogExperiencesListRequest) GpuOsRelease(gpuOsRelease string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) GpuOsRelease(gpuOsRelease string) ApiV1CatalogExperiencesListRequest { r.gpuOsRelease = &gpuOsRelease return r } -func (r ApiCatalogExperiencesListRequest) GpuOsVersion(gpuOsVersion string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) GpuOsVersion(gpuOsVersion string) ApiV1CatalogExperiencesListRequest { r.gpuOsVersion = &gpuOsVersion return r } -func (r ApiCatalogExperiencesListRequest) Id(id string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Id(id string) ApiV1CatalogExperiencesListRequest { r.id = &id return r } -func (r ApiCatalogExperiencesListRequest) NodeCount(nodeCount int32) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) NodeCount(nodeCount int32) ApiV1CatalogExperiencesListRequest { r.nodeCount = &nodeCount return r } // Exclude the specified fields in the response -func (r ApiCatalogExperiencesListRequest) Omit(omit string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Omit(omit string) ApiV1CatalogExperiencesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiCatalogExperiencesListRequest) Ordering(ordering string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Ordering(ordering string) ApiV1CatalogExperiencesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogExperiencesListRequest) Page(page int32) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Page(page int32) ApiV1CatalogExperiencesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogExperiencesListRequest) PageSize(pageSize int32) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) PageSize(pageSize int32) ApiV1CatalogExperiencesListRequest { r.pageSize = &pageSize return r } -func (r ApiCatalogExperiencesListRequest) Persona(persona string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Persona(persona string) ApiV1CatalogExperiencesListRequest { r.persona = &persona return r } -func (r ApiCatalogExperiencesListRequest) Pipeline(pipeline int32) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Pipeline(pipeline int32) ApiV1CatalogExperiencesListRequest { r.pipeline = &pipeline return r } // Base platform that the experience will be provisioned onto * `air` - NVIDIA Air * `flight_deck` - Flight Deck * `kvm_bastion` - KVM Bastion * `lp-vmware-platform` - lp-vmware-platform * `minimal` - minimal * `openshift` - OpenShift * `vsphere` - vSphere * `vsphere_horizon` - VMware Horizon * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 -func (r ApiCatalogExperiencesListRequest) Platform(platform string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Platform(platform string) ApiV1CatalogExperiencesListRequest { r.platform = &platform return r } -func (r ApiCatalogExperiencesListRequest) Provider(provider string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Provider(provider string) ApiV1CatalogExperiencesListRequest { r.provider = &provider return r } // Multiple values may be separated by commas. * `draft` - draft * `no` - no * `yes` - yes -func (r ApiCatalogExperiencesListRequest) Published(published []string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Published(published []string) ApiV1CatalogExperiencesListRequest { r.published = &published return r } // Only include experiences that require a given GPU ID or model -func (r ApiCatalogExperiencesListRequest) RequiresGpu(requiresGpu string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) RequiresGpu(requiresGpu string) ApiV1CatalogExperiencesListRequest { r.requiresGpu = &requiresGpu return r } -func (r ApiCatalogExperiencesListRequest) SaLab(saLab bool) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) SaLab(saLab bool) ApiV1CatalogExperiencesListRequest { r.saLab = &saLab return r } // Search for experiences by assignee, catalog_id, catalog_id_alias, category, collection_branch, description, experience, experience_branch, gc_branch, gpu_os_name, gpu_os_release, gpu_os_version, id, persona, pipeline, platform, provider name, required_gpus model, system_arch, title, vgpu_profile -func (r ApiCatalogExperiencesListRequest) Search(search string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) Search(search string) ApiV1CatalogExperiencesListRequest { r.search = &search return r } // Required CPU architecture * `amd64` - amd64 * `arm64` - arm64 -func (r ApiCatalogExperiencesListRequest) SystemArch(systemArch string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) SystemArch(systemArch string) ApiV1CatalogExperiencesListRequest { r.systemArch = &systemArch return r } // vGPU profile name used by the experience * `air` - NVIDIA Air * `bright_cluster` - Bright Cluster * `bright-cluster` - Bright Cluster (legacy option) * `flight_deck` - Flight Deck * `flight-deck` - Flight Deck (legacy option) * `nvidia_a40-48q` - nvidia_a40-48q * `nvidia-ai-enterprise` - NVIDIA AI Enterprise * `nvidia_l40s-48q` - nvidia_l40s-48q * `nvidia_rtx_pro_6000_blackwell_dc-4-96q` - nvidia_rtx_pro_6000_blackwell_dc-4-96q * `nvidia_rtx_pro_6000_blackwell_dc-96q` - nvidia_rtx_pro_6000_blackwell_dc-96q * `openshift` - OpenShift * `platform_only` - platform_only * `vmware_itadmin` - VMware IT admin -func (r ApiCatalogExperiencesListRequest) VgpuProfile(vgpuProfile string) ApiCatalogExperiencesListRequest { +func (r ApiV1CatalogExperiencesListRequest) VgpuProfile(vgpuProfile string) ApiV1CatalogExperiencesListRequest { r.vgpuProfile = &vgpuProfile return r } -func (r ApiCatalogExperiencesListRequest) Execute() (*PaginatedExperienceList, *http.Response, error) { - return r.ApiService.CatalogExperiencesListExecute(r) +func (r ApiV1CatalogExperiencesListRequest) Execute() (*PaginatedExperienceList, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesListExecute(r) } /* -CatalogExperiencesList Method for CatalogExperiencesList +V1CatalogExperiencesList Method for V1CatalogExperiencesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogExperiencesListRequest + @return ApiV1CatalogExperiencesListRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesList(ctx context.Context) ApiCatalogExperiencesListRequest { - return ApiCatalogExperiencesListRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesList(ctx context.Context) ApiV1CatalogExperiencesListRequest { + return ApiV1CatalogExperiencesListRequest{ ApiService: a, ctx: ctx, } @@ -889,7 +889,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesList(ctx context.Contex // Execute executes the request // // @return PaginatedExperienceList -func (a *CatalogExperiencesAPIService) CatalogExperiencesListExecute(r ApiCatalogExperiencesListRequest) (*PaginatedExperienceList, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesListExecute(r ApiV1CatalogExperiencesListRequest) (*PaginatedExperienceList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -897,7 +897,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesListExecute(r ApiCatalo localVarReturnValue *PaginatedExperienceList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1078,31 +1078,31 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesListExecute(r ApiCatalo return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesPartialUpdateRequest struct { +type ApiV1CatalogExperiencesPartialUpdateRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService id string experience *Experience } -func (r ApiCatalogExperiencesPartialUpdateRequest) Experience(experience Experience) ApiCatalogExperiencesPartialUpdateRequest { +func (r ApiV1CatalogExperiencesPartialUpdateRequest) Experience(experience Experience) ApiV1CatalogExperiencesPartialUpdateRequest { r.experience = &experience return r } -func (r ApiCatalogExperiencesPartialUpdateRequest) Execute() (*Experience, *http.Response, error) { - return r.ApiService.CatalogExperiencesPartialUpdateExecute(r) +func (r ApiV1CatalogExperiencesPartialUpdateRequest) Execute() (*Experience, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesPartialUpdateExecute(r) } /* -CatalogExperiencesPartialUpdate Method for CatalogExperiencesPartialUpdate +V1CatalogExperiencesPartialUpdate Method for V1CatalogExperiencesPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this experience. - @return ApiCatalogExperiencesPartialUpdateRequest + @return ApiV1CatalogExperiencesPartialUpdateRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesPartialUpdate(ctx context.Context, id string) ApiCatalogExperiencesPartialUpdateRequest { - return ApiCatalogExperiencesPartialUpdateRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesPartialUpdate(ctx context.Context, id string) ApiV1CatalogExperiencesPartialUpdateRequest { + return ApiV1CatalogExperiencesPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1112,7 +1112,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesPartialUpdate(ctx conte // Execute executes the request // // @return Experience -func (a *CatalogExperiencesAPIService) CatalogExperiencesPartialUpdateExecute(r ApiCatalogExperiencesPartialUpdateRequest) (*Experience, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesPartialUpdateExecute(r ApiV1CatalogExperiencesPartialUpdateRequest) (*Experience, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -1120,7 +1120,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesPartialUpdateExecute(r localVarReturnValue *Experience ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1205,7 +1205,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesPartialUpdateExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesRetrieveRequest struct { +type ApiV1CatalogExperiencesRetrieveRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService id string @@ -1215,36 +1215,36 @@ type ApiCatalogExperiencesRetrieveRequest struct { } // Expand related field(s) instead of only showing a UUID (ex: \"required_gpus\"). -func (r ApiCatalogExperiencesRetrieveRequest) Expand(expand string) ApiCatalogExperiencesRetrieveRequest { +func (r ApiV1CatalogExperiencesRetrieveRequest) Expand(expand string) ApiV1CatalogExperiencesRetrieveRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiCatalogExperiencesRetrieveRequest) Fields(fields string) ApiCatalogExperiencesRetrieveRequest { +func (r ApiV1CatalogExperiencesRetrieveRequest) Fields(fields string) ApiV1CatalogExperiencesRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiCatalogExperiencesRetrieveRequest) Omit(omit string) ApiCatalogExperiencesRetrieveRequest { +func (r ApiV1CatalogExperiencesRetrieveRequest) Omit(omit string) ApiV1CatalogExperiencesRetrieveRequest { r.omit = &omit return r } -func (r ApiCatalogExperiencesRetrieveRequest) Execute() (*Experience, *http.Response, error) { - return r.ApiService.CatalogExperiencesRetrieveExecute(r) +func (r ApiV1CatalogExperiencesRetrieveRequest) Execute() (*Experience, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesRetrieveExecute(r) } /* -CatalogExperiencesRetrieve Method for CatalogExperiencesRetrieve +V1CatalogExperiencesRetrieve Method for V1CatalogExperiencesRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this experience. - @return ApiCatalogExperiencesRetrieveRequest + @return ApiV1CatalogExperiencesRetrieveRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesRetrieve(ctx context.Context, id string) ApiCatalogExperiencesRetrieveRequest { - return ApiCatalogExperiencesRetrieveRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesRetrieve(ctx context.Context, id string) ApiV1CatalogExperiencesRetrieveRequest { + return ApiV1CatalogExperiencesRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -1254,7 +1254,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesRetrieve(ctx context.Co // Execute executes the request // // @return Experience -func (a *CatalogExperiencesAPIService) CatalogExperiencesRetrieveExecute(r ApiCatalogExperiencesRetrieveRequest) (*Experience, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesRetrieveExecute(r ApiV1CatalogExperiencesRetrieveRequest) (*Experience, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1262,7 +1262,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesRetrieveExecute(r ApiCa localVarReturnValue *Experience ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1351,37 +1351,37 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesRetrieveExecute(r ApiCa return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogExperiencesStatsRetrieveRequest struct { +type ApiV1CatalogExperiencesStatsRetrieveRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService } -func (r ApiCatalogExperiencesStatsRetrieveRequest) Execute() (*http.Response, error) { - return r.ApiService.CatalogExperiencesStatsRetrieveExecute(r) +func (r ApiV1CatalogExperiencesStatsRetrieveRequest) Execute() (*http.Response, error) { + return r.ApiService.V1CatalogExperiencesStatsRetrieveExecute(r) } /* -CatalogExperiencesStatsRetrieve 🚧 [Beta Feature] +V1CatalogExperiencesStatsRetrieve 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogExperiencesStatsRetrieveRequest + @return ApiV1CatalogExperiencesStatsRetrieveRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesStatsRetrieve(ctx context.Context) ApiCatalogExperiencesStatsRetrieveRequest { - return ApiCatalogExperiencesStatsRetrieveRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesStatsRetrieve(ctx context.Context) ApiV1CatalogExperiencesStatsRetrieveRequest { + return ApiV1CatalogExperiencesStatsRetrieveRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *CatalogExperiencesAPIService) CatalogExperiencesStatsRetrieveExecute(r ApiCatalogExperiencesStatsRetrieveRequest) (*http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesStatsRetrieveExecute(r ApiV1CatalogExperiencesStatsRetrieveRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesStatsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesStatsRetrieve") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1451,31 +1451,31 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesStatsRetrieveExecute(r return localVarHTTPResponse, nil } -type ApiCatalogExperiencesUpdateRequest struct { +type ApiV1CatalogExperiencesUpdateRequest struct { ctx context.Context ApiService *CatalogExperiencesAPIService id string experience *Experience } -func (r ApiCatalogExperiencesUpdateRequest) Experience(experience Experience) ApiCatalogExperiencesUpdateRequest { +func (r ApiV1CatalogExperiencesUpdateRequest) Experience(experience Experience) ApiV1CatalogExperiencesUpdateRequest { r.experience = &experience return r } -func (r ApiCatalogExperiencesUpdateRequest) Execute() (*Experience, *http.Response, error) { - return r.ApiService.CatalogExperiencesUpdateExecute(r) +func (r ApiV1CatalogExperiencesUpdateRequest) Execute() (*Experience, *http.Response, error) { + return r.ApiService.V1CatalogExperiencesUpdateExecute(r) } /* -CatalogExperiencesUpdate Method for CatalogExperiencesUpdate +V1CatalogExperiencesUpdate Method for V1CatalogExperiencesUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this experience. - @return ApiCatalogExperiencesUpdateRequest + @return ApiV1CatalogExperiencesUpdateRequest */ -func (a *CatalogExperiencesAPIService) CatalogExperiencesUpdate(ctx context.Context, id string) ApiCatalogExperiencesUpdateRequest { - return ApiCatalogExperiencesUpdateRequest{ +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesUpdate(ctx context.Context, id string) ApiV1CatalogExperiencesUpdateRequest { + return ApiV1CatalogExperiencesUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1485,7 +1485,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesUpdate(ctx context.Cont // Execute executes the request // // @return Experience -func (a *CatalogExperiencesAPIService) CatalogExperiencesUpdateExecute(r ApiCatalogExperiencesUpdateRequest) (*Experience, *http.Response, error) { +func (a *CatalogExperiencesAPIService) V1CatalogExperiencesUpdateExecute(r ApiV1CatalogExperiencesUpdateRequest) (*Experience, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1493,7 +1493,7 @@ func (a *CatalogExperiencesAPIService) CatalogExperiencesUpdateExecute(r ApiCata localVarReturnValue *Experience ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.CatalogExperiencesUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogExperiencesAPIService.V1CatalogExperiencesUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_catalog_gpu_os_choices.go b/v1/providers/launchpad/gen/launchpad/api_catalog_gpu_os_choices.go index fa210104..f68b141a 100644 --- a/v1/providers/launchpad/gen/launchpad/api_catalog_gpu_os_choices.go +++ b/v1/providers/launchpad/gen/launchpad/api_catalog_gpu_os_choices.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,29 +21,29 @@ import ( // CatalogGpuOsChoicesAPIService CatalogGpuOsChoicesAPI service type CatalogGpuOsChoicesAPIService service -type ApiCatalogGpuOsChoicesCreateRequest struct { +type ApiV1CatalogGpuOsChoicesCreateRequest struct { ctx context.Context ApiService *CatalogGpuOsChoicesAPIService gpuOsChoice *GpuOsChoice } -func (r ApiCatalogGpuOsChoicesCreateRequest) GpuOsChoice(gpuOsChoice GpuOsChoice) ApiCatalogGpuOsChoicesCreateRequest { +func (r ApiV1CatalogGpuOsChoicesCreateRequest) GpuOsChoice(gpuOsChoice GpuOsChoice) ApiV1CatalogGpuOsChoicesCreateRequest { r.gpuOsChoice = &gpuOsChoice return r } -func (r ApiCatalogGpuOsChoicesCreateRequest) Execute() (*GpuOsChoice, *http.Response, error) { - return r.ApiService.CatalogGpuOsChoicesCreateExecute(r) +func (r ApiV1CatalogGpuOsChoicesCreateRequest) Execute() (*GpuOsChoice, *http.Response, error) { + return r.ApiService.V1CatalogGpuOsChoicesCreateExecute(r) } /* -CatalogGpuOsChoicesCreate Method for CatalogGpuOsChoicesCreate +V1CatalogGpuOsChoicesCreate Method for V1CatalogGpuOsChoicesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogGpuOsChoicesCreateRequest + @return ApiV1CatalogGpuOsChoicesCreateRequest */ -func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesCreate(ctx context.Context) ApiCatalogGpuOsChoicesCreateRequest { - return ApiCatalogGpuOsChoicesCreateRequest{ +func (a *CatalogGpuOsChoicesAPIService) V1CatalogGpuOsChoicesCreate(ctx context.Context) ApiV1CatalogGpuOsChoicesCreateRequest { + return ApiV1CatalogGpuOsChoicesCreateRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesCreate(ctx context.Co // Execute executes the request // // @return GpuOsChoice -func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesCreateExecute(r ApiCatalogGpuOsChoicesCreateRequest) (*GpuOsChoice, *http.Response, error) { +func (a *CatalogGpuOsChoicesAPIService) V1CatalogGpuOsChoicesCreateExecute(r ApiV1CatalogGpuOsChoicesCreateRequest) (*GpuOsChoice, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesCreateExecute(r ApiCa localVarReturnValue *GpuOsChoice ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogGpuOsChoicesAPIService.CatalogGpuOsChoicesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogGpuOsChoicesAPIService.V1CatalogGpuOsChoicesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -144,7 +144,7 @@ func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesCreateExecute(r ApiCa return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogGpuOsChoicesListRequest struct { +type ApiV1CatalogGpuOsChoicesListRequest struct { ctx context.Context ApiService *CatalogGpuOsChoicesAPIService fields *string @@ -156,53 +156,53 @@ type ApiCatalogGpuOsChoicesListRequest struct { } // Include only the specified fields in the response -func (r ApiCatalogGpuOsChoicesListRequest) Fields(fields string) ApiCatalogGpuOsChoicesListRequest { +func (r ApiV1CatalogGpuOsChoicesListRequest) Fields(fields string) ApiV1CatalogGpuOsChoicesListRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiCatalogGpuOsChoicesListRequest) Omit(omit string) ApiCatalogGpuOsChoicesListRequest { +func (r ApiV1CatalogGpuOsChoicesListRequest) Omit(omit string) ApiV1CatalogGpuOsChoicesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiCatalogGpuOsChoicesListRequest) Ordering(ordering string) ApiCatalogGpuOsChoicesListRequest { +func (r ApiV1CatalogGpuOsChoicesListRequest) Ordering(ordering string) ApiV1CatalogGpuOsChoicesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogGpuOsChoicesListRequest) Page(page int32) ApiCatalogGpuOsChoicesListRequest { +func (r ApiV1CatalogGpuOsChoicesListRequest) Page(page int32) ApiV1CatalogGpuOsChoicesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogGpuOsChoicesListRequest) PageSize(pageSize int32) ApiCatalogGpuOsChoicesListRequest { +func (r ApiV1CatalogGpuOsChoicesListRequest) PageSize(pageSize int32) ApiV1CatalogGpuOsChoicesListRequest { r.pageSize = &pageSize return r } // Search for gpuoschoices by id, name, release, version -func (r ApiCatalogGpuOsChoicesListRequest) Search(search string) ApiCatalogGpuOsChoicesListRequest { +func (r ApiV1CatalogGpuOsChoicesListRequest) Search(search string) ApiV1CatalogGpuOsChoicesListRequest { r.search = &search return r } -func (r ApiCatalogGpuOsChoicesListRequest) Execute() (*PaginatedGpuOsChoiceList, *http.Response, error) { - return r.ApiService.CatalogGpuOsChoicesListExecute(r) +func (r ApiV1CatalogGpuOsChoicesListRequest) Execute() (*PaginatedGpuOsChoiceList, *http.Response, error) { + return r.ApiService.V1CatalogGpuOsChoicesListExecute(r) } /* -CatalogGpuOsChoicesList Method for CatalogGpuOsChoicesList +V1CatalogGpuOsChoicesList Method for V1CatalogGpuOsChoicesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogGpuOsChoicesListRequest + @return ApiV1CatalogGpuOsChoicesListRequest */ -func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesList(ctx context.Context) ApiCatalogGpuOsChoicesListRequest { - return ApiCatalogGpuOsChoicesListRequest{ +func (a *CatalogGpuOsChoicesAPIService) V1CatalogGpuOsChoicesList(ctx context.Context) ApiV1CatalogGpuOsChoicesListRequest { + return ApiV1CatalogGpuOsChoicesListRequest{ ApiService: a, ctx: ctx, } @@ -211,7 +211,7 @@ func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesList(ctx context.Cont // Execute executes the request // // @return PaginatedGpuOsChoiceList -func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesListExecute(r ApiCatalogGpuOsChoicesListRequest) (*PaginatedGpuOsChoiceList, *http.Response, error) { +func (a *CatalogGpuOsChoicesAPIService) V1CatalogGpuOsChoicesListExecute(r ApiV1CatalogGpuOsChoicesListRequest) (*PaginatedGpuOsChoiceList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -219,7 +219,7 @@ func (a *CatalogGpuOsChoicesAPIService) CatalogGpuOsChoicesListExecute(r ApiCata localVarReturnValue *PaginatedGpuOsChoiceList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogGpuOsChoicesAPIService.CatalogGpuOsChoicesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogGpuOsChoicesAPIService.V1CatalogGpuOsChoicesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_catalog_instance_types.go b/v1/providers/launchpad/gen/launchpad/api_catalog_instance_types.go index f6c13279..9d083148 100644 --- a/v1/providers/launchpad/gen/launchpad/api_catalog_instance_types.go +++ b/v1/providers/launchpad/gen/launchpad/api_catalog_instance_types.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,37 +21,44 @@ import ( // CatalogInstanceTypesAPIService CatalogInstanceTypesAPI service type CatalogInstanceTypesAPIService service -type ApiCatalogInstanceTypesListRequest struct { +type ApiV1CatalogInstanceTypesListRequest struct { ctx context.Context ApiService *CatalogInstanceTypesAPIService + delivery *string page *int32 pageSize *int32 } +// Limit results to instance types that can meet the given delivery timelines. +func (r ApiV1CatalogInstanceTypesListRequest) Delivery(delivery string) ApiV1CatalogInstanceTypesListRequest { + r.delivery = &delivery + return r +} + // A page number within the paginated result set. -func (r ApiCatalogInstanceTypesListRequest) Page(page int32) ApiCatalogInstanceTypesListRequest { +func (r ApiV1CatalogInstanceTypesListRequest) Page(page int32) ApiV1CatalogInstanceTypesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogInstanceTypesListRequest) PageSize(pageSize int32) ApiCatalogInstanceTypesListRequest { +func (r ApiV1CatalogInstanceTypesListRequest) PageSize(pageSize int32) ApiV1CatalogInstanceTypesListRequest { r.pageSize = &pageSize return r } -func (r ApiCatalogInstanceTypesListRequest) Execute() (*PaginatedInstanceTypeList, *http.Response, error) { - return r.ApiService.CatalogInstanceTypesListExecute(r) +func (r ApiV1CatalogInstanceTypesListRequest) Execute() (*PaginatedInstanceTypeList, *http.Response, error) { + return r.ApiService.V1CatalogInstanceTypesListExecute(r) } /* -CatalogInstanceTypesList Method for CatalogInstanceTypesList +V1CatalogInstanceTypesList Method for V1CatalogInstanceTypesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogInstanceTypesListRequest + @return ApiV1CatalogInstanceTypesListRequest */ -func (a *CatalogInstanceTypesAPIService) CatalogInstanceTypesList(ctx context.Context) ApiCatalogInstanceTypesListRequest { - return ApiCatalogInstanceTypesListRequest{ +func (a *CatalogInstanceTypesAPIService) V1CatalogInstanceTypesList(ctx context.Context) ApiV1CatalogInstanceTypesListRequest { + return ApiV1CatalogInstanceTypesListRequest{ ApiService: a, ctx: ctx, } @@ -60,7 +67,7 @@ func (a *CatalogInstanceTypesAPIService) CatalogInstanceTypesList(ctx context.Co // Execute executes the request // // @return PaginatedInstanceTypeList -func (a *CatalogInstanceTypesAPIService) CatalogInstanceTypesListExecute(r ApiCatalogInstanceTypesListRequest) (*PaginatedInstanceTypeList, *http.Response, error) { +func (a *CatalogInstanceTypesAPIService) V1CatalogInstanceTypesListExecute(r ApiV1CatalogInstanceTypesListRequest) (*PaginatedInstanceTypeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -68,7 +75,7 @@ func (a *CatalogInstanceTypesAPIService) CatalogInstanceTypesListExecute(r ApiCa localVarReturnValue *PaginatedInstanceTypeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogInstanceTypesAPIService.CatalogInstanceTypesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogInstanceTypesAPIService.V1CatalogInstanceTypesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -79,6 +86,9 @@ func (a *CatalogInstanceTypesAPIService) CatalogInstanceTypesListExecute(r ApiCa localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.delivery != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "delivery", r.delivery, "form", "") + } if r.page != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "form", "") } diff --git a/v1/providers/launchpad/gen/launchpad/api_catalog_persona_choices.go b/v1/providers/launchpad/gen/launchpad/api_catalog_persona_choices.go index 9beed159..1b1f6bd8 100644 --- a/v1/providers/launchpad/gen/launchpad/api_catalog_persona_choices.go +++ b/v1/providers/launchpad/gen/launchpad/api_catalog_persona_choices.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,29 +21,29 @@ import ( // CatalogPersonaChoicesAPIService CatalogPersonaChoicesAPI service type CatalogPersonaChoicesAPIService service -type ApiCatalogPersonaChoicesCreateRequest struct { +type ApiV1CatalogPersonaChoicesCreateRequest struct { ctx context.Context ApiService *CatalogPersonaChoicesAPIService personaChoice *PersonaChoice } -func (r ApiCatalogPersonaChoicesCreateRequest) PersonaChoice(personaChoice PersonaChoice) ApiCatalogPersonaChoicesCreateRequest { +func (r ApiV1CatalogPersonaChoicesCreateRequest) PersonaChoice(personaChoice PersonaChoice) ApiV1CatalogPersonaChoicesCreateRequest { r.personaChoice = &personaChoice return r } -func (r ApiCatalogPersonaChoicesCreateRequest) Execute() (*PersonaChoice, *http.Response, error) { - return r.ApiService.CatalogPersonaChoicesCreateExecute(r) +func (r ApiV1CatalogPersonaChoicesCreateRequest) Execute() (*PersonaChoice, *http.Response, error) { + return r.ApiService.V1CatalogPersonaChoicesCreateExecute(r) } /* -CatalogPersonaChoicesCreate Method for CatalogPersonaChoicesCreate +V1CatalogPersonaChoicesCreate Method for V1CatalogPersonaChoicesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogPersonaChoicesCreateRequest + @return ApiV1CatalogPersonaChoicesCreateRequest */ -func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesCreate(ctx context.Context) ApiCatalogPersonaChoicesCreateRequest { - return ApiCatalogPersonaChoicesCreateRequest{ +func (a *CatalogPersonaChoicesAPIService) V1CatalogPersonaChoicesCreate(ctx context.Context) ApiV1CatalogPersonaChoicesCreateRequest { + return ApiV1CatalogPersonaChoicesCreateRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesCreate(ctx contex // Execute executes the request // // @return PersonaChoice -func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesCreateExecute(r ApiCatalogPersonaChoicesCreateRequest) (*PersonaChoice, *http.Response, error) { +func (a *CatalogPersonaChoicesAPIService) V1CatalogPersonaChoicesCreateExecute(r ApiV1CatalogPersonaChoicesCreateRequest) (*PersonaChoice, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesCreateExecute(r A localVarReturnValue *PersonaChoice ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogPersonaChoicesAPIService.CatalogPersonaChoicesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogPersonaChoicesAPIService.V1CatalogPersonaChoicesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -144,7 +144,7 @@ func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesCreateExecute(r A return localVarReturnValue, localVarHTTPResponse, nil } -type ApiCatalogPersonaChoicesListRequest struct { +type ApiV1CatalogPersonaChoicesListRequest struct { ctx context.Context ApiService *CatalogPersonaChoicesAPIService fields *string @@ -156,53 +156,53 @@ type ApiCatalogPersonaChoicesListRequest struct { } // Include only the specified fields in the response -func (r ApiCatalogPersonaChoicesListRequest) Fields(fields string) ApiCatalogPersonaChoicesListRequest { +func (r ApiV1CatalogPersonaChoicesListRequest) Fields(fields string) ApiV1CatalogPersonaChoicesListRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiCatalogPersonaChoicesListRequest) Omit(omit string) ApiCatalogPersonaChoicesListRequest { +func (r ApiV1CatalogPersonaChoicesListRequest) Omit(omit string) ApiV1CatalogPersonaChoicesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiCatalogPersonaChoicesListRequest) Ordering(ordering string) ApiCatalogPersonaChoicesListRequest { +func (r ApiV1CatalogPersonaChoicesListRequest) Ordering(ordering string) ApiV1CatalogPersonaChoicesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiCatalogPersonaChoicesListRequest) Page(page int32) ApiCatalogPersonaChoicesListRequest { +func (r ApiV1CatalogPersonaChoicesListRequest) Page(page int32) ApiV1CatalogPersonaChoicesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiCatalogPersonaChoicesListRequest) PageSize(pageSize int32) ApiCatalogPersonaChoicesListRequest { +func (r ApiV1CatalogPersonaChoicesListRequest) PageSize(pageSize int32) ApiV1CatalogPersonaChoicesListRequest { r.pageSize = &pageSize return r } // Search for personachoices by id, name -func (r ApiCatalogPersonaChoicesListRequest) Search(search string) ApiCatalogPersonaChoicesListRequest { +func (r ApiV1CatalogPersonaChoicesListRequest) Search(search string) ApiV1CatalogPersonaChoicesListRequest { r.search = &search return r } -func (r ApiCatalogPersonaChoicesListRequest) Execute() (*PaginatedPersonaChoiceList, *http.Response, error) { - return r.ApiService.CatalogPersonaChoicesListExecute(r) +func (r ApiV1CatalogPersonaChoicesListRequest) Execute() (*PaginatedPersonaChoiceList, *http.Response, error) { + return r.ApiService.V1CatalogPersonaChoicesListExecute(r) } /* -CatalogPersonaChoicesList Method for CatalogPersonaChoicesList +V1CatalogPersonaChoicesList Method for V1CatalogPersonaChoicesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiCatalogPersonaChoicesListRequest + @return ApiV1CatalogPersonaChoicesListRequest */ -func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesList(ctx context.Context) ApiCatalogPersonaChoicesListRequest { - return ApiCatalogPersonaChoicesListRequest{ +func (a *CatalogPersonaChoicesAPIService) V1CatalogPersonaChoicesList(ctx context.Context) ApiV1CatalogPersonaChoicesListRequest { + return ApiV1CatalogPersonaChoicesListRequest{ ApiService: a, ctx: ctx, } @@ -211,7 +211,7 @@ func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesList(ctx context. // Execute executes the request // // @return PaginatedPersonaChoiceList -func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesListExecute(r ApiCatalogPersonaChoicesListRequest) (*PaginatedPersonaChoiceList, *http.Response, error) { +func (a *CatalogPersonaChoicesAPIService) V1CatalogPersonaChoicesListExecute(r ApiV1CatalogPersonaChoicesListRequest) (*PaginatedPersonaChoiceList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -219,7 +219,7 @@ func (a *CatalogPersonaChoicesAPIService) CatalogPersonaChoicesListExecute(r Api localVarReturnValue *PaginatedPersonaChoiceList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogPersonaChoicesAPIService.CatalogPersonaChoicesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogPersonaChoicesAPIService.V1CatalogPersonaChoicesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_catalog_runtimes.go b/v1/providers/launchpad/gen/launchpad/api_catalog_runtimes.go new file mode 100644 index 00000000..41335cc2 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/api_catalog_runtimes.go @@ -0,0 +1,1038 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + +// CatalogRuntimesAPIService CatalogRuntimesAPI service +type CatalogRuntimesAPIService service + +type ApiV1CatalogRuntimesCreateRequest struct { + ctx context.Context + ApiService *CatalogRuntimesAPIService + runtime *Runtime +} + +func (r ApiV1CatalogRuntimesCreateRequest) Runtime(runtime Runtime) ApiV1CatalogRuntimesCreateRequest { + r.runtime = &runtime + return r +} + +func (r ApiV1CatalogRuntimesCreateRequest) Execute() (*Runtime, *http.Response, error) { + return r.ApiService.V1CatalogRuntimesCreateExecute(r) +} + +/* +V1CatalogRuntimesCreate Method for V1CatalogRuntimesCreate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiV1CatalogRuntimesCreateRequest +*/ +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesCreate(ctx context.Context) ApiV1CatalogRuntimesCreateRequest { + return ApiV1CatalogRuntimesCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return Runtime +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesCreateExecute(r ApiV1CatalogRuntimesCreateRequest) (*Runtime, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Runtime + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogRuntimesAPIService.V1CatalogRuntimesCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/catalog/runtimes/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.runtime == nil { + return localVarReturnValue, nil, reportError("runtime is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runtime + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1CatalogRuntimesDestroyRequest struct { + ctx context.Context + ApiService *CatalogRuntimesAPIService + id string +} + +func (r ApiV1CatalogRuntimesDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1CatalogRuntimesDestroyExecute(r) +} + +/* +V1CatalogRuntimesDestroy Method for V1CatalogRuntimesDestroy + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A UUID string identifying this runtime. + @return ApiV1CatalogRuntimesDestroyRequest +*/ +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesDestroy(ctx context.Context, id string) ApiV1CatalogRuntimesDestroyRequest { + return ApiV1CatalogRuntimesDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesDestroyExecute(r ApiV1CatalogRuntimesDestroyRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogRuntimesAPIService.V1CatalogRuntimesDestroy") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/catalog/runtimes/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiV1CatalogRuntimesHistoryListRequest struct { + ctx context.Context + ApiService *CatalogRuntimesAPIService + id string + page *int32 + pageSize *int32 +} + +// A page number within the paginated result set. +func (r ApiV1CatalogRuntimesHistoryListRequest) Page(page int32) ApiV1CatalogRuntimesHistoryListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiV1CatalogRuntimesHistoryListRequest) PageSize(pageSize int32) ApiV1CatalogRuntimesHistoryListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiV1CatalogRuntimesHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1CatalogRuntimesHistoryListExecute(r) +} + +/* +V1CatalogRuntimesHistoryList Method for V1CatalogRuntimesHistoryList + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiV1CatalogRuntimesHistoryListRequest +*/ +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesHistoryList(ctx context.Context, id string) ApiV1CatalogRuntimesHistoryListRequest { + return ApiV1CatalogRuntimesHistoryListRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return PaginatedModelChangeList +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesHistoryListExecute(r ApiV1CatalogRuntimesHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedModelChangeList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogRuntimesAPIService.V1CatalogRuntimesHistoryList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/catalog/runtimes/{id}/history/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.page != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "form", "") + } + if r.pageSize != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1CatalogRuntimesListRequest struct { + ctx context.Context + ApiService *CatalogRuntimesAPIService + branch *string + cnsAddonPack *bool + cnsDocker *bool + cnsDriverVersion *string + cnsK8s *bool + cnsNvidiaDriver *bool + cnsVersion *string + fields *string + id *string + mig *bool + migProfile *string + omit *string + ordering *string + page *int32 + pageSize *int32 + search *string +} + +func (r ApiV1CatalogRuntimesListRequest) Branch(branch string) ApiV1CatalogRuntimesListRequest { + r.branch = &branch + return r +} + +func (r ApiV1CatalogRuntimesListRequest) CnsAddonPack(cnsAddonPack bool) ApiV1CatalogRuntimesListRequest { + r.cnsAddonPack = &cnsAddonPack + return r +} + +func (r ApiV1CatalogRuntimesListRequest) CnsDocker(cnsDocker bool) ApiV1CatalogRuntimesListRequest { + r.cnsDocker = &cnsDocker + return r +} + +func (r ApiV1CatalogRuntimesListRequest) CnsDriverVersion(cnsDriverVersion string) ApiV1CatalogRuntimesListRequest { + r.cnsDriverVersion = &cnsDriverVersion + return r +} + +func (r ApiV1CatalogRuntimesListRequest) CnsK8s(cnsK8s bool) ApiV1CatalogRuntimesListRequest { + r.cnsK8s = &cnsK8s + return r +} + +func (r ApiV1CatalogRuntimesListRequest) CnsNvidiaDriver(cnsNvidiaDriver bool) ApiV1CatalogRuntimesListRequest { + r.cnsNvidiaDriver = &cnsNvidiaDriver + return r +} + +func (r ApiV1CatalogRuntimesListRequest) CnsVersion(cnsVersion string) ApiV1CatalogRuntimesListRequest { + r.cnsVersion = &cnsVersion + return r +} + +// Include only the specified fields in the response +func (r ApiV1CatalogRuntimesListRequest) Fields(fields string) ApiV1CatalogRuntimesListRequest { + r.fields = &fields + return r +} + +func (r ApiV1CatalogRuntimesListRequest) Id(id string) ApiV1CatalogRuntimesListRequest { + r.id = &id + return r +} + +func (r ApiV1CatalogRuntimesListRequest) Mig(mig bool) ApiV1CatalogRuntimesListRequest { + r.mig = &mig + return r +} + +func (r ApiV1CatalogRuntimesListRequest) MigProfile(migProfile string) ApiV1CatalogRuntimesListRequest { + r.migProfile = &migProfile + return r +} + +// Exclude the specified fields in the response +func (r ApiV1CatalogRuntimesListRequest) Omit(omit string) ApiV1CatalogRuntimesListRequest { + r.omit = &omit + return r +} + +// Which field to use when ordering the results. +func (r ApiV1CatalogRuntimesListRequest) Ordering(ordering string) ApiV1CatalogRuntimesListRequest { + r.ordering = &ordering + return r +} + +// A page number within the paginated result set. +func (r ApiV1CatalogRuntimesListRequest) Page(page int32) ApiV1CatalogRuntimesListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiV1CatalogRuntimesListRequest) PageSize(pageSize int32) ApiV1CatalogRuntimesListRequest { + r.pageSize = &pageSize + return r +} + +// Search for runtimes by branch, cns_driver_version, cns_version, mig_profile, id, name, url +func (r ApiV1CatalogRuntimesListRequest) Search(search string) ApiV1CatalogRuntimesListRequest { + r.search = &search + return r +} + +func (r ApiV1CatalogRuntimesListRequest) Execute() (*PaginatedRuntimeList, *http.Response, error) { + return r.ApiService.V1CatalogRuntimesListExecute(r) +} + +/* +V1CatalogRuntimesList Method for V1CatalogRuntimesList + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiV1CatalogRuntimesListRequest +*/ +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesList(ctx context.Context) ApiV1CatalogRuntimesListRequest { + return ApiV1CatalogRuntimesListRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return PaginatedRuntimeList +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesListExecute(r ApiV1CatalogRuntimesListRequest) (*PaginatedRuntimeList, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PaginatedRuntimeList + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogRuntimesAPIService.V1CatalogRuntimesList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/catalog/runtimes/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.branch != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "branch", r.branch, "form", "") + } + if r.cnsAddonPack != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cns_addon_pack", r.cnsAddonPack, "form", "") + } + if r.cnsDocker != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cns_docker", r.cnsDocker, "form", "") + } + if r.cnsDriverVersion != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cns_driver_version", r.cnsDriverVersion, "form", "") + } + if r.cnsK8s != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cns_k8s", r.cnsK8s, "form", "") + } + if r.cnsNvidiaDriver != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cns_nvidia_driver", r.cnsNvidiaDriver, "form", "") + } + if r.cnsVersion != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cns_version", r.cnsVersion, "form", "") + } + if r.fields != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "fields", r.fields, "form", "") + } + if r.id != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "form", "") + } + if r.mig != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "mig", r.mig, "form", "") + } + if r.migProfile != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "mig_profile", r.migProfile, "form", "") + } + if r.omit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "omit", r.omit, "form", "") + } + if r.ordering != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "form", "") + } + if r.page != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "form", "") + } + if r.pageSize != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "form", "") + } + if r.search != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "search", r.search, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1CatalogRuntimesPartialUpdateRequest struct { + ctx context.Context + ApiService *CatalogRuntimesAPIService + id string + runtime *Runtime +} + +func (r ApiV1CatalogRuntimesPartialUpdateRequest) Runtime(runtime Runtime) ApiV1CatalogRuntimesPartialUpdateRequest { + r.runtime = &runtime + return r +} + +func (r ApiV1CatalogRuntimesPartialUpdateRequest) Execute() (*Runtime, *http.Response, error) { + return r.ApiService.V1CatalogRuntimesPartialUpdateExecute(r) +} + +/* +V1CatalogRuntimesPartialUpdate Method for V1CatalogRuntimesPartialUpdate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A UUID string identifying this runtime. + @return ApiV1CatalogRuntimesPartialUpdateRequest +*/ +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesPartialUpdate(ctx context.Context, id string) ApiV1CatalogRuntimesPartialUpdateRequest { + return ApiV1CatalogRuntimesPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return Runtime +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesPartialUpdateExecute(r ApiV1CatalogRuntimesPartialUpdateRequest) (*Runtime, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Runtime + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogRuntimesAPIService.V1CatalogRuntimesPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/catalog/runtimes/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.runtime == nil { + return localVarReturnValue, nil, reportError("runtime is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runtime + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1CatalogRuntimesRetrieveRequest struct { + ctx context.Context + ApiService *CatalogRuntimesAPIService + id string + fields *string + omit *string +} + +// Include only the specified fields in the response +func (r ApiV1CatalogRuntimesRetrieveRequest) Fields(fields string) ApiV1CatalogRuntimesRetrieveRequest { + r.fields = &fields + return r +} + +// Exclude the specified fields in the response +func (r ApiV1CatalogRuntimesRetrieveRequest) Omit(omit string) ApiV1CatalogRuntimesRetrieveRequest { + r.omit = &omit + return r +} + +func (r ApiV1CatalogRuntimesRetrieveRequest) Execute() (*Runtime, *http.Response, error) { + return r.ApiService.V1CatalogRuntimesRetrieveExecute(r) +} + +/* +V1CatalogRuntimesRetrieve Method for V1CatalogRuntimesRetrieve + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A UUID string identifying this runtime. + @return ApiV1CatalogRuntimesRetrieveRequest +*/ +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesRetrieve(ctx context.Context, id string) ApiV1CatalogRuntimesRetrieveRequest { + return ApiV1CatalogRuntimesRetrieveRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return Runtime +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesRetrieveExecute(r ApiV1CatalogRuntimesRetrieveRequest) (*Runtime, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Runtime + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogRuntimesAPIService.V1CatalogRuntimesRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/catalog/runtimes/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.fields != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "fields", r.fields, "form", "") + } + if r.omit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "omit", r.omit, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1CatalogRuntimesUpdateRequest struct { + ctx context.Context + ApiService *CatalogRuntimesAPIService + id string + runtime *Runtime +} + +func (r ApiV1CatalogRuntimesUpdateRequest) Runtime(runtime Runtime) ApiV1CatalogRuntimesUpdateRequest { + r.runtime = &runtime + return r +} + +func (r ApiV1CatalogRuntimesUpdateRequest) Execute() (*Runtime, *http.Response, error) { + return r.ApiService.V1CatalogRuntimesUpdateExecute(r) +} + +/* +V1CatalogRuntimesUpdate Method for V1CatalogRuntimesUpdate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id A UUID string identifying this runtime. + @return ApiV1CatalogRuntimesUpdateRequest +*/ +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesUpdate(ctx context.Context, id string) ApiV1CatalogRuntimesUpdateRequest { + return ApiV1CatalogRuntimesUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return Runtime +func (a *CatalogRuntimesAPIService) V1CatalogRuntimesUpdateExecute(r ApiV1CatalogRuntimesUpdateRequest) (*Runtime, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Runtime + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CatalogRuntimesAPIService.V1CatalogRuntimesUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/catalog/runtimes/{id}/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.runtime == nil { + return localVarReturnValue, nil, reportError("runtime is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.runtime + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/v1/providers/launchpad/gen/launchpad/api_health.go b/v1/providers/launchpad/gen/launchpad/api_health.go new file mode 100644 index 00000000..bdc5cb24 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/api_health.go @@ -0,0 +1,144 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + +// HealthAPIService HealthAPI service +type HealthAPIService service + +type ApiHealthRetrieveRequest struct { + ctx context.Context + ApiService *HealthAPIService +} + +func (r ApiHealthRetrieveRequest) Execute() (*HealthRetrieve200Response, *http.Response, error) { + return r.ApiService.HealthRetrieveExecute(r) +} + +/* +HealthRetrieve Method for HealthRetrieve + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiHealthRetrieveRequest +*/ +func (a *HealthAPIService) HealthRetrieve(ctx context.Context) ApiHealthRetrieveRequest { + return ApiHealthRetrieveRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return HealthRetrieve200Response +func (a *HealthAPIService) HealthRetrieveExecute(r ApiHealthRetrieveRequest) (*HealthRetrieve200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HealthRetrieve200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HealthAPIService.HealthRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/health/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 503 { + var v HealthRetrieve200Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/v1/providers/launchpad/gen/launchpad/api_identity_profile.go b/v1/providers/launchpad/gen/launchpad/api_identity_profile.go index 139791e4..b3c2f86e 100644 --- a/v1/providers/launchpad/gen/launchpad/api_identity_profile.go +++ b/v1/providers/launchpad/gen/launchpad/api_identity_profile.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,29 +21,29 @@ import ( // IdentityProfileAPIService IdentityProfileAPI service type IdentityProfileAPIService service -type ApiIdentityProfilePartialUpdateRequest struct { +type ApiV1IdentityProfilePartialUpdateRequest struct { ctx context.Context ApiService *IdentityProfileAPIService profile *Profile } -func (r ApiIdentityProfilePartialUpdateRequest) Profile(profile Profile) ApiIdentityProfilePartialUpdateRequest { +func (r ApiV1IdentityProfilePartialUpdateRequest) Profile(profile Profile) ApiV1IdentityProfilePartialUpdateRequest { r.profile = &profile return r } -func (r ApiIdentityProfilePartialUpdateRequest) Execute() (*Profile, *http.Response, error) { - return r.ApiService.IdentityProfilePartialUpdateExecute(r) +func (r ApiV1IdentityProfilePartialUpdateRequest) Execute() (*Profile, *http.Response, error) { + return r.ApiService.V1IdentityProfilePartialUpdateExecute(r) } /* -IdentityProfilePartialUpdate Method for IdentityProfilePartialUpdate +V1IdentityProfilePartialUpdate Method for V1IdentityProfilePartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiIdentityProfilePartialUpdateRequest + @return ApiV1IdentityProfilePartialUpdateRequest */ -func (a *IdentityProfileAPIService) IdentityProfilePartialUpdate(ctx context.Context) ApiIdentityProfilePartialUpdateRequest { - return ApiIdentityProfilePartialUpdateRequest{ +func (a *IdentityProfileAPIService) V1IdentityProfilePartialUpdate(ctx context.Context) ApiV1IdentityProfilePartialUpdateRequest { + return ApiV1IdentityProfilePartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -52,7 +52,7 @@ func (a *IdentityProfileAPIService) IdentityProfilePartialUpdate(ctx context.Con // Execute executes the request // // @return Profile -func (a *IdentityProfileAPIService) IdentityProfilePartialUpdateExecute(r ApiIdentityProfilePartialUpdateRequest) (*Profile, *http.Response, error) { +func (a *IdentityProfileAPIService) V1IdentityProfilePartialUpdateExecute(r ApiV1IdentityProfilePartialUpdateRequest) (*Profile, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -60,7 +60,7 @@ func (a *IdentityProfileAPIService) IdentityProfilePartialUpdateExecute(r ApiIde localVarReturnValue *Profile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProfileAPIService.IdentityProfilePartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProfileAPIService.V1IdentityProfilePartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -144,23 +144,23 @@ func (a *IdentityProfileAPIService) IdentityProfilePartialUpdateExecute(r ApiIde return localVarReturnValue, localVarHTTPResponse, nil } -type ApiIdentityProfileRetrieveRequest struct { +type ApiV1IdentityProfileRetrieveRequest struct { ctx context.Context ApiService *IdentityProfileAPIService } -func (r ApiIdentityProfileRetrieveRequest) Execute() (*Profile, *http.Response, error) { - return r.ApiService.IdentityProfileRetrieveExecute(r) +func (r ApiV1IdentityProfileRetrieveRequest) Execute() (*Profile, *http.Response, error) { + return r.ApiService.V1IdentityProfileRetrieveExecute(r) } /* -IdentityProfileRetrieve Method for IdentityProfileRetrieve +V1IdentityProfileRetrieve Method for V1IdentityProfileRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiIdentityProfileRetrieveRequest + @return ApiV1IdentityProfileRetrieveRequest */ -func (a *IdentityProfileAPIService) IdentityProfileRetrieve(ctx context.Context) ApiIdentityProfileRetrieveRequest { - return ApiIdentityProfileRetrieveRequest{ +func (a *IdentityProfileAPIService) V1IdentityProfileRetrieve(ctx context.Context) ApiV1IdentityProfileRetrieveRequest { + return ApiV1IdentityProfileRetrieveRequest{ ApiService: a, ctx: ctx, } @@ -169,7 +169,7 @@ func (a *IdentityProfileAPIService) IdentityProfileRetrieve(ctx context.Context) // Execute executes the request // // @return Profile -func (a *IdentityProfileAPIService) IdentityProfileRetrieveExecute(r ApiIdentityProfileRetrieveRequest) (*Profile, *http.Response, error) { +func (a *IdentityProfileAPIService) V1IdentityProfileRetrieveExecute(r ApiV1IdentityProfileRetrieveRequest) (*Profile, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -177,7 +177,7 @@ func (a *IdentityProfileAPIService) IdentityProfileRetrieveExecute(r ApiIdentity localVarReturnValue *Profile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProfileAPIService.IdentityProfileRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProfileAPIService.V1IdentityProfileRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_inventory_clusters.go b/v1/providers/launchpad/gen/launchpad/api_inventory_clusters.go index 6b8f135e..cd777ab4 100644 --- a/v1/providers/launchpad/gen/launchpad/api_inventory_clusters.go +++ b/v1/providers/launchpad/gen/launchpad/api_inventory_clusters.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,29 +22,29 @@ import ( // InventoryClustersAPIService InventoryClustersAPI service type InventoryClustersAPIService service -type ApiInventoryClustersBulkPartialUpdateRequest struct { +type ApiV1InventoryClustersBulkPartialUpdateRequest struct { ctx context.Context ApiService *InventoryClustersAPIService clusterBulkUpdate *ClusterBulkUpdate } -func (r ApiInventoryClustersBulkPartialUpdateRequest) ClusterBulkUpdate(clusterBulkUpdate ClusterBulkUpdate) ApiInventoryClustersBulkPartialUpdateRequest { +func (r ApiV1InventoryClustersBulkPartialUpdateRequest) ClusterBulkUpdate(clusterBulkUpdate ClusterBulkUpdate) ApiV1InventoryClustersBulkPartialUpdateRequest { r.clusterBulkUpdate = &clusterBulkUpdate return r } -func (r ApiInventoryClustersBulkPartialUpdateRequest) Execute() (*ClusterBulkUpdate, *http.Response, error) { - return r.ApiService.InventoryClustersBulkPartialUpdateExecute(r) +func (r ApiV1InventoryClustersBulkPartialUpdateRequest) Execute() (*ClusterBulkUpdate, *http.Response, error) { + return r.ApiService.V1InventoryClustersBulkPartialUpdateExecute(r) } /* -InventoryClustersBulkPartialUpdate Method for InventoryClustersBulkPartialUpdate +V1InventoryClustersBulkPartialUpdate Method for V1InventoryClustersBulkPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryClustersBulkPartialUpdateRequest + @return ApiV1InventoryClustersBulkPartialUpdateRequest */ -func (a *InventoryClustersAPIService) InventoryClustersBulkPartialUpdate(ctx context.Context) ApiInventoryClustersBulkPartialUpdateRequest { - return ApiInventoryClustersBulkPartialUpdateRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersBulkPartialUpdate(ctx context.Context) ApiV1InventoryClustersBulkPartialUpdateRequest { + return ApiV1InventoryClustersBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -53,7 +53,7 @@ func (a *InventoryClustersAPIService) InventoryClustersBulkPartialUpdate(ctx con // Execute executes the request // // @return ClusterBulkUpdate -func (a *InventoryClustersAPIService) InventoryClustersBulkPartialUpdateExecute(r ApiInventoryClustersBulkPartialUpdateRequest) (*ClusterBulkUpdate, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersBulkPartialUpdateExecute(r ApiV1InventoryClustersBulkPartialUpdateRequest) (*ClusterBulkUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -61,7 +61,7 @@ func (a *InventoryClustersAPIService) InventoryClustersBulkPartialUpdateExecute( localVarReturnValue *ClusterBulkUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,29 +145,29 @@ func (a *InventoryClustersAPIService) InventoryClustersBulkPartialUpdateExecute( return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryClustersCreateRequest struct { +type ApiV1InventoryClustersCreateRequest struct { ctx context.Context ApiService *InventoryClustersAPIService cluster *Cluster } -func (r ApiInventoryClustersCreateRequest) Cluster(cluster Cluster) ApiInventoryClustersCreateRequest { +func (r ApiV1InventoryClustersCreateRequest) Cluster(cluster Cluster) ApiV1InventoryClustersCreateRequest { r.cluster = &cluster return r } -func (r ApiInventoryClustersCreateRequest) Execute() (*Cluster, *http.Response, error) { - return r.ApiService.InventoryClustersCreateExecute(r) +func (r ApiV1InventoryClustersCreateRequest) Execute() (*Cluster, *http.Response, error) { + return r.ApiService.V1InventoryClustersCreateExecute(r) } /* -InventoryClustersCreate Method for InventoryClustersCreate +V1InventoryClustersCreate Method for V1InventoryClustersCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryClustersCreateRequest + @return ApiV1InventoryClustersCreateRequest */ -func (a *InventoryClustersAPIService) InventoryClustersCreate(ctx context.Context) ApiInventoryClustersCreateRequest { - return ApiInventoryClustersCreateRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersCreate(ctx context.Context) ApiV1InventoryClustersCreateRequest { + return ApiV1InventoryClustersCreateRequest{ ApiService: a, ctx: ctx, } @@ -176,7 +176,7 @@ func (a *InventoryClustersAPIService) InventoryClustersCreate(ctx context.Contex // Execute executes the request // // @return Cluster -func (a *InventoryClustersAPIService) InventoryClustersCreateExecute(r ApiInventoryClustersCreateRequest) (*Cluster, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersCreateExecute(r ApiV1InventoryClustersCreateRequest) (*Cluster, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -184,7 +184,7 @@ func (a *InventoryClustersAPIService) InventoryClustersCreateExecute(r ApiInvent localVarReturnValue *Cluster ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -265,25 +265,25 @@ func (a *InventoryClustersAPIService) InventoryClustersCreateExecute(r ApiInvent return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryClustersDestroyRequest struct { +type ApiV1InventoryClustersDestroyRequest struct { ctx context.Context ApiService *InventoryClustersAPIService id string } -func (r ApiInventoryClustersDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryClustersDestroyExecute(r) +func (r ApiV1InventoryClustersDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryClustersDestroyExecute(r) } /* -InventoryClustersDestroy Method for InventoryClustersDestroy +V1InventoryClustersDestroy Method for V1InventoryClustersDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this cluster. - @return ApiInventoryClustersDestroyRequest + @return ApiV1InventoryClustersDestroyRequest */ -func (a *InventoryClustersAPIService) InventoryClustersDestroy(ctx context.Context, id string) ApiInventoryClustersDestroyRequest { - return ApiInventoryClustersDestroyRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersDestroy(ctx context.Context, id string) ApiV1InventoryClustersDestroyRequest { + return ApiV1InventoryClustersDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -291,14 +291,14 @@ func (a *InventoryClustersAPIService) InventoryClustersDestroy(ctx context.Conte } // Execute executes the request -func (a *InventoryClustersAPIService) InventoryClustersDestroyExecute(r ApiInventoryClustersDestroyRequest) (*http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersDestroyExecute(r ApiV1InventoryClustersDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -369,7 +369,7 @@ func (a *InventoryClustersAPIService) InventoryClustersDestroyExecute(r ApiInven return localVarHTTPResponse, nil } -type ApiInventoryClustersHistoryListRequest struct { +type ApiV1InventoryClustersHistoryListRequest struct { ctx context.Context ApiService *InventoryClustersAPIService id string @@ -378,30 +378,30 @@ type ApiInventoryClustersHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiInventoryClustersHistoryListRequest) Page(page int32) ApiInventoryClustersHistoryListRequest { +func (r ApiV1InventoryClustersHistoryListRequest) Page(page int32) ApiV1InventoryClustersHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryClustersHistoryListRequest) PageSize(pageSize int32) ApiInventoryClustersHistoryListRequest { +func (r ApiV1InventoryClustersHistoryListRequest) PageSize(pageSize int32) ApiV1InventoryClustersHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryClustersHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.InventoryClustersHistoryListExecute(r) +func (r ApiV1InventoryClustersHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1InventoryClustersHistoryListExecute(r) } /* -InventoryClustersHistoryList Method for InventoryClustersHistoryList +V1InventoryClustersHistoryList Method for V1InventoryClustersHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiInventoryClustersHistoryListRequest + @return ApiV1InventoryClustersHistoryListRequest */ -func (a *InventoryClustersAPIService) InventoryClustersHistoryList(ctx context.Context, id string) ApiInventoryClustersHistoryListRequest { - return ApiInventoryClustersHistoryListRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersHistoryList(ctx context.Context, id string) ApiV1InventoryClustersHistoryListRequest { + return ApiV1InventoryClustersHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -411,7 +411,7 @@ func (a *InventoryClustersAPIService) InventoryClustersHistoryList(ctx context.C // Execute executes the request // // @return PaginatedModelChangeList -func (a *InventoryClustersAPIService) InventoryClustersHistoryListExecute(r ApiInventoryClustersHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersHistoryListExecute(r ApiV1InventoryClustersHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -419,7 +419,7 @@ func (a *InventoryClustersAPIService) InventoryClustersHistoryListExecute(r ApiI localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -505,7 +505,7 @@ func (a *InventoryClustersAPIService) InventoryClustersHistoryListExecute(r ApiI return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryClustersListRequest struct { +type ApiV1InventoryClustersListRequest struct { ctx context.Context ApiService *InventoryClustersAPIService available *bool @@ -562,297 +562,297 @@ type ApiInventoryClustersListRequest struct { } // Is the cluster currently available for provisioning? -func (r ApiInventoryClustersListRequest) Available(available bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Available(available bool) ApiV1InventoryClustersListRequest { r.available = &available return r } -func (r ApiInventoryClustersListRequest) BastionName(bastionName string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) BastionName(bastionName string) ApiV1InventoryClustersListRequest { r.bastionName = &bastionName return r } -func (r ApiInventoryClustersListRequest) Deployment(deployment string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Deployment(deployment string) ApiV1InventoryClustersListRequest { r.deployment = &deployment return r } -func (r ApiInventoryClustersListRequest) Enabled(enabled bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Enabled(enabled bool) ApiV1InventoryClustersListRequest { r.enabled = &enabled return r } // Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: \"nodes.location\"). Separate multiple fields with a comma (ex: \"gpus,nodes\") -func (r ApiInventoryClustersListRequest) Expand(expand string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Expand(expand string) ApiV1InventoryClustersListRequest { r.expand = &expand return r } -func (r ApiInventoryClustersListRequest) Experience(experience string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Experience(experience string) ApiV1InventoryClustersListRequest { r.experience = &experience return r } // Include only the specified fields in the response -func (r ApiInventoryClustersListRequest) Fields(fields string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Fields(fields string) ApiV1InventoryClustersListRequest { r.fields = &fields return r } // Only include clusters whose nodes have the given garage ID -func (r ApiInventoryClustersListRequest) GarageId(garageId string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) GarageId(garageId string) ApiV1InventoryClustersListRequest { r.garageId = &garageId return r } // Multiple values may be separated by commas. -func (r ApiInventoryClustersListRequest) Gpu(gpu []string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Gpu(gpu []string) ApiV1InventoryClustersListRequest { r.gpu = &gpu return r } // Alias for GPU plan (i.e. installed GPU type and count) -func (r ApiInventoryClustersListRequest) GpuAlias(gpuAlias string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) GpuAlias(gpuAlias string) ApiV1InventoryClustersListRequest { r.gpuAlias = &gpuAlias return r } // Only include clusters with a physical GPU count equal to this value -func (r ApiInventoryClustersListRequest) GpuCount(gpuCount float32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) GpuCount(gpuCount float32) ApiV1InventoryClustersListRequest { r.gpuCount = &gpuCount return r } // Only include clusters with the given GPU model name -func (r ApiInventoryClustersListRequest) GpuModel(gpuModel string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) GpuModel(gpuModel string) ApiV1InventoryClustersListRequest { r.gpuModel = &gpuModel return r } -func (r ApiInventoryClustersListRequest) HasDeployment(hasDeployment bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) HasDeployment(hasDeployment bool) ApiV1InventoryClustersListRequest { r.hasDeployment = &hasDeployment return r } -func (r ApiInventoryClustersListRequest) HasRequestId(hasRequestId bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) HasRequestId(hasRequestId bool) ApiV1InventoryClustersListRequest { r.hasRequestId = &hasRequestId return r } -func (r ApiInventoryClustersListRequest) HasWorkshopId(hasWorkshopId bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) HasWorkshopId(hasWorkshopId bool) ApiV1InventoryClustersListRequest { r.hasWorkshopId = &hasWorkshopId return r } -func (r ApiInventoryClustersListRequest) Id(id string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Id(id string) ApiV1InventoryClustersListRequest { r.id = &id return r } -func (r ApiInventoryClustersListRequest) Location(location string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Location(location string) ApiV1InventoryClustersListRequest { r.location = &location return r } // Only include clusters whose nodes are in the location with the given name -func (r ApiInventoryClustersListRequest) LocationName(locationName string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) LocationName(locationName string) ApiV1InventoryClustersListRequest { r.locationName = &locationName return r } // Only include clusters whose nodes are in the location in the given region -func (r ApiInventoryClustersListRequest) LocationRegion(locationRegion string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) LocationRegion(locationRegion string) ApiV1InventoryClustersListRequest { r.locationRegion = &locationRegion return r } -func (r ApiInventoryClustersListRequest) Maintenance(maintenance bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Maintenance(maintenance bool) ApiV1InventoryClustersListRequest { r.maintenance = &maintenance return r } -func (r ApiInventoryClustersListRequest) MgmtIp(mgmtIp string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) MgmtIp(mgmtIp string) ApiV1InventoryClustersListRequest { r.mgmtIp = &mgmtIp return r } -func (r ApiInventoryClustersListRequest) MgmtMac(mgmtMac string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) MgmtMac(mgmtMac string) ApiV1InventoryClustersListRequest { r.mgmtMac = &mgmtMac return r } // Only include clusters that have a gpu_count greater than or equal to this value -func (r ApiInventoryClustersListRequest) MinGpuCount(minGpuCount float32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) MinGpuCount(minGpuCount float32) ApiV1InventoryClustersListRequest { r.minGpuCount = &minGpuCount return r } // Only include clusters that have a node_count greater than or equal to this value -func (r ApiInventoryClustersListRequest) MinNodeCount(minNodeCount float32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) MinNodeCount(minNodeCount float32) ApiV1InventoryClustersListRequest { r.minNodeCount = &minNodeCount return r } // Only include clusters that have a provisioning_attempts value greater than or equal to this value -func (r ApiInventoryClustersListRequest) MinProvisioningAttempts(minProvisioningAttempts int32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) MinProvisioningAttempts(minProvisioningAttempts int32) ApiV1InventoryClustersListRequest { r.minProvisioningAttempts = &minProvisioningAttempts return r } // Only include clusters whose number of tenant_ids is greater than or equal to this value -func (r ApiInventoryClustersListRequest) MinTenantCount(minTenantCount float32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) MinTenantCount(minTenantCount float32) ApiV1InventoryClustersListRequest { r.minTenantCount = &minTenantCount return r } -func (r ApiInventoryClustersListRequest) Netmask(netmask int32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Netmask(netmask int32) ApiV1InventoryClustersListRequest { r.netmask = &netmask return r } // Only include clusters with a node count equal to this value -func (r ApiInventoryClustersListRequest) NodeCount(nodeCount float32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) NodeCount(nodeCount float32) ApiV1InventoryClustersListRequest { r.nodeCount = &nodeCount return r } // Only include clusters with nodes that have the given OEM ID -func (r ApiInventoryClustersListRequest) Oem(oem string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Oem(oem string) ApiV1InventoryClustersListRequest { r.oem = &oem return r } // Exclude the specified fields in the response -func (r ApiInventoryClustersListRequest) Omit(omit string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Omit(omit string) ApiV1InventoryClustersListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiInventoryClustersListRequest) Ordering(ordering string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Ordering(ordering string) ApiV1InventoryClustersListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiInventoryClustersListRequest) Page(page int32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Page(page int32) ApiV1InventoryClustersListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryClustersListRequest) PageSize(pageSize int32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) PageSize(pageSize int32) ApiV1InventoryClustersListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryClustersListRequest) Persist(persist bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Persist(persist bool) ApiV1InventoryClustersListRequest { r.persist = &persist return r } -func (r ApiInventoryClustersListRequest) Provider(provider string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Provider(provider string) ApiV1InventoryClustersListRequest { r.provider = &provider return r } -func (r ApiInventoryClustersListRequest) ProviderCapacity(providerCapacity bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) ProviderCapacity(providerCapacity bool) ApiV1InventoryClustersListRequest { r.providerCapacity = &providerCapacity return r } // Only include clusters whose nodes are from the provider with the given name -func (r ApiInventoryClustersListRequest) ProviderName(providerName string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) ProviderName(providerName string) ApiV1InventoryClustersListRequest { r.providerName = &providerName return r } -func (r ApiInventoryClustersListRequest) ProviderNodeId(providerNodeId string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) ProviderNodeId(providerNodeId string) ApiV1InventoryClustersListRequest { r.providerNodeId = &providerNodeId return r } -func (r ApiInventoryClustersListRequest) ProvisionUser(provisionUser string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) ProvisionUser(provisionUser string) ApiV1InventoryClustersListRequest { r.provisionUser = &provisionUser return r } -func (r ApiInventoryClustersListRequest) ProvisioningAttempts(provisioningAttempts int32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) ProvisioningAttempts(provisioningAttempts int32) ApiV1InventoryClustersListRequest { r.provisioningAttempts = &provisioningAttempts return r } // Multiple values may be separated by commas. * `deployed` - Cluster is in use by a deployment * `deploying` - Provisioning is in progress * `destroying` - Cluster is being destroyed * `pending` - Provisioning will begin soon * `ready` - Provisioning has completed and is ready for a deployment * `reserved` - Cluster is unprovisioned but reserved for later use * `unprovisioned` - Cluster has not yet been provisioned -func (r ApiInventoryClustersListRequest) ProvisioningState(provisioningState []string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) ProvisioningState(provisioningState []string) ApiV1InventoryClustersListRequest { r.provisioningState = &provisioningState return r } -func (r ApiInventoryClustersListRequest) PublicAddress(publicAddress string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) PublicAddress(publicAddress string) ApiV1InventoryClustersListRequest { r.publicAddress = &publicAddress return r } // Only include clusters whose nodes are in the given rack -func (r ApiInventoryClustersListRequest) Rack(rack string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Rack(rack string) ApiV1InventoryClustersListRequest { r.rack = &rack return r } -func (r ApiInventoryClustersListRequest) RequestId(requestId string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) RequestId(requestId string) ApiV1InventoryClustersListRequest { r.requestId = &requestId return r } -func (r ApiInventoryClustersListRequest) Reservation(reservation bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Reservation(reservation bool) ApiV1InventoryClustersListRequest { r.reservation = &reservation return r } // Search for clusters by bastion_name, experience id, gpu_alias, gpus model, id, mgmt_ip, mgmt_mac, netmask, nodes garage_id, nodes location name, nodes location provider name, nodes oem name, nodes provider_node_id, nodes rack, notes, provision_user, provisioning_state, public_address, request_id, tenant_ids, workshop_id -func (r ApiInventoryClustersListRequest) Search(search string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Search(search string) ApiV1InventoryClustersListRequest { r.search = &search return r } // Only include clusters whose nodes have the given CPU architecture -func (r ApiInventoryClustersListRequest) SystemArch(systemArch string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) SystemArch(systemArch string) ApiV1InventoryClustersListRequest { r.systemArch = &systemArch return r } -func (r ApiInventoryClustersListRequest) VlanId(vlanId int32) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) VlanId(vlanId int32) ApiV1InventoryClustersListRequest { r.vlanId = &vlanId return r } -func (r ApiInventoryClustersListRequest) Workshop(workshop bool) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) Workshop(workshop bool) ApiV1InventoryClustersListRequest { r.workshop = &workshop return r } -func (r ApiInventoryClustersListRequest) WorkshopId(workshopId string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) WorkshopId(workshopId string) ApiV1InventoryClustersListRequest { r.workshopId = &workshopId return r } -func (r ApiInventoryClustersListRequest) WorkshopIdNot(workshopIdNot string) ApiInventoryClustersListRequest { +func (r ApiV1InventoryClustersListRequest) WorkshopIdNot(workshopIdNot string) ApiV1InventoryClustersListRequest { r.workshopIdNot = &workshopIdNot return r } -func (r ApiInventoryClustersListRequest) Execute() (*PaginatedClusterList, *http.Response, error) { - return r.ApiService.InventoryClustersListExecute(r) +func (r ApiV1InventoryClustersListRequest) Execute() (*PaginatedClusterList, *http.Response, error) { + return r.ApiService.V1InventoryClustersListExecute(r) } /* -InventoryClustersList Method for InventoryClustersList +V1InventoryClustersList Method for V1InventoryClustersList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryClustersListRequest + @return ApiV1InventoryClustersListRequest */ -func (a *InventoryClustersAPIService) InventoryClustersList(ctx context.Context) ApiInventoryClustersListRequest { - return ApiInventoryClustersListRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersList(ctx context.Context) ApiV1InventoryClustersListRequest { + return ApiV1InventoryClustersListRequest{ ApiService: a, ctx: ctx, } @@ -861,7 +861,7 @@ func (a *InventoryClustersAPIService) InventoryClustersList(ctx context.Context) // Execute executes the request // // @return PaginatedClusterList -func (a *InventoryClustersAPIService) InventoryClustersListExecute(r ApiInventoryClustersListRequest) (*PaginatedClusterList, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersListExecute(r ApiV1InventoryClustersListRequest) (*PaginatedClusterList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -869,7 +869,7 @@ func (a *InventoryClustersAPIService) InventoryClustersListExecute(r ApiInventor localVarReturnValue *PaginatedClusterList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1101,31 +1101,31 @@ func (a *InventoryClustersAPIService) InventoryClustersListExecute(r ApiInventor return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryClustersPartialUpdateRequest struct { +type ApiV1InventoryClustersPartialUpdateRequest struct { ctx context.Context ApiService *InventoryClustersAPIService id string cluster *Cluster } -func (r ApiInventoryClustersPartialUpdateRequest) Cluster(cluster Cluster) ApiInventoryClustersPartialUpdateRequest { +func (r ApiV1InventoryClustersPartialUpdateRequest) Cluster(cluster Cluster) ApiV1InventoryClustersPartialUpdateRequest { r.cluster = &cluster return r } -func (r ApiInventoryClustersPartialUpdateRequest) Execute() (*Cluster, *http.Response, error) { - return r.ApiService.InventoryClustersPartialUpdateExecute(r) +func (r ApiV1InventoryClustersPartialUpdateRequest) Execute() (*Cluster, *http.Response, error) { + return r.ApiService.V1InventoryClustersPartialUpdateExecute(r) } /* -InventoryClustersPartialUpdate Method for InventoryClustersPartialUpdate +V1InventoryClustersPartialUpdate Method for V1InventoryClustersPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this cluster. - @return ApiInventoryClustersPartialUpdateRequest + @return ApiV1InventoryClustersPartialUpdateRequest */ -func (a *InventoryClustersAPIService) InventoryClustersPartialUpdate(ctx context.Context, id string) ApiInventoryClustersPartialUpdateRequest { - return ApiInventoryClustersPartialUpdateRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersPartialUpdate(ctx context.Context, id string) ApiV1InventoryClustersPartialUpdateRequest { + return ApiV1InventoryClustersPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1135,7 +1135,7 @@ func (a *InventoryClustersAPIService) InventoryClustersPartialUpdate(ctx context // Execute executes the request // // @return Cluster -func (a *InventoryClustersAPIService) InventoryClustersPartialUpdateExecute(r ApiInventoryClustersPartialUpdateRequest) (*Cluster, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersPartialUpdateExecute(r ApiV1InventoryClustersPartialUpdateRequest) (*Cluster, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -1143,7 +1143,7 @@ func (a *InventoryClustersAPIService) InventoryClustersPartialUpdateExecute(r Ap localVarReturnValue *Cluster ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1225,7 +1225,520 @@ func (a *InventoryClustersAPIService) InventoryClustersPartialUpdateExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryClustersRetrieveRequest struct { +type ApiV1InventoryClustersPipelinesTriggerCreateRequest struct { + ctx context.Context + ApiService *InventoryClustersAPIService + id string + clusterPipelineTrigger *ClusterPipelineTrigger +} + +func (r ApiV1InventoryClustersPipelinesTriggerCreateRequest) ClusterPipelineTrigger(clusterPipelineTrigger ClusterPipelineTrigger) ApiV1InventoryClustersPipelinesTriggerCreateRequest { + r.clusterPipelineTrigger = &clusterPipelineTrigger + return r +} + +func (r ApiV1InventoryClustersPipelinesTriggerCreateRequest) Execute() (*ClusterPipelineTrigger, *http.Response, error) { + return r.ApiService.V1InventoryClustersPipelinesTriggerCreateExecute(r) +} + +/* +V1InventoryClustersPipelinesTriggerCreate Method for V1InventoryClustersPipelinesTriggerCreate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiV1InventoryClustersPipelinesTriggerCreateRequest +*/ +func (a *InventoryClustersAPIService) V1InventoryClustersPipelinesTriggerCreate(ctx context.Context, id string) ApiV1InventoryClustersPipelinesTriggerCreateRequest { + return ApiV1InventoryClustersPipelinesTriggerCreateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ClusterPipelineTrigger +func (a *InventoryClustersAPIService) V1InventoryClustersPipelinesTriggerCreateExecute(r ApiV1InventoryClustersPipelinesTriggerCreateRequest) (*ClusterPipelineTrigger, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClusterPipelineTrigger + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersPipelinesTriggerCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/inventory/clusters/{id}/pipelines/trigger/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.clusterPipelineTrigger == nil { + return localVarReturnValue, nil, reportError("clusterPipelineTrigger is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.clusterPipelineTrigger + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1InventoryClustersProvisionCreateRequest struct { + ctx context.Context + ApiService *InventoryClustersAPIService + provisioningRequest *ProvisioningRequest + expand *string +} + +func (r ApiV1InventoryClustersProvisionCreateRequest) ProvisioningRequest(provisioningRequest ProvisioningRequest) ApiV1InventoryClustersProvisionCreateRequest { + r.provisioningRequest = &provisioningRequest + return r +} + +// Expand related field(s) instead of only showing a UUID (ex: \"cluster,experience\"). +func (r ApiV1InventoryClustersProvisionCreateRequest) Expand(expand string) ApiV1InventoryClustersProvisionCreateRequest { + r.expand = &expand + return r +} + +func (r ApiV1InventoryClustersProvisionCreateRequest) Execute() (*ProvisioningRequest, *http.Response, error) { + return r.ApiService.V1InventoryClustersProvisionCreateExecute(r) +} + +/* +V1InventoryClustersProvisionCreate Method for V1InventoryClustersProvisionCreate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiV1InventoryClustersProvisionCreateRequest +*/ +func (a *InventoryClustersAPIService) V1InventoryClustersProvisionCreate(ctx context.Context) ApiV1InventoryClustersProvisionCreateRequest { + return ApiV1InventoryClustersProvisionCreateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return ProvisioningRequest +func (a *InventoryClustersAPIService) V1InventoryClustersProvisionCreateExecute(r ApiV1InventoryClustersProvisionCreateRequest) (*ProvisioningRequest, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ProvisioningRequest + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersProvisionCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/inventory/clusters/provision/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.provisioningRequest == nil { + return localVarReturnValue, nil, reportError("provisioningRequest is required and must be specified") + } + + if r.expand != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "expand", r.expand, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.provisioningRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1InventoryClustersProvisionDestroyRequest struct { + ctx context.Context + ApiService *InventoryClustersAPIService + id string + expand *string +} + +// Expand related field(s) instead of only showing a UUID (ex: \"cluster,experience\"). +func (r ApiV1InventoryClustersProvisionDestroyRequest) Expand(expand string) ApiV1InventoryClustersProvisionDestroyRequest { + r.expand = &expand + return r +} + +func (r ApiV1InventoryClustersProvisionDestroyRequest) Execute() (*Cluster, *http.Response, error) { + return r.ApiService.V1InventoryClustersProvisionDestroyExecute(r) +} + +/* +V1InventoryClustersProvisionDestroy Method for V1InventoryClustersProvisionDestroy + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiV1InventoryClustersProvisionDestroyRequest +*/ +func (a *InventoryClustersAPIService) V1InventoryClustersProvisionDestroy(ctx context.Context, id string) ApiV1InventoryClustersProvisionDestroyRequest { + return ApiV1InventoryClustersProvisionDestroyRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return Cluster +func (a *InventoryClustersAPIService) V1InventoryClustersProvisionDestroyExecute(r ApiV1InventoryClustersProvisionDestroyRequest) (*Cluster, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Cluster + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersProvisionDestroy") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/inventory/clusters/{id}/provision/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.expand != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "expand", r.expand, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1InventoryClustersProvisionPartialUpdateRequest struct { + ctx context.Context + ApiService *InventoryClustersAPIService + id string + provisioningRequest *ProvisioningRequest +} + +func (r ApiV1InventoryClustersProvisionPartialUpdateRequest) ProvisioningRequest(provisioningRequest ProvisioningRequest) ApiV1InventoryClustersProvisionPartialUpdateRequest { + r.provisioningRequest = &provisioningRequest + return r +} + +func (r ApiV1InventoryClustersProvisionPartialUpdateRequest) Execute() (*ProvisioningRequest, *http.Response, error) { + return r.ApiService.V1InventoryClustersProvisionPartialUpdateExecute(r) +} + +/* +V1InventoryClustersProvisionPartialUpdate Method for V1InventoryClustersProvisionPartialUpdate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiV1InventoryClustersProvisionPartialUpdateRequest +*/ +func (a *InventoryClustersAPIService) V1InventoryClustersProvisionPartialUpdate(ctx context.Context, id string) ApiV1InventoryClustersProvisionPartialUpdateRequest { + return ApiV1InventoryClustersProvisionPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// +// @return ProvisioningRequest +func (a *InventoryClustersAPIService) V1InventoryClustersProvisionPartialUpdateExecute(r ApiV1InventoryClustersProvisionPartialUpdateRequest) (*ProvisioningRequest, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ProvisioningRequest + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersProvisionPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/v1/inventory/clusters/{id}/provision/" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.provisioningRequest == nil { + return localVarReturnValue, nil, reportError("provisioningRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "application/x-www-form-urlencoded", "multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.provisioningRequest + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiV1InventoryClustersRetrieveRequest struct { ctx context.Context ApiService *InventoryClustersAPIService id string @@ -1235,36 +1748,36 @@ type ApiInventoryClustersRetrieveRequest struct { } // Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: \"nodes.location\"). Separate multiple fields with a comma (ex: \"gpus,nodes\") -func (r ApiInventoryClustersRetrieveRequest) Expand(expand string) ApiInventoryClustersRetrieveRequest { +func (r ApiV1InventoryClustersRetrieveRequest) Expand(expand string) ApiV1InventoryClustersRetrieveRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiInventoryClustersRetrieveRequest) Fields(fields string) ApiInventoryClustersRetrieveRequest { +func (r ApiV1InventoryClustersRetrieveRequest) Fields(fields string) ApiV1InventoryClustersRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiInventoryClustersRetrieveRequest) Omit(omit string) ApiInventoryClustersRetrieveRequest { +func (r ApiV1InventoryClustersRetrieveRequest) Omit(omit string) ApiV1InventoryClustersRetrieveRequest { r.omit = &omit return r } -func (r ApiInventoryClustersRetrieveRequest) Execute() (*Cluster, *http.Response, error) { - return r.ApiService.InventoryClustersRetrieveExecute(r) +func (r ApiV1InventoryClustersRetrieveRequest) Execute() (*Cluster, *http.Response, error) { + return r.ApiService.V1InventoryClustersRetrieveExecute(r) } /* -InventoryClustersRetrieve Method for InventoryClustersRetrieve +V1InventoryClustersRetrieve Method for V1InventoryClustersRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this cluster. - @return ApiInventoryClustersRetrieveRequest + @return ApiV1InventoryClustersRetrieveRequest */ -func (a *InventoryClustersAPIService) InventoryClustersRetrieve(ctx context.Context, id string) ApiInventoryClustersRetrieveRequest { - return ApiInventoryClustersRetrieveRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersRetrieve(ctx context.Context, id string) ApiV1InventoryClustersRetrieveRequest { + return ApiV1InventoryClustersRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -1274,7 +1787,7 @@ func (a *InventoryClustersAPIService) InventoryClustersRetrieve(ctx context.Cont // Execute executes the request // // @return Cluster -func (a *InventoryClustersAPIService) InventoryClustersRetrieveExecute(r ApiInventoryClustersRetrieveRequest) (*Cluster, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersRetrieveExecute(r ApiV1InventoryClustersRetrieveRequest) (*Cluster, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1282,7 +1795,7 @@ func (a *InventoryClustersAPIService) InventoryClustersRetrieveExecute(r ApiInve localVarReturnValue *Cluster ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1371,37 +1884,37 @@ func (a *InventoryClustersAPIService) InventoryClustersRetrieveExecute(r ApiInve return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryClustersStatsRetrieveRequest struct { +type ApiV1InventoryClustersStatsRetrieveRequest struct { ctx context.Context ApiService *InventoryClustersAPIService } -func (r ApiInventoryClustersStatsRetrieveRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryClustersStatsRetrieveExecute(r) +func (r ApiV1InventoryClustersStatsRetrieveRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryClustersStatsRetrieveExecute(r) } /* -InventoryClustersStatsRetrieve 🚧 [Beta Feature] +V1InventoryClustersStatsRetrieve 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryClustersStatsRetrieveRequest + @return ApiV1InventoryClustersStatsRetrieveRequest */ -func (a *InventoryClustersAPIService) InventoryClustersStatsRetrieve(ctx context.Context) ApiInventoryClustersStatsRetrieveRequest { - return ApiInventoryClustersStatsRetrieveRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersStatsRetrieve(ctx context.Context) ApiV1InventoryClustersStatsRetrieveRequest { + return ApiV1InventoryClustersStatsRetrieveRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *InventoryClustersAPIService) InventoryClustersStatsRetrieveExecute(r ApiInventoryClustersStatsRetrieveRequest) (*http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersStatsRetrieveExecute(r ApiV1InventoryClustersStatsRetrieveRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersStatsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersStatsRetrieve") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1471,31 +1984,31 @@ func (a *InventoryClustersAPIService) InventoryClustersStatsRetrieveExecute(r Ap return localVarHTTPResponse, nil } -type ApiInventoryClustersTenantsCreateRequest struct { +type ApiV1InventoryClustersTenantsCreateRequest struct { ctx context.Context ApiService *InventoryClustersAPIService clusterId string tenant *Tenant } -func (r ApiInventoryClustersTenantsCreateRequest) Tenant(tenant Tenant) ApiInventoryClustersTenantsCreateRequest { +func (r ApiV1InventoryClustersTenantsCreateRequest) Tenant(tenant Tenant) ApiV1InventoryClustersTenantsCreateRequest { r.tenant = &tenant return r } -func (r ApiInventoryClustersTenantsCreateRequest) Execute() (*Cluster, *http.Response, error) { - return r.ApiService.InventoryClustersTenantsCreateExecute(r) +func (r ApiV1InventoryClustersTenantsCreateRequest) Execute() (*Cluster, *http.Response, error) { + return r.ApiService.V1InventoryClustersTenantsCreateExecute(r) } /* -InventoryClustersTenantsCreate Method for InventoryClustersTenantsCreate +V1InventoryClustersTenantsCreate Method for V1InventoryClustersTenantsCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId - @return ApiInventoryClustersTenantsCreateRequest + @return ApiV1InventoryClustersTenantsCreateRequest */ -func (a *InventoryClustersAPIService) InventoryClustersTenantsCreate(ctx context.Context, clusterId string) ApiInventoryClustersTenantsCreateRequest { - return ApiInventoryClustersTenantsCreateRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersTenantsCreate(ctx context.Context, clusterId string) ApiV1InventoryClustersTenantsCreateRequest { + return ApiV1InventoryClustersTenantsCreateRequest{ ApiService: a, ctx: ctx, clusterId: clusterId, @@ -1505,7 +2018,7 @@ func (a *InventoryClustersAPIService) InventoryClustersTenantsCreate(ctx context // Execute executes the request // // @return Cluster -func (a *InventoryClustersAPIService) InventoryClustersTenantsCreateExecute(r ApiInventoryClustersTenantsCreateRequest) (*Cluster, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersTenantsCreateExecute(r ApiV1InventoryClustersTenantsCreateRequest) (*Cluster, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1513,7 +2026,7 @@ func (a *InventoryClustersAPIService) InventoryClustersTenantsCreateExecute(r Ap localVarReturnValue *Cluster ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersTenantsCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersTenantsCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1598,27 +2111,27 @@ func (a *InventoryClustersAPIService) InventoryClustersTenantsCreateExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryClustersTenantsDestroyRequest struct { +type ApiV1InventoryClustersTenantsDestroyRequest struct { ctx context.Context ApiService *InventoryClustersAPIService clusterId string id string } -func (r ApiInventoryClustersTenantsDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryClustersTenantsDestroyExecute(r) +func (r ApiV1InventoryClustersTenantsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryClustersTenantsDestroyExecute(r) } /* -InventoryClustersTenantsDestroy Method for InventoryClustersTenantsDestroy +V1InventoryClustersTenantsDestroy Method for V1InventoryClustersTenantsDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param clusterId @param id - @return ApiInventoryClustersTenantsDestroyRequest + @return ApiV1InventoryClustersTenantsDestroyRequest */ -func (a *InventoryClustersAPIService) InventoryClustersTenantsDestroy(ctx context.Context, clusterId string, id string) ApiInventoryClustersTenantsDestroyRequest { - return ApiInventoryClustersTenantsDestroyRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersTenantsDestroy(ctx context.Context, clusterId string, id string) ApiV1InventoryClustersTenantsDestroyRequest { + return ApiV1InventoryClustersTenantsDestroyRequest{ ApiService: a, ctx: ctx, clusterId: clusterId, @@ -1627,14 +2140,14 @@ func (a *InventoryClustersAPIService) InventoryClustersTenantsDestroy(ctx contex } // Execute executes the request -func (a *InventoryClustersAPIService) InventoryClustersTenantsDestroyExecute(r ApiInventoryClustersTenantsDestroyRequest) (*http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersTenantsDestroyExecute(r ApiV1InventoryClustersTenantsDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersTenantsDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersTenantsDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1706,31 +2219,31 @@ func (a *InventoryClustersAPIService) InventoryClustersTenantsDestroyExecute(r A return localVarHTTPResponse, nil } -type ApiInventoryClustersUpdateRequest struct { +type ApiV1InventoryClustersUpdateRequest struct { ctx context.Context ApiService *InventoryClustersAPIService id string cluster *Cluster } -func (r ApiInventoryClustersUpdateRequest) Cluster(cluster Cluster) ApiInventoryClustersUpdateRequest { +func (r ApiV1InventoryClustersUpdateRequest) Cluster(cluster Cluster) ApiV1InventoryClustersUpdateRequest { r.cluster = &cluster return r } -func (r ApiInventoryClustersUpdateRequest) Execute() (*Cluster, *http.Response, error) { - return r.ApiService.InventoryClustersUpdateExecute(r) +func (r ApiV1InventoryClustersUpdateRequest) Execute() (*Cluster, *http.Response, error) { + return r.ApiService.V1InventoryClustersUpdateExecute(r) } /* -InventoryClustersUpdate Method for InventoryClustersUpdate +V1InventoryClustersUpdate Method for V1InventoryClustersUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this cluster. - @return ApiInventoryClustersUpdateRequest + @return ApiV1InventoryClustersUpdateRequest */ -func (a *InventoryClustersAPIService) InventoryClustersUpdate(ctx context.Context, id string) ApiInventoryClustersUpdateRequest { - return ApiInventoryClustersUpdateRequest{ +func (a *InventoryClustersAPIService) V1InventoryClustersUpdate(ctx context.Context, id string) ApiV1InventoryClustersUpdateRequest { + return ApiV1InventoryClustersUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1740,7 +2253,7 @@ func (a *InventoryClustersAPIService) InventoryClustersUpdate(ctx context.Contex // Execute executes the request // // @return Cluster -func (a *InventoryClustersAPIService) InventoryClustersUpdateExecute(r ApiInventoryClustersUpdateRequest) (*Cluster, *http.Response, error) { +func (a *InventoryClustersAPIService) V1InventoryClustersUpdateExecute(r ApiV1InventoryClustersUpdateRequest) (*Cluster, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1748,7 +2261,7 @@ func (a *InventoryClustersAPIService) InventoryClustersUpdateExecute(r ApiInvent localVarReturnValue *Cluster ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.InventoryClustersUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryClustersAPIService.V1InventoryClustersUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_inventory_gpus.go b/v1/providers/launchpad/gen/launchpad/api_inventory_gpus.go index a1d0540d..8f7c94a4 100644 --- a/v1/providers/launchpad/gen/launchpad/api_inventory_gpus.go +++ b/v1/providers/launchpad/gen/launchpad/api_inventory_gpus.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,29 +22,29 @@ import ( // InventoryGpusAPIService InventoryGpusAPI service type InventoryGpusAPIService service -type ApiInventoryGpusBulkPartialUpdateRequest struct { +type ApiV1InventoryGpusBulkPartialUpdateRequest struct { ctx context.Context ApiService *InventoryGpusAPIService gpuBulkUpdate *GpuBulkUpdate } -func (r ApiInventoryGpusBulkPartialUpdateRequest) GpuBulkUpdate(gpuBulkUpdate GpuBulkUpdate) ApiInventoryGpusBulkPartialUpdateRequest { +func (r ApiV1InventoryGpusBulkPartialUpdateRequest) GpuBulkUpdate(gpuBulkUpdate GpuBulkUpdate) ApiV1InventoryGpusBulkPartialUpdateRequest { r.gpuBulkUpdate = &gpuBulkUpdate return r } -func (r ApiInventoryGpusBulkPartialUpdateRequest) Execute() (*GpuBulkUpdate, *http.Response, error) { - return r.ApiService.InventoryGpusBulkPartialUpdateExecute(r) +func (r ApiV1InventoryGpusBulkPartialUpdateRequest) Execute() (*GpuBulkUpdate, *http.Response, error) { + return r.ApiService.V1InventoryGpusBulkPartialUpdateExecute(r) } /* -InventoryGpusBulkPartialUpdate Method for InventoryGpusBulkPartialUpdate +V1InventoryGpusBulkPartialUpdate Method for V1InventoryGpusBulkPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryGpusBulkPartialUpdateRequest + @return ApiV1InventoryGpusBulkPartialUpdateRequest */ -func (a *InventoryGpusAPIService) InventoryGpusBulkPartialUpdate(ctx context.Context) ApiInventoryGpusBulkPartialUpdateRequest { - return ApiInventoryGpusBulkPartialUpdateRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusBulkPartialUpdate(ctx context.Context) ApiV1InventoryGpusBulkPartialUpdateRequest { + return ApiV1InventoryGpusBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -53,7 +53,7 @@ func (a *InventoryGpusAPIService) InventoryGpusBulkPartialUpdate(ctx context.Con // Execute executes the request // // @return GpuBulkUpdate -func (a *InventoryGpusAPIService) InventoryGpusBulkPartialUpdateExecute(r ApiInventoryGpusBulkPartialUpdateRequest) (*GpuBulkUpdate, *http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusBulkPartialUpdateExecute(r ApiV1InventoryGpusBulkPartialUpdateRequest) (*GpuBulkUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -61,7 +61,7 @@ func (a *InventoryGpusAPIService) InventoryGpusBulkPartialUpdateExecute(r ApiInv localVarReturnValue *GpuBulkUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,29 +145,29 @@ func (a *InventoryGpusAPIService) InventoryGpusBulkPartialUpdateExecute(r ApiInv return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryGpusCreateRequest struct { +type ApiV1InventoryGpusCreateRequest struct { ctx context.Context ApiService *InventoryGpusAPIService gpu *Gpu } -func (r ApiInventoryGpusCreateRequest) Gpu(gpu Gpu) ApiInventoryGpusCreateRequest { +func (r ApiV1InventoryGpusCreateRequest) Gpu(gpu Gpu) ApiV1InventoryGpusCreateRequest { r.gpu = &gpu return r } -func (r ApiInventoryGpusCreateRequest) Execute() (*Gpu, *http.Response, error) { - return r.ApiService.InventoryGpusCreateExecute(r) +func (r ApiV1InventoryGpusCreateRequest) Execute() (*Gpu, *http.Response, error) { + return r.ApiService.V1InventoryGpusCreateExecute(r) } /* -InventoryGpusCreate Method for InventoryGpusCreate +V1InventoryGpusCreate Method for V1InventoryGpusCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryGpusCreateRequest + @return ApiV1InventoryGpusCreateRequest */ -func (a *InventoryGpusAPIService) InventoryGpusCreate(ctx context.Context) ApiInventoryGpusCreateRequest { - return ApiInventoryGpusCreateRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusCreate(ctx context.Context) ApiV1InventoryGpusCreateRequest { + return ApiV1InventoryGpusCreateRequest{ ApiService: a, ctx: ctx, } @@ -176,7 +176,7 @@ func (a *InventoryGpusAPIService) InventoryGpusCreate(ctx context.Context) ApiIn // Execute executes the request // // @return Gpu -func (a *InventoryGpusAPIService) InventoryGpusCreateExecute(r ApiInventoryGpusCreateRequest) (*Gpu, *http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusCreateExecute(r ApiV1InventoryGpusCreateRequest) (*Gpu, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -184,7 +184,7 @@ func (a *InventoryGpusAPIService) InventoryGpusCreateExecute(r ApiInventoryGpusC localVarReturnValue *Gpu ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -268,25 +268,25 @@ func (a *InventoryGpusAPIService) InventoryGpusCreateExecute(r ApiInventoryGpusC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryGpusDestroyRequest struct { +type ApiV1InventoryGpusDestroyRequest struct { ctx context.Context ApiService *InventoryGpusAPIService id string } -func (r ApiInventoryGpusDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryGpusDestroyExecute(r) +func (r ApiV1InventoryGpusDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryGpusDestroyExecute(r) } /* -InventoryGpusDestroy Method for InventoryGpusDestroy +V1InventoryGpusDestroy Method for V1InventoryGpusDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this gpu. - @return ApiInventoryGpusDestroyRequest + @return ApiV1InventoryGpusDestroyRequest */ -func (a *InventoryGpusAPIService) InventoryGpusDestroy(ctx context.Context, id string) ApiInventoryGpusDestroyRequest { - return ApiInventoryGpusDestroyRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusDestroy(ctx context.Context, id string) ApiV1InventoryGpusDestroyRequest { + return ApiV1InventoryGpusDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -294,14 +294,14 @@ func (a *InventoryGpusAPIService) InventoryGpusDestroy(ctx context.Context, id s } // Execute executes the request -func (a *InventoryGpusAPIService) InventoryGpusDestroyExecute(r ApiInventoryGpusDestroyRequest) (*http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusDestroyExecute(r ApiV1InventoryGpusDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -372,7 +372,7 @@ func (a *InventoryGpusAPIService) InventoryGpusDestroyExecute(r ApiInventoryGpus return localVarHTTPResponse, nil } -type ApiInventoryGpusHistoryListRequest struct { +type ApiV1InventoryGpusHistoryListRequest struct { ctx context.Context ApiService *InventoryGpusAPIService id string @@ -381,30 +381,30 @@ type ApiInventoryGpusHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiInventoryGpusHistoryListRequest) Page(page int32) ApiInventoryGpusHistoryListRequest { +func (r ApiV1InventoryGpusHistoryListRequest) Page(page int32) ApiV1InventoryGpusHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryGpusHistoryListRequest) PageSize(pageSize int32) ApiInventoryGpusHistoryListRequest { +func (r ApiV1InventoryGpusHistoryListRequest) PageSize(pageSize int32) ApiV1InventoryGpusHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryGpusHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.InventoryGpusHistoryListExecute(r) +func (r ApiV1InventoryGpusHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1InventoryGpusHistoryListExecute(r) } /* -InventoryGpusHistoryList Method for InventoryGpusHistoryList +V1InventoryGpusHistoryList Method for V1InventoryGpusHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiInventoryGpusHistoryListRequest + @return ApiV1InventoryGpusHistoryListRequest */ -func (a *InventoryGpusAPIService) InventoryGpusHistoryList(ctx context.Context, id string) ApiInventoryGpusHistoryListRequest { - return ApiInventoryGpusHistoryListRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusHistoryList(ctx context.Context, id string) ApiV1InventoryGpusHistoryListRequest { + return ApiV1InventoryGpusHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -414,7 +414,7 @@ func (a *InventoryGpusAPIService) InventoryGpusHistoryList(ctx context.Context, // Execute executes the request // // @return PaginatedModelChangeList -func (a *InventoryGpusAPIService) InventoryGpusHistoryListExecute(r ApiInventoryGpusHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusHistoryListExecute(r ApiV1InventoryGpusHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -422,7 +422,7 @@ func (a *InventoryGpusAPIService) InventoryGpusHistoryListExecute(r ApiInventory localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -508,7 +508,7 @@ func (a *InventoryGpusAPIService) InventoryGpusHistoryListExecute(r ApiInventory return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryGpusListRequest struct { +type ApiV1InventoryGpusListRequest struct { ctx context.Context ApiService *InventoryGpusAPIService fields *string @@ -524,75 +524,75 @@ type ApiInventoryGpusListRequest struct { } // Include only the specified fields in the response -func (r ApiInventoryGpusListRequest) Fields(fields string) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Fields(fields string) ApiV1InventoryGpusListRequest { r.fields = &fields return r } // GPU form factor * `pcie` - PCIe * `sxm` - SXM -func (r ApiInventoryGpusListRequest) FormFactor(formFactor string) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) FormFactor(formFactor string) ApiV1InventoryGpusListRequest { r.formFactor = &formFactor return r } -func (r ApiInventoryGpusListRequest) Id(id string) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Id(id string) ApiV1InventoryGpusListRequest { r.id = &id return r } // Multiple values may be separated by commas. -func (r ApiInventoryGpusListRequest) Model(model []string) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Model(model []string) ApiV1InventoryGpusListRequest { r.model = &model return r } // Exclude the specified fields in the response -func (r ApiInventoryGpusListRequest) Omit(omit string) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Omit(omit string) ApiV1InventoryGpusListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiInventoryGpusListRequest) Ordering(ordering string) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Ordering(ordering string) ApiV1InventoryGpusListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiInventoryGpusListRequest) Page(page int32) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Page(page int32) ApiV1InventoryGpusListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryGpusListRequest) PageSize(pageSize int32) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) PageSize(pageSize int32) ApiV1InventoryGpusListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryGpusListRequest) Priority(priority int32) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Priority(priority int32) ApiV1InventoryGpusListRequest { r.priority = &priority return r } // Search for gpus by form_factor, id, memory, model -func (r ApiInventoryGpusListRequest) Search(search string) ApiInventoryGpusListRequest { +func (r ApiV1InventoryGpusListRequest) Search(search string) ApiV1InventoryGpusListRequest { r.search = &search return r } -func (r ApiInventoryGpusListRequest) Execute() (*PaginatedGpuList, *http.Response, error) { - return r.ApiService.InventoryGpusListExecute(r) +func (r ApiV1InventoryGpusListRequest) Execute() (*PaginatedGpuList, *http.Response, error) { + return r.ApiService.V1InventoryGpusListExecute(r) } /* -InventoryGpusList Method for InventoryGpusList +V1InventoryGpusList Method for V1InventoryGpusList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryGpusListRequest + @return ApiV1InventoryGpusListRequest */ -func (a *InventoryGpusAPIService) InventoryGpusList(ctx context.Context) ApiInventoryGpusListRequest { - return ApiInventoryGpusListRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusList(ctx context.Context) ApiV1InventoryGpusListRequest { + return ApiV1InventoryGpusListRequest{ ApiService: a, ctx: ctx, } @@ -601,7 +601,7 @@ func (a *InventoryGpusAPIService) InventoryGpusList(ctx context.Context) ApiInve // Execute executes the request // // @return PaginatedGpuList -func (a *InventoryGpusAPIService) InventoryGpusListExecute(r ApiInventoryGpusListRequest) (*PaginatedGpuList, *http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusListExecute(r ApiV1InventoryGpusListRequest) (*PaginatedGpuList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -609,7 +609,7 @@ func (a *InventoryGpusAPIService) InventoryGpusListExecute(r ApiInventoryGpusLis localVarReturnValue *PaginatedGpuList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -718,31 +718,31 @@ func (a *InventoryGpusAPIService) InventoryGpusListExecute(r ApiInventoryGpusLis return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryGpusPartialUpdateRequest struct { +type ApiV1InventoryGpusPartialUpdateRequest struct { ctx context.Context ApiService *InventoryGpusAPIService id string gpu *Gpu } -func (r ApiInventoryGpusPartialUpdateRequest) Gpu(gpu Gpu) ApiInventoryGpusPartialUpdateRequest { +func (r ApiV1InventoryGpusPartialUpdateRequest) Gpu(gpu Gpu) ApiV1InventoryGpusPartialUpdateRequest { r.gpu = &gpu return r } -func (r ApiInventoryGpusPartialUpdateRequest) Execute() (*Gpu, *http.Response, error) { - return r.ApiService.InventoryGpusPartialUpdateExecute(r) +func (r ApiV1InventoryGpusPartialUpdateRequest) Execute() (*Gpu, *http.Response, error) { + return r.ApiService.V1InventoryGpusPartialUpdateExecute(r) } /* -InventoryGpusPartialUpdate Method for InventoryGpusPartialUpdate +V1InventoryGpusPartialUpdate Method for V1InventoryGpusPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this gpu. - @return ApiInventoryGpusPartialUpdateRequest + @return ApiV1InventoryGpusPartialUpdateRequest */ -func (a *InventoryGpusAPIService) InventoryGpusPartialUpdate(ctx context.Context, id string) ApiInventoryGpusPartialUpdateRequest { - return ApiInventoryGpusPartialUpdateRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusPartialUpdate(ctx context.Context, id string) ApiV1InventoryGpusPartialUpdateRequest { + return ApiV1InventoryGpusPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -752,7 +752,7 @@ func (a *InventoryGpusAPIService) InventoryGpusPartialUpdate(ctx context.Context // Execute executes the request // // @return Gpu -func (a *InventoryGpusAPIService) InventoryGpusPartialUpdateExecute(r ApiInventoryGpusPartialUpdateRequest) (*Gpu, *http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusPartialUpdateExecute(r ApiV1InventoryGpusPartialUpdateRequest) (*Gpu, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -760,7 +760,7 @@ func (a *InventoryGpusAPIService) InventoryGpusPartialUpdateExecute(r ApiInvento localVarReturnValue *Gpu ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -845,7 +845,7 @@ func (a *InventoryGpusAPIService) InventoryGpusPartialUpdateExecute(r ApiInvento return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryGpusRetrieveRequest struct { +type ApiV1InventoryGpusRetrieveRequest struct { ctx context.Context ApiService *InventoryGpusAPIService id string @@ -854,30 +854,30 @@ type ApiInventoryGpusRetrieveRequest struct { } // Include only the specified fields in the response -func (r ApiInventoryGpusRetrieveRequest) Fields(fields string) ApiInventoryGpusRetrieveRequest { +func (r ApiV1InventoryGpusRetrieveRequest) Fields(fields string) ApiV1InventoryGpusRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiInventoryGpusRetrieveRequest) Omit(omit string) ApiInventoryGpusRetrieveRequest { +func (r ApiV1InventoryGpusRetrieveRequest) Omit(omit string) ApiV1InventoryGpusRetrieveRequest { r.omit = &omit return r } -func (r ApiInventoryGpusRetrieveRequest) Execute() (*Gpu, *http.Response, error) { - return r.ApiService.InventoryGpusRetrieveExecute(r) +func (r ApiV1InventoryGpusRetrieveRequest) Execute() (*Gpu, *http.Response, error) { + return r.ApiService.V1InventoryGpusRetrieveExecute(r) } /* -InventoryGpusRetrieve Method for InventoryGpusRetrieve +V1InventoryGpusRetrieve Method for V1InventoryGpusRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this gpu. - @return ApiInventoryGpusRetrieveRequest + @return ApiV1InventoryGpusRetrieveRequest */ -func (a *InventoryGpusAPIService) InventoryGpusRetrieve(ctx context.Context, id string) ApiInventoryGpusRetrieveRequest { - return ApiInventoryGpusRetrieveRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusRetrieve(ctx context.Context, id string) ApiV1InventoryGpusRetrieveRequest { + return ApiV1InventoryGpusRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -887,7 +887,7 @@ func (a *InventoryGpusAPIService) InventoryGpusRetrieve(ctx context.Context, id // Execute executes the request // // @return Gpu -func (a *InventoryGpusAPIService) InventoryGpusRetrieveExecute(r ApiInventoryGpusRetrieveRequest) (*Gpu, *http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusRetrieveExecute(r ApiV1InventoryGpusRetrieveRequest) (*Gpu, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -895,7 +895,7 @@ func (a *InventoryGpusAPIService) InventoryGpusRetrieveExecute(r ApiInventoryGpu localVarReturnValue *Gpu ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -981,37 +981,37 @@ func (a *InventoryGpusAPIService) InventoryGpusRetrieveExecute(r ApiInventoryGpu return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryGpusStatsRetrieveRequest struct { +type ApiV1InventoryGpusStatsRetrieveRequest struct { ctx context.Context ApiService *InventoryGpusAPIService } -func (r ApiInventoryGpusStatsRetrieveRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryGpusStatsRetrieveExecute(r) +func (r ApiV1InventoryGpusStatsRetrieveRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryGpusStatsRetrieveExecute(r) } /* -InventoryGpusStatsRetrieve 🚧 [Beta Feature] +V1InventoryGpusStatsRetrieve 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryGpusStatsRetrieveRequest + @return ApiV1InventoryGpusStatsRetrieveRequest */ -func (a *InventoryGpusAPIService) InventoryGpusStatsRetrieve(ctx context.Context) ApiInventoryGpusStatsRetrieveRequest { - return ApiInventoryGpusStatsRetrieveRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusStatsRetrieve(ctx context.Context) ApiV1InventoryGpusStatsRetrieveRequest { + return ApiV1InventoryGpusStatsRetrieveRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *InventoryGpusAPIService) InventoryGpusStatsRetrieveExecute(r ApiInventoryGpusStatsRetrieveRequest) (*http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusStatsRetrieveExecute(r ApiV1InventoryGpusStatsRetrieveRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusStatsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusStatsRetrieve") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1081,31 +1081,31 @@ func (a *InventoryGpusAPIService) InventoryGpusStatsRetrieveExecute(r ApiInvento return localVarHTTPResponse, nil } -type ApiInventoryGpusUpdateRequest struct { +type ApiV1InventoryGpusUpdateRequest struct { ctx context.Context ApiService *InventoryGpusAPIService id string gpu *Gpu } -func (r ApiInventoryGpusUpdateRequest) Gpu(gpu Gpu) ApiInventoryGpusUpdateRequest { +func (r ApiV1InventoryGpusUpdateRequest) Gpu(gpu Gpu) ApiV1InventoryGpusUpdateRequest { r.gpu = &gpu return r } -func (r ApiInventoryGpusUpdateRequest) Execute() (*Gpu, *http.Response, error) { - return r.ApiService.InventoryGpusUpdateExecute(r) +func (r ApiV1InventoryGpusUpdateRequest) Execute() (*Gpu, *http.Response, error) { + return r.ApiService.V1InventoryGpusUpdateExecute(r) } /* -InventoryGpusUpdate Method for InventoryGpusUpdate +V1InventoryGpusUpdate Method for V1InventoryGpusUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this gpu. - @return ApiInventoryGpusUpdateRequest + @return ApiV1InventoryGpusUpdateRequest */ -func (a *InventoryGpusAPIService) InventoryGpusUpdate(ctx context.Context, id string) ApiInventoryGpusUpdateRequest { - return ApiInventoryGpusUpdateRequest{ +func (a *InventoryGpusAPIService) V1InventoryGpusUpdate(ctx context.Context, id string) ApiV1InventoryGpusUpdateRequest { + return ApiV1InventoryGpusUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1115,7 +1115,7 @@ func (a *InventoryGpusAPIService) InventoryGpusUpdate(ctx context.Context, id st // Execute executes the request // // @return Gpu -func (a *InventoryGpusAPIService) InventoryGpusUpdateExecute(r ApiInventoryGpusUpdateRequest) (*Gpu, *http.Response, error) { +func (a *InventoryGpusAPIService) V1InventoryGpusUpdateExecute(r ApiV1InventoryGpusUpdateRequest) (*Gpu, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1123,7 +1123,7 @@ func (a *InventoryGpusAPIService) InventoryGpusUpdateExecute(r ApiInventoryGpusU localVarReturnValue *Gpu ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.InventoryGpusUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryGpusAPIService.V1InventoryGpusUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_inventory_instances.go b/v1/providers/launchpad/gen/launchpad/api_inventory_instances.go index b96c0015..36d94e6a 100644 --- a/v1/providers/launchpad/gen/launchpad/api_inventory_instances.go +++ b/v1/providers/launchpad/gen/launchpad/api_inventory_instances.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,29 +22,29 @@ import ( // InventoryInstancesAPIService InventoryInstancesAPI service type InventoryInstancesAPIService service -type ApiInventoryInstancesBulkPartialUpdateRequest struct { +type ApiV1InventoryInstancesBulkPartialUpdateRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService instanceBulkUpdate *InstanceBulkUpdate } -func (r ApiInventoryInstancesBulkPartialUpdateRequest) InstanceBulkUpdate(instanceBulkUpdate InstanceBulkUpdate) ApiInventoryInstancesBulkPartialUpdateRequest { +func (r ApiV1InventoryInstancesBulkPartialUpdateRequest) InstanceBulkUpdate(instanceBulkUpdate InstanceBulkUpdate) ApiV1InventoryInstancesBulkPartialUpdateRequest { r.instanceBulkUpdate = &instanceBulkUpdate return r } -func (r ApiInventoryInstancesBulkPartialUpdateRequest) Execute() (*InstanceBulkUpdate, *http.Response, error) { - return r.ApiService.InventoryInstancesBulkPartialUpdateExecute(r) +func (r ApiV1InventoryInstancesBulkPartialUpdateRequest) Execute() (*InstanceBulkUpdate, *http.Response, error) { + return r.ApiService.V1InventoryInstancesBulkPartialUpdateExecute(r) } /* -InventoryInstancesBulkPartialUpdate 🚧 [Beta Feature] +V1InventoryInstancesBulkPartialUpdate 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryInstancesBulkPartialUpdateRequest + @return ApiV1InventoryInstancesBulkPartialUpdateRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesBulkPartialUpdate(ctx context.Context) ApiInventoryInstancesBulkPartialUpdateRequest { - return ApiInventoryInstancesBulkPartialUpdateRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesBulkPartialUpdate(ctx context.Context) ApiV1InventoryInstancesBulkPartialUpdateRequest { + return ApiV1InventoryInstancesBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -53,7 +53,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesBulkPartialUpdate(ctx c // Execute executes the request // // @return InstanceBulkUpdate -func (a *InventoryInstancesAPIService) InventoryInstancesBulkPartialUpdateExecute(r ApiInventoryInstancesBulkPartialUpdateRequest) (*InstanceBulkUpdate, *http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesBulkPartialUpdateExecute(r ApiV1InventoryInstancesBulkPartialUpdateRequest) (*InstanceBulkUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -61,7 +61,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesBulkPartialUpdateExecut localVarReturnValue *InstanceBulkUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,29 +145,29 @@ func (a *InventoryInstancesAPIService) InventoryInstancesBulkPartialUpdateExecut return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryInstancesCreateRequest struct { +type ApiV1InventoryInstancesCreateRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService instance *Instance } -func (r ApiInventoryInstancesCreateRequest) Instance(instance Instance) ApiInventoryInstancesCreateRequest { +func (r ApiV1InventoryInstancesCreateRequest) Instance(instance Instance) ApiV1InventoryInstancesCreateRequest { r.instance = &instance return r } -func (r ApiInventoryInstancesCreateRequest) Execute() (*Instance, *http.Response, error) { - return r.ApiService.InventoryInstancesCreateExecute(r) +func (r ApiV1InventoryInstancesCreateRequest) Execute() (*Instance, *http.Response, error) { + return r.ApiService.V1InventoryInstancesCreateExecute(r) } /* -InventoryInstancesCreate 🚧 [Beta Feature] +V1InventoryInstancesCreate 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryInstancesCreateRequest + @return ApiV1InventoryInstancesCreateRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesCreate(ctx context.Context) ApiInventoryInstancesCreateRequest { - return ApiInventoryInstancesCreateRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesCreate(ctx context.Context) ApiV1InventoryInstancesCreateRequest { + return ApiV1InventoryInstancesCreateRequest{ ApiService: a, ctx: ctx, } @@ -176,7 +176,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesCreate(ctx context.Cont // Execute executes the request // // @return Instance -func (a *InventoryInstancesAPIService) InventoryInstancesCreateExecute(r ApiInventoryInstancesCreateRequest) (*Instance, *http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesCreateExecute(r ApiV1InventoryInstancesCreateRequest) (*Instance, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -184,7 +184,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesCreateExecute(r ApiInve localVarReturnValue *Instance ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -268,25 +268,25 @@ func (a *InventoryInstancesAPIService) InventoryInstancesCreateExecute(r ApiInve return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryInstancesDestroyRequest struct { +type ApiV1InventoryInstancesDestroyRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService id string } -func (r ApiInventoryInstancesDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryInstancesDestroyExecute(r) +func (r ApiV1InventoryInstancesDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryInstancesDestroyExecute(r) } /* -InventoryInstancesDestroy 🚧 [Beta Feature] +V1InventoryInstancesDestroy 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this instance. - @return ApiInventoryInstancesDestroyRequest + @return ApiV1InventoryInstancesDestroyRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesDestroy(ctx context.Context, id string) ApiInventoryInstancesDestroyRequest { - return ApiInventoryInstancesDestroyRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesDestroy(ctx context.Context, id string) ApiV1InventoryInstancesDestroyRequest { + return ApiV1InventoryInstancesDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -294,14 +294,14 @@ func (a *InventoryInstancesAPIService) InventoryInstancesDestroy(ctx context.Con } // Execute executes the request -func (a *InventoryInstancesAPIService) InventoryInstancesDestroyExecute(r ApiInventoryInstancesDestroyRequest) (*http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesDestroyExecute(r ApiV1InventoryInstancesDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -372,7 +372,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesDestroyExecute(r ApiInv return localVarHTTPResponse, nil } -type ApiInventoryInstancesHistoryListRequest struct { +type ApiV1InventoryInstancesHistoryListRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService id string @@ -381,30 +381,30 @@ type ApiInventoryInstancesHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiInventoryInstancesHistoryListRequest) Page(page int32) ApiInventoryInstancesHistoryListRequest { +func (r ApiV1InventoryInstancesHistoryListRequest) Page(page int32) ApiV1InventoryInstancesHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryInstancesHistoryListRequest) PageSize(pageSize int32) ApiInventoryInstancesHistoryListRequest { +func (r ApiV1InventoryInstancesHistoryListRequest) PageSize(pageSize int32) ApiV1InventoryInstancesHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryInstancesHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.InventoryInstancesHistoryListExecute(r) +func (r ApiV1InventoryInstancesHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1InventoryInstancesHistoryListExecute(r) } /* -InventoryInstancesHistoryList 🚧 [Beta Feature] +V1InventoryInstancesHistoryList 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiInventoryInstancesHistoryListRequest + @return ApiV1InventoryInstancesHistoryListRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesHistoryList(ctx context.Context, id string) ApiInventoryInstancesHistoryListRequest { - return ApiInventoryInstancesHistoryListRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesHistoryList(ctx context.Context, id string) ApiV1InventoryInstancesHistoryListRequest { + return ApiV1InventoryInstancesHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -414,7 +414,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesHistoryList(ctx context // Execute executes the request // // @return PaginatedModelChangeList -func (a *InventoryInstancesAPIService) InventoryInstancesHistoryListExecute(r ApiInventoryInstancesHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesHistoryListExecute(r ApiV1InventoryInstancesHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -422,7 +422,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesHistoryListExecute(r Ap localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -508,7 +508,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesHistoryListExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryInstancesListRequest struct { +type ApiV1InventoryInstancesListRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService cluster *string @@ -525,86 +525,86 @@ type ApiInventoryInstancesListRequest struct { state *string } -func (r ApiInventoryInstancesListRequest) Cluster(cluster string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Cluster(cluster string) ApiV1InventoryInstancesListRequest { r.cluster = &cluster return r } // Expand related field(s) instead of only showing a UUID (ex: \"cluster\"). -func (r ApiInventoryInstancesListRequest) Expand(expand string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Expand(expand string) ApiV1InventoryInstancesListRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiInventoryInstancesListRequest) Fields(fields string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Fields(fields string) ApiV1InventoryInstancesListRequest { r.fields = &fields return r } -func (r ApiInventoryInstancesListRequest) Id(id string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Id(id string) ApiV1InventoryInstancesListRequest { r.id = &id return r } -func (r ApiInventoryInstancesListRequest) InstanceId(instanceId string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) InstanceId(instanceId string) ApiV1InventoryInstancesListRequest { r.instanceId = &instanceId return r } -func (r ApiInventoryInstancesListRequest) Name(name string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Name(name string) ApiV1InventoryInstancesListRequest { r.name = &name return r } // Exclude the specified fields in the response -func (r ApiInventoryInstancesListRequest) Omit(omit string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Omit(omit string) ApiV1InventoryInstancesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiInventoryInstancesListRequest) Ordering(ordering string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Ordering(ordering string) ApiV1InventoryInstancesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiInventoryInstancesListRequest) Page(page int32) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Page(page int32) ApiV1InventoryInstancesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryInstancesListRequest) PageSize(pageSize int32) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) PageSize(pageSize int32) ApiV1InventoryInstancesListRequest { r.pageSize = &pageSize return r } // Search for instances by cluster, id, instance_id, name, state, tags -func (r ApiInventoryInstancesListRequest) Search(search string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) Search(search string) ApiV1InventoryInstancesListRequest { r.search = &search return r } // Current lifecycle state of this instance * `running` - Instance is running * `starting` - Instance is starting * `stopped` - Instance is stopped * `stopping` - Instance is stopping * `unknown` - Instance state is currently unknown -func (r ApiInventoryInstancesListRequest) State(state string) ApiInventoryInstancesListRequest { +func (r ApiV1InventoryInstancesListRequest) State(state string) ApiV1InventoryInstancesListRequest { r.state = &state return r } -func (r ApiInventoryInstancesListRequest) Execute() (*PaginatedInstanceList, *http.Response, error) { - return r.ApiService.InventoryInstancesListExecute(r) +func (r ApiV1InventoryInstancesListRequest) Execute() (*PaginatedInstanceList, *http.Response, error) { + return r.ApiService.V1InventoryInstancesListExecute(r) } /* -InventoryInstancesList 🚧 [Beta Feature] +V1InventoryInstancesList 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryInstancesListRequest + @return ApiV1InventoryInstancesListRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesList(ctx context.Context) ApiInventoryInstancesListRequest { - return ApiInventoryInstancesListRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesList(ctx context.Context) ApiV1InventoryInstancesListRequest { + return ApiV1InventoryInstancesListRequest{ ApiService: a, ctx: ctx, } @@ -613,7 +613,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesList(ctx context.Contex // Execute executes the request // // @return PaginatedInstanceList -func (a *InventoryInstancesAPIService) InventoryInstancesListExecute(r ApiInventoryInstancesListRequest) (*PaginatedInstanceList, *http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesListExecute(r ApiV1InventoryInstancesListRequest) (*PaginatedInstanceList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -621,7 +621,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesListExecute(r ApiInvent localVarReturnValue *PaginatedInstanceList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -736,31 +736,31 @@ func (a *InventoryInstancesAPIService) InventoryInstancesListExecute(r ApiInvent return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryInstancesPartialUpdateRequest struct { +type ApiV1InventoryInstancesPartialUpdateRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService id string instance *Instance } -func (r ApiInventoryInstancesPartialUpdateRequest) Instance(instance Instance) ApiInventoryInstancesPartialUpdateRequest { +func (r ApiV1InventoryInstancesPartialUpdateRequest) Instance(instance Instance) ApiV1InventoryInstancesPartialUpdateRequest { r.instance = &instance return r } -func (r ApiInventoryInstancesPartialUpdateRequest) Execute() (*Instance, *http.Response, error) { - return r.ApiService.InventoryInstancesPartialUpdateExecute(r) +func (r ApiV1InventoryInstancesPartialUpdateRequest) Execute() (*Instance, *http.Response, error) { + return r.ApiService.V1InventoryInstancesPartialUpdateExecute(r) } /* -InventoryInstancesPartialUpdate 🚧 [Beta Feature] +V1InventoryInstancesPartialUpdate 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this instance. - @return ApiInventoryInstancesPartialUpdateRequest + @return ApiV1InventoryInstancesPartialUpdateRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesPartialUpdate(ctx context.Context, id string) ApiInventoryInstancesPartialUpdateRequest { - return ApiInventoryInstancesPartialUpdateRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesPartialUpdate(ctx context.Context, id string) ApiV1InventoryInstancesPartialUpdateRequest { + return ApiV1InventoryInstancesPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -770,7 +770,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesPartialUpdate(ctx conte // Execute executes the request // // @return Instance -func (a *InventoryInstancesAPIService) InventoryInstancesPartialUpdateExecute(r ApiInventoryInstancesPartialUpdateRequest) (*Instance, *http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesPartialUpdateExecute(r ApiV1InventoryInstancesPartialUpdateRequest) (*Instance, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -778,7 +778,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesPartialUpdateExecute(r localVarReturnValue *Instance ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -863,7 +863,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesPartialUpdateExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryInstancesRetrieveRequest struct { +type ApiV1InventoryInstancesRetrieveRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService id string @@ -873,36 +873,36 @@ type ApiInventoryInstancesRetrieveRequest struct { } // Expand related field(s) instead of only showing a UUID (ex: \"cluster\"). -func (r ApiInventoryInstancesRetrieveRequest) Expand(expand string) ApiInventoryInstancesRetrieveRequest { +func (r ApiV1InventoryInstancesRetrieveRequest) Expand(expand string) ApiV1InventoryInstancesRetrieveRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiInventoryInstancesRetrieveRequest) Fields(fields string) ApiInventoryInstancesRetrieveRequest { +func (r ApiV1InventoryInstancesRetrieveRequest) Fields(fields string) ApiV1InventoryInstancesRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiInventoryInstancesRetrieveRequest) Omit(omit string) ApiInventoryInstancesRetrieveRequest { +func (r ApiV1InventoryInstancesRetrieveRequest) Omit(omit string) ApiV1InventoryInstancesRetrieveRequest { r.omit = &omit return r } -func (r ApiInventoryInstancesRetrieveRequest) Execute() (*Instance, *http.Response, error) { - return r.ApiService.InventoryInstancesRetrieveExecute(r) +func (r ApiV1InventoryInstancesRetrieveRequest) Execute() (*Instance, *http.Response, error) { + return r.ApiService.V1InventoryInstancesRetrieveExecute(r) } /* -InventoryInstancesRetrieve 🚧 [Beta Feature] +V1InventoryInstancesRetrieve 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this instance. - @return ApiInventoryInstancesRetrieveRequest + @return ApiV1InventoryInstancesRetrieveRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesRetrieve(ctx context.Context, id string) ApiInventoryInstancesRetrieveRequest { - return ApiInventoryInstancesRetrieveRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesRetrieve(ctx context.Context, id string) ApiV1InventoryInstancesRetrieveRequest { + return ApiV1InventoryInstancesRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -912,7 +912,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesRetrieve(ctx context.Co // Execute executes the request // // @return Instance -func (a *InventoryInstancesAPIService) InventoryInstancesRetrieveExecute(r ApiInventoryInstancesRetrieveRequest) (*Instance, *http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesRetrieveExecute(r ApiV1InventoryInstancesRetrieveRequest) (*Instance, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -920,7 +920,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesRetrieveExecute(r ApiIn localVarReturnValue *Instance ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1009,31 +1009,31 @@ func (a *InventoryInstancesAPIService) InventoryInstancesRetrieveExecute(r ApiIn return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryInstancesUpdateRequest struct { +type ApiV1InventoryInstancesUpdateRequest struct { ctx context.Context ApiService *InventoryInstancesAPIService id string instance *Instance } -func (r ApiInventoryInstancesUpdateRequest) Instance(instance Instance) ApiInventoryInstancesUpdateRequest { +func (r ApiV1InventoryInstancesUpdateRequest) Instance(instance Instance) ApiV1InventoryInstancesUpdateRequest { r.instance = &instance return r } -func (r ApiInventoryInstancesUpdateRequest) Execute() (*Instance, *http.Response, error) { - return r.ApiService.InventoryInstancesUpdateExecute(r) +func (r ApiV1InventoryInstancesUpdateRequest) Execute() (*Instance, *http.Response, error) { + return r.ApiService.V1InventoryInstancesUpdateExecute(r) } /* -InventoryInstancesUpdate 🚧 [Beta Feature] +V1InventoryInstancesUpdate 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this instance. - @return ApiInventoryInstancesUpdateRequest + @return ApiV1InventoryInstancesUpdateRequest */ -func (a *InventoryInstancesAPIService) InventoryInstancesUpdate(ctx context.Context, id string) ApiInventoryInstancesUpdateRequest { - return ApiInventoryInstancesUpdateRequest{ +func (a *InventoryInstancesAPIService) V1InventoryInstancesUpdate(ctx context.Context, id string) ApiV1InventoryInstancesUpdateRequest { + return ApiV1InventoryInstancesUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1043,7 +1043,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesUpdate(ctx context.Cont // Execute executes the request // // @return Instance -func (a *InventoryInstancesAPIService) InventoryInstancesUpdateExecute(r ApiInventoryInstancesUpdateRequest) (*Instance, *http.Response, error) { +func (a *InventoryInstancesAPIService) V1InventoryInstancesUpdateExecute(r ApiV1InventoryInstancesUpdateRequest) (*Instance, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1051,7 +1051,7 @@ func (a *InventoryInstancesAPIService) InventoryInstancesUpdateExecute(r ApiInve localVarReturnValue *Instance ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.InventoryInstancesUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryInstancesAPIService.V1InventoryInstancesUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_inventory_locations.go b/v1/providers/launchpad/gen/launchpad/api_inventory_locations.go index 84991c2f..27784e14 100644 --- a/v1/providers/launchpad/gen/launchpad/api_inventory_locations.go +++ b/v1/providers/launchpad/gen/launchpad/api_inventory_locations.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,29 +22,29 @@ import ( // InventoryLocationsAPIService InventoryLocationsAPI service type InventoryLocationsAPIService service -type ApiInventoryLocationsCreateRequest struct { +type ApiV1InventoryLocationsCreateRequest struct { ctx context.Context ApiService *InventoryLocationsAPIService location *Location } -func (r ApiInventoryLocationsCreateRequest) Location(location Location) ApiInventoryLocationsCreateRequest { +func (r ApiV1InventoryLocationsCreateRequest) Location(location Location) ApiV1InventoryLocationsCreateRequest { r.location = &location return r } -func (r ApiInventoryLocationsCreateRequest) Execute() (*Location, *http.Response, error) { - return r.ApiService.InventoryLocationsCreateExecute(r) +func (r ApiV1InventoryLocationsCreateRequest) Execute() (*Location, *http.Response, error) { + return r.ApiService.V1InventoryLocationsCreateExecute(r) } /* -InventoryLocationsCreate Method for InventoryLocationsCreate +V1InventoryLocationsCreate Method for V1InventoryLocationsCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryLocationsCreateRequest + @return ApiV1InventoryLocationsCreateRequest */ -func (a *InventoryLocationsAPIService) InventoryLocationsCreate(ctx context.Context) ApiInventoryLocationsCreateRequest { - return ApiInventoryLocationsCreateRequest{ +func (a *InventoryLocationsAPIService) V1InventoryLocationsCreate(ctx context.Context) ApiV1InventoryLocationsCreateRequest { + return ApiV1InventoryLocationsCreateRequest{ ApiService: a, ctx: ctx, } @@ -53,7 +53,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsCreate(ctx context.Cont // Execute executes the request // // @return Location -func (a *InventoryLocationsAPIService) InventoryLocationsCreateExecute(r ApiInventoryLocationsCreateRequest) (*Location, *http.Response, error) { +func (a *InventoryLocationsAPIService) V1InventoryLocationsCreateExecute(r ApiV1InventoryLocationsCreateRequest) (*Location, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -61,7 +61,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsCreateExecute(r ApiInve localVarReturnValue *Location ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.InventoryLocationsCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.V1InventoryLocationsCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,25 +145,25 @@ func (a *InventoryLocationsAPIService) InventoryLocationsCreateExecute(r ApiInve return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryLocationsDestroyRequest struct { +type ApiV1InventoryLocationsDestroyRequest struct { ctx context.Context ApiService *InventoryLocationsAPIService id string } -func (r ApiInventoryLocationsDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryLocationsDestroyExecute(r) +func (r ApiV1InventoryLocationsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryLocationsDestroyExecute(r) } /* -InventoryLocationsDestroy Method for InventoryLocationsDestroy +V1InventoryLocationsDestroy Method for V1InventoryLocationsDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this location. - @return ApiInventoryLocationsDestroyRequest + @return ApiV1InventoryLocationsDestroyRequest */ -func (a *InventoryLocationsAPIService) InventoryLocationsDestroy(ctx context.Context, id string) ApiInventoryLocationsDestroyRequest { - return ApiInventoryLocationsDestroyRequest{ +func (a *InventoryLocationsAPIService) V1InventoryLocationsDestroy(ctx context.Context, id string) ApiV1InventoryLocationsDestroyRequest { + return ApiV1InventoryLocationsDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -171,14 +171,14 @@ func (a *InventoryLocationsAPIService) InventoryLocationsDestroy(ctx context.Con } // Execute executes the request -func (a *InventoryLocationsAPIService) InventoryLocationsDestroyExecute(r ApiInventoryLocationsDestroyRequest) (*http.Response, error) { +func (a *InventoryLocationsAPIService) V1InventoryLocationsDestroyExecute(r ApiV1InventoryLocationsDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.InventoryLocationsDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.V1InventoryLocationsDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -249,7 +249,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsDestroyExecute(r ApiInv return localVarHTTPResponse, nil } -type ApiInventoryLocationsHistoryListRequest struct { +type ApiV1InventoryLocationsHistoryListRequest struct { ctx context.Context ApiService *InventoryLocationsAPIService id string @@ -258,30 +258,30 @@ type ApiInventoryLocationsHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiInventoryLocationsHistoryListRequest) Page(page int32) ApiInventoryLocationsHistoryListRequest { +func (r ApiV1InventoryLocationsHistoryListRequest) Page(page int32) ApiV1InventoryLocationsHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryLocationsHistoryListRequest) PageSize(pageSize int32) ApiInventoryLocationsHistoryListRequest { +func (r ApiV1InventoryLocationsHistoryListRequest) PageSize(pageSize int32) ApiV1InventoryLocationsHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryLocationsHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.InventoryLocationsHistoryListExecute(r) +func (r ApiV1InventoryLocationsHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1InventoryLocationsHistoryListExecute(r) } /* -InventoryLocationsHistoryList Method for InventoryLocationsHistoryList +V1InventoryLocationsHistoryList Method for V1InventoryLocationsHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiInventoryLocationsHistoryListRequest + @return ApiV1InventoryLocationsHistoryListRequest */ -func (a *InventoryLocationsAPIService) InventoryLocationsHistoryList(ctx context.Context, id string) ApiInventoryLocationsHistoryListRequest { - return ApiInventoryLocationsHistoryListRequest{ +func (a *InventoryLocationsAPIService) V1InventoryLocationsHistoryList(ctx context.Context, id string) ApiV1InventoryLocationsHistoryListRequest { + return ApiV1InventoryLocationsHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -291,7 +291,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsHistoryList(ctx context // Execute executes the request // // @return PaginatedModelChangeList -func (a *InventoryLocationsAPIService) InventoryLocationsHistoryListExecute(r ApiInventoryLocationsHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *InventoryLocationsAPIService) V1InventoryLocationsHistoryListExecute(r ApiV1InventoryLocationsHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -299,7 +299,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsHistoryListExecute(r Ap localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.InventoryLocationsHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.V1InventoryLocationsHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -385,7 +385,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsHistoryListExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryLocationsListRequest struct { +type ApiV1InventoryLocationsListRequest struct { ctx context.Context ApiService *InventoryLocationsAPIService expand *string @@ -402,79 +402,79 @@ type ApiInventoryLocationsListRequest struct { } // Expand related field(s) instead of only showing a UUID (ex: \"provider\"). -func (r ApiInventoryLocationsListRequest) Expand(expand string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Expand(expand string) ApiV1InventoryLocationsListRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiInventoryLocationsListRequest) Fields(fields string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Fields(fields string) ApiV1InventoryLocationsListRequest { r.fields = &fields return r } -func (r ApiInventoryLocationsListRequest) Id(id string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Id(id string) ApiV1InventoryLocationsListRequest { r.id = &id return r } -func (r ApiInventoryLocationsListRequest) Name(name string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Name(name string) ApiV1InventoryLocationsListRequest { r.name = &name return r } // Exclude the specified fields in the response -func (r ApiInventoryLocationsListRequest) Omit(omit string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Omit(omit string) ApiV1InventoryLocationsListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiInventoryLocationsListRequest) Ordering(ordering string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Ordering(ordering string) ApiV1InventoryLocationsListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiInventoryLocationsListRequest) Page(page int32) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Page(page int32) ApiV1InventoryLocationsListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryLocationsListRequest) PageSize(pageSize int32) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) PageSize(pageSize int32) ApiV1InventoryLocationsListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryLocationsListRequest) Provider(provider string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Provider(provider string) ApiV1InventoryLocationsListRequest { r.provider = &provider return r } -func (r ApiInventoryLocationsListRequest) Region(region string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Region(region string) ApiV1InventoryLocationsListRequest { r.region = ®ion return r } // Search for locations by id, name, provider name, region -func (r ApiInventoryLocationsListRequest) Search(search string) ApiInventoryLocationsListRequest { +func (r ApiV1InventoryLocationsListRequest) Search(search string) ApiV1InventoryLocationsListRequest { r.search = &search return r } -func (r ApiInventoryLocationsListRequest) Execute() (*PaginatedLocationList, *http.Response, error) { - return r.ApiService.InventoryLocationsListExecute(r) +func (r ApiV1InventoryLocationsListRequest) Execute() (*PaginatedLocationList, *http.Response, error) { + return r.ApiService.V1InventoryLocationsListExecute(r) } /* -InventoryLocationsList Method for InventoryLocationsList +V1InventoryLocationsList Method for V1InventoryLocationsList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryLocationsListRequest + @return ApiV1InventoryLocationsListRequest */ -func (a *InventoryLocationsAPIService) InventoryLocationsList(ctx context.Context) ApiInventoryLocationsListRequest { - return ApiInventoryLocationsListRequest{ +func (a *InventoryLocationsAPIService) V1InventoryLocationsList(ctx context.Context) ApiV1InventoryLocationsListRequest { + return ApiV1InventoryLocationsListRequest{ ApiService: a, ctx: ctx, } @@ -483,7 +483,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsList(ctx context.Contex // Execute executes the request // // @return PaginatedLocationList -func (a *InventoryLocationsAPIService) InventoryLocationsListExecute(r ApiInventoryLocationsListRequest) (*PaginatedLocationList, *http.Response, error) { +func (a *InventoryLocationsAPIService) V1InventoryLocationsListExecute(r ApiV1InventoryLocationsListRequest) (*PaginatedLocationList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -491,7 +491,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsListExecute(r ApiInvent localVarReturnValue *PaginatedLocationList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.InventoryLocationsList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.V1InventoryLocationsList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -603,31 +603,31 @@ func (a *InventoryLocationsAPIService) InventoryLocationsListExecute(r ApiInvent return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryLocationsPartialUpdateRequest struct { +type ApiV1InventoryLocationsPartialUpdateRequest struct { ctx context.Context ApiService *InventoryLocationsAPIService id string location *Location } -func (r ApiInventoryLocationsPartialUpdateRequest) Location(location Location) ApiInventoryLocationsPartialUpdateRequest { +func (r ApiV1InventoryLocationsPartialUpdateRequest) Location(location Location) ApiV1InventoryLocationsPartialUpdateRequest { r.location = &location return r } -func (r ApiInventoryLocationsPartialUpdateRequest) Execute() (*Location, *http.Response, error) { - return r.ApiService.InventoryLocationsPartialUpdateExecute(r) +func (r ApiV1InventoryLocationsPartialUpdateRequest) Execute() (*Location, *http.Response, error) { + return r.ApiService.V1InventoryLocationsPartialUpdateExecute(r) } /* -InventoryLocationsPartialUpdate Method for InventoryLocationsPartialUpdate +V1InventoryLocationsPartialUpdate Method for V1InventoryLocationsPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this location. - @return ApiInventoryLocationsPartialUpdateRequest + @return ApiV1InventoryLocationsPartialUpdateRequest */ -func (a *InventoryLocationsAPIService) InventoryLocationsPartialUpdate(ctx context.Context, id string) ApiInventoryLocationsPartialUpdateRequest { - return ApiInventoryLocationsPartialUpdateRequest{ +func (a *InventoryLocationsAPIService) V1InventoryLocationsPartialUpdate(ctx context.Context, id string) ApiV1InventoryLocationsPartialUpdateRequest { + return ApiV1InventoryLocationsPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -637,7 +637,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsPartialUpdate(ctx conte // Execute executes the request // // @return Location -func (a *InventoryLocationsAPIService) InventoryLocationsPartialUpdateExecute(r ApiInventoryLocationsPartialUpdateRequest) (*Location, *http.Response, error) { +func (a *InventoryLocationsAPIService) V1InventoryLocationsPartialUpdateExecute(r ApiV1InventoryLocationsPartialUpdateRequest) (*Location, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -645,7 +645,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsPartialUpdateExecute(r localVarReturnValue *Location ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.InventoryLocationsPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.V1InventoryLocationsPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -730,7 +730,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsPartialUpdateExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryLocationsRetrieveRequest struct { +type ApiV1InventoryLocationsRetrieveRequest struct { ctx context.Context ApiService *InventoryLocationsAPIService id string @@ -740,36 +740,36 @@ type ApiInventoryLocationsRetrieveRequest struct { } // Expand related field(s) instead of only showing a UUID (ex: \"provider\"). -func (r ApiInventoryLocationsRetrieveRequest) Expand(expand string) ApiInventoryLocationsRetrieveRequest { +func (r ApiV1InventoryLocationsRetrieveRequest) Expand(expand string) ApiV1InventoryLocationsRetrieveRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiInventoryLocationsRetrieveRequest) Fields(fields string) ApiInventoryLocationsRetrieveRequest { +func (r ApiV1InventoryLocationsRetrieveRequest) Fields(fields string) ApiV1InventoryLocationsRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiInventoryLocationsRetrieveRequest) Omit(omit string) ApiInventoryLocationsRetrieveRequest { +func (r ApiV1InventoryLocationsRetrieveRequest) Omit(omit string) ApiV1InventoryLocationsRetrieveRequest { r.omit = &omit return r } -func (r ApiInventoryLocationsRetrieveRequest) Execute() (*Location, *http.Response, error) { - return r.ApiService.InventoryLocationsRetrieveExecute(r) +func (r ApiV1InventoryLocationsRetrieveRequest) Execute() (*Location, *http.Response, error) { + return r.ApiService.V1InventoryLocationsRetrieveExecute(r) } /* -InventoryLocationsRetrieve Method for InventoryLocationsRetrieve +V1InventoryLocationsRetrieve Method for V1InventoryLocationsRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this location. - @return ApiInventoryLocationsRetrieveRequest + @return ApiV1InventoryLocationsRetrieveRequest */ -func (a *InventoryLocationsAPIService) InventoryLocationsRetrieve(ctx context.Context, id string) ApiInventoryLocationsRetrieveRequest { - return ApiInventoryLocationsRetrieveRequest{ +func (a *InventoryLocationsAPIService) V1InventoryLocationsRetrieve(ctx context.Context, id string) ApiV1InventoryLocationsRetrieveRequest { + return ApiV1InventoryLocationsRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -779,7 +779,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsRetrieve(ctx context.Co // Execute executes the request // // @return Location -func (a *InventoryLocationsAPIService) InventoryLocationsRetrieveExecute(r ApiInventoryLocationsRetrieveRequest) (*Location, *http.Response, error) { +func (a *InventoryLocationsAPIService) V1InventoryLocationsRetrieveExecute(r ApiV1InventoryLocationsRetrieveRequest) (*Location, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -787,7 +787,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsRetrieveExecute(r ApiIn localVarReturnValue *Location ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.InventoryLocationsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.V1InventoryLocationsRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -876,31 +876,31 @@ func (a *InventoryLocationsAPIService) InventoryLocationsRetrieveExecute(r ApiIn return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryLocationsUpdateRequest struct { +type ApiV1InventoryLocationsUpdateRequest struct { ctx context.Context ApiService *InventoryLocationsAPIService id string location *Location } -func (r ApiInventoryLocationsUpdateRequest) Location(location Location) ApiInventoryLocationsUpdateRequest { +func (r ApiV1InventoryLocationsUpdateRequest) Location(location Location) ApiV1InventoryLocationsUpdateRequest { r.location = &location return r } -func (r ApiInventoryLocationsUpdateRequest) Execute() (*Location, *http.Response, error) { - return r.ApiService.InventoryLocationsUpdateExecute(r) +func (r ApiV1InventoryLocationsUpdateRequest) Execute() (*Location, *http.Response, error) { + return r.ApiService.V1InventoryLocationsUpdateExecute(r) } /* -InventoryLocationsUpdate Method for InventoryLocationsUpdate +V1InventoryLocationsUpdate Method for V1InventoryLocationsUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this location. - @return ApiInventoryLocationsUpdateRequest + @return ApiV1InventoryLocationsUpdateRequest */ -func (a *InventoryLocationsAPIService) InventoryLocationsUpdate(ctx context.Context, id string) ApiInventoryLocationsUpdateRequest { - return ApiInventoryLocationsUpdateRequest{ +func (a *InventoryLocationsAPIService) V1InventoryLocationsUpdate(ctx context.Context, id string) ApiV1InventoryLocationsUpdateRequest { + return ApiV1InventoryLocationsUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -910,7 +910,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsUpdate(ctx context.Cont // Execute executes the request // // @return Location -func (a *InventoryLocationsAPIService) InventoryLocationsUpdateExecute(r ApiInventoryLocationsUpdateRequest) (*Location, *http.Response, error) { +func (a *InventoryLocationsAPIService) V1InventoryLocationsUpdateExecute(r ApiV1InventoryLocationsUpdateRequest) (*Location, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -918,7 +918,7 @@ func (a *InventoryLocationsAPIService) InventoryLocationsUpdateExecute(r ApiInve localVarReturnValue *Location ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.InventoryLocationsUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryLocationsAPIService.V1InventoryLocationsUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_inventory_nodes.go b/v1/providers/launchpad/gen/launchpad/api_inventory_nodes.go index 44516d14..d591f38f 100644 --- a/v1/providers/launchpad/gen/launchpad/api_inventory_nodes.go +++ b/v1/providers/launchpad/gen/launchpad/api_inventory_nodes.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,31 +23,31 @@ import ( // InventoryNodesAPIService InventoryNodesAPI service type InventoryNodesAPIService service -type ApiInventoryNodesBulkCreateRequest struct { +type ApiV1InventoryNodesBulkCreateRequest struct { ctx context.Context ApiService *InventoryNodesAPIService csvFile *os.File } -func (r ApiInventoryNodesBulkCreateRequest) CsvFile(csvFile *os.File) ApiInventoryNodesBulkCreateRequest { +func (r ApiV1InventoryNodesBulkCreateRequest) CsvFile(csvFile *os.File) ApiV1InventoryNodesBulkCreateRequest { r.csvFile = csvFile return r } -func (r ApiInventoryNodesBulkCreateRequest) Execute() (*NodeBulk, *http.Response, error) { - return r.ApiService.InventoryNodesBulkCreateExecute(r) +func (r ApiV1InventoryNodesBulkCreateRequest) Execute() (*NodeBulk, *http.Response, error) { + return r.ApiService.V1InventoryNodesBulkCreateExecute(r) } /* -InventoryNodesBulkCreate Method for InventoryNodesBulkCreate +V1InventoryNodesBulkCreate Method for V1InventoryNodesBulkCreate Create nodes in bulk via CSV file upload @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryNodesBulkCreateRequest + @return ApiV1InventoryNodesBulkCreateRequest */ -func (a *InventoryNodesAPIService) InventoryNodesBulkCreate(ctx context.Context) ApiInventoryNodesBulkCreateRequest { - return ApiInventoryNodesBulkCreateRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesBulkCreate(ctx context.Context) ApiV1InventoryNodesBulkCreateRequest { + return ApiV1InventoryNodesBulkCreateRequest{ ApiService: a, ctx: ctx, } @@ -56,7 +56,7 @@ func (a *InventoryNodesAPIService) InventoryNodesBulkCreate(ctx context.Context) // Execute executes the request // // @return NodeBulk -func (a *InventoryNodesAPIService) InventoryNodesBulkCreateExecute(r ApiInventoryNodesBulkCreateRequest) (*NodeBulk, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesBulkCreateExecute(r ApiV1InventoryNodesBulkCreateRequest) (*NodeBulk, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -64,7 +64,7 @@ func (a *InventoryNodesAPIService) InventoryNodesBulkCreateExecute(r ApiInventor localVarReturnValue *NodeBulk ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesBulkCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesBulkCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -161,29 +161,29 @@ func (a *InventoryNodesAPIService) InventoryNodesBulkCreateExecute(r ApiInventor return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryNodesBulkPartialUpdateRequest struct { +type ApiV1InventoryNodesBulkPartialUpdateRequest struct { ctx context.Context ApiService *InventoryNodesAPIService nodeBulkUpdate *NodeBulkUpdate } -func (r ApiInventoryNodesBulkPartialUpdateRequest) NodeBulkUpdate(nodeBulkUpdate NodeBulkUpdate) ApiInventoryNodesBulkPartialUpdateRequest { +func (r ApiV1InventoryNodesBulkPartialUpdateRequest) NodeBulkUpdate(nodeBulkUpdate NodeBulkUpdate) ApiV1InventoryNodesBulkPartialUpdateRequest { r.nodeBulkUpdate = &nodeBulkUpdate return r } -func (r ApiInventoryNodesBulkPartialUpdateRequest) Execute() (*NodeBulkUpdate, *http.Response, error) { - return r.ApiService.InventoryNodesBulkPartialUpdateExecute(r) +func (r ApiV1InventoryNodesBulkPartialUpdateRequest) Execute() (*NodeBulkUpdate, *http.Response, error) { + return r.ApiService.V1InventoryNodesBulkPartialUpdateExecute(r) } /* -InventoryNodesBulkPartialUpdate Method for InventoryNodesBulkPartialUpdate +V1InventoryNodesBulkPartialUpdate Method for V1InventoryNodesBulkPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryNodesBulkPartialUpdateRequest + @return ApiV1InventoryNodesBulkPartialUpdateRequest */ -func (a *InventoryNodesAPIService) InventoryNodesBulkPartialUpdate(ctx context.Context) ApiInventoryNodesBulkPartialUpdateRequest { - return ApiInventoryNodesBulkPartialUpdateRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesBulkPartialUpdate(ctx context.Context) ApiV1InventoryNodesBulkPartialUpdateRequest { + return ApiV1InventoryNodesBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -192,7 +192,7 @@ func (a *InventoryNodesAPIService) InventoryNodesBulkPartialUpdate(ctx context.C // Execute executes the request // // @return NodeBulkUpdate -func (a *InventoryNodesAPIService) InventoryNodesBulkPartialUpdateExecute(r ApiInventoryNodesBulkPartialUpdateRequest) (*NodeBulkUpdate, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesBulkPartialUpdateExecute(r ApiV1InventoryNodesBulkPartialUpdateRequest) (*NodeBulkUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -200,7 +200,7 @@ func (a *InventoryNodesAPIService) InventoryNodesBulkPartialUpdateExecute(r ApiI localVarReturnValue *NodeBulkUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -284,29 +284,29 @@ func (a *InventoryNodesAPIService) InventoryNodesBulkPartialUpdateExecute(r ApiI return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryNodesCreateRequest struct { +type ApiV1InventoryNodesCreateRequest struct { ctx context.Context ApiService *InventoryNodesAPIService node *Node } -func (r ApiInventoryNodesCreateRequest) Node(node Node) ApiInventoryNodesCreateRequest { +func (r ApiV1InventoryNodesCreateRequest) Node(node Node) ApiV1InventoryNodesCreateRequest { r.node = &node return r } -func (r ApiInventoryNodesCreateRequest) Execute() (*Node, *http.Response, error) { - return r.ApiService.InventoryNodesCreateExecute(r) +func (r ApiV1InventoryNodesCreateRequest) Execute() (*Node, *http.Response, error) { + return r.ApiService.V1InventoryNodesCreateExecute(r) } /* -InventoryNodesCreate Method for InventoryNodesCreate +V1InventoryNodesCreate Method for V1InventoryNodesCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryNodesCreateRequest + @return ApiV1InventoryNodesCreateRequest */ -func (a *InventoryNodesAPIService) InventoryNodesCreate(ctx context.Context) ApiInventoryNodesCreateRequest { - return ApiInventoryNodesCreateRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesCreate(ctx context.Context) ApiV1InventoryNodesCreateRequest { + return ApiV1InventoryNodesCreateRequest{ ApiService: a, ctx: ctx, } @@ -315,7 +315,7 @@ func (a *InventoryNodesAPIService) InventoryNodesCreate(ctx context.Context) Api // Execute executes the request // // @return Node -func (a *InventoryNodesAPIService) InventoryNodesCreateExecute(r ApiInventoryNodesCreateRequest) (*Node, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesCreateExecute(r ApiV1InventoryNodesCreateRequest) (*Node, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -323,7 +323,7 @@ func (a *InventoryNodesAPIService) InventoryNodesCreateExecute(r ApiInventoryNod localVarReturnValue *Node ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -407,25 +407,25 @@ func (a *InventoryNodesAPIService) InventoryNodesCreateExecute(r ApiInventoryNod return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryNodesDestroyRequest struct { +type ApiV1InventoryNodesDestroyRequest struct { ctx context.Context ApiService *InventoryNodesAPIService id string } -func (r ApiInventoryNodesDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryNodesDestroyExecute(r) +func (r ApiV1InventoryNodesDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryNodesDestroyExecute(r) } /* -InventoryNodesDestroy Method for InventoryNodesDestroy +V1InventoryNodesDestroy Method for V1InventoryNodesDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this node. - @return ApiInventoryNodesDestroyRequest + @return ApiV1InventoryNodesDestroyRequest */ -func (a *InventoryNodesAPIService) InventoryNodesDestroy(ctx context.Context, id string) ApiInventoryNodesDestroyRequest { - return ApiInventoryNodesDestroyRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesDestroy(ctx context.Context, id string) ApiV1InventoryNodesDestroyRequest { + return ApiV1InventoryNodesDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -433,14 +433,14 @@ func (a *InventoryNodesAPIService) InventoryNodesDestroy(ctx context.Context, id } // Execute executes the request -func (a *InventoryNodesAPIService) InventoryNodesDestroyExecute(r ApiInventoryNodesDestroyRequest) (*http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesDestroyExecute(r ApiV1InventoryNodesDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -511,7 +511,7 @@ func (a *InventoryNodesAPIService) InventoryNodesDestroyExecute(r ApiInventoryNo return localVarHTTPResponse, nil } -type ApiInventoryNodesHistoryListRequest struct { +type ApiV1InventoryNodesHistoryListRequest struct { ctx context.Context ApiService *InventoryNodesAPIService id string @@ -520,30 +520,30 @@ type ApiInventoryNodesHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiInventoryNodesHistoryListRequest) Page(page int32) ApiInventoryNodesHistoryListRequest { +func (r ApiV1InventoryNodesHistoryListRequest) Page(page int32) ApiV1InventoryNodesHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryNodesHistoryListRequest) PageSize(pageSize int32) ApiInventoryNodesHistoryListRequest { +func (r ApiV1InventoryNodesHistoryListRequest) PageSize(pageSize int32) ApiV1InventoryNodesHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryNodesHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.InventoryNodesHistoryListExecute(r) +func (r ApiV1InventoryNodesHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1InventoryNodesHistoryListExecute(r) } /* -InventoryNodesHistoryList Method for InventoryNodesHistoryList +V1InventoryNodesHistoryList Method for V1InventoryNodesHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiInventoryNodesHistoryListRequest + @return ApiV1InventoryNodesHistoryListRequest */ -func (a *InventoryNodesAPIService) InventoryNodesHistoryList(ctx context.Context, id string) ApiInventoryNodesHistoryListRequest { - return ApiInventoryNodesHistoryListRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesHistoryList(ctx context.Context, id string) ApiV1InventoryNodesHistoryListRequest { + return ApiV1InventoryNodesHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -553,7 +553,7 @@ func (a *InventoryNodesAPIService) InventoryNodesHistoryList(ctx context.Context // Execute executes the request // // @return PaginatedModelChangeList -func (a *InventoryNodesAPIService) InventoryNodesHistoryListExecute(r ApiInventoryNodesHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesHistoryListExecute(r ApiV1InventoryNodesHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -561,7 +561,7 @@ func (a *InventoryNodesAPIService) InventoryNodesHistoryListExecute(r ApiInvento localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -647,13 +647,11 @@ func (a *InventoryNodesAPIService) InventoryNodesHistoryListExecute(r ApiInvento return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryNodesListRequest struct { +type ApiV1InventoryNodesListRequest struct { ctx context.Context ApiService *InventoryNodesAPIService bmcIp *string bmcMac *string - bmcPassword *string - bmcUser *string cluster *string cpu *int32 cpuManufacturer *string @@ -689,217 +687,207 @@ type ApiInventoryNodesListRequest struct { tee *bool } -func (r ApiInventoryNodesListRequest) BmcIp(bmcIp string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) BmcIp(bmcIp string) ApiV1InventoryNodesListRequest { r.bmcIp = &bmcIp return r } -func (r ApiInventoryNodesListRequest) BmcMac(bmcMac string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) BmcMac(bmcMac string) ApiV1InventoryNodesListRequest { r.bmcMac = &bmcMac return r } -func (r ApiInventoryNodesListRequest) BmcPassword(bmcPassword string) ApiInventoryNodesListRequest { - r.bmcPassword = &bmcPassword - return r -} - -func (r ApiInventoryNodesListRequest) BmcUser(bmcUser string) ApiInventoryNodesListRequest { - r.bmcUser = &bmcUser - return r -} - -func (r ApiInventoryNodesListRequest) Cluster(cluster string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Cluster(cluster string) ApiV1InventoryNodesListRequest { r.cluster = &cluster return r } -func (r ApiInventoryNodesListRequest) Cpu(cpu int32) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Cpu(cpu int32) ApiV1InventoryNodesListRequest { r.cpu = &cpu return r } // Manufacturer of the node's CPU * `amd` - AMD * `arm` - ARM * `intel` - Intel -func (r ApiInventoryNodesListRequest) CpuManufacturer(cpuManufacturer string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) CpuManufacturer(cpuManufacturer string) ApiV1InventoryNodesListRequest { r.cpuManufacturer = &cpuManufacturer return r } -func (r ApiInventoryNodesListRequest) CpuModel(cpuModel string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) CpuModel(cpuModel string) ApiV1InventoryNodesListRequest { r.cpuModel = &cpuModel return r } // Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: \"location.provider\"). Separate multiple fields with a comma (ex: \"location,oem\") -func (r ApiInventoryNodesListRequest) Expand(expand string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Expand(expand string) ApiV1InventoryNodesListRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiInventoryNodesListRequest) Fields(fields string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Fields(fields string) ApiV1InventoryNodesListRequest { r.fields = &fields return r } -func (r ApiInventoryNodesListRequest) GarageId(garageId string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) GarageId(garageId string) ApiV1InventoryNodesListRequest { r.garageId = &garageId return r } // Multiple values may be separated by commas. -func (r ApiInventoryNodesListRequest) Gpu(gpu []string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Gpu(gpu []string) ApiV1InventoryNodesListRequest { r.gpu = &gpu return r } // Alias for GPU plan (i.e. installed GPU type and count) -func (r ApiInventoryNodesListRequest) GpuAlias(gpuAlias string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) GpuAlias(gpuAlias string) ApiV1InventoryNodesListRequest { r.gpuAlias = &gpuAlias return r } -func (r ApiInventoryNodesListRequest) GpuCount(gpuCount int32) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) GpuCount(gpuCount int32) ApiV1InventoryNodesListRequest { r.gpuCount = &gpuCount return r } // Model of GPU(s) installed -func (r ApiInventoryNodesListRequest) GpuModel(gpuModel string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) GpuModel(gpuModel string) ApiV1InventoryNodesListRequest { r.gpuModel = &gpuModel return r } -func (r ApiInventoryNodesListRequest) GpuVbios(gpuVbios string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) GpuVbios(gpuVbios string) ApiV1InventoryNodesListRequest { r.gpuVbios = &gpuVbios return r } -func (r ApiInventoryNodesListRequest) Id(id string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Id(id string) ApiV1InventoryNodesListRequest { r.id = &id return r } -func (r ApiInventoryNodesListRequest) Location(location string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Location(location string) ApiV1InventoryNodesListRequest { r.location = &location return r } -func (r ApiInventoryNodesListRequest) Memory(memory int32) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Memory(memory int32) ApiV1InventoryNodesListRequest { r.memory = &memory return r } -func (r ApiInventoryNodesListRequest) MgmtIp(mgmtIp string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) MgmtIp(mgmtIp string) ApiV1InventoryNodesListRequest { r.mgmtIp = &mgmtIp return r } -func (r ApiInventoryNodesListRequest) MgmtMac(mgmtMac string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) MgmtMac(mgmtMac string) ApiV1InventoryNodesListRequest { r.mgmtMac = &mgmtMac return r } // Only include nodes that have a gpu_count greater than or equal to this value -func (r ApiInventoryNodesListRequest) MinGpuCount(minGpuCount int32) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) MinGpuCount(minGpuCount int32) ApiV1InventoryNodesListRequest { r.minGpuCount = &minGpuCount return r } -func (r ApiInventoryNodesListRequest) Model(model string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Model(model string) ApiV1InventoryNodesListRequest { r.model = &model return r } // Type of networking technology used * `ethernet` - Ethernet * `infiniband` - InfiniBand -func (r ApiInventoryNodesListRequest) NetworkType(networkType string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) NetworkType(networkType string) ApiV1InventoryNodesListRequest { r.networkType = &networkType return r } -func (r ApiInventoryNodesListRequest) Oem(oem string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Oem(oem string) ApiV1InventoryNodesListRequest { r.oem = &oem return r } // Exclude the specified fields in the response -func (r ApiInventoryNodesListRequest) Omit(omit string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Omit(omit string) ApiV1InventoryNodesListRequest { r.omit = &omit return r } // Which field to use when ordering the results. -func (r ApiInventoryNodesListRequest) Ordering(ordering string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Ordering(ordering string) ApiV1InventoryNodesListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiInventoryNodesListRequest) Page(page int32) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Page(page int32) ApiV1InventoryNodesListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryNodesListRequest) PageSize(pageSize int32) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) PageSize(pageSize int32) ApiV1InventoryNodesListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryNodesListRequest) Provider(provider string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Provider(provider string) ApiV1InventoryNodesListRequest { r.provider = &provider return r } -func (r ApiInventoryNodesListRequest) ProviderNodeId(providerNodeId string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) ProviderNodeId(providerNodeId string) ApiV1InventoryNodesListRequest { r.providerNodeId = &providerNodeId return r } -func (r ApiInventoryNodesListRequest) Rack(rack string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Rack(rack string) ApiV1InventoryNodesListRequest { r.rack = &rack return r } -func (r ApiInventoryNodesListRequest) RackUnit(rackUnit int32) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) RackUnit(rackUnit int32) ApiV1InventoryNodesListRequest { r.rackUnit = &rackUnit return r } -// Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch -func (r ApiInventoryNodesListRequest) Search(search string) ApiInventoryNodesListRequest { +// Search for nodes by bmc_ip, bmc_mac, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch +func (r ApiV1InventoryNodesListRequest) Search(search string) ApiV1InventoryNodesListRequest { r.search = &search return r } -func (r ApiInventoryNodesListRequest) SerialNumber(serialNumber string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) SerialNumber(serialNumber string) ApiV1InventoryNodesListRequest { r.serialNumber = &serialNumber return r } // CPU architecture * `amd64` - amd64 * `arm64` - arm64 -func (r ApiInventoryNodesListRequest) SystemArch(systemArch string) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) SystemArch(systemArch string) ApiV1InventoryNodesListRequest { r.systemArch = &systemArch return r } -func (r ApiInventoryNodesListRequest) Tee(tee bool) ApiInventoryNodesListRequest { +func (r ApiV1InventoryNodesListRequest) Tee(tee bool) ApiV1InventoryNodesListRequest { r.tee = &tee return r } -func (r ApiInventoryNodesListRequest) Execute() (*PaginatedNodeList, *http.Response, error) { - return r.ApiService.InventoryNodesListExecute(r) +func (r ApiV1InventoryNodesListRequest) Execute() (*PaginatedNodeList, *http.Response, error) { + return r.ApiService.V1InventoryNodesListExecute(r) } /* -InventoryNodesList Method for InventoryNodesList +V1InventoryNodesList Method for V1InventoryNodesList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryNodesListRequest + @return ApiV1InventoryNodesListRequest */ -func (a *InventoryNodesAPIService) InventoryNodesList(ctx context.Context) ApiInventoryNodesListRequest { - return ApiInventoryNodesListRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesList(ctx context.Context) ApiV1InventoryNodesListRequest { + return ApiV1InventoryNodesListRequest{ ApiService: a, ctx: ctx, } @@ -908,7 +896,7 @@ func (a *InventoryNodesAPIService) InventoryNodesList(ctx context.Context) ApiIn // Execute executes the request // // @return PaginatedNodeList -func (a *InventoryNodesAPIService) InventoryNodesListExecute(r ApiInventoryNodesListRequest) (*PaginatedNodeList, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesListExecute(r ApiV1InventoryNodesListRequest) (*PaginatedNodeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -916,7 +904,7 @@ func (a *InventoryNodesAPIService) InventoryNodesListExecute(r ApiInventoryNodes localVarReturnValue *PaginatedNodeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -933,12 +921,6 @@ func (a *InventoryNodesAPIService) InventoryNodesListExecute(r ApiInventoryNodes if r.bmcMac != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "bmc_mac", r.bmcMac, "form", "") } - if r.bmcPassword != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "bmc_password", r.bmcPassword, "form", "") - } - if r.bmcUser != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "bmc_user", r.bmcUser, "form", "") - } if r.cluster != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "cluster", r.cluster, "form", "") } @@ -1106,31 +1088,31 @@ func (a *InventoryNodesAPIService) InventoryNodesListExecute(r ApiInventoryNodes return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryNodesPartialUpdateRequest struct { +type ApiV1InventoryNodesPartialUpdateRequest struct { ctx context.Context ApiService *InventoryNodesAPIService id string node *Node } -func (r ApiInventoryNodesPartialUpdateRequest) Node(node Node) ApiInventoryNodesPartialUpdateRequest { +func (r ApiV1InventoryNodesPartialUpdateRequest) Node(node Node) ApiV1InventoryNodesPartialUpdateRequest { r.node = &node return r } -func (r ApiInventoryNodesPartialUpdateRequest) Execute() (*Node, *http.Response, error) { - return r.ApiService.InventoryNodesPartialUpdateExecute(r) +func (r ApiV1InventoryNodesPartialUpdateRequest) Execute() (*Node, *http.Response, error) { + return r.ApiService.V1InventoryNodesPartialUpdateExecute(r) } /* -InventoryNodesPartialUpdate Method for InventoryNodesPartialUpdate +V1InventoryNodesPartialUpdate Method for V1InventoryNodesPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this node. - @return ApiInventoryNodesPartialUpdateRequest + @return ApiV1InventoryNodesPartialUpdateRequest */ -func (a *InventoryNodesAPIService) InventoryNodesPartialUpdate(ctx context.Context, id string) ApiInventoryNodesPartialUpdateRequest { - return ApiInventoryNodesPartialUpdateRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesPartialUpdate(ctx context.Context, id string) ApiV1InventoryNodesPartialUpdateRequest { + return ApiV1InventoryNodesPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1140,7 +1122,7 @@ func (a *InventoryNodesAPIService) InventoryNodesPartialUpdate(ctx context.Conte // Execute executes the request // // @return Node -func (a *InventoryNodesAPIService) InventoryNodesPartialUpdateExecute(r ApiInventoryNodesPartialUpdateRequest) (*Node, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesPartialUpdateExecute(r ApiV1InventoryNodesPartialUpdateRequest) (*Node, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -1148,7 +1130,7 @@ func (a *InventoryNodesAPIService) InventoryNodesPartialUpdateExecute(r ApiInven localVarReturnValue *Node ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1233,7 +1215,7 @@ func (a *InventoryNodesAPIService) InventoryNodesPartialUpdateExecute(r ApiInven return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryNodesRetrieveRequest struct { +type ApiV1InventoryNodesRetrieveRequest struct { ctx context.Context ApiService *InventoryNodesAPIService id string @@ -1243,36 +1225,36 @@ type ApiInventoryNodesRetrieveRequest struct { } // Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: \"location.provider\"). Separate multiple fields with a comma (ex: \"location,oem\") -func (r ApiInventoryNodesRetrieveRequest) Expand(expand string) ApiInventoryNodesRetrieveRequest { +func (r ApiV1InventoryNodesRetrieveRequest) Expand(expand string) ApiV1InventoryNodesRetrieveRequest { r.expand = &expand return r } // Include only the specified fields in the response -func (r ApiInventoryNodesRetrieveRequest) Fields(fields string) ApiInventoryNodesRetrieveRequest { +func (r ApiV1InventoryNodesRetrieveRequest) Fields(fields string) ApiV1InventoryNodesRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiInventoryNodesRetrieveRequest) Omit(omit string) ApiInventoryNodesRetrieveRequest { +func (r ApiV1InventoryNodesRetrieveRequest) Omit(omit string) ApiV1InventoryNodesRetrieveRequest { r.omit = &omit return r } -func (r ApiInventoryNodesRetrieveRequest) Execute() (*Node, *http.Response, error) { - return r.ApiService.InventoryNodesRetrieveExecute(r) +func (r ApiV1InventoryNodesRetrieveRequest) Execute() (*Node, *http.Response, error) { + return r.ApiService.V1InventoryNodesRetrieveExecute(r) } /* -InventoryNodesRetrieve Method for InventoryNodesRetrieve +V1InventoryNodesRetrieve Method for V1InventoryNodesRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this node. - @return ApiInventoryNodesRetrieveRequest + @return ApiV1InventoryNodesRetrieveRequest */ -func (a *InventoryNodesAPIService) InventoryNodesRetrieve(ctx context.Context, id string) ApiInventoryNodesRetrieveRequest { - return ApiInventoryNodesRetrieveRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesRetrieve(ctx context.Context, id string) ApiV1InventoryNodesRetrieveRequest { + return ApiV1InventoryNodesRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -1282,7 +1264,7 @@ func (a *InventoryNodesAPIService) InventoryNodesRetrieve(ctx context.Context, i // Execute executes the request // // @return Node -func (a *InventoryNodesAPIService) InventoryNodesRetrieveExecute(r ApiInventoryNodesRetrieveRequest) (*Node, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesRetrieveExecute(r ApiV1InventoryNodesRetrieveRequest) (*Node, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1290,7 +1272,7 @@ func (a *InventoryNodesAPIService) InventoryNodesRetrieveExecute(r ApiInventoryN localVarReturnValue *Node ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1379,31 +1361,31 @@ func (a *InventoryNodesAPIService) InventoryNodesRetrieveExecute(r ApiInventoryN return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryNodesUpdateRequest struct { +type ApiV1InventoryNodesUpdateRequest struct { ctx context.Context ApiService *InventoryNodesAPIService id string node *Node } -func (r ApiInventoryNodesUpdateRequest) Node(node Node) ApiInventoryNodesUpdateRequest { +func (r ApiV1InventoryNodesUpdateRequest) Node(node Node) ApiV1InventoryNodesUpdateRequest { r.node = &node return r } -func (r ApiInventoryNodesUpdateRequest) Execute() (*Node, *http.Response, error) { - return r.ApiService.InventoryNodesUpdateExecute(r) +func (r ApiV1InventoryNodesUpdateRequest) Execute() (*Node, *http.Response, error) { + return r.ApiService.V1InventoryNodesUpdateExecute(r) } /* -InventoryNodesUpdate Method for InventoryNodesUpdate +V1InventoryNodesUpdate Method for V1InventoryNodesUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this node. - @return ApiInventoryNodesUpdateRequest + @return ApiV1InventoryNodesUpdateRequest */ -func (a *InventoryNodesAPIService) InventoryNodesUpdate(ctx context.Context, id string) ApiInventoryNodesUpdateRequest { - return ApiInventoryNodesUpdateRequest{ +func (a *InventoryNodesAPIService) V1InventoryNodesUpdate(ctx context.Context, id string) ApiV1InventoryNodesUpdateRequest { + return ApiV1InventoryNodesUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1413,7 +1395,7 @@ func (a *InventoryNodesAPIService) InventoryNodesUpdate(ctx context.Context, id // Execute executes the request // // @return Node -func (a *InventoryNodesAPIService) InventoryNodesUpdateExecute(r ApiInventoryNodesUpdateRequest) (*Node, *http.Response, error) { +func (a *InventoryNodesAPIService) V1InventoryNodesUpdateExecute(r ApiV1InventoryNodesUpdateRequest) (*Node, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1421,7 +1403,7 @@ func (a *InventoryNodesAPIService) InventoryNodesUpdateExecute(r ApiInventoryNod localVarReturnValue *Node ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.InventoryNodesUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryNodesAPIService.V1InventoryNodesUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_inventory_oems.go b/v1/providers/launchpad/gen/launchpad/api_inventory_oems.go index 8e8cbe7a..b173c400 100644 --- a/v1/providers/launchpad/gen/launchpad/api_inventory_oems.go +++ b/v1/providers/launchpad/gen/launchpad/api_inventory_oems.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,29 +22,29 @@ import ( // InventoryOemsAPIService InventoryOemsAPI service type InventoryOemsAPIService service -type ApiInventoryOemsCreateRequest struct { +type ApiV1InventoryOemsCreateRequest struct { ctx context.Context ApiService *InventoryOemsAPIService oEM *OEM } -func (r ApiInventoryOemsCreateRequest) OEM(oEM OEM) ApiInventoryOemsCreateRequest { +func (r ApiV1InventoryOemsCreateRequest) OEM(oEM OEM) ApiV1InventoryOemsCreateRequest { r.oEM = &oEM return r } -func (r ApiInventoryOemsCreateRequest) Execute() (*OEM, *http.Response, error) { - return r.ApiService.InventoryOemsCreateExecute(r) +func (r ApiV1InventoryOemsCreateRequest) Execute() (*OEM, *http.Response, error) { + return r.ApiService.V1InventoryOemsCreateExecute(r) } /* -InventoryOemsCreate Method for InventoryOemsCreate +V1InventoryOemsCreate Method for V1InventoryOemsCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryOemsCreateRequest + @return ApiV1InventoryOemsCreateRequest */ -func (a *InventoryOemsAPIService) InventoryOemsCreate(ctx context.Context) ApiInventoryOemsCreateRequest { - return ApiInventoryOemsCreateRequest{ +func (a *InventoryOemsAPIService) V1InventoryOemsCreate(ctx context.Context) ApiV1InventoryOemsCreateRequest { + return ApiV1InventoryOemsCreateRequest{ ApiService: a, ctx: ctx, } @@ -53,7 +53,7 @@ func (a *InventoryOemsAPIService) InventoryOemsCreate(ctx context.Context) ApiIn // Execute executes the request // // @return OEM -func (a *InventoryOemsAPIService) InventoryOemsCreateExecute(r ApiInventoryOemsCreateRequest) (*OEM, *http.Response, error) { +func (a *InventoryOemsAPIService) V1InventoryOemsCreateExecute(r ApiV1InventoryOemsCreateRequest) (*OEM, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -61,7 +61,7 @@ func (a *InventoryOemsAPIService) InventoryOemsCreateExecute(r ApiInventoryOemsC localVarReturnValue *OEM ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.InventoryOemsCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.V1InventoryOemsCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,25 +145,25 @@ func (a *InventoryOemsAPIService) InventoryOemsCreateExecute(r ApiInventoryOemsC return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryOemsDestroyRequest struct { +type ApiV1InventoryOemsDestroyRequest struct { ctx context.Context ApiService *InventoryOemsAPIService id string } -func (r ApiInventoryOemsDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryOemsDestroyExecute(r) +func (r ApiV1InventoryOemsDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryOemsDestroyExecute(r) } /* -InventoryOemsDestroy Method for InventoryOemsDestroy +V1InventoryOemsDestroy Method for V1InventoryOemsDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this oem. - @return ApiInventoryOemsDestroyRequest + @return ApiV1InventoryOemsDestroyRequest */ -func (a *InventoryOemsAPIService) InventoryOemsDestroy(ctx context.Context, id string) ApiInventoryOemsDestroyRequest { - return ApiInventoryOemsDestroyRequest{ +func (a *InventoryOemsAPIService) V1InventoryOemsDestroy(ctx context.Context, id string) ApiV1InventoryOemsDestroyRequest { + return ApiV1InventoryOemsDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -171,14 +171,14 @@ func (a *InventoryOemsAPIService) InventoryOemsDestroy(ctx context.Context, id s } // Execute executes the request -func (a *InventoryOemsAPIService) InventoryOemsDestroyExecute(r ApiInventoryOemsDestroyRequest) (*http.Response, error) { +func (a *InventoryOemsAPIService) V1InventoryOemsDestroyExecute(r ApiV1InventoryOemsDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.InventoryOemsDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.V1InventoryOemsDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -249,7 +249,7 @@ func (a *InventoryOemsAPIService) InventoryOemsDestroyExecute(r ApiInventoryOems return localVarHTTPResponse, nil } -type ApiInventoryOemsHistoryListRequest struct { +type ApiV1InventoryOemsHistoryListRequest struct { ctx context.Context ApiService *InventoryOemsAPIService id string @@ -258,30 +258,30 @@ type ApiInventoryOemsHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiInventoryOemsHistoryListRequest) Page(page int32) ApiInventoryOemsHistoryListRequest { +func (r ApiV1InventoryOemsHistoryListRequest) Page(page int32) ApiV1InventoryOemsHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryOemsHistoryListRequest) PageSize(pageSize int32) ApiInventoryOemsHistoryListRequest { +func (r ApiV1InventoryOemsHistoryListRequest) PageSize(pageSize int32) ApiV1InventoryOemsHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryOemsHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.InventoryOemsHistoryListExecute(r) +func (r ApiV1InventoryOemsHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1InventoryOemsHistoryListExecute(r) } /* -InventoryOemsHistoryList Method for InventoryOemsHistoryList +V1InventoryOemsHistoryList Method for V1InventoryOemsHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiInventoryOemsHistoryListRequest + @return ApiV1InventoryOemsHistoryListRequest */ -func (a *InventoryOemsAPIService) InventoryOemsHistoryList(ctx context.Context, id string) ApiInventoryOemsHistoryListRequest { - return ApiInventoryOemsHistoryListRequest{ +func (a *InventoryOemsAPIService) V1InventoryOemsHistoryList(ctx context.Context, id string) ApiV1InventoryOemsHistoryListRequest { + return ApiV1InventoryOemsHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -291,7 +291,7 @@ func (a *InventoryOemsAPIService) InventoryOemsHistoryList(ctx context.Context, // Execute executes the request // // @return PaginatedModelChangeList -func (a *InventoryOemsAPIService) InventoryOemsHistoryListExecute(r ApiInventoryOemsHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *InventoryOemsAPIService) V1InventoryOemsHistoryListExecute(r ApiV1InventoryOemsHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -299,7 +299,7 @@ func (a *InventoryOemsAPIService) InventoryOemsHistoryListExecute(r ApiInventory localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.InventoryOemsHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.V1InventoryOemsHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -385,7 +385,7 @@ func (a *InventoryOemsAPIService) InventoryOemsHistoryListExecute(r ApiInventory return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryOemsListRequest struct { +type ApiV1InventoryOemsListRequest struct { ctx context.Context ApiService *InventoryOemsAPIService id *string @@ -396,52 +396,52 @@ type ApiInventoryOemsListRequest struct { search *string } -func (r ApiInventoryOemsListRequest) Id(id string) ApiInventoryOemsListRequest { +func (r ApiV1InventoryOemsListRequest) Id(id string) ApiV1InventoryOemsListRequest { r.id = &id return r } -func (r ApiInventoryOemsListRequest) Name(name string) ApiInventoryOemsListRequest { +func (r ApiV1InventoryOemsListRequest) Name(name string) ApiV1InventoryOemsListRequest { r.name = &name return r } // Which field to use when ordering the results. -func (r ApiInventoryOemsListRequest) Ordering(ordering string) ApiInventoryOemsListRequest { +func (r ApiV1InventoryOemsListRequest) Ordering(ordering string) ApiV1InventoryOemsListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiInventoryOemsListRequest) Page(page int32) ApiInventoryOemsListRequest { +func (r ApiV1InventoryOemsListRequest) Page(page int32) ApiV1InventoryOemsListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryOemsListRequest) PageSize(pageSize int32) ApiInventoryOemsListRequest { +func (r ApiV1InventoryOemsListRequest) PageSize(pageSize int32) ApiV1InventoryOemsListRequest { r.pageSize = &pageSize return r } // Search for oems by id, name -func (r ApiInventoryOemsListRequest) Search(search string) ApiInventoryOemsListRequest { +func (r ApiV1InventoryOemsListRequest) Search(search string) ApiV1InventoryOemsListRequest { r.search = &search return r } -func (r ApiInventoryOemsListRequest) Execute() (*PaginatedOEMList, *http.Response, error) { - return r.ApiService.InventoryOemsListExecute(r) +func (r ApiV1InventoryOemsListRequest) Execute() (*PaginatedOEMList, *http.Response, error) { + return r.ApiService.V1InventoryOemsListExecute(r) } /* -InventoryOemsList Method for InventoryOemsList +V1InventoryOemsList Method for V1InventoryOemsList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryOemsListRequest + @return ApiV1InventoryOemsListRequest */ -func (a *InventoryOemsAPIService) InventoryOemsList(ctx context.Context) ApiInventoryOemsListRequest { - return ApiInventoryOemsListRequest{ +func (a *InventoryOemsAPIService) V1InventoryOemsList(ctx context.Context) ApiV1InventoryOemsListRequest { + return ApiV1InventoryOemsListRequest{ ApiService: a, ctx: ctx, } @@ -450,7 +450,7 @@ func (a *InventoryOemsAPIService) InventoryOemsList(ctx context.Context) ApiInve // Execute executes the request // // @return PaginatedOEMList -func (a *InventoryOemsAPIService) InventoryOemsListExecute(r ApiInventoryOemsListRequest) (*PaginatedOEMList, *http.Response, error) { +func (a *InventoryOemsAPIService) V1InventoryOemsListExecute(r ApiV1InventoryOemsListRequest) (*PaginatedOEMList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -458,7 +458,7 @@ func (a *InventoryOemsAPIService) InventoryOemsListExecute(r ApiInventoryOemsLis localVarReturnValue *PaginatedOEMList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.InventoryOemsList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.V1InventoryOemsList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -555,31 +555,31 @@ func (a *InventoryOemsAPIService) InventoryOemsListExecute(r ApiInventoryOemsLis return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryOemsPartialUpdateRequest struct { +type ApiV1InventoryOemsPartialUpdateRequest struct { ctx context.Context ApiService *InventoryOemsAPIService id string oEM *OEM } -func (r ApiInventoryOemsPartialUpdateRequest) OEM(oEM OEM) ApiInventoryOemsPartialUpdateRequest { +func (r ApiV1InventoryOemsPartialUpdateRequest) OEM(oEM OEM) ApiV1InventoryOemsPartialUpdateRequest { r.oEM = &oEM return r } -func (r ApiInventoryOemsPartialUpdateRequest) Execute() (*OEM, *http.Response, error) { - return r.ApiService.InventoryOemsPartialUpdateExecute(r) +func (r ApiV1InventoryOemsPartialUpdateRequest) Execute() (*OEM, *http.Response, error) { + return r.ApiService.V1InventoryOemsPartialUpdateExecute(r) } /* -InventoryOemsPartialUpdate Method for InventoryOemsPartialUpdate +V1InventoryOemsPartialUpdate Method for V1InventoryOemsPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this oem. - @return ApiInventoryOemsPartialUpdateRequest + @return ApiV1InventoryOemsPartialUpdateRequest */ -func (a *InventoryOemsAPIService) InventoryOemsPartialUpdate(ctx context.Context, id string) ApiInventoryOemsPartialUpdateRequest { - return ApiInventoryOemsPartialUpdateRequest{ +func (a *InventoryOemsAPIService) V1InventoryOemsPartialUpdate(ctx context.Context, id string) ApiV1InventoryOemsPartialUpdateRequest { + return ApiV1InventoryOemsPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -589,7 +589,7 @@ func (a *InventoryOemsAPIService) InventoryOemsPartialUpdate(ctx context.Context // Execute executes the request // // @return OEM -func (a *InventoryOemsAPIService) InventoryOemsPartialUpdateExecute(r ApiInventoryOemsPartialUpdateRequest) (*OEM, *http.Response, error) { +func (a *InventoryOemsAPIService) V1InventoryOemsPartialUpdateExecute(r ApiV1InventoryOemsPartialUpdateRequest) (*OEM, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -597,7 +597,7 @@ func (a *InventoryOemsAPIService) InventoryOemsPartialUpdateExecute(r ApiInvento localVarReturnValue *OEM ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.InventoryOemsPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.V1InventoryOemsPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -682,25 +682,25 @@ func (a *InventoryOemsAPIService) InventoryOemsPartialUpdateExecute(r ApiInvento return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryOemsRetrieveRequest struct { +type ApiV1InventoryOemsRetrieveRequest struct { ctx context.Context ApiService *InventoryOemsAPIService id string } -func (r ApiInventoryOemsRetrieveRequest) Execute() (*OEM, *http.Response, error) { - return r.ApiService.InventoryOemsRetrieveExecute(r) +func (r ApiV1InventoryOemsRetrieveRequest) Execute() (*OEM, *http.Response, error) { + return r.ApiService.V1InventoryOemsRetrieveExecute(r) } /* -InventoryOemsRetrieve Method for InventoryOemsRetrieve +V1InventoryOemsRetrieve Method for V1InventoryOemsRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this oem. - @return ApiInventoryOemsRetrieveRequest + @return ApiV1InventoryOemsRetrieveRequest */ -func (a *InventoryOemsAPIService) InventoryOemsRetrieve(ctx context.Context, id string) ApiInventoryOemsRetrieveRequest { - return ApiInventoryOemsRetrieveRequest{ +func (a *InventoryOemsAPIService) V1InventoryOemsRetrieve(ctx context.Context, id string) ApiV1InventoryOemsRetrieveRequest { + return ApiV1InventoryOemsRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -710,7 +710,7 @@ func (a *InventoryOemsAPIService) InventoryOemsRetrieve(ctx context.Context, id // Execute executes the request // // @return OEM -func (a *InventoryOemsAPIService) InventoryOemsRetrieveExecute(r ApiInventoryOemsRetrieveRequest) (*OEM, *http.Response, error) { +func (a *InventoryOemsAPIService) V1InventoryOemsRetrieveExecute(r ApiV1InventoryOemsRetrieveRequest) (*OEM, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -718,7 +718,7 @@ func (a *InventoryOemsAPIService) InventoryOemsRetrieveExecute(r ApiInventoryOem localVarReturnValue *OEM ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.InventoryOemsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.V1InventoryOemsRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -798,31 +798,31 @@ func (a *InventoryOemsAPIService) InventoryOemsRetrieveExecute(r ApiInventoryOem return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryOemsUpdateRequest struct { +type ApiV1InventoryOemsUpdateRequest struct { ctx context.Context ApiService *InventoryOemsAPIService id string oEM *OEM } -func (r ApiInventoryOemsUpdateRequest) OEM(oEM OEM) ApiInventoryOemsUpdateRequest { +func (r ApiV1InventoryOemsUpdateRequest) OEM(oEM OEM) ApiV1InventoryOemsUpdateRequest { r.oEM = &oEM return r } -func (r ApiInventoryOemsUpdateRequest) Execute() (*OEM, *http.Response, error) { - return r.ApiService.InventoryOemsUpdateExecute(r) +func (r ApiV1InventoryOemsUpdateRequest) Execute() (*OEM, *http.Response, error) { + return r.ApiService.V1InventoryOemsUpdateExecute(r) } /* -InventoryOemsUpdate Method for InventoryOemsUpdate +V1InventoryOemsUpdate Method for V1InventoryOemsUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this oem. - @return ApiInventoryOemsUpdateRequest + @return ApiV1InventoryOemsUpdateRequest */ -func (a *InventoryOemsAPIService) InventoryOemsUpdate(ctx context.Context, id string) ApiInventoryOemsUpdateRequest { - return ApiInventoryOemsUpdateRequest{ +func (a *InventoryOemsAPIService) V1InventoryOemsUpdate(ctx context.Context, id string) ApiV1InventoryOemsUpdateRequest { + return ApiV1InventoryOemsUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -832,7 +832,7 @@ func (a *InventoryOemsAPIService) InventoryOemsUpdate(ctx context.Context, id st // Execute executes the request // // @return OEM -func (a *InventoryOemsAPIService) InventoryOemsUpdateExecute(r ApiInventoryOemsUpdateRequest) (*OEM, *http.Response, error) { +func (a *InventoryOemsAPIService) V1InventoryOemsUpdateExecute(r ApiV1InventoryOemsUpdateRequest) (*OEM, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -840,7 +840,7 @@ func (a *InventoryOemsAPIService) InventoryOemsUpdateExecute(r ApiInventoryOemsU localVarReturnValue *OEM ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.InventoryOemsUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryOemsAPIService.V1InventoryOemsUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_inventory_providers.go b/v1/providers/launchpad/gen/launchpad/api_inventory_providers.go index 9f59375e..429a2830 100644 --- a/v1/providers/launchpad/gen/launchpad/api_inventory_providers.go +++ b/v1/providers/launchpad/gen/launchpad/api_inventory_providers.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,29 +22,29 @@ import ( // InventoryProvidersAPIService InventoryProvidersAPI service type InventoryProvidersAPIService service -type ApiInventoryProvidersBulkPartialUpdateRequest struct { +type ApiV1InventoryProvidersBulkPartialUpdateRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService providerBulkUpdate *ProviderBulkUpdate } -func (r ApiInventoryProvidersBulkPartialUpdateRequest) ProviderBulkUpdate(providerBulkUpdate ProviderBulkUpdate) ApiInventoryProvidersBulkPartialUpdateRequest { +func (r ApiV1InventoryProvidersBulkPartialUpdateRequest) ProviderBulkUpdate(providerBulkUpdate ProviderBulkUpdate) ApiV1InventoryProvidersBulkPartialUpdateRequest { r.providerBulkUpdate = &providerBulkUpdate return r } -func (r ApiInventoryProvidersBulkPartialUpdateRequest) Execute() (*ProviderBulkUpdate, *http.Response, error) { - return r.ApiService.InventoryProvidersBulkPartialUpdateExecute(r) +func (r ApiV1InventoryProvidersBulkPartialUpdateRequest) Execute() (*ProviderBulkUpdate, *http.Response, error) { + return r.ApiService.V1InventoryProvidersBulkPartialUpdateExecute(r) } /* -InventoryProvidersBulkPartialUpdate Method for InventoryProvidersBulkPartialUpdate +V1InventoryProvidersBulkPartialUpdate Method for V1InventoryProvidersBulkPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryProvidersBulkPartialUpdateRequest + @return ApiV1InventoryProvidersBulkPartialUpdateRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersBulkPartialUpdate(ctx context.Context) ApiInventoryProvidersBulkPartialUpdateRequest { - return ApiInventoryProvidersBulkPartialUpdateRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersBulkPartialUpdate(ctx context.Context) ApiV1InventoryProvidersBulkPartialUpdateRequest { + return ApiV1InventoryProvidersBulkPartialUpdateRequest{ ApiService: a, ctx: ctx, } @@ -53,7 +53,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersBulkPartialUpdate(ctx c // Execute executes the request // // @return ProviderBulkUpdate -func (a *InventoryProvidersAPIService) InventoryProvidersBulkPartialUpdateExecute(r ApiInventoryProvidersBulkPartialUpdateRequest) (*ProviderBulkUpdate, *http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersBulkPartialUpdateExecute(r ApiV1InventoryProvidersBulkPartialUpdateRequest) (*ProviderBulkUpdate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -61,7 +61,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersBulkPartialUpdateExecut localVarReturnValue *ProviderBulkUpdate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersBulkPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersBulkPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -145,29 +145,29 @@ func (a *InventoryProvidersAPIService) InventoryProvidersBulkPartialUpdateExecut return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryProvidersCreateRequest struct { +type ApiV1InventoryProvidersCreateRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService provider *Provider } -func (r ApiInventoryProvidersCreateRequest) Provider(provider Provider) ApiInventoryProvidersCreateRequest { +func (r ApiV1InventoryProvidersCreateRequest) Provider(provider Provider) ApiV1InventoryProvidersCreateRequest { r.provider = &provider return r } -func (r ApiInventoryProvidersCreateRequest) Execute() (*Provider, *http.Response, error) { - return r.ApiService.InventoryProvidersCreateExecute(r) +func (r ApiV1InventoryProvidersCreateRequest) Execute() (*Provider, *http.Response, error) { + return r.ApiService.V1InventoryProvidersCreateExecute(r) } /* -InventoryProvidersCreate Method for InventoryProvidersCreate +V1InventoryProvidersCreate Method for V1InventoryProvidersCreate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryProvidersCreateRequest + @return ApiV1InventoryProvidersCreateRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersCreate(ctx context.Context) ApiInventoryProvidersCreateRequest { - return ApiInventoryProvidersCreateRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersCreate(ctx context.Context) ApiV1InventoryProvidersCreateRequest { + return ApiV1InventoryProvidersCreateRequest{ ApiService: a, ctx: ctx, } @@ -176,7 +176,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersCreate(ctx context.Cont // Execute executes the request // // @return Provider -func (a *InventoryProvidersAPIService) InventoryProvidersCreateExecute(r ApiInventoryProvidersCreateRequest) (*Provider, *http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersCreateExecute(r ApiV1InventoryProvidersCreateRequest) (*Provider, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -184,7 +184,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersCreateExecute(r ApiInve localVarReturnValue *Provider ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -268,25 +268,25 @@ func (a *InventoryProvidersAPIService) InventoryProvidersCreateExecute(r ApiInve return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryProvidersDestroyRequest struct { +type ApiV1InventoryProvidersDestroyRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService id string } -func (r ApiInventoryProvidersDestroyRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryProvidersDestroyExecute(r) +func (r ApiV1InventoryProvidersDestroyRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryProvidersDestroyExecute(r) } /* -InventoryProvidersDestroy Method for InventoryProvidersDestroy +V1InventoryProvidersDestroy Method for V1InventoryProvidersDestroy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this provider. - @return ApiInventoryProvidersDestroyRequest + @return ApiV1InventoryProvidersDestroyRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersDestroy(ctx context.Context, id string) ApiInventoryProvidersDestroyRequest { - return ApiInventoryProvidersDestroyRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersDestroy(ctx context.Context, id string) ApiV1InventoryProvidersDestroyRequest { + return ApiV1InventoryProvidersDestroyRequest{ ApiService: a, ctx: ctx, id: id, @@ -294,14 +294,14 @@ func (a *InventoryProvidersAPIService) InventoryProvidersDestroy(ctx context.Con } // Execute executes the request -func (a *InventoryProvidersAPIService) InventoryProvidersDestroyExecute(r ApiInventoryProvidersDestroyRequest) (*http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersDestroyExecute(r ApiV1InventoryProvidersDestroyRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersDestroy") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersDestroy") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -372,7 +372,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersDestroyExecute(r ApiInv return localVarHTTPResponse, nil } -type ApiInventoryProvidersHistoryListRequest struct { +type ApiV1InventoryProvidersHistoryListRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService id string @@ -381,30 +381,30 @@ type ApiInventoryProvidersHistoryListRequest struct { } // A page number within the paginated result set. -func (r ApiInventoryProvidersHistoryListRequest) Page(page int32) ApiInventoryProvidersHistoryListRequest { +func (r ApiV1InventoryProvidersHistoryListRequest) Page(page int32) ApiV1InventoryProvidersHistoryListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryProvidersHistoryListRequest) PageSize(pageSize int32) ApiInventoryProvidersHistoryListRequest { +func (r ApiV1InventoryProvidersHistoryListRequest) PageSize(pageSize int32) ApiV1InventoryProvidersHistoryListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryProvidersHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { - return r.ApiService.InventoryProvidersHistoryListExecute(r) +func (r ApiV1InventoryProvidersHistoryListRequest) Execute() (*PaginatedModelChangeList, *http.Response, error) { + return r.ApiService.V1InventoryProvidersHistoryListExecute(r) } /* -InventoryProvidersHistoryList Method for InventoryProvidersHistoryList +V1InventoryProvidersHistoryList Method for V1InventoryProvidersHistoryList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id - @return ApiInventoryProvidersHistoryListRequest + @return ApiV1InventoryProvidersHistoryListRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersHistoryList(ctx context.Context, id string) ApiInventoryProvidersHistoryListRequest { - return ApiInventoryProvidersHistoryListRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersHistoryList(ctx context.Context, id string) ApiV1InventoryProvidersHistoryListRequest { + return ApiV1InventoryProvidersHistoryListRequest{ ApiService: a, ctx: ctx, id: id, @@ -414,7 +414,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersHistoryList(ctx context // Execute executes the request // // @return PaginatedModelChangeList -func (a *InventoryProvidersAPIService) InventoryProvidersHistoryListExecute(r ApiInventoryProvidersHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersHistoryListExecute(r ApiV1InventoryProvidersHistoryListRequest) (*PaginatedModelChangeList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -422,7 +422,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersHistoryListExecute(r Ap localVarReturnValue *PaginatedModelChangeList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersHistoryList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersHistoryList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -508,7 +508,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersHistoryListExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryProvidersListRequest struct { +type ApiV1InventoryProvidersListRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService displayName *string @@ -517,6 +517,7 @@ type ApiInventoryProvidersListRequest struct { instanceLimit *int32 name *string omit *string + onDemandSpeed *string ordering *string page *int32 pageSize *int32 @@ -524,79 +525,85 @@ type ApiInventoryProvidersListRequest struct { search *string } -func (r ApiInventoryProvidersListRequest) DisplayName(displayName string) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) DisplayName(displayName string) ApiV1InventoryProvidersListRequest { r.displayName = &displayName return r } // Include only the specified fields in the response -func (r ApiInventoryProvidersListRequest) Fields(fields string) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) Fields(fields string) ApiV1InventoryProvidersListRequest { r.fields = &fields return r } -func (r ApiInventoryProvidersListRequest) Id(id string) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) Id(id string) ApiV1InventoryProvidersListRequest { r.id = &id return r } -func (r ApiInventoryProvidersListRequest) InstanceLimit(instanceLimit int32) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) InstanceLimit(instanceLimit int32) ApiV1InventoryProvidersListRequest { r.instanceLimit = &instanceLimit return r } -func (r ApiInventoryProvidersListRequest) Name(name string) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) Name(name string) ApiV1InventoryProvidersListRequest { r.name = &name return r } // Exclude the specified fields in the response -func (r ApiInventoryProvidersListRequest) Omit(omit string) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) Omit(omit string) ApiV1InventoryProvidersListRequest { r.omit = &omit return r } +// Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow +func (r ApiV1InventoryProvidersListRequest) OnDemandSpeed(onDemandSpeed string) ApiV1InventoryProvidersListRequest { + r.onDemandSpeed = &onDemandSpeed + return r +} + // Which field to use when ordering the results. -func (r ApiInventoryProvidersListRequest) Ordering(ordering string) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) Ordering(ordering string) ApiV1InventoryProvidersListRequest { r.ordering = &ordering return r } // A page number within the paginated result set. -func (r ApiInventoryProvidersListRequest) Page(page int32) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) Page(page int32) ApiV1InventoryProvidersListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiInventoryProvidersListRequest) PageSize(pageSize int32) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) PageSize(pageSize int32) ApiV1InventoryProvidersListRequest { r.pageSize = &pageSize return r } -func (r ApiInventoryProvidersListRequest) Priority(priority int32) ApiInventoryProvidersListRequest { +func (r ApiV1InventoryProvidersListRequest) Priority(priority int32) ApiV1InventoryProvidersListRequest { r.priority = &priority return r } -// Search for providers by display_name, id, name -func (r ApiInventoryProvidersListRequest) Search(search string) ApiInventoryProvidersListRequest { +// Search for providers by display_name, id, name, on_demand_speed +func (r ApiV1InventoryProvidersListRequest) Search(search string) ApiV1InventoryProvidersListRequest { r.search = &search return r } -func (r ApiInventoryProvidersListRequest) Execute() (*PaginatedProviderList, *http.Response, error) { - return r.ApiService.InventoryProvidersListExecute(r) +func (r ApiV1InventoryProvidersListRequest) Execute() (*PaginatedProviderList, *http.Response, error) { + return r.ApiService.V1InventoryProvidersListExecute(r) } /* -InventoryProvidersList Method for InventoryProvidersList +V1InventoryProvidersList Method for V1InventoryProvidersList @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryProvidersListRequest + @return ApiV1InventoryProvidersListRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersList(ctx context.Context) ApiInventoryProvidersListRequest { - return ApiInventoryProvidersListRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersList(ctx context.Context) ApiV1InventoryProvidersListRequest { + return ApiV1InventoryProvidersListRequest{ ApiService: a, ctx: ctx, } @@ -605,7 +612,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersList(ctx context.Contex // Execute executes the request // // @return PaginatedProviderList -func (a *InventoryProvidersAPIService) InventoryProvidersListExecute(r ApiInventoryProvidersListRequest) (*PaginatedProviderList, *http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersListExecute(r ApiV1InventoryProvidersListRequest) (*PaginatedProviderList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -613,7 +620,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersListExecute(r ApiInvent localVarReturnValue *PaginatedProviderList ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -642,6 +649,9 @@ func (a *InventoryProvidersAPIService) InventoryProvidersListExecute(r ApiInvent if r.omit != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "omit", r.omit, "form", "") } + if r.onDemandSpeed != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "on_demand_speed", r.onDemandSpeed, "form", "") + } if r.ordering != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "ordering", r.ordering, "form", "") } @@ -725,31 +735,31 @@ func (a *InventoryProvidersAPIService) InventoryProvidersListExecute(r ApiInvent return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryProvidersPartialUpdateRequest struct { +type ApiV1InventoryProvidersPartialUpdateRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService id string provider *Provider } -func (r ApiInventoryProvidersPartialUpdateRequest) Provider(provider Provider) ApiInventoryProvidersPartialUpdateRequest { +func (r ApiV1InventoryProvidersPartialUpdateRequest) Provider(provider Provider) ApiV1InventoryProvidersPartialUpdateRequest { r.provider = &provider return r } -func (r ApiInventoryProvidersPartialUpdateRequest) Execute() (*Provider, *http.Response, error) { - return r.ApiService.InventoryProvidersPartialUpdateExecute(r) +func (r ApiV1InventoryProvidersPartialUpdateRequest) Execute() (*Provider, *http.Response, error) { + return r.ApiService.V1InventoryProvidersPartialUpdateExecute(r) } /* -InventoryProvidersPartialUpdate Method for InventoryProvidersPartialUpdate +V1InventoryProvidersPartialUpdate Method for V1InventoryProvidersPartialUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this provider. - @return ApiInventoryProvidersPartialUpdateRequest + @return ApiV1InventoryProvidersPartialUpdateRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersPartialUpdate(ctx context.Context, id string) ApiInventoryProvidersPartialUpdateRequest { - return ApiInventoryProvidersPartialUpdateRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersPartialUpdate(ctx context.Context, id string) ApiV1InventoryProvidersPartialUpdateRequest { + return ApiV1InventoryProvidersPartialUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -759,7 +769,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersPartialUpdate(ctx conte // Execute executes the request // // @return Provider -func (a *InventoryProvidersAPIService) InventoryProvidersPartialUpdateExecute(r ApiInventoryProvidersPartialUpdateRequest) (*Provider, *http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersPartialUpdateExecute(r ApiV1InventoryProvidersPartialUpdateRequest) (*Provider, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} @@ -767,7 +777,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersPartialUpdateExecute(r localVarReturnValue *Provider ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -852,7 +862,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersPartialUpdateExecute(r return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryProvidersRetrieveRequest struct { +type ApiV1InventoryProvidersRetrieveRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService id string @@ -861,30 +871,30 @@ type ApiInventoryProvidersRetrieveRequest struct { } // Include only the specified fields in the response -func (r ApiInventoryProvidersRetrieveRequest) Fields(fields string) ApiInventoryProvidersRetrieveRequest { +func (r ApiV1InventoryProvidersRetrieveRequest) Fields(fields string) ApiV1InventoryProvidersRetrieveRequest { r.fields = &fields return r } // Exclude the specified fields in the response -func (r ApiInventoryProvidersRetrieveRequest) Omit(omit string) ApiInventoryProvidersRetrieveRequest { +func (r ApiV1InventoryProvidersRetrieveRequest) Omit(omit string) ApiV1InventoryProvidersRetrieveRequest { r.omit = &omit return r } -func (r ApiInventoryProvidersRetrieveRequest) Execute() (*Provider, *http.Response, error) { - return r.ApiService.InventoryProvidersRetrieveExecute(r) +func (r ApiV1InventoryProvidersRetrieveRequest) Execute() (*Provider, *http.Response, error) { + return r.ApiService.V1InventoryProvidersRetrieveExecute(r) } /* -InventoryProvidersRetrieve Method for InventoryProvidersRetrieve +V1InventoryProvidersRetrieve Method for V1InventoryProvidersRetrieve @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this provider. - @return ApiInventoryProvidersRetrieveRequest + @return ApiV1InventoryProvidersRetrieveRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersRetrieve(ctx context.Context, id string) ApiInventoryProvidersRetrieveRequest { - return ApiInventoryProvidersRetrieveRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersRetrieve(ctx context.Context, id string) ApiV1InventoryProvidersRetrieveRequest { + return ApiV1InventoryProvidersRetrieveRequest{ ApiService: a, ctx: ctx, id: id, @@ -894,7 +904,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersRetrieve(ctx context.Co // Execute executes the request // // @return Provider -func (a *InventoryProvidersAPIService) InventoryProvidersRetrieveExecute(r ApiInventoryProvidersRetrieveRequest) (*Provider, *http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersRetrieveExecute(r ApiV1InventoryProvidersRetrieveRequest) (*Provider, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -902,7 +912,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersRetrieveExecute(r ApiIn localVarReturnValue *Provider ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersRetrieve") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -988,37 +998,37 @@ func (a *InventoryProvidersAPIService) InventoryProvidersRetrieveExecute(r ApiIn return localVarReturnValue, localVarHTTPResponse, nil } -type ApiInventoryProvidersStatsRetrieveRequest struct { +type ApiV1InventoryProvidersStatsRetrieveRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService } -func (r ApiInventoryProvidersStatsRetrieveRequest) Execute() (*http.Response, error) { - return r.ApiService.InventoryProvidersStatsRetrieveExecute(r) +func (r ApiV1InventoryProvidersStatsRetrieveRequest) Execute() (*http.Response, error) { + return r.ApiService.V1InventoryProvidersStatsRetrieveExecute(r) } /* -InventoryProvidersStatsRetrieve 🚧 [Beta Feature] +V1InventoryProvidersStatsRetrieve 🚧 [Beta Feature] @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiInventoryProvidersStatsRetrieveRequest + @return ApiV1InventoryProvidersStatsRetrieveRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersStatsRetrieve(ctx context.Context) ApiInventoryProvidersStatsRetrieveRequest { - return ApiInventoryProvidersStatsRetrieveRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersStatsRetrieve(ctx context.Context) ApiV1InventoryProvidersStatsRetrieveRequest { + return ApiV1InventoryProvidersStatsRetrieveRequest{ ApiService: a, ctx: ctx, } } // Execute executes the request -func (a *InventoryProvidersAPIService) InventoryProvidersStatsRetrieveExecute(r ApiInventoryProvidersStatsRetrieveRequest) (*http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersStatsRetrieveExecute(r ApiV1InventoryProvidersStatsRetrieveRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersStatsRetrieve") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersStatsRetrieve") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1088,31 +1098,31 @@ func (a *InventoryProvidersAPIService) InventoryProvidersStatsRetrieveExecute(r return localVarHTTPResponse, nil } -type ApiInventoryProvidersUpdateRequest struct { +type ApiV1InventoryProvidersUpdateRequest struct { ctx context.Context ApiService *InventoryProvidersAPIService id string provider *Provider } -func (r ApiInventoryProvidersUpdateRequest) Provider(provider Provider) ApiInventoryProvidersUpdateRequest { +func (r ApiV1InventoryProvidersUpdateRequest) Provider(provider Provider) ApiV1InventoryProvidersUpdateRequest { r.provider = &provider return r } -func (r ApiInventoryProvidersUpdateRequest) Execute() (*Provider, *http.Response, error) { - return r.ApiService.InventoryProvidersUpdateExecute(r) +func (r ApiV1InventoryProvidersUpdateRequest) Execute() (*Provider, *http.Response, error) { + return r.ApiService.V1InventoryProvidersUpdateExecute(r) } /* -InventoryProvidersUpdate Method for InventoryProvidersUpdate +V1InventoryProvidersUpdate Method for V1InventoryProvidersUpdate @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id A UUID string identifying this provider. - @return ApiInventoryProvidersUpdateRequest + @return ApiV1InventoryProvidersUpdateRequest */ -func (a *InventoryProvidersAPIService) InventoryProvidersUpdate(ctx context.Context, id string) ApiInventoryProvidersUpdateRequest { - return ApiInventoryProvidersUpdateRequest{ +func (a *InventoryProvidersAPIService) V1InventoryProvidersUpdate(ctx context.Context, id string) ApiV1InventoryProvidersUpdateRequest { + return ApiV1InventoryProvidersUpdateRequest{ ApiService: a, ctx: ctx, id: id, @@ -1122,7 +1132,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersUpdate(ctx context.Cont // Execute executes the request // // @return Provider -func (a *InventoryProvidersAPIService) InventoryProvidersUpdateExecute(r ApiInventoryProvidersUpdateRequest) (*Provider, *http.Response, error) { +func (a *InventoryProvidersAPIService) V1InventoryProvidersUpdateExecute(r ApiV1InventoryProvidersUpdateRequest) (*Provider, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1130,7 +1140,7 @@ func (a *InventoryProvidersAPIService) InventoryProvidersUpdateExecute(r ApiInve localVarReturnValue *Provider ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.InventoryProvidersUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InventoryProvidersAPIService.V1InventoryProvidersUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } diff --git a/v1/providers/launchpad/gen/launchpad/api_version.go b/v1/providers/launchpad/gen/launchpad/api_version.go new file mode 100644 index 00000000..6388ec85 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/api_version.go @@ -0,0 +1,134 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + +// VersionAPIService VersionAPI service +type VersionAPIService service + +type ApiVersionRetrieveRequest struct { + ctx context.Context + ApiService *VersionAPIService +} + +func (r ApiVersionRetrieveRequest) Execute() (*VersionRetrieve200Response, *http.Response, error) { + return r.ApiService.VersionRetrieveExecute(r) +} + +/* +VersionRetrieve Method for VersionRetrieve + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiVersionRetrieveRequest +*/ +func (a *VersionAPIService) VersionRetrieve(ctx context.Context) ApiVersionRetrieveRequest { + return ApiVersionRetrieveRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return VersionRetrieve200Response +func (a *VersionAPIService) VersionRetrieveExecute(r ApiVersionRetrieveRequest) (*VersionRetrieve200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *VersionRetrieve200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VersionAPIService.VersionRetrieve") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/version/" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["TokenAuthentication"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["Authorization"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/v1/providers/launchpad/gen/launchpad/client.go b/v1/providers/launchpad/gen/launchpad/client.go index 7d64f635..9ee1dedb 100644 --- a/v1/providers/launchpad/gen/launchpad/client.go +++ b/v1/providers/launchpad/gen/launchpad/client.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -40,7 +40,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the NVIDIA LaunchPad API API v2.36.1 +// APIClient manages communication with the NVIDIA LaunchPad API API v2.39.5 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -60,6 +60,10 @@ type APIClient struct { CatalogPersonaChoicesAPI *CatalogPersonaChoicesAPIService + CatalogRuntimesAPI *CatalogRuntimesAPIService + + HealthAPI *HealthAPIService + IdentityProfileAPI *IdentityProfileAPIService InventoryClustersAPI *InventoryClustersAPIService @@ -75,6 +79,8 @@ type APIClient struct { InventoryOemsAPI *InventoryOemsAPIService InventoryProvidersAPI *InventoryProvidersAPIService + + VersionAPI *VersionAPIService } type service struct { @@ -99,6 +105,8 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.CatalogGpuOsChoicesAPI = (*CatalogGpuOsChoicesAPIService)(&c.common) c.CatalogInstanceTypesAPI = (*CatalogInstanceTypesAPIService)(&c.common) c.CatalogPersonaChoicesAPI = (*CatalogPersonaChoicesAPIService)(&c.common) + c.CatalogRuntimesAPI = (*CatalogRuntimesAPIService)(&c.common) + c.HealthAPI = (*HealthAPIService)(&c.common) c.IdentityProfileAPI = (*IdentityProfileAPIService)(&c.common) c.InventoryClustersAPI = (*InventoryClustersAPIService)(&c.common) c.InventoryGpusAPI = (*InventoryGpusAPIService)(&c.common) @@ -107,6 +115,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.InventoryNodesAPI = (*InventoryNodesAPIService)(&c.common) c.InventoryOemsAPI = (*InventoryOemsAPIService)(&c.common) c.InventoryProvidersAPI = (*InventoryProvidersAPIService)(&c.common) + c.VersionAPI = (*VersionAPIService)(&c.common) return c } diff --git a/v1/providers/launchpad/gen/launchpad/configuration.go b/v1/providers/launchpad/gen/launchpad/configuration.go index 2f0d78ff..0024c58c 100644 --- a/v1/providers/launchpad/gen/launchpad/configuration.go +++ b/v1/providers/launchpad/gen/launchpad/configuration.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/docs/AuthAPI.md b/v1/providers/launchpad/gen/launchpad/docs/AuthAPI.md index c4628032..7255f580 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/AuthAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/AuthAPI.md @@ -4,16 +4,16 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**AuthLoginCreate**](AuthAPI.md#AuthLoginCreate) | **Post** /v1/auth/login/ | -[**AuthLogoutCreate**](AuthAPI.md#AuthLogoutCreate) | **Post** /v1/auth/logout/ | -[**AuthPasswordChangeCreate**](AuthAPI.md#AuthPasswordChangeCreate) | **Post** /v1/auth/password-change/ | -[**AuthRedirectRetrieve**](AuthAPI.md#AuthRedirectRetrieve) | **Get** /v1/auth/redirect/ | +[**V1AuthLoginCreate**](AuthAPI.md#V1AuthLoginCreate) | **Post** /v1/auth/login/ | +[**V1AuthLogoutCreate**](AuthAPI.md#V1AuthLogoutCreate) | **Post** /v1/auth/logout/ | +[**V1AuthPasswordChangeCreate**](AuthAPI.md#V1AuthPasswordChangeCreate) | **Post** /v1/auth/password-change/ | +[**V1AuthRedirectRetrieve**](AuthAPI.md#V1AuthRedirectRetrieve) | **Get** /v1/auth/redirect/ | -## AuthLoginCreate +## V1AuthLoginCreate -> AuthToken AuthLoginCreate(ctx).AuthCode(authCode).Password(password).Username(username).Execute() +> AuthToken V1AuthLoginCreate(ctx).AuthCode(authCode).Password(password).Username(username).Execute() @@ -38,13 +38,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.AuthAPI.AuthLoginCreate(context.Background()).AuthCode(authCode).Password(password).Username(username).Execute() + resp, r, err := apiClient.AuthAPI.V1AuthLoginCreate(context.Background()).AuthCode(authCode).Password(password).Username(username).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.AuthLoginCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.V1AuthLoginCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AuthLoginCreate`: AuthToken - fmt.Fprintf(os.Stdout, "Response from `AuthAPI.AuthLoginCreate`: %v\n", resp) + // response from `V1AuthLoginCreate`: AuthToken + fmt.Fprintf(os.Stdout, "Response from `AuthAPI.V1AuthLoginCreate`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiAuthLoginCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1AuthLoginCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -81,9 +81,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## AuthLogoutCreate +## V1AuthLogoutCreate -> Logout AuthLogoutCreate(ctx).Execute() +> Logout V1AuthLogoutCreate(ctx).Execute() @@ -105,13 +105,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.AuthAPI.AuthLogoutCreate(context.Background()).Execute() + resp, r, err := apiClient.AuthAPI.V1AuthLogoutCreate(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.AuthLogoutCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.V1AuthLogoutCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AuthLogoutCreate`: Logout - fmt.Fprintf(os.Stdout, "Response from `AuthAPI.AuthLogoutCreate`: %v\n", resp) + // response from `V1AuthLogoutCreate`: Logout + fmt.Fprintf(os.Stdout, "Response from `AuthAPI.V1AuthLogoutCreate`: %v\n", resp) } ``` @@ -121,7 +121,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiAuthLogoutCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1AuthLogoutCreateRequest struct via the builder pattern ### Return type @@ -142,9 +142,9 @@ Other parameters are passed through a pointer to a apiAuthLogoutCreateRequest st [[Back to README]](../README.md) -## AuthPasswordChangeCreate +## V1AuthPasswordChangeCreate -> PasswordChange AuthPasswordChangeCreate(ctx).Username(username).Password(password).NewPassword(newPassword).Result(result).Execute() +> PasswordChange V1AuthPasswordChangeCreate(ctx).Username(username).Password(password).NewPassword(newPassword).Result(result).Execute() @@ -170,13 +170,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.AuthAPI.AuthPasswordChangeCreate(context.Background()).Username(username).Password(password).NewPassword(newPassword).Result(result).Execute() + resp, r, err := apiClient.AuthAPI.V1AuthPasswordChangeCreate(context.Background()).Username(username).Password(password).NewPassword(newPassword).Result(result).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.AuthPasswordChangeCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.V1AuthPasswordChangeCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AuthPasswordChangeCreate`: PasswordChange - fmt.Fprintf(os.Stdout, "Response from `AuthAPI.AuthPasswordChangeCreate`: %v\n", resp) + // response from `V1AuthPasswordChangeCreate`: PasswordChange + fmt.Fprintf(os.Stdout, "Response from `AuthAPI.V1AuthPasswordChangeCreate`: %v\n", resp) } ``` @@ -186,7 +186,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiAuthPasswordChangeCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1AuthPasswordChangeCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -214,9 +214,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## AuthRedirectRetrieve +## V1AuthRedirectRetrieve -> AuthRedirect AuthRedirectRetrieve(ctx).AsJson(asJson).Execute() +> AuthRedirect V1AuthRedirectRetrieve(ctx).AsJson(asJson).Execute() @@ -239,13 +239,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.AuthAPI.AuthRedirectRetrieve(context.Background()).AsJson(asJson).Execute() + resp, r, err := apiClient.AuthAPI.V1AuthRedirectRetrieve(context.Background()).AsJson(asJson).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.AuthRedirectRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.V1AuthRedirectRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AuthRedirectRetrieve`: AuthRedirect - fmt.Fprintf(os.Stdout, "Response from `AuthAPI.AuthRedirectRetrieve`: %v\n", resp) + // response from `V1AuthRedirectRetrieve`: AuthRedirect + fmt.Fprintf(os.Stdout, "Response from `AuthAPI.V1AuthRedirectRetrieve`: %v\n", resp) } ``` @@ -255,7 +255,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiAuthRedirectRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1AuthRedirectRetrieveRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/CatalogDeploymentsAPI.md b/v1/providers/launchpad/gen/launchpad/docs/CatalogDeploymentsAPI.md index 7b59a9fb..2a90cfa8 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/CatalogDeploymentsAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/CatalogDeploymentsAPI.md @@ -4,44 +4,44 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CatalogDeploymentsBulkPartialUpdate**](CatalogDeploymentsAPI.md#CatalogDeploymentsBulkPartialUpdate) | **Patch** /v1/catalog/deployments/bulk/ | -[**CatalogDeploymentsCreate**](CatalogDeploymentsAPI.md#CatalogDeploymentsCreate) | **Post** /v1/catalog/deployments/ | -[**CatalogDeploymentsDestroy**](CatalogDeploymentsAPI.md#CatalogDeploymentsDestroy) | **Delete** /v1/catalog/deployments/{id}/ | -[**CatalogDeploymentsHistoryList**](CatalogDeploymentsAPI.md#CatalogDeploymentsHistoryList) | **Get** /v1/catalog/deployments/{id}/history/ | -[**CatalogDeploymentsInstancesList**](CatalogDeploymentsAPI.md#CatalogDeploymentsInstancesList) | **Get** /v1/catalog/deployments/{deployment_id}/instances/ | 🚧 [Beta Feature] -[**CatalogDeploymentsList**](CatalogDeploymentsAPI.md#CatalogDeploymentsList) | **Get** /v1/catalog/deployments/ | -[**CatalogDeploymentsNotesCreate**](CatalogDeploymentsAPI.md#CatalogDeploymentsNotesCreate) | **Post** /v1/catalog/deployments/{deployment_id}/notes/ | -[**CatalogDeploymentsNotesDestroy**](CatalogDeploymentsAPI.md#CatalogDeploymentsNotesDestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -[**CatalogDeploymentsNotesList**](CatalogDeploymentsAPI.md#CatalogDeploymentsNotesList) | **Get** /v1/catalog/deployments/{deployment_id}/notes/ | -[**CatalogDeploymentsNotesPartialUpdate**](CatalogDeploymentsAPI.md#CatalogDeploymentsNotesPartialUpdate) | **Patch** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -[**CatalogDeploymentsNotesRetrieve**](CatalogDeploymentsAPI.md#CatalogDeploymentsNotesRetrieve) | **Get** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -[**CatalogDeploymentsNotesUpdate**](CatalogDeploymentsAPI.md#CatalogDeploymentsNotesUpdate) | **Put** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | -[**CatalogDeploymentsPartialUpdate**](CatalogDeploymentsAPI.md#CatalogDeploymentsPartialUpdate) | **Patch** /v1/catalog/deployments/{id}/ | -[**CatalogDeploymentsPipelinesCreate**](CatalogDeploymentsAPI.md#CatalogDeploymentsPipelinesCreate) | **Post** /v1/catalog/deployments/{deployment_id}/pipelines/ | -[**CatalogDeploymentsPipelinesList**](CatalogDeploymentsAPI.md#CatalogDeploymentsPipelinesList) | **Get** /v1/catalog/deployments/{deployment_id}/pipelines/ | -[**CatalogDeploymentsRetrieve**](CatalogDeploymentsAPI.md#CatalogDeploymentsRetrieve) | **Get** /v1/catalog/deployments/{id}/ | -[**CatalogDeploymentsServicesCreate**](CatalogDeploymentsAPI.md#CatalogDeploymentsServicesCreate) | **Post** /v1/catalog/deployments/{deployment_id}/services/ | -[**CatalogDeploymentsServicesList**](CatalogDeploymentsAPI.md#CatalogDeploymentsServicesList) | **Get** /v1/catalog/deployments/{deployment_id}/services/ | -[**CatalogDeploymentsSshKeysCreate**](CatalogDeploymentsAPI.md#CatalogDeploymentsSshKeysCreate) | **Post** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | -[**CatalogDeploymentsSshKeysDestroy**](CatalogDeploymentsAPI.md#CatalogDeploymentsSshKeysDestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/ | -[**CatalogDeploymentsSshKeysList**](CatalogDeploymentsAPI.md#CatalogDeploymentsSshKeysList) | **Get** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | -[**CatalogDeploymentsStatsRetrieve**](CatalogDeploymentsAPI.md#CatalogDeploymentsStatsRetrieve) | **Get** /v1/catalog/deployments/stats/ | 🚧 [Beta Feature] -[**CatalogDeploymentsTasksCreate**](CatalogDeploymentsAPI.md#CatalogDeploymentsTasksCreate) | **Post** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] -[**CatalogDeploymentsTasksList**](CatalogDeploymentsAPI.md#CatalogDeploymentsTasksList) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] -[**CatalogDeploymentsTasksRetrieve**](CatalogDeploymentsAPI.md#CatalogDeploymentsTasksRetrieve) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/{id}/ | 🚧 [Beta Feature] -[**CatalogDeploymentsUpdate**](CatalogDeploymentsAPI.md#CatalogDeploymentsUpdate) | **Put** /v1/catalog/deployments/{id}/ | -[**CatalogExperiencesNotesCreate**](CatalogDeploymentsAPI.md#CatalogExperiencesNotesCreate) | **Post** /v1/catalog/experiences/{experience_id}/notes/ | -[**CatalogExperiencesNotesDestroy**](CatalogDeploymentsAPI.md#CatalogExperiencesNotesDestroy) | **Delete** /v1/catalog/experiences/{experience_id}/notes/{id}/ | -[**CatalogExperiencesNotesList**](CatalogDeploymentsAPI.md#CatalogExperiencesNotesList) | **Get** /v1/catalog/experiences/{experience_id}/notes/ | -[**CatalogExperiencesNotesPartialUpdate**](CatalogDeploymentsAPI.md#CatalogExperiencesNotesPartialUpdate) | **Patch** /v1/catalog/experiences/{experience_id}/notes/{id}/ | -[**CatalogExperiencesNotesRetrieve**](CatalogDeploymentsAPI.md#CatalogExperiencesNotesRetrieve) | **Get** /v1/catalog/experiences/{experience_id}/notes/{id}/ | -[**CatalogExperiencesNotesUpdate**](CatalogDeploymentsAPI.md#CatalogExperiencesNotesUpdate) | **Put** /v1/catalog/experiences/{experience_id}/notes/{id}/ | - - - -## CatalogDeploymentsBulkPartialUpdate - -> DeploymentBulkUpdate CatalogDeploymentsBulkPartialUpdate(ctx).DeploymentBulkUpdate(deploymentBulkUpdate).Execute() +[**V1CatalogDeploymentsBulkPartialUpdate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsBulkPartialUpdate) | **Patch** /v1/catalog/deployments/bulk/ | +[**V1CatalogDeploymentsCreate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsCreate) | **Post** /v1/catalog/deployments/ | +[**V1CatalogDeploymentsDestroy**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsDestroy) | **Delete** /v1/catalog/deployments/{id}/ | +[**V1CatalogDeploymentsHistoryList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsHistoryList) | **Get** /v1/catalog/deployments/{id}/history/ | +[**V1CatalogDeploymentsInstancesList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsInstancesList) | **Get** /v1/catalog/deployments/{deployment_id}/instances/ | 🚧 [Beta Feature] +[**V1CatalogDeploymentsList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsList) | **Get** /v1/catalog/deployments/ | +[**V1CatalogDeploymentsNotesCreate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsNotesCreate) | **Post** /v1/catalog/deployments/{deployment_id}/notes/ | +[**V1CatalogDeploymentsNotesDestroy**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsNotesDestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +[**V1CatalogDeploymentsNotesList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsNotesList) | **Get** /v1/catalog/deployments/{deployment_id}/notes/ | +[**V1CatalogDeploymentsNotesPartialUpdate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsNotesPartialUpdate) | **Patch** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +[**V1CatalogDeploymentsNotesRetrieve**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsNotesRetrieve) | **Get** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +[**V1CatalogDeploymentsNotesUpdate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsNotesUpdate) | **Put** /v1/catalog/deployments/{deployment_id}/notes/{id}/ | +[**V1CatalogDeploymentsPartialUpdate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsPartialUpdate) | **Patch** /v1/catalog/deployments/{id}/ | +[**V1CatalogDeploymentsPipelinesCreate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsPipelinesCreate) | **Post** /v1/catalog/deployments/{deployment_id}/pipelines/ | +[**V1CatalogDeploymentsPipelinesList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsPipelinesList) | **Get** /v1/catalog/deployments/{deployment_id}/pipelines/ | +[**V1CatalogDeploymentsRetrieve**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsRetrieve) | **Get** /v1/catalog/deployments/{id}/ | +[**V1CatalogDeploymentsServicesCreate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsServicesCreate) | **Post** /v1/catalog/deployments/{deployment_id}/services/ | +[**V1CatalogDeploymentsServicesList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsServicesList) | **Get** /v1/catalog/deployments/{deployment_id}/services/ | +[**V1CatalogDeploymentsSshKeysCreate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsSshKeysCreate) | **Post** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | +[**V1CatalogDeploymentsSshKeysDestroy**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsSshKeysDestroy) | **Delete** /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/ | +[**V1CatalogDeploymentsSshKeysList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsSshKeysList) | **Get** /v1/catalog/deployments/{deployment_id}/ssh-keys/ | +[**V1CatalogDeploymentsStatsRetrieve**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsStatsRetrieve) | **Get** /v1/catalog/deployments/stats/ | 🚧 [Beta Feature] +[**V1CatalogDeploymentsTasksCreate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsTasksCreate) | **Post** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] +[**V1CatalogDeploymentsTasksList**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsTasksList) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/ | 🚧 [Beta Feature] +[**V1CatalogDeploymentsTasksRetrieve**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsTasksRetrieve) | **Get** /v1/catalog/deployments/{deployment_id}/tasks/{id}/ | 🚧 [Beta Feature] +[**V1CatalogDeploymentsUpdate**](CatalogDeploymentsAPI.md#V1CatalogDeploymentsUpdate) | **Put** /v1/catalog/deployments/{id}/ | +[**V1CatalogExperiencesNotesCreate**](CatalogDeploymentsAPI.md#V1CatalogExperiencesNotesCreate) | **Post** /v1/catalog/experiences/{experience_id}/notes/ | +[**V1CatalogExperiencesNotesDestroy**](CatalogDeploymentsAPI.md#V1CatalogExperiencesNotesDestroy) | **Delete** /v1/catalog/experiences/{experience_id}/notes/{id}/ | +[**V1CatalogExperiencesNotesList**](CatalogDeploymentsAPI.md#V1CatalogExperiencesNotesList) | **Get** /v1/catalog/experiences/{experience_id}/notes/ | +[**V1CatalogExperiencesNotesPartialUpdate**](CatalogDeploymentsAPI.md#V1CatalogExperiencesNotesPartialUpdate) | **Patch** /v1/catalog/experiences/{experience_id}/notes/{id}/ | +[**V1CatalogExperiencesNotesRetrieve**](CatalogDeploymentsAPI.md#V1CatalogExperiencesNotesRetrieve) | **Get** /v1/catalog/experiences/{experience_id}/notes/{id}/ | +[**V1CatalogExperiencesNotesUpdate**](CatalogDeploymentsAPI.md#V1CatalogExperiencesNotesUpdate) | **Put** /v1/catalog/experiences/{experience_id}/notes/{id}/ | + + + +## V1CatalogDeploymentsBulkPartialUpdate + +> DeploymentBulkUpdate V1CatalogDeploymentsBulkPartialUpdate(ctx).DeploymentBulkUpdate(deploymentBulkUpdate).Execute() @@ -59,17 +59,17 @@ import ( ) func main() { - deploymentBulkUpdate := *openapiclient.NewDeploymentBulkUpdate("BastionOperatingSystem_example", "Cluster_example", time.Now(), openapiclient.Deployment_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "GarageId_example", "GpuAlias_example", NullableInt32(123), "GpuModel_example", "GpuOsName_example", "GpuOsRelease_example", "GpuOsVersion_example", "Id_example", NullableInt32(123), NullableInt32(123), time.Now(), NullableInt32(123), "OemName_example", interface{}(123), []string{"Pipelines_example"}, openapiclient.PriorityEnum("p0"), "ProviderName_example", "PublicKey_example", "Region_example", "RequestId_example", time.Now(), "SalesId_example", []string{"Services_example"}, false, "WorkshopId_example", "WorkshopOverridePassword_example", int32(123), []string{"Ids_example"}, "Result_example") // DeploymentBulkUpdate | + deploymentBulkUpdate := *openapiclient.NewDeploymentBulkUpdate("BastionOperatingSystem_example", "Cluster_example", time.Now(), "Experience_example", "GarageId_example", "GpuAlias_example", NullableInt32(123), "GpuModel_example", "GpuOsName_example", "GpuOsRelease_example", "GpuOsVersion_example", "Id_example", NullableInt32(123), NullableInt32(123), time.Now(), NullableInt32(123), "OemName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, openapiclient.PriorityEnum("p0"), "ProviderName_example", "PublicKey_example", "Region_example", "RequestId_example", time.Now(), "SalesId_example", []string{"Services_example"}, false, "WorkshopId_example", "WorkshopOverridePassword_example", int32(123), []string{"Ids_example"}, "Result_example") // DeploymentBulkUpdate | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsBulkPartialUpdate(context.Background()).DeploymentBulkUpdate(deploymentBulkUpdate).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsBulkPartialUpdate(context.Background()).DeploymentBulkUpdate(deploymentBulkUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsBulkPartialUpdate`: DeploymentBulkUpdate - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsBulkPartialUpdate`: %v\n", resp) + // response from `V1CatalogDeploymentsBulkPartialUpdate`: DeploymentBulkUpdate + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsBulkPartialUpdate`: %v\n", resp) } ``` @@ -79,7 +79,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -104,9 +104,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsCreate +## V1CatalogDeploymentsCreate -> Deployment CatalogDeploymentsCreate(ctx).Deployment(deployment).Expand(expand).Execute() +> Deployment V1CatalogDeploymentsCreate(ctx).Deployment(deployment).Expand(expand).Execute() @@ -124,18 +124,18 @@ import ( ) func main() { - deployment := *openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed")) // Deployment | + deployment := *openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed")) // Deployment | expand := "expand_example" // string | Expand related field(s) instead of only showing a UUID (ex: \"cluster\"). (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsCreate(context.Background()).Deployment(deployment).Expand(expand).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsCreate(context.Background()).Deployment(deployment).Expand(expand).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsCreate`: Deployment - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsCreate`: %v\n", resp) + // response from `V1CatalogDeploymentsCreate`: Deployment + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsCreate`: %v\n", resp) } ``` @@ -145,7 +145,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -171,9 +171,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsDestroy +## V1CatalogDeploymentsDestroy -> DocDeploymentDelete CatalogDeploymentsDestroy(ctx, id).Execute() +> DocDeploymentDelete V1CatalogDeploymentsDestroy(ctx, id).Execute() @@ -194,13 +194,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsDestroy(context.Background(), id).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsDestroy`: DocDeploymentDelete - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsDestroy`: %v\n", resp) + // response from `V1CatalogDeploymentsDestroy`: DocDeploymentDelete + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsDestroy`: %v\n", resp) } ``` @@ -214,7 +214,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -239,9 +239,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsHistoryList +## V1CatalogDeploymentsHistoryList -> PaginatedModelChangeList CatalogDeploymentsHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1CatalogDeploymentsHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -264,13 +264,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsHistoryList`: %v\n", resp) + // response from `V1CatalogDeploymentsHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsHistoryList`: %v\n", resp) } ``` @@ -284,7 +284,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -311,9 +311,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsInstancesList +## V1CatalogDeploymentsInstancesList -> PaginatedDeploymentInstanceList CatalogDeploymentsInstancesList(ctx, deploymentId).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() +> PaginatedDeploymentInstanceList V1CatalogDeploymentsInstancesList(ctx, deploymentId).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() 🚧 [Beta Feature] @@ -344,13 +344,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsInstancesList(context.Background(), deploymentId).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsInstancesList(context.Background(), deploymentId).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsInstancesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsInstancesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsInstancesList`: PaginatedDeploymentInstanceList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsInstancesList`: %v\n", resp) + // response from `V1CatalogDeploymentsInstancesList`: PaginatedDeploymentInstanceList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsInstancesList`: %v\n", resp) } ``` @@ -364,7 +364,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsInstancesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsInstancesListRequest struct via the builder pattern Name | Type | Description | Notes @@ -399,9 +399,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsList +## V1CatalogDeploymentsList -> PaginatedDeploymentList CatalogDeploymentsList(ctx).BastionOperatingSystem(bastionOperatingSystem).Cluster(cluster).ClusterGpusModel(clusterGpusModel).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Expired(expired).ExpiresAt(expiresAt).Expiring(expiring).Fields(fields).FlightcontrolRelease(flightcontrolRelease).GarageId(garageId).GcBranch(gcBranch).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).OemName(oemName).Omit(omit).Ordering(ordering).OrgName(orgName).Page(page).PageSize(pageSize).PersistOnFailure(persistOnFailure).Persona(persona).Pipeline(pipeline).PipelineBranch(pipelineBranch).Platform(platform).Priority(priority).ProviderName(providerName).Region(region).RequestId(requestId).RequesterEmail(requesterEmail).RequesterName(requesterName).SalesId(salesId).SalesOwnerEmail(salesOwnerEmail).SalesOwnerName(salesOwnerName).Search(search).State(state).Workshop(workshop).WorkshopId(workshopId).Execute() +> PaginatedDeploymentList V1CatalogDeploymentsList(ctx).BastionOperatingSystem(bastionOperatingSystem).Cluster(cluster).ClusterGpusModel(clusterGpusModel).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Expired(expired).ExpiresAt(expiresAt).Expiring(expiring).Fields(fields).FlightcontrolRelease(flightcontrolRelease).GarageId(garageId).GcBranch(gcBranch).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).OemName(oemName).Omit(omit).Ordering(ordering).OrgName(orgName).Page(page).PageSize(pageSize).PersistOnFailure(persistOnFailure).Persona(persona).Pipeline(pipeline).PipelineBranch(pipelineBranch).Platform(platform).Priority(priority).ProviderName(providerName).Region(region).RequestId(requestId).RequesterEmail(requesterEmail).RequesterName(requesterName).RuntimeBranch(runtimeBranch).RuntimeCnsAddonPack(runtimeCnsAddonPack).RuntimeCnsDocker(runtimeCnsDocker).RuntimeCnsDriverVersion(runtimeCnsDriverVersion).RuntimeCnsK8s(runtimeCnsK8s).RuntimeCnsNvidiaDriver(runtimeCnsNvidiaDriver).RuntimeCnsVersion(runtimeCnsVersion).RuntimeMig(runtimeMig).RuntimeMigProfile(runtimeMigProfile).SalesId(salesId).SalesOwnerEmail(salesOwnerEmail).SalesOwnerName(salesOwnerName).Search(search).State(state).StateNot(stateNot).Workshop(workshop).WorkshopId(workshopId).Execute() @@ -451,30 +451,40 @@ func main() { persona := "persona_example" // string | (optional) pipeline := int32(56) // int32 | (optional) pipelineBranch := "pipelineBranch_example" // string | (optional) - platform := "platform_example" // string | Override the default platform selection * `air` - NVIDIA Air * `flight_deck` - Flight Deck * `kvm_bastion` - KVM Bastion * `lp-vmware-platform` - lp-vmware-platform * `minimal` - minimal * `openshift` - OpenShift * `vsphere` - vSphere * `vsphere_horizon` - VMware Horizon * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 (optional) + platform := "platform_example" // string | (optional) priority := "priority_example" // string | Priority level for the request * `p0` - p0 * `p1` - p1 * `p2` - p2 * `p3` - p3 (optional) providerName := "providerName_example" // string | (optional) region := "region_example" // string | (optional) requestId := "requestId_example" // string | (optional) requesterEmail := "requesterEmail_example" // string | (optional) requesterName := "requesterName_example" // string | (optional) + runtimeBranch := "runtimeBranch_example" // string | (optional) + runtimeCnsAddonPack := true // bool | (optional) + runtimeCnsDocker := true // bool | (optional) + runtimeCnsDriverVersion := "runtimeCnsDriverVersion_example" // string | (optional) + runtimeCnsK8s := true // bool | (optional) + runtimeCnsNvidiaDriver := true // bool | (optional) + runtimeCnsVersion := "runtimeCnsVersion_example" // string | (optional) + runtimeMig := true // bool | (optional) + runtimeMigProfile := "runtimeMigProfile_example" // string | (optional) salesId := "salesId_example" // string | (optional) salesOwnerEmail := "salesOwnerEmail_example" // string | (optional) salesOwnerName := "salesOwnerName_example" // string | (optional) - search := "search_example" // string | Search for deployments by bastion_operating_system, collection_branch, experience_branch, experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, flightcontrol_release, garage_id, gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version, id, oem_name, org_name, persona, pipeline_branch, platform, provider_name, region, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags, workshop_id (optional) + search := "search_example" // string | Search for deployments by experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, id, org_name, provisioning_config bastion_operating_system, provisioning_config collection_branch, provisioning_config experience_branch, provisioning_config flightcontrol_release, provisioning_config garage_id, provisioning_config gc_branch, provisioning_config gpu_alias, provisioning_config gpu_model, provisioning_config gpu_os_name, provisioning_config gpu_os_release, provisioning_config gpu_os_version, provisioning_config oem_name, provisioning_config persona, provisioning_config pipeline_branch, provisioning_config platform, provisioning_config provider_name, provisioning_config region, provisioning_config runtime_branch, provisioning_config runtime_cns_driver_version, provisioning_config runtime_cns_version, provisioning_config runtime_mig_profile, provisioning_config runtime_url, provisioning_config workshop_id, provisioning_request bastion_operating_system, provisioning_request collection_branch, provisioning_request experience_branch, provisioning_request flightcontrol_release, provisioning_request garage_id, provisioning_request gc_branch, provisioning_request gpu_alias, provisioning_request gpu_model, provisioning_request gpu_os_name, provisioning_request gpu_os_release, provisioning_request gpu_os_version, provisioning_request oem_name, provisioning_request persona, provisioning_request pipeline_branch, provisioning_request platform, provisioning_request provider_name, provisioning_request region, provisioning_request runtime_branch, provisioning_request runtime_cns_driver_version, provisioning_request runtime_cns_version, provisioning_request runtime_mig_profile, provisioning_request runtime_url, provisioning_request workshop_id, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags (optional) state := []string{"State_example"} // []string | Multiple values may be separated by commas. * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready (optional) + stateNot := []string{"StateNot_example"} // []string | Multiple values may be separated by commas. * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready (optional) workshop := true // bool | (optional) workshopId := "workshopId_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsList(context.Background()).BastionOperatingSystem(bastionOperatingSystem).Cluster(cluster).ClusterGpusModel(clusterGpusModel).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Expired(expired).ExpiresAt(expiresAt).Expiring(expiring).Fields(fields).FlightcontrolRelease(flightcontrolRelease).GarageId(garageId).GcBranch(gcBranch).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).OemName(oemName).Omit(omit).Ordering(ordering).OrgName(orgName).Page(page).PageSize(pageSize).PersistOnFailure(persistOnFailure).Persona(persona).Pipeline(pipeline).PipelineBranch(pipelineBranch).Platform(platform).Priority(priority).ProviderName(providerName).Region(region).RequestId(requestId).RequesterEmail(requesterEmail).RequesterName(requesterName).SalesId(salesId).SalesOwnerEmail(salesOwnerEmail).SalesOwnerName(salesOwnerName).Search(search).State(state).Workshop(workshop).WorkshopId(workshopId).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsList(context.Background()).BastionOperatingSystem(bastionOperatingSystem).Cluster(cluster).ClusterGpusModel(clusterGpusModel).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Expired(expired).ExpiresAt(expiresAt).Expiring(expiring).Fields(fields).FlightcontrolRelease(flightcontrolRelease).GarageId(garageId).GcBranch(gcBranch).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).OemName(oemName).Omit(omit).Ordering(ordering).OrgName(orgName).Page(page).PageSize(pageSize).PersistOnFailure(persistOnFailure).Persona(persona).Pipeline(pipeline).PipelineBranch(pipelineBranch).Platform(platform).Priority(priority).ProviderName(providerName).Region(region).RequestId(requestId).RequesterEmail(requesterEmail).RequesterName(requesterName).RuntimeBranch(runtimeBranch).RuntimeCnsAddonPack(runtimeCnsAddonPack).RuntimeCnsDocker(runtimeCnsDocker).RuntimeCnsDriverVersion(runtimeCnsDriverVersion).RuntimeCnsK8s(runtimeCnsK8s).RuntimeCnsNvidiaDriver(runtimeCnsNvidiaDriver).RuntimeCnsVersion(runtimeCnsVersion).RuntimeMig(runtimeMig).RuntimeMigProfile(runtimeMigProfile).SalesId(salesId).SalesOwnerEmail(salesOwnerEmail).SalesOwnerName(salesOwnerName).Search(search).State(state).StateNot(stateNot).Workshop(workshop).WorkshopId(workshopId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsList`: PaginatedDeploymentList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsList`: %v\n", resp) + // response from `V1CatalogDeploymentsList`: PaginatedDeploymentList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsList`: %v\n", resp) } ``` @@ -484,7 +494,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsListRequest struct via the builder pattern Name | Type | Description | Notes @@ -521,18 +531,28 @@ Name | Type | Description | Notes **persona** | **string** | | **pipeline** | **int32** | | **pipelineBranch** | **string** | | - **platform** | **string** | Override the default platform selection * `air` - NVIDIA Air * `flight_deck` - Flight Deck * `kvm_bastion` - KVM Bastion * `lp-vmware-platform` - lp-vmware-platform * `minimal` - minimal * `openshift` - OpenShift * `vsphere` - vSphere * `vsphere_horizon` - VMware Horizon * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 | + **platform** | **string** | | **priority** | **string** | Priority level for the request * `p0` - p0 * `p1` - p1 * `p2` - p2 * `p3` - p3 | **providerName** | **string** | | **region** | **string** | | **requestId** | **string** | | **requesterEmail** | **string** | | **requesterName** | **string** | | + **runtimeBranch** | **string** | | + **runtimeCnsAddonPack** | **bool** | | + **runtimeCnsDocker** | **bool** | | + **runtimeCnsDriverVersion** | **string** | | + **runtimeCnsK8s** | **bool** | | + **runtimeCnsNvidiaDriver** | **bool** | | + **runtimeCnsVersion** | **string** | | + **runtimeMig** | **bool** | | + **runtimeMigProfile** | **string** | | **salesId** | **string** | | **salesOwnerEmail** | **string** | | **salesOwnerName** | **string** | | - **search** | **string** | Search for deployments by bastion_operating_system, collection_branch, experience_branch, experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, flightcontrol_release, garage_id, gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version, id, oem_name, org_name, persona, pipeline_branch, platform, provider_name, region, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags, workshop_id | + **search** | **string** | Search for deployments by experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, id, org_name, provisioning_config bastion_operating_system, provisioning_config collection_branch, provisioning_config experience_branch, provisioning_config flightcontrol_release, provisioning_config garage_id, provisioning_config gc_branch, provisioning_config gpu_alias, provisioning_config gpu_model, provisioning_config gpu_os_name, provisioning_config gpu_os_release, provisioning_config gpu_os_version, provisioning_config oem_name, provisioning_config persona, provisioning_config pipeline_branch, provisioning_config platform, provisioning_config provider_name, provisioning_config region, provisioning_config runtime_branch, provisioning_config runtime_cns_driver_version, provisioning_config runtime_cns_version, provisioning_config runtime_mig_profile, provisioning_config runtime_url, provisioning_config workshop_id, provisioning_request bastion_operating_system, provisioning_request collection_branch, provisioning_request experience_branch, provisioning_request flightcontrol_release, provisioning_request garage_id, provisioning_request gc_branch, provisioning_request gpu_alias, provisioning_request gpu_model, provisioning_request gpu_os_name, provisioning_request gpu_os_release, provisioning_request gpu_os_version, provisioning_request oem_name, provisioning_request persona, provisioning_request pipeline_branch, provisioning_request platform, provisioning_request provider_name, provisioning_request region, provisioning_request runtime_branch, provisioning_request runtime_cns_driver_version, provisioning_request runtime_cns_version, provisioning_request runtime_mig_profile, provisioning_request runtime_url, provisioning_request workshop_id, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags | **state** | **[]string** | Multiple values may be separated by commas. * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready | + **stateNot** | **[]string** | Multiple values may be separated by commas. * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready | **workshop** | **bool** | | **workshopId** | **string** | | @@ -554,9 +574,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsNotesCreate +## V1CatalogDeploymentsNotesCreate -> DeploymentNote CatalogDeploymentsNotesCreate(ctx, deploymentId).DeploymentNote(deploymentNote).Execute() +> DeploymentNote V1CatalogDeploymentsNotesCreate(ctx, deploymentId).DeploymentNote(deploymentNote).Execute() @@ -575,17 +595,17 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - deploymentNote := *openapiclient.NewDeploymentNote(time.Now(), "CreatedBy_example", openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "ModifiedBy_example") // DeploymentNote | + deploymentNote := *openapiclient.NewDeploymentNote(time.Now(), "CreatedBy_example", openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "ModifiedBy_example") // DeploymentNote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesCreate(context.Background(), deploymentId).DeploymentNote(deploymentNote).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesCreate(context.Background(), deploymentId).DeploymentNote(deploymentNote).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsNotesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsNotesCreate`: DeploymentNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsNotesCreate`: %v\n", resp) + // response from `V1CatalogDeploymentsNotesCreate`: DeploymentNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesCreate`: %v\n", resp) } ``` @@ -599,7 +619,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsNotesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsNotesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -625,9 +645,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsNotesDestroy +## V1CatalogDeploymentsNotesDestroy -> CatalogDeploymentsNotesDestroy(ctx, deploymentId, id).Execute() +> V1CatalogDeploymentsNotesDestroy(ctx, deploymentId, id).Execute() @@ -649,9 +669,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesDestroy(context.Background(), deploymentId, id).Execute() + r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesDestroy(context.Background(), deploymentId, id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsNotesDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -668,7 +688,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsNotesDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsNotesDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -694,9 +714,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsNotesList +## V1CatalogDeploymentsNotesList -> PaginatedDeploymentNoteList CatalogDeploymentsNotesList(ctx, deploymentId).CreatedBy(createdBy).Deployment(deployment).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() +> PaginatedDeploymentNoteList V1CatalogDeploymentsNotesList(ctx, deploymentId).CreatedBy(createdBy).Deployment(deployment).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() @@ -727,13 +747,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesList(context.Background(), deploymentId).CreatedBy(createdBy).Deployment(deployment).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesList(context.Background(), deploymentId).CreatedBy(createdBy).Deployment(deployment).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsNotesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsNotesList`: PaginatedDeploymentNoteList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsNotesList`: %v\n", resp) + // response from `V1CatalogDeploymentsNotesList`: PaginatedDeploymentNoteList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesList`: %v\n", resp) } ``` @@ -747,7 +767,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsNotesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsNotesListRequest struct via the builder pattern Name | Type | Description | Notes @@ -782,9 +802,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsNotesPartialUpdate +## V1CatalogDeploymentsNotesPartialUpdate -> DeploymentNote CatalogDeploymentsNotesPartialUpdate(ctx, deploymentId, id).DeploymentNote(deploymentNote).Execute() +> DeploymentNote V1CatalogDeploymentsNotesPartialUpdate(ctx, deploymentId, id).DeploymentNote(deploymentNote).Execute() @@ -804,17 +824,17 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - deploymentNote := *openapiclient.NewDeploymentNote(time.Now(), "CreatedBy_example", openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "ModifiedBy_example") // DeploymentNote | + deploymentNote := *openapiclient.NewDeploymentNote(time.Now(), "CreatedBy_example", openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "ModifiedBy_example") // DeploymentNote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesPartialUpdate(context.Background(), deploymentId, id).DeploymentNote(deploymentNote).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesPartialUpdate(context.Background(), deploymentId, id).DeploymentNote(deploymentNote).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsNotesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsNotesPartialUpdate`: DeploymentNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsNotesPartialUpdate`: %v\n", resp) + // response from `V1CatalogDeploymentsNotesPartialUpdate`: DeploymentNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesPartialUpdate`: %v\n", resp) } ``` @@ -829,7 +849,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsNotesPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsNotesPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -856,9 +876,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsNotesRetrieve +## V1CatalogDeploymentsNotesRetrieve -> DeploymentNote CatalogDeploymentsNotesRetrieve(ctx, deploymentId, id).Fields(fields).Omit(omit).Execute() +> DeploymentNote V1CatalogDeploymentsNotesRetrieve(ctx, deploymentId, id).Fields(fields).Omit(omit).Execute() @@ -882,13 +902,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesRetrieve(context.Background(), deploymentId, id).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesRetrieve(context.Background(), deploymentId, id).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsNotesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsNotesRetrieve`: DeploymentNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsNotesRetrieve`: %v\n", resp) + // response from `V1CatalogDeploymentsNotesRetrieve`: DeploymentNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesRetrieve`: %v\n", resp) } ``` @@ -903,7 +923,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsNotesRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsNotesRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -931,9 +951,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsNotesUpdate +## V1CatalogDeploymentsNotesUpdate -> DeploymentNote CatalogDeploymentsNotesUpdate(ctx, deploymentId, id).DeploymentNote(deploymentNote).Execute() +> DeploymentNote V1CatalogDeploymentsNotesUpdate(ctx, deploymentId, id).DeploymentNote(deploymentNote).Execute() @@ -953,17 +973,17 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - deploymentNote := *openapiclient.NewDeploymentNote(time.Now(), "CreatedBy_example", openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "ModifiedBy_example") // DeploymentNote | + deploymentNote := *openapiclient.NewDeploymentNote(time.Now(), "CreatedBy_example", openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "ModifiedBy_example") // DeploymentNote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesUpdate(context.Background(), deploymentId, id).DeploymentNote(deploymentNote).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesUpdate(context.Background(), deploymentId, id).DeploymentNote(deploymentNote).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsNotesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsNotesUpdate`: DeploymentNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsNotesUpdate`: %v\n", resp) + // response from `V1CatalogDeploymentsNotesUpdate`: DeploymentNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsNotesUpdate`: %v\n", resp) } ``` @@ -978,7 +998,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsNotesUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsNotesUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -1005,9 +1025,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsPartialUpdate +## V1CatalogDeploymentsPartialUpdate -> DeploymentUpdate CatalogDeploymentsPartialUpdate(ctx, id).DeploymentUpdate(deploymentUpdate).Execute() +> DeploymentUpdate V1CatalogDeploymentsPartialUpdate(ctx, id).DeploymentUpdate(deploymentUpdate).Execute() @@ -1026,17 +1046,17 @@ import ( func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this deployment. - deploymentUpdate := *openapiclient.NewDeploymentUpdate("BastionOperatingSystem_example", "Cluster_example", time.Now(), openapiclient.Deployment_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "GarageId_example", "GpuAlias_example", NullableInt32(123), "GpuModel_example", "GpuOsName_example", "GpuOsRelease_example", "GpuOsVersion_example", "Id_example", NullableInt32(123), NullableInt32(123), time.Now(), NullableInt32(123), "OemName_example", interface{}(123), []string{"Pipelines_example"}, openapiclient.PriorityEnum("p0"), "ProviderName_example", "PublicKey_example", "Region_example", "RequestId_example", time.Now(), "SalesId_example", []string{"Services_example"}, false, "WorkshopId_example", "WorkshopOverridePassword_example") // DeploymentUpdate | (optional) + deploymentUpdate := *openapiclient.NewDeploymentUpdate("BastionOperatingSystem_example", "Cluster_example", time.Now(), "Experience_example", "GarageId_example", "GpuAlias_example", NullableInt32(123), "GpuModel_example", "GpuOsName_example", "GpuOsRelease_example", "GpuOsVersion_example", "Id_example", NullableInt32(123), NullableInt32(123), time.Now(), NullableInt32(123), "OemName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, openapiclient.PriorityEnum("p0"), "ProviderName_example", "PublicKey_example", "Region_example", "RequestId_example", time.Now(), "SalesId_example", []string{"Services_example"}, false, "WorkshopId_example", "WorkshopOverridePassword_example") // DeploymentUpdate | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsPartialUpdate(context.Background(), id).DeploymentUpdate(deploymentUpdate).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsPartialUpdate(context.Background(), id).DeploymentUpdate(deploymentUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsPartialUpdate`: DeploymentUpdate - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsPartialUpdate`: %v\n", resp) + // response from `V1CatalogDeploymentsPartialUpdate`: DeploymentUpdate + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsPartialUpdate`: %v\n", resp) } ``` @@ -1050,7 +1070,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -1076,9 +1096,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsPipelinesCreate +## V1CatalogDeploymentsPipelinesCreate -> DeploymentPipeline CatalogDeploymentsPipelinesCreate(ctx, deploymentId).DeploymentPipeline(deploymentPipeline).Execute() +> DeploymentPipeline V1CatalogDeploymentsPipelinesCreate(ctx, deploymentId).DeploymentPipeline(deploymentPipeline).Execute() @@ -1097,17 +1117,17 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - deploymentPipeline := *openapiclient.NewDeploymentPipeline(openapiclient.DeploymentPipelineActionEnum("apply"), time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), int64(123), "Url_example") // DeploymentPipeline | + deploymentPipeline := *openapiclient.NewDeploymentPipeline(openapiclient.PipelineAction("apply"), time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), int64(123), "Url_example") // DeploymentPipeline | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsPipelinesCreate(context.Background(), deploymentId).DeploymentPipeline(deploymentPipeline).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesCreate(context.Background(), deploymentId).DeploymentPipeline(deploymentPipeline).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsPipelinesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsPipelinesCreate`: DeploymentPipeline - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsPipelinesCreate`: %v\n", resp) + // response from `V1CatalogDeploymentsPipelinesCreate`: DeploymentPipeline + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesCreate`: %v\n", resp) } ``` @@ -1121,7 +1141,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsPipelinesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsPipelinesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -1147,9 +1167,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsPipelinesList +## V1CatalogDeploymentsPipelinesList -> PaginatedDeploymentPipelineList CatalogDeploymentsPipelinesList(ctx, deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).PipelineId(pipelineId).Search(search).Execute() +> PaginatedDeploymentPipelineList V1CatalogDeploymentsPipelinesList(ctx, deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).PipelineId(pipelineId).Search(search).Execute() @@ -1167,7 +1187,7 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - action := "action_example" // string | Action for the pipeline to run * `apply` - apply * `destroy` - destroy (optional) + action := "action_example" // string | Action for the pipeline to run * `apply` - apply * `destroy` - destroy * `notify` - notify (optional) id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) page := int32(56) // int32 | A page number within the paginated result set. (optional) @@ -1177,13 +1197,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsPipelinesList(context.Background(), deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).PipelineId(pipelineId).Search(search).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesList(context.Background(), deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).PipelineId(pipelineId).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsPipelinesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsPipelinesList`: PaginatedDeploymentPipelineList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsPipelinesList`: %v\n", resp) + // response from `V1CatalogDeploymentsPipelinesList`: PaginatedDeploymentPipelineList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesList`: %v\n", resp) } ``` @@ -1197,13 +1217,13 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsPipelinesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsPipelinesListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **action** | **string** | Action for the pipeline to run * `apply` - apply * `destroy` - destroy | + **action** | **string** | Action for the pipeline to run * `apply` - apply * `destroy` - destroy * `notify` - notify | **id** | **string** | | **ordering** | **string** | Which field to use when ordering the results. | **page** | **int32** | A page number within the paginated result set. | @@ -1229,9 +1249,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsRetrieve +## V1CatalogDeploymentsRetrieve -> Deployment CatalogDeploymentsRetrieve(ctx, id).Expand(expand).Expiring(expiring).Fields(fields).Omit(omit).Execute() +> Deployment V1CatalogDeploymentsRetrieve(ctx, id).Expand(expand).Expiring(expiring).Fields(fields).Omit(omit).Execute() @@ -1256,13 +1276,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsRetrieve(context.Background(), id).Expand(expand).Expiring(expiring).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsRetrieve(context.Background(), id).Expand(expand).Expiring(expiring).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsRetrieve`: Deployment - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsRetrieve`: %v\n", resp) + // response from `V1CatalogDeploymentsRetrieve`: Deployment + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsRetrieve`: %v\n", resp) } ``` @@ -1276,7 +1296,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -1305,9 +1325,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsServicesCreate +## V1CatalogDeploymentsServicesCreate -> DeploymentService CatalogDeploymentsServicesCreate(ctx, deploymentId).DeploymentService(deploymentService).Execute() +> DeploymentService V1CatalogDeploymentsServicesCreate(ctx, deploymentId).DeploymentService(deploymentService).Execute() @@ -1326,17 +1346,17 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - deploymentService := *openapiclient.NewDeploymentService(time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "Name_example", "Url_example") // DeploymentService | + deploymentService := *openapiclient.NewDeploymentService(time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "Name_example", "Url_example") // DeploymentService | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsServicesCreate(context.Background(), deploymentId).DeploymentService(deploymentService).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsServicesCreate(context.Background(), deploymentId).DeploymentService(deploymentService).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsServicesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsServicesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsServicesCreate`: DeploymentService - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsServicesCreate`: %v\n", resp) + // response from `V1CatalogDeploymentsServicesCreate`: DeploymentService + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsServicesCreate`: %v\n", resp) } ``` @@ -1350,7 +1370,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsServicesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsServicesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -1376,9 +1396,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsServicesList +## V1CatalogDeploymentsServicesList -> PaginatedDeploymentServiceList CatalogDeploymentsServicesList(ctx, deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() +> PaginatedDeploymentServiceList V1CatalogDeploymentsServicesList(ctx, deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() @@ -1405,13 +1425,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsServicesList(context.Background(), deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsServicesList(context.Background(), deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsServicesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsServicesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsServicesList`: PaginatedDeploymentServiceList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsServicesList`: %v\n", resp) + // response from `V1CatalogDeploymentsServicesList`: PaginatedDeploymentServiceList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsServicesList`: %v\n", resp) } ``` @@ -1425,7 +1445,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsServicesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsServicesListRequest struct via the builder pattern Name | Type | Description | Notes @@ -1456,9 +1476,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsSshKeysCreate +## V1CatalogDeploymentsSshKeysCreate -> DeploymentKey CatalogDeploymentsSshKeysCreate(ctx, deploymentId).DeploymentKey(deploymentKey).Execute() +> DeploymentKey V1CatalogDeploymentsSshKeysCreate(ctx, deploymentId).DeploymentKey(deploymentKey).Execute() @@ -1477,17 +1497,17 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - deploymentKey := *openapiclient.NewDeploymentKey(time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "Name_example", "PublicKey_example") // DeploymentKey | + deploymentKey := *openapiclient.NewDeploymentKey(time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), "Name_example", "PublicKey_example") // DeploymentKey | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsSshKeysCreate(context.Background(), deploymentId).DeploymentKey(deploymentKey).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysCreate(context.Background(), deploymentId).DeploymentKey(deploymentKey).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsSshKeysCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsSshKeysCreate`: DeploymentKey - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsSshKeysCreate`: %v\n", resp) + // response from `V1CatalogDeploymentsSshKeysCreate`: DeploymentKey + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysCreate`: %v\n", resp) } ``` @@ -1501,7 +1521,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsSshKeysCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsSshKeysCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -1527,9 +1547,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsSshKeysDestroy +## V1CatalogDeploymentsSshKeysDestroy -> CatalogDeploymentsSshKeysDestroy(ctx, deploymentId, id).Execute() +> V1CatalogDeploymentsSshKeysDestroy(ctx, deploymentId, id).Execute() @@ -1551,9 +1571,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsSshKeysDestroy(context.Background(), deploymentId, id).Execute() + r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysDestroy(context.Background(), deploymentId, id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsSshKeysDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -1570,7 +1590,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsSshKeysDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsSshKeysDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -1596,9 +1616,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsSshKeysList +## V1CatalogDeploymentsSshKeysList -> PaginatedDeploymentKeyList CatalogDeploymentsSshKeysList(ctx, deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() +> PaginatedDeploymentKeyList V1CatalogDeploymentsSshKeysList(ctx, deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() @@ -1625,13 +1645,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsSshKeysList(context.Background(), deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysList(context.Background(), deploymentId).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsSshKeysList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsSshKeysList`: PaginatedDeploymentKeyList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsSshKeysList`: %v\n", resp) + // response from `V1CatalogDeploymentsSshKeysList`: PaginatedDeploymentKeyList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysList`: %v\n", resp) } ``` @@ -1645,7 +1665,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsSshKeysListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsSshKeysListRequest struct via the builder pattern Name | Type | Description | Notes @@ -1676,9 +1696,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsStatsRetrieve +## V1CatalogDeploymentsStatsRetrieve -> CatalogDeploymentsStatsRetrieve(ctx).Execute() +> V1CatalogDeploymentsStatsRetrieve(ctx).Execute() 🚧 [Beta Feature] @@ -1698,9 +1718,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsStatsRetrieve(context.Background()).Execute() + r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsStatsRetrieve(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsStatsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsStatsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -1712,7 +1732,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsStatsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsStatsRetrieveRequest struct via the builder pattern ### Return type @@ -1733,9 +1753,9 @@ Other parameters are passed through a pointer to a apiCatalogDeploymentsStatsRet [[Back to README]](../README.md) -## CatalogDeploymentsTasksCreate +## V1CatalogDeploymentsTasksCreate -> DeploymentTask CatalogDeploymentsTasksCreate(ctx, deploymentId).DeploymentTask(deploymentTask).Execute() +> DeploymentTask V1CatalogDeploymentsTasksCreate(ctx, deploymentId).DeploymentTask(deploymentTask).Execute() 🚧 [Beta Feature] @@ -1754,17 +1774,17 @@ import ( func main() { deploymentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - deploymentTask := *openapiclient.NewDeploymentTask(openapiclient.DeploymentTaskActionEnum("start_instances"), time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), int32(123), openapiclient.StatusEnum("completed"), "StatusText_example") // DeploymentTask | + deploymentTask := *openapiclient.NewDeploymentTask(openapiclient.DeploymentTaskActionEnum("start_instances"), time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, "Id_example", time.Now(), int32(123), openapiclient.StatusEnum("completed"), "StatusText_example") // DeploymentTask | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsTasksCreate(context.Background(), deploymentId).DeploymentTask(deploymentTask).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsTasksCreate(context.Background(), deploymentId).DeploymentTask(deploymentTask).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsTasksCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsTasksCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsTasksCreate`: DeploymentTask - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsTasksCreate`: %v\n", resp) + // response from `V1CatalogDeploymentsTasksCreate`: DeploymentTask + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsTasksCreate`: %v\n", resp) } ``` @@ -1778,7 +1798,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsTasksCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsTasksCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -1804,9 +1824,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsTasksList +## V1CatalogDeploymentsTasksList -> PaginatedDeploymentTaskList CatalogDeploymentsTasksList(ctx, deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Status(status).Execute() +> PaginatedDeploymentTaskList V1CatalogDeploymentsTasksList(ctx, deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Status(status).Execute() 🚧 [Beta Feature] @@ -1834,13 +1854,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsTasksList(context.Background(), deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Status(status).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsTasksList(context.Background(), deploymentId).Action(action).Id(id).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Status(status).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsTasksList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsTasksList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsTasksList`: PaginatedDeploymentTaskList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsTasksList`: %v\n", resp) + // response from `V1CatalogDeploymentsTasksList`: PaginatedDeploymentTaskList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsTasksList`: %v\n", resp) } ``` @@ -1854,7 +1874,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsTasksListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsTasksListRequest struct via the builder pattern Name | Type | Description | Notes @@ -1886,9 +1906,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsTasksRetrieve +## V1CatalogDeploymentsTasksRetrieve -> DeploymentTask CatalogDeploymentsTasksRetrieve(ctx, deploymentId, id).Execute() +> DeploymentTask V1CatalogDeploymentsTasksRetrieve(ctx, deploymentId, id).Execute() 🚧 [Beta Feature] @@ -1910,13 +1930,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsTasksRetrieve(context.Background(), deploymentId, id).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsTasksRetrieve(context.Background(), deploymentId, id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsTasksRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsTasksRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsTasksRetrieve`: DeploymentTask - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsTasksRetrieve`: %v\n", resp) + // response from `V1CatalogDeploymentsTasksRetrieve`: DeploymentTask + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsTasksRetrieve`: %v\n", resp) } ``` @@ -1931,7 +1951,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsTasksRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsTasksRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -1957,9 +1977,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogDeploymentsUpdate +## V1CatalogDeploymentsUpdate -> DeploymentUpdate CatalogDeploymentsUpdate(ctx, id).DeploymentUpdate(deploymentUpdate).Execute() +> DeploymentUpdate V1CatalogDeploymentsUpdate(ctx, id).DeploymentUpdate(deploymentUpdate).Execute() @@ -1978,17 +1998,17 @@ import ( func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this deployment. - deploymentUpdate := *openapiclient.NewDeploymentUpdate("BastionOperatingSystem_example", "Cluster_example", time.Now(), openapiclient.Deployment_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "GarageId_example", "GpuAlias_example", NullableInt32(123), "GpuModel_example", "GpuOsName_example", "GpuOsRelease_example", "GpuOsVersion_example", "Id_example", NullableInt32(123), NullableInt32(123), time.Now(), NullableInt32(123), "OemName_example", interface{}(123), []string{"Pipelines_example"}, openapiclient.PriorityEnum("p0"), "ProviderName_example", "PublicKey_example", "Region_example", "RequestId_example", time.Now(), "SalesId_example", []string{"Services_example"}, false, "WorkshopId_example", "WorkshopOverridePassword_example") // DeploymentUpdate | (optional) + deploymentUpdate := *openapiclient.NewDeploymentUpdate("BastionOperatingSystem_example", "Cluster_example", time.Now(), "Experience_example", "GarageId_example", "GpuAlias_example", NullableInt32(123), "GpuModel_example", "GpuOsName_example", "GpuOsRelease_example", "GpuOsVersion_example", "Id_example", NullableInt32(123), NullableInt32(123), time.Now(), NullableInt32(123), "OemName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, openapiclient.PriorityEnum("p0"), "ProviderName_example", "PublicKey_example", "Region_example", "RequestId_example", time.Now(), "SalesId_example", []string{"Services_example"}, false, "WorkshopId_example", "WorkshopOverridePassword_example") // DeploymentUpdate | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsUpdate(context.Background(), id).DeploymentUpdate(deploymentUpdate).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsUpdate(context.Background(), id).DeploymentUpdate(deploymentUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogDeploymentsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogDeploymentsUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogDeploymentsUpdate`: DeploymentUpdate - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogDeploymentsUpdate`: %v\n", resp) + // response from `V1CatalogDeploymentsUpdate`: DeploymentUpdate + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogDeploymentsUpdate`: %v\n", resp) } ``` @@ -2002,7 +2022,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogDeploymentsUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogDeploymentsUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -2028,9 +2048,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesNotesCreate +## V1CatalogExperiencesNotesCreate -> ExperienceNote CatalogExperiencesNotesCreate(ctx, experienceId).ExperienceNote(experienceNote).Execute() +> ExperienceNote V1CatalogExperiencesNotesCreate(ctx, experienceId).ExperienceNote(experienceNote).Execute() @@ -2049,17 +2069,17 @@ import ( func main() { experienceId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - experienceNote := *openapiclient.NewExperienceNote(time.Now(), "CreatedBy_example", openapiclient.Deployment_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "Id_example", time.Now(), "ModifiedBy_example") // ExperienceNote | + experienceNote := *openapiclient.NewExperienceNote(time.Now(), "CreatedBy_example", openapiclient.ExperienceNote_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "Id_example", time.Now(), "ModifiedBy_example") // ExperienceNote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesCreate(context.Background(), experienceId).ExperienceNote(experienceNote).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesCreate(context.Background(), experienceId).ExperienceNote(experienceNote).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogExperiencesNotesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogExperiencesNotesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesNotesCreate`: ExperienceNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogExperiencesNotesCreate`: %v\n", resp) + // response from `V1CatalogExperiencesNotesCreate`: ExperienceNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogExperiencesNotesCreate`: %v\n", resp) } ``` @@ -2073,7 +2093,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesNotesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesNotesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -2099,9 +2119,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesNotesDestroy +## V1CatalogExperiencesNotesDestroy -> CatalogExperiencesNotesDestroy(ctx, experienceId, id).Execute() +> V1CatalogExperiencesNotesDestroy(ctx, experienceId, id).Execute() @@ -2123,9 +2143,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesDestroy(context.Background(), experienceId, id).Execute() + r, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesDestroy(context.Background(), experienceId, id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogExperiencesNotesDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogExperiencesNotesDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -2142,7 +2162,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesNotesDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesNotesDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -2168,9 +2188,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesNotesList +## V1CatalogExperiencesNotesList -> PaginatedExperienceNoteList CatalogExperiencesNotesList(ctx, experienceId).CreatedBy(createdBy).Experience(experience).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() +> PaginatedExperienceNoteList V1CatalogExperiencesNotesList(ctx, experienceId).CreatedBy(createdBy).Experience(experience).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() @@ -2201,13 +2221,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesList(context.Background(), experienceId).CreatedBy(createdBy).Experience(experience).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesList(context.Background(), experienceId).CreatedBy(createdBy).Experience(experience).Fields(fields).Id(id).ModifiedBy(modifiedBy).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogExperiencesNotesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogExperiencesNotesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesNotesList`: PaginatedExperienceNoteList - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogExperiencesNotesList`: %v\n", resp) + // response from `V1CatalogExperiencesNotesList`: PaginatedExperienceNoteList + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogExperiencesNotesList`: %v\n", resp) } ``` @@ -2221,7 +2241,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesNotesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesNotesListRequest struct via the builder pattern Name | Type | Description | Notes @@ -2256,9 +2276,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesNotesPartialUpdate +## V1CatalogExperiencesNotesPartialUpdate -> ExperienceNote CatalogExperiencesNotesPartialUpdate(ctx, experienceId, id).ExperienceNote(experienceNote).Execute() +> ExperienceNote V1CatalogExperiencesNotesPartialUpdate(ctx, experienceId, id).ExperienceNote(experienceNote).Execute() @@ -2278,17 +2298,17 @@ import ( func main() { experienceId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - experienceNote := *openapiclient.NewExperienceNote(time.Now(), "CreatedBy_example", openapiclient.Deployment_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "Id_example", time.Now(), "ModifiedBy_example") // ExperienceNote | + experienceNote := *openapiclient.NewExperienceNote(time.Now(), "CreatedBy_example", openapiclient.ExperienceNote_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "Id_example", time.Now(), "ModifiedBy_example") // ExperienceNote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesPartialUpdate(context.Background(), experienceId, id).ExperienceNote(experienceNote).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesPartialUpdate(context.Background(), experienceId, id).ExperienceNote(experienceNote).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogExperiencesNotesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogExperiencesNotesPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesNotesPartialUpdate`: ExperienceNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogExperiencesNotesPartialUpdate`: %v\n", resp) + // response from `V1CatalogExperiencesNotesPartialUpdate`: ExperienceNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogExperiencesNotesPartialUpdate`: %v\n", resp) } ``` @@ -2303,7 +2323,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesNotesPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesNotesPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -2330,9 +2350,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesNotesRetrieve +## V1CatalogExperiencesNotesRetrieve -> ExperienceNote CatalogExperiencesNotesRetrieve(ctx, experienceId, id).Fields(fields).Omit(omit).Execute() +> ExperienceNote V1CatalogExperiencesNotesRetrieve(ctx, experienceId, id).Fields(fields).Omit(omit).Execute() @@ -2356,13 +2376,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesRetrieve(context.Background(), experienceId, id).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesRetrieve(context.Background(), experienceId, id).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogExperiencesNotesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogExperiencesNotesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesNotesRetrieve`: ExperienceNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogExperiencesNotesRetrieve`: %v\n", resp) + // response from `V1CatalogExperiencesNotesRetrieve`: ExperienceNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogExperiencesNotesRetrieve`: %v\n", resp) } ``` @@ -2377,7 +2397,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesNotesRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesNotesRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -2405,9 +2425,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesNotesUpdate +## V1CatalogExperiencesNotesUpdate -> ExperienceNote CatalogExperiencesNotesUpdate(ctx, experienceId, id).ExperienceNote(experienceNote).Execute() +> ExperienceNote V1CatalogExperiencesNotesUpdate(ctx, experienceId, id).ExperienceNote(experienceNote).Execute() @@ -2427,17 +2447,17 @@ import ( func main() { experienceId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - experienceNote := *openapiclient.NewExperienceNote(time.Now(), "CreatedBy_example", openapiclient.Deployment_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "Id_example", time.Now(), "ModifiedBy_example") // ExperienceNote | + experienceNote := *openapiclient.NewExperienceNote(time.Now(), "CreatedBy_example", openapiclient.ExperienceNote_experience{Experience: openapiclient.NewExperience("CatalogId_example", openapiclient.CategoryEnum("AI"), time.Now(), "Experience_example", *openapiclient.NewGpuOs("Name_example", "Release_example", "Version_example"), "Id_example", time.Now(), "Persona_example", int64(123), openapiclient.PlatformEnum("air"), openapiclient.SystemArchEnum("amd64"), "Title_example")}, "Id_example", time.Now(), "ModifiedBy_example") // ExperienceNote | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesUpdate(context.Background(), experienceId, id).ExperienceNote(experienceNote).Execute() + resp, r, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesUpdate(context.Background(), experienceId, id).ExperienceNote(experienceNote).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.CatalogExperiencesNotesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogDeploymentsAPI.V1CatalogExperiencesNotesUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesNotesUpdate`: ExperienceNote - fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.CatalogExperiencesNotesUpdate`: %v\n", resp) + // response from `V1CatalogExperiencesNotesUpdate`: ExperienceNote + fmt.Fprintf(os.Stdout, "Response from `CatalogDeploymentsAPI.V1CatalogExperiencesNotesUpdate`: %v\n", resp) } ``` @@ -2452,7 +2472,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesNotesUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesNotesUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/CatalogExperiencesAPI.md b/v1/providers/launchpad/gen/launchpad/docs/CatalogExperiencesAPI.md index 676569c3..d0500a66 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/CatalogExperiencesAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/CatalogExperiencesAPI.md @@ -4,22 +4,22 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CatalogExperiencesBulkCreate**](CatalogExperiencesAPI.md#CatalogExperiencesBulkCreate) | **Post** /v1/catalog/experiences/bulk/ | -[**CatalogExperiencesBulkPartialUpdate**](CatalogExperiencesAPI.md#CatalogExperiencesBulkPartialUpdate) | **Patch** /v1/catalog/experiences/bulk/ | -[**CatalogExperiencesCreate**](CatalogExperiencesAPI.md#CatalogExperiencesCreate) | **Post** /v1/catalog/experiences/ | -[**CatalogExperiencesDestroy**](CatalogExperiencesAPI.md#CatalogExperiencesDestroy) | **Delete** /v1/catalog/experiences/{id}/ | -[**CatalogExperiencesHistoryList**](CatalogExperiencesAPI.md#CatalogExperiencesHistoryList) | **Get** /v1/catalog/experiences/{id}/history/ | -[**CatalogExperiencesList**](CatalogExperiencesAPI.md#CatalogExperiencesList) | **Get** /v1/catalog/experiences/ | -[**CatalogExperiencesPartialUpdate**](CatalogExperiencesAPI.md#CatalogExperiencesPartialUpdate) | **Patch** /v1/catalog/experiences/{id}/ | -[**CatalogExperiencesRetrieve**](CatalogExperiencesAPI.md#CatalogExperiencesRetrieve) | **Get** /v1/catalog/experiences/{id}/ | -[**CatalogExperiencesStatsRetrieve**](CatalogExperiencesAPI.md#CatalogExperiencesStatsRetrieve) | **Get** /v1/catalog/experiences/stats/ | 🚧 [Beta Feature] -[**CatalogExperiencesUpdate**](CatalogExperiencesAPI.md#CatalogExperiencesUpdate) | **Put** /v1/catalog/experiences/{id}/ | +[**V1CatalogExperiencesBulkCreate**](CatalogExperiencesAPI.md#V1CatalogExperiencesBulkCreate) | **Post** /v1/catalog/experiences/bulk/ | +[**V1CatalogExperiencesBulkPartialUpdate**](CatalogExperiencesAPI.md#V1CatalogExperiencesBulkPartialUpdate) | **Patch** /v1/catalog/experiences/bulk/ | +[**V1CatalogExperiencesCreate**](CatalogExperiencesAPI.md#V1CatalogExperiencesCreate) | **Post** /v1/catalog/experiences/ | +[**V1CatalogExperiencesDestroy**](CatalogExperiencesAPI.md#V1CatalogExperiencesDestroy) | **Delete** /v1/catalog/experiences/{id}/ | +[**V1CatalogExperiencesHistoryList**](CatalogExperiencesAPI.md#V1CatalogExperiencesHistoryList) | **Get** /v1/catalog/experiences/{id}/history/ | +[**V1CatalogExperiencesList**](CatalogExperiencesAPI.md#V1CatalogExperiencesList) | **Get** /v1/catalog/experiences/ | +[**V1CatalogExperiencesPartialUpdate**](CatalogExperiencesAPI.md#V1CatalogExperiencesPartialUpdate) | **Patch** /v1/catalog/experiences/{id}/ | +[**V1CatalogExperiencesRetrieve**](CatalogExperiencesAPI.md#V1CatalogExperiencesRetrieve) | **Get** /v1/catalog/experiences/{id}/ | +[**V1CatalogExperiencesStatsRetrieve**](CatalogExperiencesAPI.md#V1CatalogExperiencesStatsRetrieve) | **Get** /v1/catalog/experiences/stats/ | 🚧 [Beta Feature] +[**V1CatalogExperiencesUpdate**](CatalogExperiencesAPI.md#V1CatalogExperiencesUpdate) | **Put** /v1/catalog/experiences/{id}/ | -## CatalogExperiencesBulkCreate +## V1CatalogExperiencesBulkCreate -> ExperienceBulk CatalogExperiencesBulkCreate(ctx).CsvFile(csvFile).Execute() +> ExperienceBulk V1CatalogExperiencesBulkCreate(ctx).CsvFile(csvFile).Execute() @@ -42,13 +42,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesBulkCreate(context.Background()).CsvFile(csvFile).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesBulkCreate(context.Background()).CsvFile(csvFile).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesBulkCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesBulkCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesBulkCreate`: ExperienceBulk - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesBulkCreate`: %v\n", resp) + // response from `V1CatalogExperiencesBulkCreate`: ExperienceBulk + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesBulkCreate`: %v\n", resp) } ``` @@ -58,7 +58,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesBulkCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesBulkCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -83,9 +83,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesBulkPartialUpdate +## V1CatalogExperiencesBulkPartialUpdate -> ExperienceBulkUpdate CatalogExperiencesBulkPartialUpdate(ctx).ExperienceBulkUpdate(experienceBulkUpdate).Execute() +> ExperienceBulkUpdate V1CatalogExperiencesBulkPartialUpdate(ctx).ExperienceBulkUpdate(experienceBulkUpdate).Execute() @@ -107,13 +107,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesBulkPartialUpdate(context.Background()).ExperienceBulkUpdate(experienceBulkUpdate).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesBulkPartialUpdate(context.Background()).ExperienceBulkUpdate(experienceBulkUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesBulkPartialUpdate`: ExperienceBulkUpdate - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesBulkPartialUpdate`: %v\n", resp) + // response from `V1CatalogExperiencesBulkPartialUpdate`: ExperienceBulkUpdate + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesBulkPartialUpdate`: %v\n", resp) } ``` @@ -123,7 +123,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -148,9 +148,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesCreate +## V1CatalogExperiencesCreate -> Experience CatalogExperiencesCreate(ctx).Experience(experience).Execute() +> Experience V1CatalogExperiencesCreate(ctx).Experience(experience).Execute() @@ -172,13 +172,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesCreate(context.Background()).Experience(experience).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesCreate(context.Background()).Experience(experience).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesCreate`: Experience - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesCreate`: %v\n", resp) + // response from `V1CatalogExperiencesCreate`: Experience + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesCreate`: %v\n", resp) } ``` @@ -188,7 +188,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -213,9 +213,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesDestroy +## V1CatalogExperiencesDestroy -> CatalogExperiencesDestroy(ctx, id).Execute() +> V1CatalogExperiencesDestroy(ctx, id).Execute() @@ -236,9 +236,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesDestroy(context.Background(), id).Execute() + r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -254,7 +254,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -279,9 +279,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesHistoryList +## V1CatalogExperiencesHistoryList -> PaginatedModelChangeList CatalogExperiencesHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1CatalogExperiencesHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -304,13 +304,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesHistoryList`: %v\n", resp) + // response from `V1CatalogExperiencesHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesHistoryList`: %v\n", resp) } ``` @@ -324,7 +324,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -351,9 +351,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesList +## V1CatalogExperiencesList -> PaginatedExperienceList CatalogExperiencesList(ctx).Assignee(assignee).Autoapprove(autoapprove).Autoprovision(autoprovision).Bootstrap(bootstrap).CatalogId(catalogId).CatalogIdAlias(catalogIdAlias).Category(category).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Fields(fields).GarageId(garageId).GcBranch(gcBranch).GpuCount(gpuCount).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persona(persona).Pipeline(pipeline).Platform(platform).Provider(provider).Published(published).RequiresGpu(requiresGpu).SaLab(saLab).Search(search).SystemArch(systemArch).VgpuProfile(vgpuProfile).Execute() +> PaginatedExperienceList V1CatalogExperiencesList(ctx).Assignee(assignee).Autoapprove(autoapprove).Autoprovision(autoprovision).Bootstrap(bootstrap).CatalogId(catalogId).CatalogIdAlias(catalogIdAlias).Category(category).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Fields(fields).GarageId(garageId).GcBranch(gcBranch).GpuCount(gpuCount).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persona(persona).Pipeline(pipeline).Platform(platform).Provider(provider).Published(published).RequiresGpu(requiresGpu).SaLab(saLab).Search(search).SystemArch(systemArch).VgpuProfile(vgpuProfile).Execute() @@ -407,13 +407,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesList(context.Background()).Assignee(assignee).Autoapprove(autoapprove).Autoprovision(autoprovision).Bootstrap(bootstrap).CatalogId(catalogId).CatalogIdAlias(catalogIdAlias).Category(category).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Fields(fields).GarageId(garageId).GcBranch(gcBranch).GpuCount(gpuCount).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persona(persona).Pipeline(pipeline).Platform(platform).Provider(provider).Published(published).RequiresGpu(requiresGpu).SaLab(saLab).Search(search).SystemArch(systemArch).VgpuProfile(vgpuProfile).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesList(context.Background()).Assignee(assignee).Autoapprove(autoapprove).Autoprovision(autoprovision).Bootstrap(bootstrap).CatalogId(catalogId).CatalogIdAlias(catalogIdAlias).Category(category).CollectionBranch(collectionBranch).Expand(expand).Experience(experience).ExperienceBranch(experienceBranch).Fields(fields).GarageId(garageId).GcBranch(gcBranch).GpuCount(gpuCount).GpuOsName(gpuOsName).GpuOsRelease(gpuOsRelease).GpuOsVersion(gpuOsVersion).Id(id).NodeCount(nodeCount).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persona(persona).Pipeline(pipeline).Platform(platform).Provider(provider).Published(published).RequiresGpu(requiresGpu).SaLab(saLab).Search(search).SystemArch(systemArch).VgpuProfile(vgpuProfile).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesList`: PaginatedExperienceList - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesList`: %v\n", resp) + // response from `V1CatalogExperiencesList`: PaginatedExperienceList + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesList`: %v\n", resp) } ``` @@ -423,7 +423,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesListRequest struct via the builder pattern Name | Type | Description | Notes @@ -481,9 +481,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesPartialUpdate +## V1CatalogExperiencesPartialUpdate -> Experience CatalogExperiencesPartialUpdate(ctx, id).Experience(experience).Execute() +> Experience V1CatalogExperiencesPartialUpdate(ctx, id).Experience(experience).Execute() @@ -506,13 +506,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesPartialUpdate(context.Background(), id).Experience(experience).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesPartialUpdate(context.Background(), id).Experience(experience).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesPartialUpdate`: Experience - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesPartialUpdate`: %v\n", resp) + // response from `V1CatalogExperiencesPartialUpdate`: Experience + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesPartialUpdate`: %v\n", resp) } ``` @@ -526,7 +526,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -552,9 +552,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesRetrieve +## V1CatalogExperiencesRetrieve -> Experience CatalogExperiencesRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() +> Experience V1CatalogExperiencesRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() @@ -578,13 +578,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesRetrieve`: Experience - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesRetrieve`: %v\n", resp) + // response from `V1CatalogExperiencesRetrieve`: Experience + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesRetrieve`: %v\n", resp) } ``` @@ -598,7 +598,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -626,9 +626,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogExperiencesStatsRetrieve +## V1CatalogExperiencesStatsRetrieve -> CatalogExperiencesStatsRetrieve(ctx).Execute() +> V1CatalogExperiencesStatsRetrieve(ctx).Execute() 🚧 [Beta Feature] @@ -648,9 +648,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesStatsRetrieve(context.Background()).Execute() + r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesStatsRetrieve(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesStatsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesStatsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -662,7 +662,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesStatsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesStatsRetrieveRequest struct via the builder pattern ### Return type @@ -683,9 +683,9 @@ Other parameters are passed through a pointer to a apiCatalogExperiencesStatsRet [[Back to README]](../README.md) -## CatalogExperiencesUpdate +## V1CatalogExperiencesUpdate -> Experience CatalogExperiencesUpdate(ctx, id).Experience(experience).Execute() +> Experience V1CatalogExperiencesUpdate(ctx, id).Experience(experience).Execute() @@ -708,13 +708,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesUpdate(context.Background(), id).Experience(experience).Execute() + resp, r, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesUpdate(context.Background(), id).Experience(experience).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.CatalogExperiencesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogExperiencesAPI.V1CatalogExperiencesUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogExperiencesUpdate`: Experience - fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.CatalogExperiencesUpdate`: %v\n", resp) + // response from `V1CatalogExperiencesUpdate`: Experience + fmt.Fprintf(os.Stdout, "Response from `CatalogExperiencesAPI.V1CatalogExperiencesUpdate`: %v\n", resp) } ``` @@ -728,7 +728,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogExperiencesUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogExperiencesUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/CatalogGpuOsChoicesAPI.md b/v1/providers/launchpad/gen/launchpad/docs/CatalogGpuOsChoicesAPI.md index beb203d0..e1c069c8 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/CatalogGpuOsChoicesAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/CatalogGpuOsChoicesAPI.md @@ -4,14 +4,14 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CatalogGpuOsChoicesCreate**](CatalogGpuOsChoicesAPI.md#CatalogGpuOsChoicesCreate) | **Post** /v1/catalog/gpu-os-choices/ | -[**CatalogGpuOsChoicesList**](CatalogGpuOsChoicesAPI.md#CatalogGpuOsChoicesList) | **Get** /v1/catalog/gpu-os-choices/ | +[**V1CatalogGpuOsChoicesCreate**](CatalogGpuOsChoicesAPI.md#V1CatalogGpuOsChoicesCreate) | **Post** /v1/catalog/gpu-os-choices/ | +[**V1CatalogGpuOsChoicesList**](CatalogGpuOsChoicesAPI.md#V1CatalogGpuOsChoicesList) | **Get** /v1/catalog/gpu-os-choices/ | -## CatalogGpuOsChoicesCreate +## V1CatalogGpuOsChoicesCreate -> GpuOsChoice CatalogGpuOsChoicesCreate(ctx).GpuOsChoice(gpuOsChoice).Execute() +> GpuOsChoice V1CatalogGpuOsChoicesCreate(ctx).GpuOsChoice(gpuOsChoice).Execute() @@ -33,13 +33,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesCreate(context.Background()).GpuOsChoice(gpuOsChoice).Execute() + resp, r, err := apiClient.CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesCreate(context.Background()).GpuOsChoice(gpuOsChoice).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogGpuOsChoicesCreate`: GpuOsChoice - fmt.Fprintf(os.Stdout, "Response from `CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesCreate`: %v\n", resp) + // response from `V1CatalogGpuOsChoicesCreate`: GpuOsChoice + fmt.Fprintf(os.Stdout, "Response from `CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesCreate`: %v\n", resp) } ``` @@ -49,7 +49,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogGpuOsChoicesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogGpuOsChoicesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -74,9 +74,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogGpuOsChoicesList +## V1CatalogGpuOsChoicesList -> PaginatedGpuOsChoiceList CatalogGpuOsChoicesList(ctx).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() +> PaginatedGpuOsChoiceList V1CatalogGpuOsChoicesList(ctx).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() @@ -102,13 +102,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesList(context.Background()).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + resp, r, err := apiClient.CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesList(context.Background()).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogGpuOsChoicesList`: PaginatedGpuOsChoiceList - fmt.Fprintf(os.Stdout, "Response from `CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesList`: %v\n", resp) + // response from `V1CatalogGpuOsChoicesList`: PaginatedGpuOsChoiceList + fmt.Fprintf(os.Stdout, "Response from `CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesList`: %v\n", resp) } ``` @@ -118,7 +118,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogGpuOsChoicesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogGpuOsChoicesListRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/CatalogInstanceTypesAPI.md b/v1/providers/launchpad/gen/launchpad/docs/CatalogInstanceTypesAPI.md index bdb3e68e..c6ed87ae 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/CatalogInstanceTypesAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/CatalogInstanceTypesAPI.md @@ -4,13 +4,13 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CatalogInstanceTypesList**](CatalogInstanceTypesAPI.md#CatalogInstanceTypesList) | **Get** /v1/catalog/instance-types/ | +[**V1CatalogInstanceTypesList**](CatalogInstanceTypesAPI.md#V1CatalogInstanceTypesList) | **Get** /v1/catalog/instance-types/ | -## CatalogInstanceTypesList +## V1CatalogInstanceTypesList -> PaginatedInstanceTypeList CatalogInstanceTypesList(ctx).Page(page).PageSize(pageSize).Execute() +> PaginatedInstanceTypeList V1CatalogInstanceTypesList(ctx).Delivery(delivery).Page(page).PageSize(pageSize).Execute() @@ -27,18 +27,19 @@ import ( ) func main() { + delivery := "delivery_example" // string | Limit results to instance types that can meet the given delivery timelines. (optional) page := int32(56) // int32 | A page number within the paginated result set. (optional) pageSize := int32(56) // int32 | Number of results to return per page. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogInstanceTypesAPI.CatalogInstanceTypesList(context.Background()).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.CatalogInstanceTypesAPI.V1CatalogInstanceTypesList(context.Background()).Delivery(delivery).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogInstanceTypesAPI.CatalogInstanceTypesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogInstanceTypesAPI.V1CatalogInstanceTypesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogInstanceTypesList`: PaginatedInstanceTypeList - fmt.Fprintf(os.Stdout, "Response from `CatalogInstanceTypesAPI.CatalogInstanceTypesList`: %v\n", resp) + // response from `V1CatalogInstanceTypesList`: PaginatedInstanceTypeList + fmt.Fprintf(os.Stdout, "Response from `CatalogInstanceTypesAPI.V1CatalogInstanceTypesList`: %v\n", resp) } ``` @@ -48,11 +49,12 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogInstanceTypesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogInstanceTypesListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **delivery** | **string** | Limit results to instance types that can meet the given delivery timelines. | **page** | **int32** | A page number within the paginated result set. | **pageSize** | **int32** | Number of results to return per page. | diff --git a/v1/providers/launchpad/gen/launchpad/docs/CatalogPersonaChoicesAPI.md b/v1/providers/launchpad/gen/launchpad/docs/CatalogPersonaChoicesAPI.md index d92c8935..31a16a89 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/CatalogPersonaChoicesAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/CatalogPersonaChoicesAPI.md @@ -4,14 +4,14 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**CatalogPersonaChoicesCreate**](CatalogPersonaChoicesAPI.md#CatalogPersonaChoicesCreate) | **Post** /v1/catalog/persona-choices/ | -[**CatalogPersonaChoicesList**](CatalogPersonaChoicesAPI.md#CatalogPersonaChoicesList) | **Get** /v1/catalog/persona-choices/ | +[**V1CatalogPersonaChoicesCreate**](CatalogPersonaChoicesAPI.md#V1CatalogPersonaChoicesCreate) | **Post** /v1/catalog/persona-choices/ | +[**V1CatalogPersonaChoicesList**](CatalogPersonaChoicesAPI.md#V1CatalogPersonaChoicesList) | **Get** /v1/catalog/persona-choices/ | -## CatalogPersonaChoicesCreate +## V1CatalogPersonaChoicesCreate -> PersonaChoice CatalogPersonaChoicesCreate(ctx).PersonaChoice(personaChoice).Execute() +> PersonaChoice V1CatalogPersonaChoicesCreate(ctx).PersonaChoice(personaChoice).Execute() @@ -33,13 +33,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogPersonaChoicesAPI.CatalogPersonaChoicesCreate(context.Background()).PersonaChoice(personaChoice).Execute() + resp, r, err := apiClient.CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesCreate(context.Background()).PersonaChoice(personaChoice).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogPersonaChoicesAPI.CatalogPersonaChoicesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogPersonaChoicesCreate`: PersonaChoice - fmt.Fprintf(os.Stdout, "Response from `CatalogPersonaChoicesAPI.CatalogPersonaChoicesCreate`: %v\n", resp) + // response from `V1CatalogPersonaChoicesCreate`: PersonaChoice + fmt.Fprintf(os.Stdout, "Response from `CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesCreate`: %v\n", resp) } ``` @@ -49,7 +49,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogPersonaChoicesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogPersonaChoicesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -74,9 +74,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## CatalogPersonaChoicesList +## V1CatalogPersonaChoicesList -> PaginatedPersonaChoiceList CatalogPersonaChoicesList(ctx).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() +> PaginatedPersonaChoiceList V1CatalogPersonaChoicesList(ctx).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() @@ -102,13 +102,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CatalogPersonaChoicesAPI.CatalogPersonaChoicesList(context.Background()).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + resp, r, err := apiClient.CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesList(context.Background()).Fields(fields).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `CatalogPersonaChoicesAPI.CatalogPersonaChoicesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CatalogPersonaChoicesList`: PaginatedPersonaChoiceList - fmt.Fprintf(os.Stdout, "Response from `CatalogPersonaChoicesAPI.CatalogPersonaChoicesList`: %v\n", resp) + // response from `V1CatalogPersonaChoicesList`: PaginatedPersonaChoiceList + fmt.Fprintf(os.Stdout, "Response from `CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesList`: %v\n", resp) } ``` @@ -118,7 +118,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiCatalogPersonaChoicesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1CatalogPersonaChoicesListRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/CatalogRuntimesAPI.md b/v1/providers/launchpad/gen/launchpad/docs/CatalogRuntimesAPI.md new file mode 100644 index 00000000..553cc647 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/CatalogRuntimesAPI.md @@ -0,0 +1,526 @@ +# \CatalogRuntimesAPI + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**V1CatalogRuntimesCreate**](CatalogRuntimesAPI.md#V1CatalogRuntimesCreate) | **Post** /v1/catalog/runtimes/ | +[**V1CatalogRuntimesDestroy**](CatalogRuntimesAPI.md#V1CatalogRuntimesDestroy) | **Delete** /v1/catalog/runtimes/{id}/ | +[**V1CatalogRuntimesHistoryList**](CatalogRuntimesAPI.md#V1CatalogRuntimesHistoryList) | **Get** /v1/catalog/runtimes/{id}/history/ | +[**V1CatalogRuntimesList**](CatalogRuntimesAPI.md#V1CatalogRuntimesList) | **Get** /v1/catalog/runtimes/ | +[**V1CatalogRuntimesPartialUpdate**](CatalogRuntimesAPI.md#V1CatalogRuntimesPartialUpdate) | **Patch** /v1/catalog/runtimes/{id}/ | +[**V1CatalogRuntimesRetrieve**](CatalogRuntimesAPI.md#V1CatalogRuntimesRetrieve) | **Get** /v1/catalog/runtimes/{id}/ | +[**V1CatalogRuntimesUpdate**](CatalogRuntimesAPI.md#V1CatalogRuntimesUpdate) | **Put** /v1/catalog/runtimes/{id}/ | + + + +## V1CatalogRuntimesCreate + +> Runtime V1CatalogRuntimesCreate(ctx).Runtime(runtime).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + runtime := *openapiclient.NewRuntime(time.Now(), "Id_example", time.Now(), "Name_example", "Url_example") // Runtime | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesCreate(context.Background()).Runtime(runtime).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CatalogRuntimesAPI.V1CatalogRuntimesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1CatalogRuntimesCreate`: Runtime + fmt.Fprintf(os.Stdout, "Response from `CatalogRuntimesAPI.V1CatalogRuntimesCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1CatalogRuntimesCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **runtime** | [**Runtime**](Runtime.md) | | + +### Return type + +[**Runtime**](Runtime.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data +- **Accept**: application/json + +[[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) + + +## V1CatalogRuntimesDestroy + +> V1CatalogRuntimesDestroy(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this runtime. + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesDestroy(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CatalogRuntimesAPI.V1CatalogRuntimesDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | A UUID string identifying this runtime. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1CatalogRuntimesDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[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) + + +## V1CatalogRuntimesHistoryList + +> PaginatedModelChangeList V1CatalogRuntimesHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + page := int32(56) // int32 | A page number within the paginated result set. (optional) + pageSize := int32(56) // int32 | Number of results to return per page. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CatalogRuntimesAPI.V1CatalogRuntimesHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1CatalogRuntimesHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `CatalogRuntimesAPI.V1CatalogRuntimesHistoryList`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1CatalogRuntimesHistoryListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **page** | **int32** | A page number within the paginated result set. | + **pageSize** | **int32** | Number of results to return per page. | + +### Return type + +[**PaginatedModelChangeList**](PaginatedModelChangeList.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[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) + + +## V1CatalogRuntimesList + +> PaginatedRuntimeList V1CatalogRuntimesList(ctx).Branch(branch).CnsAddonPack(cnsAddonPack).CnsDocker(cnsDocker).CnsDriverVersion(cnsDriverVersion).CnsK8s(cnsK8s).CnsNvidiaDriver(cnsNvidiaDriver).CnsVersion(cnsVersion).Fields(fields).Id(id).Mig(mig).MigProfile(migProfile).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + branch := "branch_example" // string | (optional) + cnsAddonPack := true // bool | (optional) + cnsDocker := true // bool | (optional) + cnsDriverVersion := "cnsDriverVersion_example" // string | (optional) + cnsK8s := true // bool | (optional) + cnsNvidiaDriver := true // bool | (optional) + cnsVersion := "cnsVersion_example" // string | (optional) + fields := "fields_example" // string | Include only the specified fields in the response (optional) + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + mig := true // bool | (optional) + migProfile := "migProfile_example" // string | (optional) + omit := "omit_example" // string | Exclude the specified fields in the response (optional) + ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) + page := int32(56) // int32 | A page number within the paginated result set. (optional) + pageSize := int32(56) // int32 | Number of results to return per page. (optional) + search := "search_example" // string | Search for runtimes by branch, cns_driver_version, cns_version, mig_profile, id, name, url (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesList(context.Background()).Branch(branch).CnsAddonPack(cnsAddonPack).CnsDocker(cnsDocker).CnsDriverVersion(cnsDriverVersion).CnsK8s(cnsK8s).CnsNvidiaDriver(cnsNvidiaDriver).CnsVersion(cnsVersion).Fields(fields).Id(id).Mig(mig).MigProfile(migProfile).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CatalogRuntimesAPI.V1CatalogRuntimesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1CatalogRuntimesList`: PaginatedRuntimeList + fmt.Fprintf(os.Stdout, "Response from `CatalogRuntimesAPI.V1CatalogRuntimesList`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1CatalogRuntimesListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **branch** | **string** | | + **cnsAddonPack** | **bool** | | + **cnsDocker** | **bool** | | + **cnsDriverVersion** | **string** | | + **cnsK8s** | **bool** | | + **cnsNvidiaDriver** | **bool** | | + **cnsVersion** | **string** | | + **fields** | **string** | Include only the specified fields in the response | + **id** | **string** | | + **mig** | **bool** | | + **migProfile** | **string** | | + **omit** | **string** | Exclude the specified fields in the response | + **ordering** | **string** | Which field to use when ordering the results. | + **page** | **int32** | A page number within the paginated result set. | + **pageSize** | **int32** | Number of results to return per page. | + **search** | **string** | Search for runtimes by branch, cns_driver_version, cns_version, mig_profile, id, name, url | + +### Return type + +[**PaginatedRuntimeList**](PaginatedRuntimeList.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[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) + + +## V1CatalogRuntimesPartialUpdate + +> Runtime V1CatalogRuntimesPartialUpdate(ctx, id).Runtime(runtime).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this runtime. + runtime := *openapiclient.NewRuntime(time.Now(), "Id_example", time.Now(), "Name_example", "Url_example") // Runtime | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesPartialUpdate(context.Background(), id).Runtime(runtime).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CatalogRuntimesAPI.V1CatalogRuntimesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1CatalogRuntimesPartialUpdate`: Runtime + fmt.Fprintf(os.Stdout, "Response from `CatalogRuntimesAPI.V1CatalogRuntimesPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | A UUID string identifying this runtime. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1CatalogRuntimesPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **runtime** | [**Runtime**](Runtime.md) | | + +### Return type + +[**Runtime**](Runtime.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data +- **Accept**: application/json + +[[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) + + +## V1CatalogRuntimesRetrieve + +> Runtime V1CatalogRuntimesRetrieve(ctx, id).Fields(fields).Omit(omit).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this runtime. + fields := "fields_example" // string | Include only the specified fields in the response (optional) + omit := "omit_example" // string | Exclude the specified fields in the response (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesRetrieve(context.Background(), id).Fields(fields).Omit(omit).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CatalogRuntimesAPI.V1CatalogRuntimesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1CatalogRuntimesRetrieve`: Runtime + fmt.Fprintf(os.Stdout, "Response from `CatalogRuntimesAPI.V1CatalogRuntimesRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | A UUID string identifying this runtime. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1CatalogRuntimesRetrieveRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **fields** | **string** | Include only the specified fields in the response | + **omit** | **string** | Exclude the specified fields in the response | + +### Return type + +[**Runtime**](Runtime.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[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) + + +## V1CatalogRuntimesUpdate + +> Runtime V1CatalogRuntimesUpdate(ctx, id).Runtime(runtime).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this runtime. + runtime := *openapiclient.NewRuntime(time.Now(), "Id_example", time.Now(), "Name_example", "Url_example") // Runtime | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesUpdate(context.Background(), id).Runtime(runtime).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CatalogRuntimesAPI.V1CatalogRuntimesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1CatalogRuntimesUpdate`: Runtime + fmt.Fprintf(os.Stdout, "Response from `CatalogRuntimesAPI.V1CatalogRuntimesUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | A UUID string identifying this runtime. | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1CatalogRuntimesUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **runtime** | [**Runtime**](Runtime.md) | | + +### Return type + +[**Runtime**](Runtime.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data +- **Accept**: application/json + +[[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) + diff --git a/v1/providers/launchpad/gen/launchpad/docs/Cluster.md b/v1/providers/launchpad/gen/launchpad/docs/Cluster.md index 8e907151..471a9cce 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/Cluster.md +++ b/v1/providers/launchpad/gen/launchpad/docs/Cluster.md @@ -29,6 +29,8 @@ Name | Type | Description | Notes **ProviderCapacity** | **bool** | Does the provider have capacity to provision this cluster? | [readonly] **ProvisionUser** | Pointer to **NullableString** | Username used for provisioning this cluster | [optional] **ProvisioningAttempts** | Pointer to **int32** | The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. | [optional] +**ProvisioningConfig** | Pointer to **NullableString** | Applied provisioning configuration for the cluster | [optional] +**ProvisioningRequest** | Pointer to **NullableString** | Requested provisioning configuration for the cluster | [optional] **ProvisioningState** | Pointer to [**ProvisioningStateEnum**](ProvisioningStateEnum.md) | Is the cluster currently provisioned? * `deployed` - Cluster is in use by a deployment * `deploying` - Provisioning is in progress * `destroying` - Cluster is being destroyed * `pending` - Provisioning will begin soon * `ready` - Provisioning has completed and is ready for a deployment * `reserved` - Cluster is unprovisioned but reserved for later use * `unprovisioned` - Cluster has not yet been provisioned | [optional] **PublicAddress** | Pointer to **NullableString** | Public IP address or fully-qualified domain name of this cluster | [optional] **RequestId** | Pointer to **NullableString** | The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234) | [optional] @@ -717,6 +719,76 @@ SetProvisioningAttempts sets ProvisioningAttempts field to given value. HasProvisioningAttempts returns a boolean if a field has been set. +### GetProvisioningConfig + +`func (o *Cluster) GetProvisioningConfig() string` + +GetProvisioningConfig returns the ProvisioningConfig field if non-nil, zero value otherwise. + +### GetProvisioningConfigOk + +`func (o *Cluster) GetProvisioningConfigOk() (*string, bool)` + +GetProvisioningConfigOk returns a tuple with the ProvisioningConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvisioningConfig + +`func (o *Cluster) SetProvisioningConfig(v string)` + +SetProvisioningConfig sets ProvisioningConfig field to given value. + +### HasProvisioningConfig + +`func (o *Cluster) HasProvisioningConfig() bool` + +HasProvisioningConfig returns a boolean if a field has been set. + +### SetProvisioningConfigNil + +`func (o *Cluster) SetProvisioningConfigNil(b bool)` + + SetProvisioningConfigNil sets the value for ProvisioningConfig to be an explicit nil + +### UnsetProvisioningConfig +`func (o *Cluster) UnsetProvisioningConfig()` + +UnsetProvisioningConfig ensures that no value is present for ProvisioningConfig, not even an explicit nil +### GetProvisioningRequest + +`func (o *Cluster) GetProvisioningRequest() string` + +GetProvisioningRequest returns the ProvisioningRequest field if non-nil, zero value otherwise. + +### GetProvisioningRequestOk + +`func (o *Cluster) GetProvisioningRequestOk() (*string, bool)` + +GetProvisioningRequestOk returns a tuple with the ProvisioningRequest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvisioningRequest + +`func (o *Cluster) SetProvisioningRequest(v string)` + +SetProvisioningRequest sets ProvisioningRequest field to given value. + +### HasProvisioningRequest + +`func (o *Cluster) HasProvisioningRequest() bool` + +HasProvisioningRequest returns a boolean if a field has been set. + +### SetProvisioningRequestNil + +`func (o *Cluster) SetProvisioningRequestNil(b bool)` + + SetProvisioningRequestNil sets the value for ProvisioningRequest to be an explicit nil + +### UnsetProvisioningRequest +`func (o *Cluster) UnsetProvisioningRequest()` + +UnsetProvisioningRequest ensures that no value is present for ProvisioningRequest, not even an explicit nil ### GetProvisioningState `func (o *Cluster) GetProvisioningState() ProvisioningStateEnum` diff --git a/v1/providers/launchpad/gen/launchpad/docs/ClusterBulkUpdate.md b/v1/providers/launchpad/gen/launchpad/docs/ClusterBulkUpdate.md index b81eba86..44f0c1d0 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/ClusterBulkUpdate.md +++ b/v1/providers/launchpad/gen/launchpad/docs/ClusterBulkUpdate.md @@ -29,6 +29,8 @@ Name | Type | Description | Notes **ProviderCapacity** | **bool** | Does the provider have capacity to provision this cluster? | [readonly] **ProvisionUser** | Pointer to **NullableString** | Username used for provisioning this cluster | [optional] **ProvisioningAttempts** | Pointer to **int32** | The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. | [optional] +**ProvisioningConfig** | Pointer to **NullableString** | Applied provisioning configuration for the cluster | [optional] +**ProvisioningRequest** | Pointer to **NullableString** | Requested provisioning configuration for the cluster | [optional] **ProvisioningState** | Pointer to [**ProvisioningStateEnum**](ProvisioningStateEnum.md) | Is the cluster currently provisioned? * `deployed` - Cluster is in use by a deployment * `deploying` - Provisioning is in progress * `destroying` - Cluster is being destroyed * `pending` - Provisioning will begin soon * `ready` - Provisioning has completed and is ready for a deployment * `reserved` - Cluster is unprovisioned but reserved for later use * `unprovisioned` - Cluster has not yet been provisioned | [optional] **PublicAddress** | **NullableString** | Public IP address or fully-qualified domain name of this cluster | [readonly] **RequestId** | **NullableString** | The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234) | [readonly] @@ -705,6 +707,76 @@ SetProvisioningAttempts sets ProvisioningAttempts field to given value. HasProvisioningAttempts returns a boolean if a field has been set. +### GetProvisioningConfig + +`func (o *ClusterBulkUpdate) GetProvisioningConfig() string` + +GetProvisioningConfig returns the ProvisioningConfig field if non-nil, zero value otherwise. + +### GetProvisioningConfigOk + +`func (o *ClusterBulkUpdate) GetProvisioningConfigOk() (*string, bool)` + +GetProvisioningConfigOk returns a tuple with the ProvisioningConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvisioningConfig + +`func (o *ClusterBulkUpdate) SetProvisioningConfig(v string)` + +SetProvisioningConfig sets ProvisioningConfig field to given value. + +### HasProvisioningConfig + +`func (o *ClusterBulkUpdate) HasProvisioningConfig() bool` + +HasProvisioningConfig returns a boolean if a field has been set. + +### SetProvisioningConfigNil + +`func (o *ClusterBulkUpdate) SetProvisioningConfigNil(b bool)` + + SetProvisioningConfigNil sets the value for ProvisioningConfig to be an explicit nil + +### UnsetProvisioningConfig +`func (o *ClusterBulkUpdate) UnsetProvisioningConfig()` + +UnsetProvisioningConfig ensures that no value is present for ProvisioningConfig, not even an explicit nil +### GetProvisioningRequest + +`func (o *ClusterBulkUpdate) GetProvisioningRequest() string` + +GetProvisioningRequest returns the ProvisioningRequest field if non-nil, zero value otherwise. + +### GetProvisioningRequestOk + +`func (o *ClusterBulkUpdate) GetProvisioningRequestOk() (*string, bool)` + +GetProvisioningRequestOk returns a tuple with the ProvisioningRequest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvisioningRequest + +`func (o *ClusterBulkUpdate) SetProvisioningRequest(v string)` + +SetProvisioningRequest sets ProvisioningRequest field to given value. + +### HasProvisioningRequest + +`func (o *ClusterBulkUpdate) HasProvisioningRequest() bool` + +HasProvisioningRequest returns a boolean if a field has been set. + +### SetProvisioningRequestNil + +`func (o *ClusterBulkUpdate) SetProvisioningRequestNil(b bool)` + + SetProvisioningRequestNil sets the value for ProvisioningRequest to be an explicit nil + +### UnsetProvisioningRequest +`func (o *ClusterBulkUpdate) UnsetProvisioningRequest()` + +UnsetProvisioningRequest ensures that no value is present for ProvisioningRequest, not even an explicit nil ### GetProvisioningState `func (o *ClusterBulkUpdate) GetProvisioningState() ProvisioningStateEnum` diff --git a/v1/providers/launchpad/gen/launchpad/docs/ClusterDeployment.md b/v1/providers/launchpad/gen/launchpad/docs/ClusterDeployment.md index 7cd8dc31..32da7b0e 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/ClusterDeployment.md +++ b/v1/providers/launchpad/gen/launchpad/docs/ClusterDeployment.md @@ -5,36 +5,36 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BastionOperatingSystem** | Pointer to **string** | Override bastion operating system provisioned and/or configured by Liftoff | [optional] -**CatalogId** | Pointer to **string** | Unique ID for this experience in the sales catalog. Must be unique. | [optional] -**CatalogIdAlias** | Pointer to **string** | Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique. | [optional] +**CatalogId** | Pointer to **string** | Catalog ID of the experience provisioned to the cluster | [optional] +**CatalogIdAlias** | Pointer to **string** | Catalog ID alias of the experience provisioned to the cluster | [optional] **Cluster** | Pointer to [**DeploymentCluster**](DeploymentCluster.md) | | [optional] **CollectionBranch** | Pointer to **string** | Override the Ansible collection branch initialized within the pipeline | [optional] **Created** | **time.Time** | Timestamp of when the object was created | [readonly] -**Experience** | Pointer to [**DeploymentExperience**](DeploymentExperience.md) | | [optional] +**Experience** | Pointer to **string** | The experience being deployed for use | [optional] [readonly] **ExperienceBranch** | Pointer to **string** | Override the experience branch | [optional] -**ExperienceId** | Pointer to **string** | | [optional] +**ExperienceId** | Pointer to **string** | UUID of the experience provisioned to the cluster | [optional] **ExpiresAt** | Pointer to **time.Time** | | [optional] **FlightcontrolRelease** | Pointer to **string** | Override the image tag used for Flight Control | [optional] **GarageId** | Pointer to **string** | Require a cluster with nodes in the given garage | [optional] **GcBranch** | Pointer to **string** | Override the default Ground Control branch | [optional] **GpuAlias** | Pointer to **string** | Require a cluster with the given GPU alias | [optional] -**GpuCount** | Pointer to **int32** | Require a cluster with the given number of GPUs | [optional] +**GpuCount** | Pointer to **int32** | Require a cluster with the given number of GPUs | [optional] [default to 0] **GpuModel** | Pointer to **string** | Require a cluster with the given GPU model | [optional] -**GpuOsName** | Pointer to **string** | | [optional] -**GpuOsRelease** | Pointer to **string** | | [optional] -**GpuOsVersion** | Pointer to **string** | | [optional] +**GpuOsName** | Pointer to **string** | Override the GPU node operating system name | [optional] +**GpuOsRelease** | Pointer to **string** | Override the GPU node operating system release | [optional] +**GpuOsVersion** | Pointer to **string** | Override the GPU node operating system version | [optional] **Id** | **string** | | [readonly] **IpAllowlist** | Pointer to **[]string** | Host IP addresses that should be allowed to access the deployment | [optional] **Lifetime** | Pointer to **int32** | Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. | [optional] -**MinGpuCount** | Pointer to **int32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] +**MinGpuCount** | Pointer to **int32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] [default to 0] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] -**NodeCount** | Pointer to **int32** | Require a cluster with the given number of nodes | [optional] +**NodeCount** | Pointer to **int32** | Require a cluster with the given number of nodes | [optional] [default to 0] **OemName** | Pointer to **string** | Require a cluster manufactured by the given OEM name | [optional] **OrgName** | **string** | Requester's organization name | -**Overrides** | **interface{}** | | -**PersistOnFailure** | Pointer to **bool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] -**Persona** | Pointer to **string** | | [optional] -**Pipeline** | Pointer to **int64** | Override the pipeline ID that will be triggered for request fulfillment | [optional] +**Overrides** | [**Overrides**](Overrides.md) | Overriden values from the original deployment request | [readonly] +**PersistOnFailure** | Pointer to **bool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] [default to false] +**Persona** | Pointer to **string** | Override the defined persona in the experience | [optional] +**Pipeline** | Pointer to **int32** | Override the pipeline ID that will be triggered for request fulfillment | [optional] [default to 0] **PipelineBranch** | Pointer to **string** | Override the default pipeline branch ref used when triggering a Fuselage pipeline | [optional] **Pipelines** | **[]string** | | **Platform** | Pointer to [**PlatformEnum**](PlatformEnum.md) | | [optional] @@ -46,6 +46,17 @@ Name | Type | Description | Notes **RequesterEmail** | **string** | Email address of the user requesting the experience | **RequesterName** | **string** | Name of the user requesting the experience | **RetryCount** | **int32** | Number of times the deployment has been retried | [readonly] +**Runtime** | Pointer to **string** | Use the presets of the given runtime when provisioning this experience | [optional] +**RuntimeBranch** | Pointer to **string** | Override the runtime repository branch | [optional] +**RuntimeCnsAddonPack** | Pointer to **bool** | Override the runtime's CNS add-ons flag | [optional] +**RuntimeCnsDocker** | Pointer to **bool** | Override the runtime's Docker with CNS flag | [optional] +**RuntimeCnsDriverVersion** | Pointer to **string** | Override the runtime's GPU driver version | [optional] +**RuntimeCnsK8s** | Pointer to **bool** | Override the runtime's Kubernetes with CNS flag | [optional] +**RuntimeCnsNvidiaDriver** | Pointer to **bool** | Override the runtime's NVIDIA driver with CNS flag | [optional] +**RuntimeCnsVersion** | Pointer to **string** | Override the runtime's Cloud Native Stack version | [optional] +**RuntimeMig** | Pointer to **bool** | Override the runtime's MIG support with CNS flag | [optional] +**RuntimeMigProfile** | Pointer to **string** | Override the runtime's MIG profile name | [optional] +**RuntimeUrl** | Pointer to **string** | Override the URL of the runtime repository | [optional] **SalesCreatedDate** | Pointer to **time.Time** | | [optional] **SalesId** | Pointer to **string** | Unique identifier for the requester's sales relationship | [optional] **SalesOwnerEmail** | Pointer to **string** | Email address of the sales contact associated with the requester | [optional] @@ -55,7 +66,7 @@ Name | Type | Description | Notes **SshUser** | **string** | | [readonly] **State** | [**DeploymentState**](DeploymentState.md) | Current state of the deployment * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready | [readonly] **Tags** | Pointer to **interface{}** | | [optional] -**Workshop** | Pointer to **bool** | Require a cluster whose workshop flag is set | [optional] +**Workshop** | Pointer to **bool** | Require a cluster whose workshop flag is set | [optional] [default to false] **WorkshopId** | Pointer to **string** | Require a cluster with the given workshop ID | [optional] **WorkshopOverridePassword** | Pointer to **string** | Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) | [optional] @@ -63,7 +74,7 @@ Name | Type | Description | Notes ### NewClusterDeployment -`func NewClusterDeployment(created time.Time, id string, modified time.Time, orgName string, overrides interface{}, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState, ) *ClusterDeployment` +`func NewClusterDeployment(created time.Time, id string, modified time.Time, orgName string, overrides Overrides, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState, ) *ClusterDeployment` NewClusterDeployment instantiates a new ClusterDeployment object This constructor will assign default values to properties that have it defined, @@ -225,20 +236,20 @@ SetCreated sets Created field to given value. ### GetExperience -`func (o *ClusterDeployment) GetExperience() DeploymentExperience` +`func (o *ClusterDeployment) GetExperience() string` GetExperience returns the Experience field if non-nil, zero value otherwise. ### GetExperienceOk -`func (o *ClusterDeployment) GetExperienceOk() (*DeploymentExperience, bool)` +`func (o *ClusterDeployment) GetExperienceOk() (*string, bool)` GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperience -`func (o *ClusterDeployment) SetExperience(v DeploymentExperience)` +`func (o *ClusterDeployment) SetExperience(v string)` SetExperience sets Experience field to given value. @@ -735,34 +746,24 @@ SetOrgName sets OrgName field to given value. ### GetOverrides -`func (o *ClusterDeployment) GetOverrides() interface{}` +`func (o *ClusterDeployment) GetOverrides() Overrides` GetOverrides returns the Overrides field if non-nil, zero value otherwise. ### GetOverridesOk -`func (o *ClusterDeployment) GetOverridesOk() (*interface{}, bool)` +`func (o *ClusterDeployment) GetOverridesOk() (*Overrides, bool)` GetOverridesOk returns a tuple with the Overrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOverrides -`func (o *ClusterDeployment) SetOverrides(v interface{})` +`func (o *ClusterDeployment) SetOverrides(v Overrides)` SetOverrides sets Overrides field to given value. -### SetOverridesNil - -`func (o *ClusterDeployment) SetOverridesNil(b bool)` - - SetOverridesNil sets the value for Overrides to be an explicit nil - -### UnsetOverrides -`func (o *ClusterDeployment) UnsetOverrides()` - -UnsetOverrides ensures that no value is present for Overrides, not even an explicit nil ### GetPersistOnFailure `func (o *ClusterDeployment) GetPersistOnFailure() bool` @@ -815,20 +816,20 @@ HasPersona returns a boolean if a field has been set. ### GetPipeline -`func (o *ClusterDeployment) GetPipeline() int64` +`func (o *ClusterDeployment) GetPipeline() int32` GetPipeline returns the Pipeline field if non-nil, zero value otherwise. ### GetPipelineOk -`func (o *ClusterDeployment) GetPipelineOk() (*int64, bool)` +`func (o *ClusterDeployment) GetPipelineOk() (*int32, bool)` GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPipeline -`func (o *ClusterDeployment) SetPipeline(v int64)` +`func (o *ClusterDeployment) SetPipeline(v int32)` SetPipeline sets Pipeline field to given value. @@ -1093,6 +1094,281 @@ and a boolean to check if the value has been set. SetRetryCount sets RetryCount field to given value. +### GetRuntime + +`func (o *ClusterDeployment) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *ClusterDeployment) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *ClusterDeployment) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *ClusterDeployment) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### GetRuntimeBranch + +`func (o *ClusterDeployment) GetRuntimeBranch() string` + +GetRuntimeBranch returns the RuntimeBranch field if non-nil, zero value otherwise. + +### GetRuntimeBranchOk + +`func (o *ClusterDeployment) GetRuntimeBranchOk() (*string, bool)` + +GetRuntimeBranchOk returns a tuple with the RuntimeBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeBranch + +`func (o *ClusterDeployment) SetRuntimeBranch(v string)` + +SetRuntimeBranch sets RuntimeBranch field to given value. + +### HasRuntimeBranch + +`func (o *ClusterDeployment) HasRuntimeBranch() bool` + +HasRuntimeBranch returns a boolean if a field has been set. + +### GetRuntimeCnsAddonPack + +`func (o *ClusterDeployment) GetRuntimeCnsAddonPack() bool` + +GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field if non-nil, zero value otherwise. + +### GetRuntimeCnsAddonPackOk + +`func (o *ClusterDeployment) GetRuntimeCnsAddonPackOk() (*bool, bool)` + +GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsAddonPack + +`func (o *ClusterDeployment) SetRuntimeCnsAddonPack(v bool)` + +SetRuntimeCnsAddonPack sets RuntimeCnsAddonPack field to given value. + +### HasRuntimeCnsAddonPack + +`func (o *ClusterDeployment) HasRuntimeCnsAddonPack() bool` + +HasRuntimeCnsAddonPack returns a boolean if a field has been set. + +### GetRuntimeCnsDocker + +`func (o *ClusterDeployment) GetRuntimeCnsDocker() bool` + +GetRuntimeCnsDocker returns the RuntimeCnsDocker field if non-nil, zero value otherwise. + +### GetRuntimeCnsDockerOk + +`func (o *ClusterDeployment) GetRuntimeCnsDockerOk() (*bool, bool)` + +GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDocker + +`func (o *ClusterDeployment) SetRuntimeCnsDocker(v bool)` + +SetRuntimeCnsDocker sets RuntimeCnsDocker field to given value. + +### HasRuntimeCnsDocker + +`func (o *ClusterDeployment) HasRuntimeCnsDocker() bool` + +HasRuntimeCnsDocker returns a boolean if a field has been set. + +### GetRuntimeCnsDriverVersion + +`func (o *ClusterDeployment) GetRuntimeCnsDriverVersion() string` + +GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsDriverVersionOk + +`func (o *ClusterDeployment) GetRuntimeCnsDriverVersionOk() (*string, bool)` + +GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDriverVersion + +`func (o *ClusterDeployment) SetRuntimeCnsDriverVersion(v string)` + +SetRuntimeCnsDriverVersion sets RuntimeCnsDriverVersion field to given value. + +### HasRuntimeCnsDriverVersion + +`func (o *ClusterDeployment) HasRuntimeCnsDriverVersion() bool` + +HasRuntimeCnsDriverVersion returns a boolean if a field has been set. + +### GetRuntimeCnsK8s + +`func (o *ClusterDeployment) GetRuntimeCnsK8s() bool` + +GetRuntimeCnsK8s returns the RuntimeCnsK8s field if non-nil, zero value otherwise. + +### GetRuntimeCnsK8sOk + +`func (o *ClusterDeployment) GetRuntimeCnsK8sOk() (*bool, bool)` + +GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsK8s + +`func (o *ClusterDeployment) SetRuntimeCnsK8s(v bool)` + +SetRuntimeCnsK8s sets RuntimeCnsK8s field to given value. + +### HasRuntimeCnsK8s + +`func (o *ClusterDeployment) HasRuntimeCnsK8s() bool` + +HasRuntimeCnsK8s returns a boolean if a field has been set. + +### GetRuntimeCnsNvidiaDriver + +`func (o *ClusterDeployment) GetRuntimeCnsNvidiaDriver() bool` + +GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetRuntimeCnsNvidiaDriverOk + +`func (o *ClusterDeployment) GetRuntimeCnsNvidiaDriverOk() (*bool, bool)` + +GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsNvidiaDriver + +`func (o *ClusterDeployment) SetRuntimeCnsNvidiaDriver(v bool)` + +SetRuntimeCnsNvidiaDriver sets RuntimeCnsNvidiaDriver field to given value. + +### HasRuntimeCnsNvidiaDriver + +`func (o *ClusterDeployment) HasRuntimeCnsNvidiaDriver() bool` + +HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. + +### GetRuntimeCnsVersion + +`func (o *ClusterDeployment) GetRuntimeCnsVersion() string` + +GetRuntimeCnsVersion returns the RuntimeCnsVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsVersionOk + +`func (o *ClusterDeployment) GetRuntimeCnsVersionOk() (*string, bool)` + +GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsVersion + +`func (o *ClusterDeployment) SetRuntimeCnsVersion(v string)` + +SetRuntimeCnsVersion sets RuntimeCnsVersion field to given value. + +### HasRuntimeCnsVersion + +`func (o *ClusterDeployment) HasRuntimeCnsVersion() bool` + +HasRuntimeCnsVersion returns a boolean if a field has been set. + +### GetRuntimeMig + +`func (o *ClusterDeployment) GetRuntimeMig() bool` + +GetRuntimeMig returns the RuntimeMig field if non-nil, zero value otherwise. + +### GetRuntimeMigOk + +`func (o *ClusterDeployment) GetRuntimeMigOk() (*bool, bool)` + +GetRuntimeMigOk returns a tuple with the RuntimeMig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMig + +`func (o *ClusterDeployment) SetRuntimeMig(v bool)` + +SetRuntimeMig sets RuntimeMig field to given value. + +### HasRuntimeMig + +`func (o *ClusterDeployment) HasRuntimeMig() bool` + +HasRuntimeMig returns a boolean if a field has been set. + +### GetRuntimeMigProfile + +`func (o *ClusterDeployment) GetRuntimeMigProfile() string` + +GetRuntimeMigProfile returns the RuntimeMigProfile field if non-nil, zero value otherwise. + +### GetRuntimeMigProfileOk + +`func (o *ClusterDeployment) GetRuntimeMigProfileOk() (*string, bool)` + +GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMigProfile + +`func (o *ClusterDeployment) SetRuntimeMigProfile(v string)` + +SetRuntimeMigProfile sets RuntimeMigProfile field to given value. + +### HasRuntimeMigProfile + +`func (o *ClusterDeployment) HasRuntimeMigProfile() bool` + +HasRuntimeMigProfile returns a boolean if a field has been set. + +### GetRuntimeUrl + +`func (o *ClusterDeployment) GetRuntimeUrl() string` + +GetRuntimeUrl returns the RuntimeUrl field if non-nil, zero value otherwise. + +### GetRuntimeUrlOk + +`func (o *ClusterDeployment) GetRuntimeUrlOk() (*string, bool)` + +GetRuntimeUrlOk returns a tuple with the RuntimeUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeUrl + +`func (o *ClusterDeployment) SetRuntimeUrl(v string)` + +SetRuntimeUrl sets RuntimeUrl field to given value. + +### HasRuntimeUrl + +`func (o *ClusterDeployment) HasRuntimeUrl() bool` + +HasRuntimeUrl returns a boolean if a field has been set. + ### GetSalesCreatedDate `func (o *ClusterDeployment) GetSalesCreatedDate() time.Time` diff --git a/v1/providers/launchpad/gen/launchpad/docs/ClusterPipelineTrigger.md b/v1/providers/launchpad/gen/launchpad/docs/ClusterPipelineTrigger.md new file mode 100644 index 00000000..9152dbc0 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/ClusterPipelineTrigger.md @@ -0,0 +1,177 @@ +# ClusterPipelineTrigger + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Action** | [**PipelineAction**](PipelineAction.md) | Action for the pipeline to run * `apply` - apply * `destroy` - destroy * `notify` - notify | +**Created** | **time.Time** | Timestamp of when the object was created | [readonly] +**Id** | **string** | | [readonly] +**Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] +**PipelineId** | **int32** | GitLab pipeline ID | [readonly] +**RequestId** | **string** | Request ID that the pipeline was triggered for | [readonly] +**Url** | **string** | URL for the pipeline details | [readonly] + +## Methods + +### NewClusterPipelineTrigger + +`func NewClusterPipelineTrigger(action PipelineAction, created time.Time, id string, modified time.Time, pipelineId int32, requestId string, url string, ) *ClusterPipelineTrigger` + +NewClusterPipelineTrigger instantiates a new ClusterPipelineTrigger object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewClusterPipelineTriggerWithDefaults + +`func NewClusterPipelineTriggerWithDefaults() *ClusterPipelineTrigger` + +NewClusterPipelineTriggerWithDefaults instantiates a new ClusterPipelineTrigger object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAction + +`func (o *ClusterPipelineTrigger) GetAction() PipelineAction` + +GetAction returns the Action field if non-nil, zero value otherwise. + +### GetActionOk + +`func (o *ClusterPipelineTrigger) GetActionOk() (*PipelineAction, bool)` + +GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAction + +`func (o *ClusterPipelineTrigger) SetAction(v PipelineAction)` + +SetAction sets Action field to given value. + + +### GetCreated + +`func (o *ClusterPipelineTrigger) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *ClusterPipelineTrigger) GetCreatedOk() (*time.Time, bool)` + +GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreated + +`func (o *ClusterPipelineTrigger) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### GetId + +`func (o *ClusterPipelineTrigger) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ClusterPipelineTrigger) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ClusterPipelineTrigger) SetId(v string)` + +SetId sets Id field to given value. + + +### GetModified + +`func (o *ClusterPipelineTrigger) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *ClusterPipelineTrigger) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *ClusterPipelineTrigger) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + + +### GetPipelineId + +`func (o *ClusterPipelineTrigger) GetPipelineId() int32` + +GetPipelineId returns the PipelineId field if non-nil, zero value otherwise. + +### GetPipelineIdOk + +`func (o *ClusterPipelineTrigger) GetPipelineIdOk() (*int32, bool)` + +GetPipelineIdOk returns a tuple with the PipelineId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPipelineId + +`func (o *ClusterPipelineTrigger) SetPipelineId(v int32)` + +SetPipelineId sets PipelineId field to given value. + + +### GetRequestId + +`func (o *ClusterPipelineTrigger) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ClusterPipelineTrigger) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ClusterPipelineTrigger) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetUrl + +`func (o *ClusterPipelineTrigger) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *ClusterPipelineTrigger) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *ClusterPipelineTrigger) SetUrl(v string)` + +SetUrl sets Url field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/Deployment.md b/v1/providers/launchpad/gen/launchpad/docs/Deployment.md index c8342d62..6bfb6119 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/Deployment.md +++ b/v1/providers/launchpad/gen/launchpad/docs/Deployment.md @@ -5,36 +5,36 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BastionOperatingSystem** | Pointer to **NullableString** | Override bastion operating system provisioned and/or configured by Liftoff | [optional] -**CatalogId** | Pointer to **string** | Unique ID for this experience in the sales catalog. Must be unique. | [optional] -**CatalogIdAlias** | Pointer to **NullableString** | Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique. | [optional] +**CatalogId** | Pointer to **string** | Catalog ID of the experience provisioned to the cluster | [optional] +**CatalogIdAlias** | Pointer to **string** | Catalog ID alias of the experience provisioned to the cluster | [optional] **Cluster** | Pointer to [**DeploymentCluster**](DeploymentCluster.md) | | [optional] **CollectionBranch** | Pointer to **NullableString** | Override the Ansible collection branch initialized within the pipeline | [optional] **Created** | **time.Time** | Timestamp of when the object was created | [readonly] -**Experience** | Pointer to [**DeploymentExperience**](DeploymentExperience.md) | | [optional] +**Experience** | Pointer to **NullableString** | The experience being deployed for use | [optional] [readonly] **ExperienceBranch** | Pointer to **NullableString** | Override the experience branch | [optional] -**ExperienceId** | Pointer to **string** | | [optional] +**ExperienceId** | Pointer to **string** | UUID of the experience provisioned to the cluster | [optional] **ExpiresAt** | Pointer to **NullableTime** | | [optional] **FlightcontrolRelease** | Pointer to **NullableString** | Override the image tag used for Flight Control | [optional] **GarageId** | Pointer to **NullableString** | Require a cluster with nodes in the given garage | [optional] **GcBranch** | Pointer to **NullableString** | Override the default Ground Control branch | [optional] **GpuAlias** | Pointer to **NullableString** | Require a cluster with the given GPU alias | [optional] -**GpuCount** | Pointer to **NullableInt32** | Require a cluster with the given number of GPUs | [optional] +**GpuCount** | Pointer to **NullableInt32** | Require a cluster with the given number of GPUs | [optional] [default to 0] **GpuModel** | Pointer to **NullableString** | Require a cluster with the given GPU model | [optional] -**GpuOsName** | Pointer to **string** | | [optional] -**GpuOsRelease** | Pointer to **string** | | [optional] -**GpuOsVersion** | Pointer to **string** | | [optional] +**GpuOsName** | Pointer to **NullableString** | Override the GPU node operating system name | [optional] +**GpuOsRelease** | Pointer to **NullableString** | Override the GPU node operating system release | [optional] +**GpuOsVersion** | Pointer to **NullableString** | Override the GPU node operating system version | [optional] **Id** | **string** | | [readonly] **IpAllowlist** | Pointer to **[]string** | Host IP addresses that should be allowed to access the deployment | [optional] **Lifetime** | Pointer to **NullableInt32** | Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. | [optional] -**MinGpuCount** | Pointer to **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] +**MinGpuCount** | Pointer to **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] [default to 0] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] -**NodeCount** | Pointer to **NullableInt32** | Require a cluster with the given number of nodes | [optional] +**NodeCount** | Pointer to **NullableInt32** | Require a cluster with the given number of nodes | [optional] [default to 0] **OemName** | Pointer to **NullableString** | Require a cluster manufactured by the given OEM name | [optional] **OrgName** | **string** | Requester's organization name | -**Overrides** | **interface{}** | | -**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] -**Persona** | Pointer to **string** | | [optional] -**Pipeline** | Pointer to **NullableInt64** | Override the pipeline ID that will be triggered for request fulfillment | [optional] +**Overrides** | [**Overrides**](Overrides.md) | Overriden values from the original deployment request | [readonly] +**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] [default to false] +**Persona** | Pointer to **NullableString** | Override the defined persona in the experience | [optional] +**Pipeline** | Pointer to **NullableInt32** | Override the pipeline ID that will be triggered for request fulfillment | [optional] [default to 0] **PipelineBranch** | Pointer to **NullableString** | Override the default pipeline branch ref used when triggering a Fuselage pipeline | [optional] **Pipelines** | **[]string** | | **Platform** | Pointer to [**NullablePlatformEnum**](PlatformEnum.md) | | [optional] @@ -46,6 +46,17 @@ Name | Type | Description | Notes **RequesterEmail** | **string** | Email address of the user requesting the experience | **RequesterName** | **string** | Name of the user requesting the experience | **RetryCount** | **int32** | Number of times the deployment has been retried | [readonly] +**Runtime** | Pointer to **NullableString** | Use the presets of the given runtime when provisioning this experience | [optional] +**RuntimeBranch** | Pointer to **NullableString** | Override the runtime repository branch | [optional] +**RuntimeCnsAddonPack** | Pointer to **NullableBool** | Override the runtime's CNS add-ons flag | [optional] +**RuntimeCnsDocker** | Pointer to **NullableBool** | Override the runtime's Docker with CNS flag | [optional] +**RuntimeCnsDriverVersion** | Pointer to **NullableString** | Override the runtime's GPU driver version | [optional] +**RuntimeCnsK8s** | Pointer to **NullableBool** | Override the runtime's Kubernetes with CNS flag | [optional] +**RuntimeCnsNvidiaDriver** | Pointer to **NullableBool** | Override the runtime's NVIDIA driver with CNS flag | [optional] +**RuntimeCnsVersion** | Pointer to **NullableString** | Override the runtime's Cloud Native Stack version | [optional] +**RuntimeMig** | Pointer to **NullableBool** | Override the runtime's MIG support with CNS flag | [optional] +**RuntimeMigProfile** | Pointer to **NullableString** | Override the runtime's MIG profile name | [optional] +**RuntimeUrl** | Pointer to **NullableString** | Override the URL of the runtime repository | [optional] **SalesCreatedDate** | Pointer to **NullableTime** | | [optional] **SalesId** | Pointer to **NullableString** | Unique identifier for the requester's sales relationship | [optional] **SalesOwnerEmail** | Pointer to **NullableString** | Email address of the sales contact associated with the requester | [optional] @@ -55,7 +66,7 @@ Name | Type | Description | Notes **SshUser** | **string** | | [readonly] **State** | [**DeploymentState**](DeploymentState.md) | Current state of the deployment * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready | [readonly] **Tags** | Pointer to **interface{}** | | [optional] -**Workshop** | Pointer to **NullableBool** | Require a cluster whose workshop flag is set | [optional] +**Workshop** | Pointer to **NullableBool** | Require a cluster whose workshop flag is set | [optional] [default to false] **WorkshopId** | Pointer to **NullableString** | Require a cluster with the given workshop ID | [optional] **WorkshopOverridePassword** | Pointer to **NullableString** | Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) | [optional] @@ -63,7 +74,7 @@ Name | Type | Description | Notes ### NewDeployment -`func NewDeployment(created time.Time, id string, modified time.Time, orgName string, overrides interface{}, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState, ) *Deployment` +`func NewDeployment(created time.Time, id string, modified time.Time, orgName string, overrides Overrides, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState, ) *Deployment` NewDeployment instantiates a new Deployment object This constructor will assign default values to properties that have it defined, @@ -163,16 +174,6 @@ SetCatalogIdAlias sets CatalogIdAlias field to given value. HasCatalogIdAlias returns a boolean if a field has been set. -### SetCatalogIdAliasNil - -`func (o *Deployment) SetCatalogIdAliasNil(b bool)` - - SetCatalogIdAliasNil sets the value for CatalogIdAlias to be an explicit nil - -### UnsetCatalogIdAlias -`func (o *Deployment) UnsetCatalogIdAlias()` - -UnsetCatalogIdAlias ensures that no value is present for CatalogIdAlias, not even an explicit nil ### GetCluster `func (o *Deployment) GetCluster() DeploymentCluster` @@ -255,20 +256,20 @@ SetCreated sets Created field to given value. ### GetExperience -`func (o *Deployment) GetExperience() DeploymentExperience` +`func (o *Deployment) GetExperience() string` GetExperience returns the Experience field if non-nil, zero value otherwise. ### GetExperienceOk -`func (o *Deployment) GetExperienceOk() (*DeploymentExperience, bool)` +`func (o *Deployment) GetExperienceOk() (*string, bool)` GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperience -`func (o *Deployment) SetExperience(v DeploymentExperience)` +`func (o *Deployment) SetExperience(v string)` SetExperience sets Experience field to given value. @@ -278,6 +279,16 @@ SetExperience sets Experience field to given value. HasExperience returns a boolean if a field has been set. +### SetExperienceNil + +`func (o *Deployment) SetExperienceNil(b bool)` + + SetExperienceNil sets the value for Experience to be an explicit nil + +### UnsetExperience +`func (o *Deployment) UnsetExperience()` + +UnsetExperience ensures that no value is present for Experience, not even an explicit nil ### GetExperienceBranch `func (o *Deployment) GetExperienceBranch() string` @@ -608,6 +619,16 @@ SetGpuOsName sets GpuOsName field to given value. HasGpuOsName returns a boolean if a field has been set. +### SetGpuOsNameNil + +`func (o *Deployment) SetGpuOsNameNil(b bool)` + + SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil + +### UnsetGpuOsName +`func (o *Deployment) UnsetGpuOsName()` + +UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil ### GetGpuOsRelease `func (o *Deployment) GetGpuOsRelease() string` @@ -633,6 +654,16 @@ SetGpuOsRelease sets GpuOsRelease field to given value. HasGpuOsRelease returns a boolean if a field has been set. +### SetGpuOsReleaseNil + +`func (o *Deployment) SetGpuOsReleaseNil(b bool)` + + SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil + +### UnsetGpuOsRelease +`func (o *Deployment) UnsetGpuOsRelease()` + +UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil ### GetGpuOsVersion `func (o *Deployment) GetGpuOsVersion() string` @@ -658,6 +689,16 @@ SetGpuOsVersion sets GpuOsVersion field to given value. HasGpuOsVersion returns a boolean if a field has been set. +### SetGpuOsVersionNil + +`func (o *Deployment) SetGpuOsVersionNil(b bool)` + + SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil + +### UnsetGpuOsVersion +`func (o *Deployment) UnsetGpuOsVersion()` + +UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil ### GetId `func (o *Deployment) GetId() string` @@ -885,34 +926,24 @@ SetOrgName sets OrgName field to given value. ### GetOverrides -`func (o *Deployment) GetOverrides() interface{}` +`func (o *Deployment) GetOverrides() Overrides` GetOverrides returns the Overrides field if non-nil, zero value otherwise. ### GetOverridesOk -`func (o *Deployment) GetOverridesOk() (*interface{}, bool)` +`func (o *Deployment) GetOverridesOk() (*Overrides, bool)` GetOverridesOk returns a tuple with the Overrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOverrides -`func (o *Deployment) SetOverrides(v interface{})` +`func (o *Deployment) SetOverrides(v Overrides)` SetOverrides sets Overrides field to given value. -### SetOverridesNil - -`func (o *Deployment) SetOverridesNil(b bool)` - - SetOverridesNil sets the value for Overrides to be an explicit nil - -### UnsetOverrides -`func (o *Deployment) UnsetOverrides()` - -UnsetOverrides ensures that no value is present for Overrides, not even an explicit nil ### GetPersistOnFailure `func (o *Deployment) GetPersistOnFailure() bool` @@ -973,22 +1004,32 @@ SetPersona sets Persona field to given value. HasPersona returns a boolean if a field has been set. +### SetPersonaNil + +`func (o *Deployment) SetPersonaNil(b bool)` + + SetPersonaNil sets the value for Persona to be an explicit nil + +### UnsetPersona +`func (o *Deployment) UnsetPersona()` + +UnsetPersona ensures that no value is present for Persona, not even an explicit nil ### GetPipeline -`func (o *Deployment) GetPipeline() int64` +`func (o *Deployment) GetPipeline() int32` GetPipeline returns the Pipeline field if non-nil, zero value otherwise. ### GetPipelineOk -`func (o *Deployment) GetPipelineOk() (*int64, bool)` +`func (o *Deployment) GetPipelineOk() (*int32, bool)` GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPipeline -`func (o *Deployment) SetPipeline(v int64)` +`func (o *Deployment) SetPipeline(v int32)` SetPipeline sets Pipeline field to given value. @@ -1313,6 +1354,391 @@ and a boolean to check if the value has been set. SetRetryCount sets RetryCount field to given value. +### GetRuntime + +`func (o *Deployment) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *Deployment) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *Deployment) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *Deployment) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *Deployment) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *Deployment) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +### GetRuntimeBranch + +`func (o *Deployment) GetRuntimeBranch() string` + +GetRuntimeBranch returns the RuntimeBranch field if non-nil, zero value otherwise. + +### GetRuntimeBranchOk + +`func (o *Deployment) GetRuntimeBranchOk() (*string, bool)` + +GetRuntimeBranchOk returns a tuple with the RuntimeBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeBranch + +`func (o *Deployment) SetRuntimeBranch(v string)` + +SetRuntimeBranch sets RuntimeBranch field to given value. + +### HasRuntimeBranch + +`func (o *Deployment) HasRuntimeBranch() bool` + +HasRuntimeBranch returns a boolean if a field has been set. + +### SetRuntimeBranchNil + +`func (o *Deployment) SetRuntimeBranchNil(b bool)` + + SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil + +### UnsetRuntimeBranch +`func (o *Deployment) UnsetRuntimeBranch()` + +UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +### GetRuntimeCnsAddonPack + +`func (o *Deployment) GetRuntimeCnsAddonPack() bool` + +GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field if non-nil, zero value otherwise. + +### GetRuntimeCnsAddonPackOk + +`func (o *Deployment) GetRuntimeCnsAddonPackOk() (*bool, bool)` + +GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsAddonPack + +`func (o *Deployment) SetRuntimeCnsAddonPack(v bool)` + +SetRuntimeCnsAddonPack sets RuntimeCnsAddonPack field to given value. + +### HasRuntimeCnsAddonPack + +`func (o *Deployment) HasRuntimeCnsAddonPack() bool` + +HasRuntimeCnsAddonPack returns a boolean if a field has been set. + +### SetRuntimeCnsAddonPackNil + +`func (o *Deployment) SetRuntimeCnsAddonPackNil(b bool)` + + SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil + +### UnsetRuntimeCnsAddonPack +`func (o *Deployment) UnsetRuntimeCnsAddonPack()` + +UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +### GetRuntimeCnsDocker + +`func (o *Deployment) GetRuntimeCnsDocker() bool` + +GetRuntimeCnsDocker returns the RuntimeCnsDocker field if non-nil, zero value otherwise. + +### GetRuntimeCnsDockerOk + +`func (o *Deployment) GetRuntimeCnsDockerOk() (*bool, bool)` + +GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDocker + +`func (o *Deployment) SetRuntimeCnsDocker(v bool)` + +SetRuntimeCnsDocker sets RuntimeCnsDocker field to given value. + +### HasRuntimeCnsDocker + +`func (o *Deployment) HasRuntimeCnsDocker() bool` + +HasRuntimeCnsDocker returns a boolean if a field has been set. + +### SetRuntimeCnsDockerNil + +`func (o *Deployment) SetRuntimeCnsDockerNil(b bool)` + + SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil + +### UnsetRuntimeCnsDocker +`func (o *Deployment) UnsetRuntimeCnsDocker()` + +UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +### GetRuntimeCnsDriverVersion + +`func (o *Deployment) GetRuntimeCnsDriverVersion() string` + +GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsDriverVersionOk + +`func (o *Deployment) GetRuntimeCnsDriverVersionOk() (*string, bool)` + +GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDriverVersion + +`func (o *Deployment) SetRuntimeCnsDriverVersion(v string)` + +SetRuntimeCnsDriverVersion sets RuntimeCnsDriverVersion field to given value. + +### HasRuntimeCnsDriverVersion + +`func (o *Deployment) HasRuntimeCnsDriverVersion() bool` + +HasRuntimeCnsDriverVersion returns a boolean if a field has been set. + +### SetRuntimeCnsDriverVersionNil + +`func (o *Deployment) SetRuntimeCnsDriverVersionNil(b bool)` + + SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil + +### UnsetRuntimeCnsDriverVersion +`func (o *Deployment) UnsetRuntimeCnsDriverVersion()` + +UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +### GetRuntimeCnsK8s + +`func (o *Deployment) GetRuntimeCnsK8s() bool` + +GetRuntimeCnsK8s returns the RuntimeCnsK8s field if non-nil, zero value otherwise. + +### GetRuntimeCnsK8sOk + +`func (o *Deployment) GetRuntimeCnsK8sOk() (*bool, bool)` + +GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsK8s + +`func (o *Deployment) SetRuntimeCnsK8s(v bool)` + +SetRuntimeCnsK8s sets RuntimeCnsK8s field to given value. + +### HasRuntimeCnsK8s + +`func (o *Deployment) HasRuntimeCnsK8s() bool` + +HasRuntimeCnsK8s returns a boolean if a field has been set. + +### SetRuntimeCnsK8sNil + +`func (o *Deployment) SetRuntimeCnsK8sNil(b bool)` + + SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil + +### UnsetRuntimeCnsK8s +`func (o *Deployment) UnsetRuntimeCnsK8s()` + +UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +### GetRuntimeCnsNvidiaDriver + +`func (o *Deployment) GetRuntimeCnsNvidiaDriver() bool` + +GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetRuntimeCnsNvidiaDriverOk + +`func (o *Deployment) GetRuntimeCnsNvidiaDriverOk() (*bool, bool)` + +GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsNvidiaDriver + +`func (o *Deployment) SetRuntimeCnsNvidiaDriver(v bool)` + +SetRuntimeCnsNvidiaDriver sets RuntimeCnsNvidiaDriver field to given value. + +### HasRuntimeCnsNvidiaDriver + +`func (o *Deployment) HasRuntimeCnsNvidiaDriver() bool` + +HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. + +### SetRuntimeCnsNvidiaDriverNil + +`func (o *Deployment) SetRuntimeCnsNvidiaDriverNil(b bool)` + + SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil + +### UnsetRuntimeCnsNvidiaDriver +`func (o *Deployment) UnsetRuntimeCnsNvidiaDriver()` + +UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +### GetRuntimeCnsVersion + +`func (o *Deployment) GetRuntimeCnsVersion() string` + +GetRuntimeCnsVersion returns the RuntimeCnsVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsVersionOk + +`func (o *Deployment) GetRuntimeCnsVersionOk() (*string, bool)` + +GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsVersion + +`func (o *Deployment) SetRuntimeCnsVersion(v string)` + +SetRuntimeCnsVersion sets RuntimeCnsVersion field to given value. + +### HasRuntimeCnsVersion + +`func (o *Deployment) HasRuntimeCnsVersion() bool` + +HasRuntimeCnsVersion returns a boolean if a field has been set. + +### SetRuntimeCnsVersionNil + +`func (o *Deployment) SetRuntimeCnsVersionNil(b bool)` + + SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil + +### UnsetRuntimeCnsVersion +`func (o *Deployment) UnsetRuntimeCnsVersion()` + +UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +### GetRuntimeMig + +`func (o *Deployment) GetRuntimeMig() bool` + +GetRuntimeMig returns the RuntimeMig field if non-nil, zero value otherwise. + +### GetRuntimeMigOk + +`func (o *Deployment) GetRuntimeMigOk() (*bool, bool)` + +GetRuntimeMigOk returns a tuple with the RuntimeMig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMig + +`func (o *Deployment) SetRuntimeMig(v bool)` + +SetRuntimeMig sets RuntimeMig field to given value. + +### HasRuntimeMig + +`func (o *Deployment) HasRuntimeMig() bool` + +HasRuntimeMig returns a boolean if a field has been set. + +### SetRuntimeMigNil + +`func (o *Deployment) SetRuntimeMigNil(b bool)` + + SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil + +### UnsetRuntimeMig +`func (o *Deployment) UnsetRuntimeMig()` + +UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +### GetRuntimeMigProfile + +`func (o *Deployment) GetRuntimeMigProfile() string` + +GetRuntimeMigProfile returns the RuntimeMigProfile field if non-nil, zero value otherwise. + +### GetRuntimeMigProfileOk + +`func (o *Deployment) GetRuntimeMigProfileOk() (*string, bool)` + +GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMigProfile + +`func (o *Deployment) SetRuntimeMigProfile(v string)` + +SetRuntimeMigProfile sets RuntimeMigProfile field to given value. + +### HasRuntimeMigProfile + +`func (o *Deployment) HasRuntimeMigProfile() bool` + +HasRuntimeMigProfile returns a boolean if a field has been set. + +### SetRuntimeMigProfileNil + +`func (o *Deployment) SetRuntimeMigProfileNil(b bool)` + + SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil + +### UnsetRuntimeMigProfile +`func (o *Deployment) UnsetRuntimeMigProfile()` + +UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +### GetRuntimeUrl + +`func (o *Deployment) GetRuntimeUrl() string` + +GetRuntimeUrl returns the RuntimeUrl field if non-nil, zero value otherwise. + +### GetRuntimeUrlOk + +`func (o *Deployment) GetRuntimeUrlOk() (*string, bool)` + +GetRuntimeUrlOk returns a tuple with the RuntimeUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeUrl + +`func (o *Deployment) SetRuntimeUrl(v string)` + +SetRuntimeUrl sets RuntimeUrl field to given value. + +### HasRuntimeUrl + +`func (o *Deployment) HasRuntimeUrl() bool` + +HasRuntimeUrl returns a boolean if a field has been set. + +### SetRuntimeUrlNil + +`func (o *Deployment) SetRuntimeUrlNil(b bool)` + + SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil + +### UnsetRuntimeUrl +`func (o *Deployment) UnsetRuntimeUrl()` + +UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil ### GetSalesCreatedDate `func (o *Deployment) GetSalesCreatedDate() time.Time` diff --git a/v1/providers/launchpad/gen/launchpad/docs/DeploymentBulkUpdate.md b/v1/providers/launchpad/gen/launchpad/docs/DeploymentBulkUpdate.md index dfc60579..b5134699 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/DeploymentBulkUpdate.md +++ b/v1/providers/launchpad/gen/launchpad/docs/DeploymentBulkUpdate.md @@ -8,14 +8,14 @@ Name | Type | Description | Notes **Cluster** | **NullableString** | The cluster where the experience has been deployed | [readonly] **CollectionBranch** | Pointer to **NullableString** | Override the Ansible collection branch initialized within the pipeline | [optional] **Created** | **time.Time** | Timestamp of when the object was created | [readonly] -**Experience** | [**DeploymentExperience**](DeploymentExperience.md) | | +**Experience** | **NullableString** | The experience being deployed for use | [readonly] **ExperienceBranch** | Pointer to **NullableString** | Override the experience branch | [optional] **ExpiresAt** | Pointer to **NullableTime** | | [optional] **FlightcontrolRelease** | Pointer to **NullableString** | Override the image tag used for Flight Control | [optional] **GarageId** | **NullableString** | Require a cluster with nodes in the given garage | [readonly] **GcBranch** | Pointer to **NullableString** | Override the default Ground Control branch | [optional] **GpuAlias** | **NullableString** | Require a cluster with the given GPU alias | [readonly] -**GpuCount** | **NullableInt32** | Require a cluster with the given number of GPUs | [readonly] +**GpuCount** | **NullableInt32** | Require a cluster with the given number of GPUs | [readonly] [default to 0] **GpuModel** | **NullableString** | Require a cluster with the given GPU model | [readonly] **GpuOsName** | **NullableString** | Override the GPU node operating system name | [readonly] **GpuOsRelease** | **NullableString** | Override the GPU node operating system release | [readonly] @@ -23,15 +23,15 @@ Name | Type | Description | Notes **Id** | **string** | | [readonly] **IpAllowlist** | Pointer to **[]string** | Host IP addresses that should be allowed to access the deployment | [optional] **Lifetime** | **NullableInt32** | Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. | [readonly] -**MinGpuCount** | **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [readonly] +**MinGpuCount** | **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [readonly] [default to 0] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] -**NodeCount** | **NullableInt32** | Require a cluster with the given number of nodes | [readonly] +**NodeCount** | **NullableInt32** | Require a cluster with the given number of nodes | [readonly] [default to 0] **OemName** | **NullableString** | Require a cluster manufactured by the given OEM name | [readonly] **OrgName** | Pointer to **string** | Requester's organization name | [optional] -**Overrides** | **interface{}** | | -**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] +**Overrides** | [**Overrides**](Overrides.md) | Overriden values from the original deployment request | [readonly] +**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] [default to false] **Persona** | Pointer to **NullableString** | Override the defined persona in the experience | [optional] -**Pipeline** | Pointer to **NullableInt64** | Override the pipeline ID that will be triggered for request fulfillment | [optional] +**Pipeline** | Pointer to **NullableInt32** | Override the pipeline ID that will be triggered for request fulfillment | [optional] [default to 0] **PipelineBranch** | Pointer to **NullableString** | Override the default pipeline branch ref used when triggering a Fuselage pipeline | [optional] **Pipelines** | **[]string** | | **Platform** | Pointer to [**NullablePlatformEnum**](PlatformEnum.md) | | [optional] @@ -43,6 +43,17 @@ Name | Type | Description | Notes **RequesterEmail** | Pointer to **string** | Email address of the user requesting the experience | [optional] **RequesterName** | Pointer to **string** | Name of the user requesting the experience | [optional] **RetryCount** | Pointer to **int32** | Number of times the deployment has been retried | [optional] +**Runtime** | Pointer to **NullableString** | Use the presets of the given runtime when provisioning this experience | [optional] +**RuntimeBranch** | Pointer to **NullableString** | Override the runtime repository branch | [optional] +**RuntimeCnsAddonPack** | Pointer to **NullableBool** | Override the runtime's CNS add-ons flag | [optional] +**RuntimeCnsDocker** | Pointer to **NullableBool** | Override the runtime's Docker with CNS flag | [optional] +**RuntimeCnsDriverVersion** | Pointer to **NullableString** | Override the runtime's GPU driver version | [optional] +**RuntimeCnsK8s** | Pointer to **NullableBool** | Override the runtime's Kubernetes with CNS flag | [optional] +**RuntimeCnsNvidiaDriver** | Pointer to **NullableBool** | Override the runtime's NVIDIA driver with CNS flag | [optional] +**RuntimeCnsVersion** | Pointer to **NullableString** | Override the runtime's Cloud Native Stack version | [optional] +**RuntimeMig** | Pointer to **NullableBool** | Override the runtime's MIG support with CNS flag | [optional] +**RuntimeMigProfile** | Pointer to **NullableString** | Override the runtime's MIG profile name | [optional] +**RuntimeUrl** | Pointer to **NullableString** | Override the URL of the runtime repository | [optional] **SalesCreatedDate** | **NullableTime** | Timestamp when the requester's sales relationship was created | [readonly] **SalesId** | **NullableString** | Unique identifier for the requester's sales relationship | [readonly] **SalesOwnerEmail** | Pointer to **NullableString** | Email address of the sales contact associated with the requester | [optional] @@ -50,7 +61,7 @@ Name | Type | Description | Notes **Services** | **[]string** | | **State** | Pointer to [**DeploymentState**](DeploymentState.md) | Current state of the deployment * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready | [optional] **Tags** | Pointer to **interface{}** | | [optional] -**Workshop** | **NullableBool** | Require a cluster whose workshop flag is set | [readonly] +**Workshop** | **NullableBool** | Require a cluster whose workshop flag is set | [readonly] [default to false] **WorkshopId** | **NullableString** | Require a cluster with the given workshop ID | [readonly] **WorkshopOverridePassword** | **NullableString** | Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) | [readonly] **Count** | **int32** | | [readonly] @@ -61,7 +72,7 @@ Name | Type | Description | Notes ### NewDeploymentBulkUpdate -`func NewDeploymentBulkUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience DeploymentExperience, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides interface{}, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString, count int32, ids []string, result string, ) *DeploymentBulkUpdate` +`func NewDeploymentBulkUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience NullableString, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides Overrides, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString, count int32, ids []string, result string, ) *DeploymentBulkUpdate` NewDeploymentBulkUpdate instantiates a new DeploymentBulkUpdate object This constructor will assign default values to properties that have it defined, @@ -193,24 +204,34 @@ SetCreated sets Created field to given value. ### GetExperience -`func (o *DeploymentBulkUpdate) GetExperience() DeploymentExperience` +`func (o *DeploymentBulkUpdate) GetExperience() string` GetExperience returns the Experience field if non-nil, zero value otherwise. ### GetExperienceOk -`func (o *DeploymentBulkUpdate) GetExperienceOk() (*DeploymentExperience, bool)` +`func (o *DeploymentBulkUpdate) GetExperienceOk() (*string, bool)` GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperience -`func (o *DeploymentBulkUpdate) SetExperience(v DeploymentExperience)` +`func (o *DeploymentBulkUpdate) SetExperience(v string)` SetExperience sets Experience field to given value. +### SetExperienceNil + +`func (o *DeploymentBulkUpdate) SetExperienceNil(b bool)` + + SetExperienceNil sets the value for Experience to be an explicit nil + +### UnsetExperience +`func (o *DeploymentBulkUpdate) UnsetExperience()` + +UnsetExperience ensures that no value is present for Experience, not even an explicit nil ### GetExperienceBranch `func (o *DeploymentBulkUpdate) GetExperienceBranch() string` @@ -773,34 +794,24 @@ HasOrgName returns a boolean if a field has been set. ### GetOverrides -`func (o *DeploymentBulkUpdate) GetOverrides() interface{}` +`func (o *DeploymentBulkUpdate) GetOverrides() Overrides` GetOverrides returns the Overrides field if non-nil, zero value otherwise. ### GetOverridesOk -`func (o *DeploymentBulkUpdate) GetOverridesOk() (*interface{}, bool)` +`func (o *DeploymentBulkUpdate) GetOverridesOk() (*Overrides, bool)` GetOverridesOk returns a tuple with the Overrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOverrides -`func (o *DeploymentBulkUpdate) SetOverrides(v interface{})` +`func (o *DeploymentBulkUpdate) SetOverrides(v Overrides)` SetOverrides sets Overrides field to given value. -### SetOverridesNil - -`func (o *DeploymentBulkUpdate) SetOverridesNil(b bool)` - - SetOverridesNil sets the value for Overrides to be an explicit nil - -### UnsetOverrides -`func (o *DeploymentBulkUpdate) UnsetOverrides()` - -UnsetOverrides ensures that no value is present for Overrides, not even an explicit nil ### GetPersistOnFailure `func (o *DeploymentBulkUpdate) GetPersistOnFailure() bool` @@ -873,20 +884,20 @@ HasPersona returns a boolean if a field has been set. UnsetPersona ensures that no value is present for Persona, not even an explicit nil ### GetPipeline -`func (o *DeploymentBulkUpdate) GetPipeline() int64` +`func (o *DeploymentBulkUpdate) GetPipeline() int32` GetPipeline returns the Pipeline field if non-nil, zero value otherwise. ### GetPipelineOk -`func (o *DeploymentBulkUpdate) GetPipelineOk() (*int64, bool)` +`func (o *DeploymentBulkUpdate) GetPipelineOk() (*int32, bool)` GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPipeline -`func (o *DeploymentBulkUpdate) SetPipeline(v int64)` +`func (o *DeploymentBulkUpdate) SetPipeline(v int32)` SetPipeline sets Pipeline field to given value. @@ -1201,6 +1212,391 @@ SetRetryCount sets RetryCount field to given value. HasRetryCount returns a boolean if a field has been set. +### GetRuntime + +`func (o *DeploymentBulkUpdate) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *DeploymentBulkUpdate) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *DeploymentBulkUpdate) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *DeploymentBulkUpdate) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *DeploymentBulkUpdate) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *DeploymentBulkUpdate) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +### GetRuntimeBranch + +`func (o *DeploymentBulkUpdate) GetRuntimeBranch() string` + +GetRuntimeBranch returns the RuntimeBranch field if non-nil, zero value otherwise. + +### GetRuntimeBranchOk + +`func (o *DeploymentBulkUpdate) GetRuntimeBranchOk() (*string, bool)` + +GetRuntimeBranchOk returns a tuple with the RuntimeBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeBranch + +`func (o *DeploymentBulkUpdate) SetRuntimeBranch(v string)` + +SetRuntimeBranch sets RuntimeBranch field to given value. + +### HasRuntimeBranch + +`func (o *DeploymentBulkUpdate) HasRuntimeBranch() bool` + +HasRuntimeBranch returns a boolean if a field has been set. + +### SetRuntimeBranchNil + +`func (o *DeploymentBulkUpdate) SetRuntimeBranchNil(b bool)` + + SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil + +### UnsetRuntimeBranch +`func (o *DeploymentBulkUpdate) UnsetRuntimeBranch()` + +UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +### GetRuntimeCnsAddonPack + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsAddonPack() bool` + +GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field if non-nil, zero value otherwise. + +### GetRuntimeCnsAddonPackOk + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsAddonPackOk() (*bool, bool)` + +GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsAddonPack + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsAddonPack(v bool)` + +SetRuntimeCnsAddonPack sets RuntimeCnsAddonPack field to given value. + +### HasRuntimeCnsAddonPack + +`func (o *DeploymentBulkUpdate) HasRuntimeCnsAddonPack() bool` + +HasRuntimeCnsAddonPack returns a boolean if a field has been set. + +### SetRuntimeCnsAddonPackNil + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsAddonPackNil(b bool)` + + SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil + +### UnsetRuntimeCnsAddonPack +`func (o *DeploymentBulkUpdate) UnsetRuntimeCnsAddonPack()` + +UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +### GetRuntimeCnsDocker + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsDocker() bool` + +GetRuntimeCnsDocker returns the RuntimeCnsDocker field if non-nil, zero value otherwise. + +### GetRuntimeCnsDockerOk + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsDockerOk() (*bool, bool)` + +GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDocker + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsDocker(v bool)` + +SetRuntimeCnsDocker sets RuntimeCnsDocker field to given value. + +### HasRuntimeCnsDocker + +`func (o *DeploymentBulkUpdate) HasRuntimeCnsDocker() bool` + +HasRuntimeCnsDocker returns a boolean if a field has been set. + +### SetRuntimeCnsDockerNil + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsDockerNil(b bool)` + + SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil + +### UnsetRuntimeCnsDocker +`func (o *DeploymentBulkUpdate) UnsetRuntimeCnsDocker()` + +UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +### GetRuntimeCnsDriverVersion + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsDriverVersion() string` + +GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsDriverVersionOk + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsDriverVersionOk() (*string, bool)` + +GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDriverVersion + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsDriverVersion(v string)` + +SetRuntimeCnsDriverVersion sets RuntimeCnsDriverVersion field to given value. + +### HasRuntimeCnsDriverVersion + +`func (o *DeploymentBulkUpdate) HasRuntimeCnsDriverVersion() bool` + +HasRuntimeCnsDriverVersion returns a boolean if a field has been set. + +### SetRuntimeCnsDriverVersionNil + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsDriverVersionNil(b bool)` + + SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil + +### UnsetRuntimeCnsDriverVersion +`func (o *DeploymentBulkUpdate) UnsetRuntimeCnsDriverVersion()` + +UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +### GetRuntimeCnsK8s + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsK8s() bool` + +GetRuntimeCnsK8s returns the RuntimeCnsK8s field if non-nil, zero value otherwise. + +### GetRuntimeCnsK8sOk + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsK8sOk() (*bool, bool)` + +GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsK8s + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsK8s(v bool)` + +SetRuntimeCnsK8s sets RuntimeCnsK8s field to given value. + +### HasRuntimeCnsK8s + +`func (o *DeploymentBulkUpdate) HasRuntimeCnsK8s() bool` + +HasRuntimeCnsK8s returns a boolean if a field has been set. + +### SetRuntimeCnsK8sNil + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsK8sNil(b bool)` + + SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil + +### UnsetRuntimeCnsK8s +`func (o *DeploymentBulkUpdate) UnsetRuntimeCnsK8s()` + +UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +### GetRuntimeCnsNvidiaDriver + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsNvidiaDriver() bool` + +GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetRuntimeCnsNvidiaDriverOk + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsNvidiaDriverOk() (*bool, bool)` + +GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsNvidiaDriver + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsNvidiaDriver(v bool)` + +SetRuntimeCnsNvidiaDriver sets RuntimeCnsNvidiaDriver field to given value. + +### HasRuntimeCnsNvidiaDriver + +`func (o *DeploymentBulkUpdate) HasRuntimeCnsNvidiaDriver() bool` + +HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. + +### SetRuntimeCnsNvidiaDriverNil + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsNvidiaDriverNil(b bool)` + + SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil + +### UnsetRuntimeCnsNvidiaDriver +`func (o *DeploymentBulkUpdate) UnsetRuntimeCnsNvidiaDriver()` + +UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +### GetRuntimeCnsVersion + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsVersion() string` + +GetRuntimeCnsVersion returns the RuntimeCnsVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsVersionOk + +`func (o *DeploymentBulkUpdate) GetRuntimeCnsVersionOk() (*string, bool)` + +GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsVersion + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsVersion(v string)` + +SetRuntimeCnsVersion sets RuntimeCnsVersion field to given value. + +### HasRuntimeCnsVersion + +`func (o *DeploymentBulkUpdate) HasRuntimeCnsVersion() bool` + +HasRuntimeCnsVersion returns a boolean if a field has been set. + +### SetRuntimeCnsVersionNil + +`func (o *DeploymentBulkUpdate) SetRuntimeCnsVersionNil(b bool)` + + SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil + +### UnsetRuntimeCnsVersion +`func (o *DeploymentBulkUpdate) UnsetRuntimeCnsVersion()` + +UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +### GetRuntimeMig + +`func (o *DeploymentBulkUpdate) GetRuntimeMig() bool` + +GetRuntimeMig returns the RuntimeMig field if non-nil, zero value otherwise. + +### GetRuntimeMigOk + +`func (o *DeploymentBulkUpdate) GetRuntimeMigOk() (*bool, bool)` + +GetRuntimeMigOk returns a tuple with the RuntimeMig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMig + +`func (o *DeploymentBulkUpdate) SetRuntimeMig(v bool)` + +SetRuntimeMig sets RuntimeMig field to given value. + +### HasRuntimeMig + +`func (o *DeploymentBulkUpdate) HasRuntimeMig() bool` + +HasRuntimeMig returns a boolean if a field has been set. + +### SetRuntimeMigNil + +`func (o *DeploymentBulkUpdate) SetRuntimeMigNil(b bool)` + + SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil + +### UnsetRuntimeMig +`func (o *DeploymentBulkUpdate) UnsetRuntimeMig()` + +UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +### GetRuntimeMigProfile + +`func (o *DeploymentBulkUpdate) GetRuntimeMigProfile() string` + +GetRuntimeMigProfile returns the RuntimeMigProfile field if non-nil, zero value otherwise. + +### GetRuntimeMigProfileOk + +`func (o *DeploymentBulkUpdate) GetRuntimeMigProfileOk() (*string, bool)` + +GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMigProfile + +`func (o *DeploymentBulkUpdate) SetRuntimeMigProfile(v string)` + +SetRuntimeMigProfile sets RuntimeMigProfile field to given value. + +### HasRuntimeMigProfile + +`func (o *DeploymentBulkUpdate) HasRuntimeMigProfile() bool` + +HasRuntimeMigProfile returns a boolean if a field has been set. + +### SetRuntimeMigProfileNil + +`func (o *DeploymentBulkUpdate) SetRuntimeMigProfileNil(b bool)` + + SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil + +### UnsetRuntimeMigProfile +`func (o *DeploymentBulkUpdate) UnsetRuntimeMigProfile()` + +UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +### GetRuntimeUrl + +`func (o *DeploymentBulkUpdate) GetRuntimeUrl() string` + +GetRuntimeUrl returns the RuntimeUrl field if non-nil, zero value otherwise. + +### GetRuntimeUrlOk + +`func (o *DeploymentBulkUpdate) GetRuntimeUrlOk() (*string, bool)` + +GetRuntimeUrlOk returns a tuple with the RuntimeUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeUrl + +`func (o *DeploymentBulkUpdate) SetRuntimeUrl(v string)` + +SetRuntimeUrl sets RuntimeUrl field to given value. + +### HasRuntimeUrl + +`func (o *DeploymentBulkUpdate) HasRuntimeUrl() bool` + +HasRuntimeUrl returns a boolean if a field has been set. + +### SetRuntimeUrlNil + +`func (o *DeploymentBulkUpdate) SetRuntimeUrlNil(b bool)` + + SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil + +### UnsetRuntimeUrl +`func (o *DeploymentBulkUpdate) UnsetRuntimeUrl()` + +UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil ### GetSalesCreatedDate `func (o *DeploymentBulkUpdate) GetSalesCreatedDate() time.Time` diff --git a/v1/providers/launchpad/gen/launchpad/docs/DeploymentCluster.md b/v1/providers/launchpad/gen/launchpad/docs/DeploymentCluster.md index c6e53400..1b39db03 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/DeploymentCluster.md +++ b/v1/providers/launchpad/gen/launchpad/docs/DeploymentCluster.md @@ -29,6 +29,8 @@ Name | Type | Description | Notes **ProviderCapacity** | **bool** | Does the provider have capacity to provision this cluster? | [readonly] **ProvisionUser** | Pointer to **string** | Username used for provisioning this cluster | [optional] **ProvisioningAttempts** | Pointer to **int32** | The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. | [optional] +**ProvisioningConfig** | Pointer to **string** | Applied provisioning configuration for the cluster | [optional] +**ProvisioningRequest** | Pointer to **string** | Requested provisioning configuration for the cluster | [optional] **ProvisioningState** | Pointer to [**ProvisioningStateEnum**](ProvisioningStateEnum.md) | Is the cluster currently provisioned? * `deployed` - Cluster is in use by a deployment * `deploying` - Provisioning is in progress * `destroying` - Cluster is being destroyed * `pending` - Provisioning will begin soon * `ready` - Provisioning has completed and is ready for a deployment * `reserved` - Cluster is unprovisioned but reserved for later use * `unprovisioned` - Cluster has not yet been provisioned | [optional] **PublicAddress** | Pointer to **string** | Public IP address or fully-qualified domain name of this cluster | [optional] **RequestId** | Pointer to **string** | The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234) | [optional] @@ -637,6 +639,56 @@ SetProvisioningAttempts sets ProvisioningAttempts field to given value. HasProvisioningAttempts returns a boolean if a field has been set. +### GetProvisioningConfig + +`func (o *DeploymentCluster) GetProvisioningConfig() string` + +GetProvisioningConfig returns the ProvisioningConfig field if non-nil, zero value otherwise. + +### GetProvisioningConfigOk + +`func (o *DeploymentCluster) GetProvisioningConfigOk() (*string, bool)` + +GetProvisioningConfigOk returns a tuple with the ProvisioningConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvisioningConfig + +`func (o *DeploymentCluster) SetProvisioningConfig(v string)` + +SetProvisioningConfig sets ProvisioningConfig field to given value. + +### HasProvisioningConfig + +`func (o *DeploymentCluster) HasProvisioningConfig() bool` + +HasProvisioningConfig returns a boolean if a field has been set. + +### GetProvisioningRequest + +`func (o *DeploymentCluster) GetProvisioningRequest() string` + +GetProvisioningRequest returns the ProvisioningRequest field if non-nil, zero value otherwise. + +### GetProvisioningRequestOk + +`func (o *DeploymentCluster) GetProvisioningRequestOk() (*string, bool)` + +GetProvisioningRequestOk returns a tuple with the ProvisioningRequest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvisioningRequest + +`func (o *DeploymentCluster) SetProvisioningRequest(v string)` + +SetProvisioningRequest sets ProvisioningRequest field to given value. + +### HasProvisioningRequest + +`func (o *DeploymentCluster) HasProvisioningRequest() bool` + +HasProvisioningRequest returns a boolean if a field has been set. + ### GetProvisioningState `func (o *DeploymentCluster) GetProvisioningState() ProvisioningStateEnum` diff --git a/v1/providers/launchpad/gen/launchpad/docs/DeploymentPipeline.md b/v1/providers/launchpad/gen/launchpad/docs/DeploymentPipeline.md index a1cff863..3e4f15ef 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/DeploymentPipeline.md +++ b/v1/providers/launchpad/gen/launchpad/docs/DeploymentPipeline.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Action** | [**DeploymentPipelineActionEnum**](DeploymentPipelineActionEnum.md) | Action for the pipeline to run * `apply` - apply * `destroy` - destroy | +**Action** | [**PipelineAction**](PipelineAction.md) | Action for the pipeline to run * `apply` - apply * `destroy` - destroy * `notify` - notify | **Created** | **time.Time** | Timestamp of when the object was created | [readonly] **Deployment** | [**ClusterDeployment**](ClusterDeployment.md) | | **Id** | **string** | | [readonly] @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewDeploymentPipeline -`func NewDeploymentPipeline(action DeploymentPipelineActionEnum, created time.Time, deployment ClusterDeployment, id string, modified time.Time, pipelineId int64, url string, ) *DeploymentPipeline` +`func NewDeploymentPipeline(action PipelineAction, created time.Time, deployment ClusterDeployment, id string, modified time.Time, pipelineId int64, url string, ) *DeploymentPipeline` NewDeploymentPipeline instantiates a new DeploymentPipeline object This constructor will assign default values to properties that have it defined, @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetAction -`func (o *DeploymentPipeline) GetAction() DeploymentPipelineActionEnum` +`func (o *DeploymentPipeline) GetAction() PipelineAction` GetAction returns the Action field if non-nil, zero value otherwise. ### GetActionOk -`func (o *DeploymentPipeline) GetActionOk() (*DeploymentPipelineActionEnum, bool)` +`func (o *DeploymentPipeline) GetActionOk() (*PipelineAction, bool)` GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAction -`func (o *DeploymentPipeline) SetAction(v DeploymentPipelineActionEnum)` +`func (o *DeploymentPipeline) SetAction(v PipelineAction)` SetAction sets Action field to given value. diff --git a/v1/providers/launchpad/gen/launchpad/docs/DeploymentUpdate.md b/v1/providers/launchpad/gen/launchpad/docs/DeploymentUpdate.md index 81bc4ada..96fd675a 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/DeploymentUpdate.md +++ b/v1/providers/launchpad/gen/launchpad/docs/DeploymentUpdate.md @@ -8,14 +8,14 @@ Name | Type | Description | Notes **Cluster** | **NullableString** | The cluster where the experience has been deployed | [readonly] **CollectionBranch** | Pointer to **NullableString** | Override the Ansible collection branch initialized within the pipeline | [optional] **Created** | **time.Time** | Timestamp of when the object was created | [readonly] -**Experience** | [**DeploymentExperience**](DeploymentExperience.md) | | +**Experience** | **NullableString** | The experience being deployed for use | [readonly] **ExperienceBranch** | Pointer to **NullableString** | Override the experience branch | [optional] **ExpiresAt** | Pointer to **NullableTime** | | [optional] **FlightcontrolRelease** | Pointer to **NullableString** | Override the image tag used for Flight Control | [optional] **GarageId** | **NullableString** | Require a cluster with nodes in the given garage | [readonly] **GcBranch** | Pointer to **NullableString** | Override the default Ground Control branch | [optional] **GpuAlias** | **NullableString** | Require a cluster with the given GPU alias | [readonly] -**GpuCount** | **NullableInt32** | Require a cluster with the given number of GPUs | [readonly] +**GpuCount** | **NullableInt32** | Require a cluster with the given number of GPUs | [readonly] [default to 0] **GpuModel** | **NullableString** | Require a cluster with the given GPU model | [readonly] **GpuOsName** | **NullableString** | Override the GPU node operating system name | [readonly] **GpuOsRelease** | **NullableString** | Override the GPU node operating system release | [readonly] @@ -23,15 +23,15 @@ Name | Type | Description | Notes **Id** | **string** | | [readonly] **IpAllowlist** | Pointer to **[]string** | Host IP addresses that should be allowed to access the deployment | [optional] **Lifetime** | **NullableInt32** | Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. | [readonly] -**MinGpuCount** | **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [readonly] +**MinGpuCount** | **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [readonly] [default to 0] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] -**NodeCount** | **NullableInt32** | Require a cluster with the given number of nodes | [readonly] +**NodeCount** | **NullableInt32** | Require a cluster with the given number of nodes | [readonly] [default to 0] **OemName** | **NullableString** | Require a cluster manufactured by the given OEM name | [readonly] **OrgName** | Pointer to **string** | Requester's organization name | [optional] -**Overrides** | **interface{}** | | -**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] +**Overrides** | [**Overrides**](Overrides.md) | Overriden values from the original deployment request | [readonly] +**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] [default to false] **Persona** | Pointer to **NullableString** | Override the defined persona in the experience | [optional] -**Pipeline** | Pointer to **NullableInt64** | Override the pipeline ID that will be triggered for request fulfillment | [optional] +**Pipeline** | Pointer to **NullableInt32** | Override the pipeline ID that will be triggered for request fulfillment | [optional] [default to 0] **PipelineBranch** | Pointer to **NullableString** | Override the default pipeline branch ref used when triggering a Fuselage pipeline | [optional] **Pipelines** | **[]string** | | **Platform** | Pointer to [**NullablePlatformEnum**](PlatformEnum.md) | | [optional] @@ -43,6 +43,17 @@ Name | Type | Description | Notes **RequesterEmail** | Pointer to **string** | Email address of the user requesting the experience | [optional] **RequesterName** | Pointer to **string** | Name of the user requesting the experience | [optional] **RetryCount** | Pointer to **int32** | Number of times the deployment has been retried | [optional] +**Runtime** | Pointer to **NullableString** | Use the presets of the given runtime when provisioning this experience | [optional] +**RuntimeBranch** | Pointer to **NullableString** | Override the runtime repository branch | [optional] +**RuntimeCnsAddonPack** | Pointer to **NullableBool** | Override the runtime's CNS add-ons flag | [optional] +**RuntimeCnsDocker** | Pointer to **NullableBool** | Override the runtime's Docker with CNS flag | [optional] +**RuntimeCnsDriverVersion** | Pointer to **NullableString** | Override the runtime's GPU driver version | [optional] +**RuntimeCnsK8s** | Pointer to **NullableBool** | Override the runtime's Kubernetes with CNS flag | [optional] +**RuntimeCnsNvidiaDriver** | Pointer to **NullableBool** | Override the runtime's NVIDIA driver with CNS flag | [optional] +**RuntimeCnsVersion** | Pointer to **NullableString** | Override the runtime's Cloud Native Stack version | [optional] +**RuntimeMig** | Pointer to **NullableBool** | Override the runtime's MIG support with CNS flag | [optional] +**RuntimeMigProfile** | Pointer to **NullableString** | Override the runtime's MIG profile name | [optional] +**RuntimeUrl** | Pointer to **NullableString** | Override the URL of the runtime repository | [optional] **SalesCreatedDate** | **NullableTime** | Timestamp when the requester's sales relationship was created | [readonly] **SalesId** | **NullableString** | Unique identifier for the requester's sales relationship | [readonly] **SalesOwnerEmail** | Pointer to **NullableString** | Email address of the sales contact associated with the requester | [optional] @@ -50,7 +61,7 @@ Name | Type | Description | Notes **Services** | **[]string** | | **State** | Pointer to [**DeploymentState**](DeploymentState.md) | Current state of the deployment * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready | [optional] **Tags** | Pointer to **interface{}** | | [optional] -**Workshop** | **NullableBool** | Require a cluster whose workshop flag is set | [readonly] +**Workshop** | **NullableBool** | Require a cluster whose workshop flag is set | [readonly] [default to false] **WorkshopId** | **NullableString** | Require a cluster with the given workshop ID | [readonly] **WorkshopOverridePassword** | **NullableString** | Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) | [readonly] @@ -58,7 +69,7 @@ Name | Type | Description | Notes ### NewDeploymentUpdate -`func NewDeploymentUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience DeploymentExperience, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides interface{}, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString, ) *DeploymentUpdate` +`func NewDeploymentUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience NullableString, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides Overrides, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString, ) *DeploymentUpdate` NewDeploymentUpdate instantiates a new DeploymentUpdate object This constructor will assign default values to properties that have it defined, @@ -190,24 +201,34 @@ SetCreated sets Created field to given value. ### GetExperience -`func (o *DeploymentUpdate) GetExperience() DeploymentExperience` +`func (o *DeploymentUpdate) GetExperience() string` GetExperience returns the Experience field if non-nil, zero value otherwise. ### GetExperienceOk -`func (o *DeploymentUpdate) GetExperienceOk() (*DeploymentExperience, bool)` +`func (o *DeploymentUpdate) GetExperienceOk() (*string, bool)` GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperience -`func (o *DeploymentUpdate) SetExperience(v DeploymentExperience)` +`func (o *DeploymentUpdate) SetExperience(v string)` SetExperience sets Experience field to given value. +### SetExperienceNil + +`func (o *DeploymentUpdate) SetExperienceNil(b bool)` + + SetExperienceNil sets the value for Experience to be an explicit nil + +### UnsetExperience +`func (o *DeploymentUpdate) UnsetExperience()` + +UnsetExperience ensures that no value is present for Experience, not even an explicit nil ### GetExperienceBranch `func (o *DeploymentUpdate) GetExperienceBranch() string` @@ -770,34 +791,24 @@ HasOrgName returns a boolean if a field has been set. ### GetOverrides -`func (o *DeploymentUpdate) GetOverrides() interface{}` +`func (o *DeploymentUpdate) GetOverrides() Overrides` GetOverrides returns the Overrides field if non-nil, zero value otherwise. ### GetOverridesOk -`func (o *DeploymentUpdate) GetOverridesOk() (*interface{}, bool)` +`func (o *DeploymentUpdate) GetOverridesOk() (*Overrides, bool)` GetOverridesOk returns a tuple with the Overrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOverrides -`func (o *DeploymentUpdate) SetOverrides(v interface{})` +`func (o *DeploymentUpdate) SetOverrides(v Overrides)` SetOverrides sets Overrides field to given value. -### SetOverridesNil - -`func (o *DeploymentUpdate) SetOverridesNil(b bool)` - - SetOverridesNil sets the value for Overrides to be an explicit nil - -### UnsetOverrides -`func (o *DeploymentUpdate) UnsetOverrides()` - -UnsetOverrides ensures that no value is present for Overrides, not even an explicit nil ### GetPersistOnFailure `func (o *DeploymentUpdate) GetPersistOnFailure() bool` @@ -870,20 +881,20 @@ HasPersona returns a boolean if a field has been set. UnsetPersona ensures that no value is present for Persona, not even an explicit nil ### GetPipeline -`func (o *DeploymentUpdate) GetPipeline() int64` +`func (o *DeploymentUpdate) GetPipeline() int32` GetPipeline returns the Pipeline field if non-nil, zero value otherwise. ### GetPipelineOk -`func (o *DeploymentUpdate) GetPipelineOk() (*int64, bool)` +`func (o *DeploymentUpdate) GetPipelineOk() (*int32, bool)` GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPipeline -`func (o *DeploymentUpdate) SetPipeline(v int64)` +`func (o *DeploymentUpdate) SetPipeline(v int32)` SetPipeline sets Pipeline field to given value. @@ -1198,6 +1209,391 @@ SetRetryCount sets RetryCount field to given value. HasRetryCount returns a boolean if a field has been set. +### GetRuntime + +`func (o *DeploymentUpdate) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *DeploymentUpdate) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *DeploymentUpdate) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *DeploymentUpdate) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *DeploymentUpdate) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *DeploymentUpdate) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +### GetRuntimeBranch + +`func (o *DeploymentUpdate) GetRuntimeBranch() string` + +GetRuntimeBranch returns the RuntimeBranch field if non-nil, zero value otherwise. + +### GetRuntimeBranchOk + +`func (o *DeploymentUpdate) GetRuntimeBranchOk() (*string, bool)` + +GetRuntimeBranchOk returns a tuple with the RuntimeBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeBranch + +`func (o *DeploymentUpdate) SetRuntimeBranch(v string)` + +SetRuntimeBranch sets RuntimeBranch field to given value. + +### HasRuntimeBranch + +`func (o *DeploymentUpdate) HasRuntimeBranch() bool` + +HasRuntimeBranch returns a boolean if a field has been set. + +### SetRuntimeBranchNil + +`func (o *DeploymentUpdate) SetRuntimeBranchNil(b bool)` + + SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil + +### UnsetRuntimeBranch +`func (o *DeploymentUpdate) UnsetRuntimeBranch()` + +UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +### GetRuntimeCnsAddonPack + +`func (o *DeploymentUpdate) GetRuntimeCnsAddonPack() bool` + +GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field if non-nil, zero value otherwise. + +### GetRuntimeCnsAddonPackOk + +`func (o *DeploymentUpdate) GetRuntimeCnsAddonPackOk() (*bool, bool)` + +GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsAddonPack + +`func (o *DeploymentUpdate) SetRuntimeCnsAddonPack(v bool)` + +SetRuntimeCnsAddonPack sets RuntimeCnsAddonPack field to given value. + +### HasRuntimeCnsAddonPack + +`func (o *DeploymentUpdate) HasRuntimeCnsAddonPack() bool` + +HasRuntimeCnsAddonPack returns a boolean if a field has been set. + +### SetRuntimeCnsAddonPackNil + +`func (o *DeploymentUpdate) SetRuntimeCnsAddonPackNil(b bool)` + + SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil + +### UnsetRuntimeCnsAddonPack +`func (o *DeploymentUpdate) UnsetRuntimeCnsAddonPack()` + +UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +### GetRuntimeCnsDocker + +`func (o *DeploymentUpdate) GetRuntimeCnsDocker() bool` + +GetRuntimeCnsDocker returns the RuntimeCnsDocker field if non-nil, zero value otherwise. + +### GetRuntimeCnsDockerOk + +`func (o *DeploymentUpdate) GetRuntimeCnsDockerOk() (*bool, bool)` + +GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDocker + +`func (o *DeploymentUpdate) SetRuntimeCnsDocker(v bool)` + +SetRuntimeCnsDocker sets RuntimeCnsDocker field to given value. + +### HasRuntimeCnsDocker + +`func (o *DeploymentUpdate) HasRuntimeCnsDocker() bool` + +HasRuntimeCnsDocker returns a boolean if a field has been set. + +### SetRuntimeCnsDockerNil + +`func (o *DeploymentUpdate) SetRuntimeCnsDockerNil(b bool)` + + SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil + +### UnsetRuntimeCnsDocker +`func (o *DeploymentUpdate) UnsetRuntimeCnsDocker()` + +UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +### GetRuntimeCnsDriverVersion + +`func (o *DeploymentUpdate) GetRuntimeCnsDriverVersion() string` + +GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsDriverVersionOk + +`func (o *DeploymentUpdate) GetRuntimeCnsDriverVersionOk() (*string, bool)` + +GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDriverVersion + +`func (o *DeploymentUpdate) SetRuntimeCnsDriverVersion(v string)` + +SetRuntimeCnsDriverVersion sets RuntimeCnsDriverVersion field to given value. + +### HasRuntimeCnsDriverVersion + +`func (o *DeploymentUpdate) HasRuntimeCnsDriverVersion() bool` + +HasRuntimeCnsDriverVersion returns a boolean if a field has been set. + +### SetRuntimeCnsDriverVersionNil + +`func (o *DeploymentUpdate) SetRuntimeCnsDriverVersionNil(b bool)` + + SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil + +### UnsetRuntimeCnsDriverVersion +`func (o *DeploymentUpdate) UnsetRuntimeCnsDriverVersion()` + +UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +### GetRuntimeCnsK8s + +`func (o *DeploymentUpdate) GetRuntimeCnsK8s() bool` + +GetRuntimeCnsK8s returns the RuntimeCnsK8s field if non-nil, zero value otherwise. + +### GetRuntimeCnsK8sOk + +`func (o *DeploymentUpdate) GetRuntimeCnsK8sOk() (*bool, bool)` + +GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsK8s + +`func (o *DeploymentUpdate) SetRuntimeCnsK8s(v bool)` + +SetRuntimeCnsK8s sets RuntimeCnsK8s field to given value. + +### HasRuntimeCnsK8s + +`func (o *DeploymentUpdate) HasRuntimeCnsK8s() bool` + +HasRuntimeCnsK8s returns a boolean if a field has been set. + +### SetRuntimeCnsK8sNil + +`func (o *DeploymentUpdate) SetRuntimeCnsK8sNil(b bool)` + + SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil + +### UnsetRuntimeCnsK8s +`func (o *DeploymentUpdate) UnsetRuntimeCnsK8s()` + +UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +### GetRuntimeCnsNvidiaDriver + +`func (o *DeploymentUpdate) GetRuntimeCnsNvidiaDriver() bool` + +GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetRuntimeCnsNvidiaDriverOk + +`func (o *DeploymentUpdate) GetRuntimeCnsNvidiaDriverOk() (*bool, bool)` + +GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsNvidiaDriver + +`func (o *DeploymentUpdate) SetRuntimeCnsNvidiaDriver(v bool)` + +SetRuntimeCnsNvidiaDriver sets RuntimeCnsNvidiaDriver field to given value. + +### HasRuntimeCnsNvidiaDriver + +`func (o *DeploymentUpdate) HasRuntimeCnsNvidiaDriver() bool` + +HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. + +### SetRuntimeCnsNvidiaDriverNil + +`func (o *DeploymentUpdate) SetRuntimeCnsNvidiaDriverNil(b bool)` + + SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil + +### UnsetRuntimeCnsNvidiaDriver +`func (o *DeploymentUpdate) UnsetRuntimeCnsNvidiaDriver()` + +UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +### GetRuntimeCnsVersion + +`func (o *DeploymentUpdate) GetRuntimeCnsVersion() string` + +GetRuntimeCnsVersion returns the RuntimeCnsVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsVersionOk + +`func (o *DeploymentUpdate) GetRuntimeCnsVersionOk() (*string, bool)` + +GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsVersion + +`func (o *DeploymentUpdate) SetRuntimeCnsVersion(v string)` + +SetRuntimeCnsVersion sets RuntimeCnsVersion field to given value. + +### HasRuntimeCnsVersion + +`func (o *DeploymentUpdate) HasRuntimeCnsVersion() bool` + +HasRuntimeCnsVersion returns a boolean if a field has been set. + +### SetRuntimeCnsVersionNil + +`func (o *DeploymentUpdate) SetRuntimeCnsVersionNil(b bool)` + + SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil + +### UnsetRuntimeCnsVersion +`func (o *DeploymentUpdate) UnsetRuntimeCnsVersion()` + +UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +### GetRuntimeMig + +`func (o *DeploymentUpdate) GetRuntimeMig() bool` + +GetRuntimeMig returns the RuntimeMig field if non-nil, zero value otherwise. + +### GetRuntimeMigOk + +`func (o *DeploymentUpdate) GetRuntimeMigOk() (*bool, bool)` + +GetRuntimeMigOk returns a tuple with the RuntimeMig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMig + +`func (o *DeploymentUpdate) SetRuntimeMig(v bool)` + +SetRuntimeMig sets RuntimeMig field to given value. + +### HasRuntimeMig + +`func (o *DeploymentUpdate) HasRuntimeMig() bool` + +HasRuntimeMig returns a boolean if a field has been set. + +### SetRuntimeMigNil + +`func (o *DeploymentUpdate) SetRuntimeMigNil(b bool)` + + SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil + +### UnsetRuntimeMig +`func (o *DeploymentUpdate) UnsetRuntimeMig()` + +UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +### GetRuntimeMigProfile + +`func (o *DeploymentUpdate) GetRuntimeMigProfile() string` + +GetRuntimeMigProfile returns the RuntimeMigProfile field if non-nil, zero value otherwise. + +### GetRuntimeMigProfileOk + +`func (o *DeploymentUpdate) GetRuntimeMigProfileOk() (*string, bool)` + +GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMigProfile + +`func (o *DeploymentUpdate) SetRuntimeMigProfile(v string)` + +SetRuntimeMigProfile sets RuntimeMigProfile field to given value. + +### HasRuntimeMigProfile + +`func (o *DeploymentUpdate) HasRuntimeMigProfile() bool` + +HasRuntimeMigProfile returns a boolean if a field has been set. + +### SetRuntimeMigProfileNil + +`func (o *DeploymentUpdate) SetRuntimeMigProfileNil(b bool)` + + SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil + +### UnsetRuntimeMigProfile +`func (o *DeploymentUpdate) UnsetRuntimeMigProfile()` + +UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +### GetRuntimeUrl + +`func (o *DeploymentUpdate) GetRuntimeUrl() string` + +GetRuntimeUrl returns the RuntimeUrl field if non-nil, zero value otherwise. + +### GetRuntimeUrlOk + +`func (o *DeploymentUpdate) GetRuntimeUrlOk() (*string, bool)` + +GetRuntimeUrlOk returns a tuple with the RuntimeUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeUrl + +`func (o *DeploymentUpdate) SetRuntimeUrl(v string)` + +SetRuntimeUrl sets RuntimeUrl field to given value. + +### HasRuntimeUrl + +`func (o *DeploymentUpdate) HasRuntimeUrl() bool` + +HasRuntimeUrl returns a boolean if a field has been set. + +### SetRuntimeUrlNil + +`func (o *DeploymentUpdate) SetRuntimeUrlNil(b bool)` + + SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil + +### UnsetRuntimeUrl +`func (o *DeploymentUpdate) UnsetRuntimeUrl()` + +UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil ### GetSalesCreatedDate `func (o *DeploymentUpdate) GetSalesCreatedDate() time.Time` diff --git a/v1/providers/launchpad/gen/launchpad/docs/DocDeploymentDelete.md b/v1/providers/launchpad/gen/launchpad/docs/DocDeploymentDelete.md index 10038031..e954b268 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/DocDeploymentDelete.md +++ b/v1/providers/launchpad/gen/launchpad/docs/DocDeploymentDelete.md @@ -5,36 +5,36 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **BastionOperatingSystem** | Pointer to **NullableString** | Override bastion operating system provisioned and/or configured by Liftoff | [optional] -**CatalogId** | Pointer to **string** | Unique ID for this experience in the sales catalog. Must be unique. | [optional] -**CatalogIdAlias** | Pointer to **NullableString** | Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique. | [optional] +**CatalogId** | Pointer to **string** | Catalog ID of the experience provisioned to the cluster | [optional] +**CatalogIdAlias** | Pointer to **string** | Catalog ID alias of the experience provisioned to the cluster | [optional] **Cluster** | Pointer to [**DeploymentCluster**](DeploymentCluster.md) | | [optional] **CollectionBranch** | Pointer to **NullableString** | Override the Ansible collection branch initialized within the pipeline | [optional] **Created** | **time.Time** | Timestamp of when the object was created | [readonly] -**Experience** | [**DeploymentExperience**](DeploymentExperience.md) | | +**Experience** | **NullableString** | The experience being deployed for use | [readonly] **ExperienceBranch** | Pointer to **NullableString** | Override the experience branch | [optional] -**ExperienceId** | Pointer to **string** | | [optional] +**ExperienceId** | Pointer to **string** | UUID of the experience provisioned to the cluster | [optional] **ExpiresAt** | Pointer to **NullableTime** | | [optional] **FlightcontrolRelease** | Pointer to **NullableString** | Override the image tag used for Flight Control | [optional] **GarageId** | Pointer to **NullableString** | Require a cluster with nodes in the given garage | [optional] **GcBranch** | Pointer to **NullableString** | Override the default Ground Control branch | [optional] **GpuAlias** | Pointer to **NullableString** | Require a cluster with the given GPU alias | [optional] -**GpuCount** | Pointer to **NullableInt32** | Require a cluster with the given number of GPUs | [optional] +**GpuCount** | Pointer to **NullableInt32** | Require a cluster with the given number of GPUs | [optional] [default to 0] **GpuModel** | Pointer to **NullableString** | Require a cluster with the given GPU model | [optional] -**GpuOsName** | Pointer to **string** | | [optional] -**GpuOsRelease** | Pointer to **string** | | [optional] -**GpuOsVersion** | Pointer to **string** | | [optional] +**GpuOsName** | Pointer to **NullableString** | Override the GPU node operating system name | [optional] +**GpuOsRelease** | Pointer to **NullableString** | Override the GPU node operating system release | [optional] +**GpuOsVersion** | Pointer to **NullableString** | Override the GPU node operating system version | [optional] **Id** | **string** | | [readonly] **IpAllowlist** | Pointer to **[]string** | Host IP addresses that should be allowed to access the deployment | [optional] **Lifetime** | Pointer to **NullableInt32** | Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. | [optional] -**MinGpuCount** | Pointer to **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] +**MinGpuCount** | Pointer to **NullableInt32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] [default to 0] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] -**NodeCount** | Pointer to **NullableInt32** | Require a cluster with the given number of nodes | [optional] +**NodeCount** | Pointer to **NullableInt32** | Require a cluster with the given number of nodes | [optional] [default to 0] **OemName** | Pointer to **NullableString** | Require a cluster manufactured by the given OEM name | [optional] **OrgName** | **string** | Requester's organization name | -**Overrides** | **interface{}** | | -**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] -**Persona** | Pointer to **string** | | [optional] -**Pipeline** | Pointer to **NullableInt64** | Override the pipeline ID that will be triggered for request fulfillment | [optional] +**Overrides** | [**Overrides**](Overrides.md) | Overriden values from the original deployment request | [readonly] +**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] [default to false] +**Persona** | Pointer to **NullableString** | Override the defined persona in the experience | [optional] +**Pipeline** | Pointer to **NullableInt32** | Override the pipeline ID that will be triggered for request fulfillment | [optional] [default to 0] **PipelineBranch** | Pointer to **NullableString** | Override the default pipeline branch ref used when triggering a Fuselage pipeline | [optional] **Pipelines** | **[]string** | | **Platform** | Pointer to [**NullablePlatformEnum**](PlatformEnum.md) | | [optional] @@ -46,6 +46,17 @@ Name | Type | Description | Notes **RequesterEmail** | **string** | Email address of the user requesting the experience | **RequesterName** | **string** | Name of the user requesting the experience | **RetryCount** | **int32** | Number of times the deployment has been retried | [readonly] +**Runtime** | Pointer to **NullableString** | Use the presets of the given runtime when provisioning this experience | [optional] +**RuntimeBranch** | Pointer to **NullableString** | Override the runtime repository branch | [optional] +**RuntimeCnsAddonPack** | Pointer to **NullableBool** | Override the runtime's CNS add-ons flag | [optional] +**RuntimeCnsDocker** | Pointer to **NullableBool** | Override the runtime's Docker with CNS flag | [optional] +**RuntimeCnsDriverVersion** | Pointer to **NullableString** | Override the runtime's GPU driver version | [optional] +**RuntimeCnsK8s** | Pointer to **NullableBool** | Override the runtime's Kubernetes with CNS flag | [optional] +**RuntimeCnsNvidiaDriver** | Pointer to **NullableBool** | Override the runtime's NVIDIA driver with CNS flag | [optional] +**RuntimeCnsVersion** | Pointer to **NullableString** | Override the runtime's Cloud Native Stack version | [optional] +**RuntimeMig** | Pointer to **NullableBool** | Override the runtime's MIG support with CNS flag | [optional] +**RuntimeMigProfile** | Pointer to **NullableString** | Override the runtime's MIG profile name | [optional] +**RuntimeUrl** | Pointer to **NullableString** | Override the URL of the runtime repository | [optional] **SalesCreatedDate** | Pointer to **NullableTime** | | [optional] **SalesId** | Pointer to **NullableString** | Unique identifier for the requester's sales relationship | [optional] **SalesOwnerEmail** | Pointer to **NullableString** | Email address of the sales contact associated with the requester | [optional] @@ -55,7 +66,7 @@ Name | Type | Description | Notes **SshUser** | **string** | | [readonly] **State** | [**DeploymentState**](DeploymentState.md) | Current state of the deployment * `destroyed` - Deployment has been fully destroyed * `destroying` - Deployment is being destroyed * `error` - Deployment has encountered a fatal error and will not be retried * `failed` - Deployment has failed but may be retried * `paused` - Deployment is paused but may be retried later * `ready` - Deployment is ready and all instances are running * `retrying` - Deployment is retrying * `starting` - Deployment instances are starting * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready | [readonly] **Tags** | Pointer to **interface{}** | | [optional] -**Workshop** | Pointer to **NullableBool** | Require a cluster whose workshop flag is set | [optional] +**Workshop** | Pointer to **NullableBool** | Require a cluster whose workshop flag is set | [optional] [default to false] **WorkshopId** | Pointer to **NullableString** | Require a cluster with the given workshop ID | [optional] **WorkshopOverridePassword** | Pointer to **NullableString** | Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) | [optional] @@ -63,7 +74,7 @@ Name | Type | Description | Notes ### NewDocDeploymentDelete -`func NewDocDeploymentDelete(created time.Time, experience DeploymentExperience, id string, modified time.Time, orgName string, overrides interface{}, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState, ) *DocDeploymentDelete` +`func NewDocDeploymentDelete(created time.Time, experience NullableString, id string, modified time.Time, orgName string, overrides Overrides, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState, ) *DocDeploymentDelete` NewDocDeploymentDelete instantiates a new DocDeploymentDelete object This constructor will assign default values to properties that have it defined, @@ -163,16 +174,6 @@ SetCatalogIdAlias sets CatalogIdAlias field to given value. HasCatalogIdAlias returns a boolean if a field has been set. -### SetCatalogIdAliasNil - -`func (o *DocDeploymentDelete) SetCatalogIdAliasNil(b bool)` - - SetCatalogIdAliasNil sets the value for CatalogIdAlias to be an explicit nil - -### UnsetCatalogIdAlias -`func (o *DocDeploymentDelete) UnsetCatalogIdAlias()` - -UnsetCatalogIdAlias ensures that no value is present for CatalogIdAlias, not even an explicit nil ### GetCluster `func (o *DocDeploymentDelete) GetCluster() DeploymentCluster` @@ -255,24 +256,34 @@ SetCreated sets Created field to given value. ### GetExperience -`func (o *DocDeploymentDelete) GetExperience() DeploymentExperience` +`func (o *DocDeploymentDelete) GetExperience() string` GetExperience returns the Experience field if non-nil, zero value otherwise. ### GetExperienceOk -`func (o *DocDeploymentDelete) GetExperienceOk() (*DeploymentExperience, bool)` +`func (o *DocDeploymentDelete) GetExperienceOk() (*string, bool)` GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperience -`func (o *DocDeploymentDelete) SetExperience(v DeploymentExperience)` +`func (o *DocDeploymentDelete) SetExperience(v string)` SetExperience sets Experience field to given value. +### SetExperienceNil + +`func (o *DocDeploymentDelete) SetExperienceNil(b bool)` + + SetExperienceNil sets the value for Experience to be an explicit nil + +### UnsetExperience +`func (o *DocDeploymentDelete) UnsetExperience()` + +UnsetExperience ensures that no value is present for Experience, not even an explicit nil ### GetExperienceBranch `func (o *DocDeploymentDelete) GetExperienceBranch() string` @@ -603,6 +614,16 @@ SetGpuOsName sets GpuOsName field to given value. HasGpuOsName returns a boolean if a field has been set. +### SetGpuOsNameNil + +`func (o *DocDeploymentDelete) SetGpuOsNameNil(b bool)` + + SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil + +### UnsetGpuOsName +`func (o *DocDeploymentDelete) UnsetGpuOsName()` + +UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil ### GetGpuOsRelease `func (o *DocDeploymentDelete) GetGpuOsRelease() string` @@ -628,6 +649,16 @@ SetGpuOsRelease sets GpuOsRelease field to given value. HasGpuOsRelease returns a boolean if a field has been set. +### SetGpuOsReleaseNil + +`func (o *DocDeploymentDelete) SetGpuOsReleaseNil(b bool)` + + SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil + +### UnsetGpuOsRelease +`func (o *DocDeploymentDelete) UnsetGpuOsRelease()` + +UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil ### GetGpuOsVersion `func (o *DocDeploymentDelete) GetGpuOsVersion() string` @@ -653,6 +684,16 @@ SetGpuOsVersion sets GpuOsVersion field to given value. HasGpuOsVersion returns a boolean if a field has been set. +### SetGpuOsVersionNil + +`func (o *DocDeploymentDelete) SetGpuOsVersionNil(b bool)` + + SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil + +### UnsetGpuOsVersion +`func (o *DocDeploymentDelete) UnsetGpuOsVersion()` + +UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil ### GetId `func (o *DocDeploymentDelete) GetId() string` @@ -880,34 +921,24 @@ SetOrgName sets OrgName field to given value. ### GetOverrides -`func (o *DocDeploymentDelete) GetOverrides() interface{}` +`func (o *DocDeploymentDelete) GetOverrides() Overrides` GetOverrides returns the Overrides field if non-nil, zero value otherwise. ### GetOverridesOk -`func (o *DocDeploymentDelete) GetOverridesOk() (*interface{}, bool)` +`func (o *DocDeploymentDelete) GetOverridesOk() (*Overrides, bool)` GetOverridesOk returns a tuple with the Overrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOverrides -`func (o *DocDeploymentDelete) SetOverrides(v interface{})` +`func (o *DocDeploymentDelete) SetOverrides(v Overrides)` SetOverrides sets Overrides field to given value. -### SetOverridesNil - -`func (o *DocDeploymentDelete) SetOverridesNil(b bool)` - - SetOverridesNil sets the value for Overrides to be an explicit nil - -### UnsetOverrides -`func (o *DocDeploymentDelete) UnsetOverrides()` - -UnsetOverrides ensures that no value is present for Overrides, not even an explicit nil ### GetPersistOnFailure `func (o *DocDeploymentDelete) GetPersistOnFailure() bool` @@ -968,22 +999,32 @@ SetPersona sets Persona field to given value. HasPersona returns a boolean if a field has been set. +### SetPersonaNil + +`func (o *DocDeploymentDelete) SetPersonaNil(b bool)` + + SetPersonaNil sets the value for Persona to be an explicit nil + +### UnsetPersona +`func (o *DocDeploymentDelete) UnsetPersona()` + +UnsetPersona ensures that no value is present for Persona, not even an explicit nil ### GetPipeline -`func (o *DocDeploymentDelete) GetPipeline() int64` +`func (o *DocDeploymentDelete) GetPipeline() int32` GetPipeline returns the Pipeline field if non-nil, zero value otherwise. ### GetPipelineOk -`func (o *DocDeploymentDelete) GetPipelineOk() (*int64, bool)` +`func (o *DocDeploymentDelete) GetPipelineOk() (*int32, bool)` GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPipeline -`func (o *DocDeploymentDelete) SetPipeline(v int64)` +`func (o *DocDeploymentDelete) SetPipeline(v int32)` SetPipeline sets Pipeline field to given value. @@ -1308,6 +1349,391 @@ and a boolean to check if the value has been set. SetRetryCount sets RetryCount field to given value. +### GetRuntime + +`func (o *DocDeploymentDelete) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *DocDeploymentDelete) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *DocDeploymentDelete) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *DocDeploymentDelete) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *DocDeploymentDelete) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *DocDeploymentDelete) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +### GetRuntimeBranch + +`func (o *DocDeploymentDelete) GetRuntimeBranch() string` + +GetRuntimeBranch returns the RuntimeBranch field if non-nil, zero value otherwise. + +### GetRuntimeBranchOk + +`func (o *DocDeploymentDelete) GetRuntimeBranchOk() (*string, bool)` + +GetRuntimeBranchOk returns a tuple with the RuntimeBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeBranch + +`func (o *DocDeploymentDelete) SetRuntimeBranch(v string)` + +SetRuntimeBranch sets RuntimeBranch field to given value. + +### HasRuntimeBranch + +`func (o *DocDeploymentDelete) HasRuntimeBranch() bool` + +HasRuntimeBranch returns a boolean if a field has been set. + +### SetRuntimeBranchNil + +`func (o *DocDeploymentDelete) SetRuntimeBranchNil(b bool)` + + SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil + +### UnsetRuntimeBranch +`func (o *DocDeploymentDelete) UnsetRuntimeBranch()` + +UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +### GetRuntimeCnsAddonPack + +`func (o *DocDeploymentDelete) GetRuntimeCnsAddonPack() bool` + +GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field if non-nil, zero value otherwise. + +### GetRuntimeCnsAddonPackOk + +`func (o *DocDeploymentDelete) GetRuntimeCnsAddonPackOk() (*bool, bool)` + +GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsAddonPack + +`func (o *DocDeploymentDelete) SetRuntimeCnsAddonPack(v bool)` + +SetRuntimeCnsAddonPack sets RuntimeCnsAddonPack field to given value. + +### HasRuntimeCnsAddonPack + +`func (o *DocDeploymentDelete) HasRuntimeCnsAddonPack() bool` + +HasRuntimeCnsAddonPack returns a boolean if a field has been set. + +### SetRuntimeCnsAddonPackNil + +`func (o *DocDeploymentDelete) SetRuntimeCnsAddonPackNil(b bool)` + + SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil + +### UnsetRuntimeCnsAddonPack +`func (o *DocDeploymentDelete) UnsetRuntimeCnsAddonPack()` + +UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +### GetRuntimeCnsDocker + +`func (o *DocDeploymentDelete) GetRuntimeCnsDocker() bool` + +GetRuntimeCnsDocker returns the RuntimeCnsDocker field if non-nil, zero value otherwise. + +### GetRuntimeCnsDockerOk + +`func (o *DocDeploymentDelete) GetRuntimeCnsDockerOk() (*bool, bool)` + +GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDocker + +`func (o *DocDeploymentDelete) SetRuntimeCnsDocker(v bool)` + +SetRuntimeCnsDocker sets RuntimeCnsDocker field to given value. + +### HasRuntimeCnsDocker + +`func (o *DocDeploymentDelete) HasRuntimeCnsDocker() bool` + +HasRuntimeCnsDocker returns a boolean if a field has been set. + +### SetRuntimeCnsDockerNil + +`func (o *DocDeploymentDelete) SetRuntimeCnsDockerNil(b bool)` + + SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil + +### UnsetRuntimeCnsDocker +`func (o *DocDeploymentDelete) UnsetRuntimeCnsDocker()` + +UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +### GetRuntimeCnsDriverVersion + +`func (o *DocDeploymentDelete) GetRuntimeCnsDriverVersion() string` + +GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsDriverVersionOk + +`func (o *DocDeploymentDelete) GetRuntimeCnsDriverVersionOk() (*string, bool)` + +GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDriverVersion + +`func (o *DocDeploymentDelete) SetRuntimeCnsDriverVersion(v string)` + +SetRuntimeCnsDriverVersion sets RuntimeCnsDriverVersion field to given value. + +### HasRuntimeCnsDriverVersion + +`func (o *DocDeploymentDelete) HasRuntimeCnsDriverVersion() bool` + +HasRuntimeCnsDriverVersion returns a boolean if a field has been set. + +### SetRuntimeCnsDriverVersionNil + +`func (o *DocDeploymentDelete) SetRuntimeCnsDriverVersionNil(b bool)` + + SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil + +### UnsetRuntimeCnsDriverVersion +`func (o *DocDeploymentDelete) UnsetRuntimeCnsDriverVersion()` + +UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +### GetRuntimeCnsK8s + +`func (o *DocDeploymentDelete) GetRuntimeCnsK8s() bool` + +GetRuntimeCnsK8s returns the RuntimeCnsK8s field if non-nil, zero value otherwise. + +### GetRuntimeCnsK8sOk + +`func (o *DocDeploymentDelete) GetRuntimeCnsK8sOk() (*bool, bool)` + +GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsK8s + +`func (o *DocDeploymentDelete) SetRuntimeCnsK8s(v bool)` + +SetRuntimeCnsK8s sets RuntimeCnsK8s field to given value. + +### HasRuntimeCnsK8s + +`func (o *DocDeploymentDelete) HasRuntimeCnsK8s() bool` + +HasRuntimeCnsK8s returns a boolean if a field has been set. + +### SetRuntimeCnsK8sNil + +`func (o *DocDeploymentDelete) SetRuntimeCnsK8sNil(b bool)` + + SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil + +### UnsetRuntimeCnsK8s +`func (o *DocDeploymentDelete) UnsetRuntimeCnsK8s()` + +UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +### GetRuntimeCnsNvidiaDriver + +`func (o *DocDeploymentDelete) GetRuntimeCnsNvidiaDriver() bool` + +GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetRuntimeCnsNvidiaDriverOk + +`func (o *DocDeploymentDelete) GetRuntimeCnsNvidiaDriverOk() (*bool, bool)` + +GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsNvidiaDriver + +`func (o *DocDeploymentDelete) SetRuntimeCnsNvidiaDriver(v bool)` + +SetRuntimeCnsNvidiaDriver sets RuntimeCnsNvidiaDriver field to given value. + +### HasRuntimeCnsNvidiaDriver + +`func (o *DocDeploymentDelete) HasRuntimeCnsNvidiaDriver() bool` + +HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. + +### SetRuntimeCnsNvidiaDriverNil + +`func (o *DocDeploymentDelete) SetRuntimeCnsNvidiaDriverNil(b bool)` + + SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil + +### UnsetRuntimeCnsNvidiaDriver +`func (o *DocDeploymentDelete) UnsetRuntimeCnsNvidiaDriver()` + +UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +### GetRuntimeCnsVersion + +`func (o *DocDeploymentDelete) GetRuntimeCnsVersion() string` + +GetRuntimeCnsVersion returns the RuntimeCnsVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsVersionOk + +`func (o *DocDeploymentDelete) GetRuntimeCnsVersionOk() (*string, bool)` + +GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsVersion + +`func (o *DocDeploymentDelete) SetRuntimeCnsVersion(v string)` + +SetRuntimeCnsVersion sets RuntimeCnsVersion field to given value. + +### HasRuntimeCnsVersion + +`func (o *DocDeploymentDelete) HasRuntimeCnsVersion() bool` + +HasRuntimeCnsVersion returns a boolean if a field has been set. + +### SetRuntimeCnsVersionNil + +`func (o *DocDeploymentDelete) SetRuntimeCnsVersionNil(b bool)` + + SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil + +### UnsetRuntimeCnsVersion +`func (o *DocDeploymentDelete) UnsetRuntimeCnsVersion()` + +UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +### GetRuntimeMig + +`func (o *DocDeploymentDelete) GetRuntimeMig() bool` + +GetRuntimeMig returns the RuntimeMig field if non-nil, zero value otherwise. + +### GetRuntimeMigOk + +`func (o *DocDeploymentDelete) GetRuntimeMigOk() (*bool, bool)` + +GetRuntimeMigOk returns a tuple with the RuntimeMig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMig + +`func (o *DocDeploymentDelete) SetRuntimeMig(v bool)` + +SetRuntimeMig sets RuntimeMig field to given value. + +### HasRuntimeMig + +`func (o *DocDeploymentDelete) HasRuntimeMig() bool` + +HasRuntimeMig returns a boolean if a field has been set. + +### SetRuntimeMigNil + +`func (o *DocDeploymentDelete) SetRuntimeMigNil(b bool)` + + SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil + +### UnsetRuntimeMig +`func (o *DocDeploymentDelete) UnsetRuntimeMig()` + +UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +### GetRuntimeMigProfile + +`func (o *DocDeploymentDelete) GetRuntimeMigProfile() string` + +GetRuntimeMigProfile returns the RuntimeMigProfile field if non-nil, zero value otherwise. + +### GetRuntimeMigProfileOk + +`func (o *DocDeploymentDelete) GetRuntimeMigProfileOk() (*string, bool)` + +GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMigProfile + +`func (o *DocDeploymentDelete) SetRuntimeMigProfile(v string)` + +SetRuntimeMigProfile sets RuntimeMigProfile field to given value. + +### HasRuntimeMigProfile + +`func (o *DocDeploymentDelete) HasRuntimeMigProfile() bool` + +HasRuntimeMigProfile returns a boolean if a field has been set. + +### SetRuntimeMigProfileNil + +`func (o *DocDeploymentDelete) SetRuntimeMigProfileNil(b bool)` + + SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil + +### UnsetRuntimeMigProfile +`func (o *DocDeploymentDelete) UnsetRuntimeMigProfile()` + +UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +### GetRuntimeUrl + +`func (o *DocDeploymentDelete) GetRuntimeUrl() string` + +GetRuntimeUrl returns the RuntimeUrl field if non-nil, zero value otherwise. + +### GetRuntimeUrlOk + +`func (o *DocDeploymentDelete) GetRuntimeUrlOk() (*string, bool)` + +GetRuntimeUrlOk returns a tuple with the RuntimeUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeUrl + +`func (o *DocDeploymentDelete) SetRuntimeUrl(v string)` + +SetRuntimeUrl sets RuntimeUrl field to given value. + +### HasRuntimeUrl + +`func (o *DocDeploymentDelete) HasRuntimeUrl() bool` + +HasRuntimeUrl returns a boolean if a field has been set. + +### SetRuntimeUrlNil + +`func (o *DocDeploymentDelete) SetRuntimeUrlNil(b bool)` + + SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil + +### UnsetRuntimeUrl +`func (o *DocDeploymentDelete) UnsetRuntimeUrl()` + +UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil ### GetSalesCreatedDate `func (o *DocDeploymentDelete) GetSalesCreatedDate() time.Time` diff --git a/v1/providers/launchpad/gen/launchpad/docs/Experience.md b/v1/providers/launchpad/gen/launchpad/docs/Experience.md index c35794b7..bc29e0b3 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/Experience.md +++ b/v1/providers/launchpad/gen/launchpad/docs/Experience.md @@ -34,6 +34,7 @@ Name | Type | Description | Notes **Published** | Pointer to [**PublishedEnum**](PublishedEnum.md) | Is the experience published for use? * `draft` - draft * `no` - no * `yes` - yes | [optional] **Repo** | Pointer to **NullableString** | URL of the repository for provisioning automation | [optional] **RequiredGpus** | Pointer to **[]string** | If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: [\"{l40s_gpu_uuid}\", \"{a100_gpu_uuid}\"] will prefer an l40s). | [optional] +**Runtime** | Pointer to **NullableString** | The default runtime to use when provisioning this experience | [optional] **SaLab** | Pointer to **bool** | Is this a persistent experience for SAs? | [optional] **SystemArch** | [**SystemArchEnum**](SystemArchEnum.md) | Required CPU architecture * `amd64` - amd64 * `arm64` - arm64 | **Title** | **string** | | @@ -838,6 +839,41 @@ SetRequiredGpus sets RequiredGpus field to given value. HasRequiredGpus returns a boolean if a field has been set. +### GetRuntime + +`func (o *Experience) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *Experience) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *Experience) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *Experience) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *Experience) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *Experience) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil ### GetSaLab `func (o *Experience) GetSaLab() bool` diff --git a/v1/providers/launchpad/gen/launchpad/docs/ExperienceBulkUpdate.md b/v1/providers/launchpad/gen/launchpad/docs/ExperienceBulkUpdate.md index cf63470b..a63074c5 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/ExperienceBulkUpdate.md +++ b/v1/providers/launchpad/gen/launchpad/docs/ExperienceBulkUpdate.md @@ -34,6 +34,7 @@ Name | Type | Description | Notes **Published** | Pointer to [**PublishedEnum**](PublishedEnum.md) | Is the experience published for use? * `draft` - draft * `no` - no * `yes` - yes | [optional] **Repo** | Pointer to **NullableString** | URL of the repository for provisioning automation | [optional] **RequiredGpus** | Pointer to **[]string** | If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: [\"{l40s_gpu_uuid}\", \"{a100_gpu_uuid}\"] will prefer an l40s). | [optional] +**Runtime** | Pointer to **NullableString** | The default runtime to use when provisioning this experience | [optional] **SaLab** | Pointer to **bool** | Is this a persistent experience for SAs? | [optional] **SystemArch** | [**SystemArchEnum**](SystemArchEnum.md) | Required CPU architecture * `amd64` - amd64 * `arm64` - arm64 | **Title** | **string** | | @@ -836,6 +837,41 @@ SetRequiredGpus sets RequiredGpus field to given value. HasRequiredGpus returns a boolean if a field has been set. +### GetRuntime + +`func (o *ExperienceBulkUpdate) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *ExperienceBulkUpdate) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *ExperienceBulkUpdate) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *ExperienceBulkUpdate) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *ExperienceBulkUpdate) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *ExperienceBulkUpdate) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil ### GetSaLab `func (o *ExperienceBulkUpdate) GetSaLab() bool` diff --git a/v1/providers/launchpad/gen/launchpad/docs/ExperienceNote.md b/v1/providers/launchpad/gen/launchpad/docs/ExperienceNote.md index 09ff7a8d..9bdcc0a9 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/ExperienceNote.md +++ b/v1/providers/launchpad/gen/launchpad/docs/ExperienceNote.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Content** | Pointer to **string** | Text content of the note | [optional] **Created** | **time.Time** | Timestamp of when the object was created | [readonly] **CreatedBy** | **string** | | [readonly] -**Experience** | [**DeploymentExperience**](DeploymentExperience.md) | | +**Experience** | [**ExperienceNoteExperience**](ExperienceNoteExperience.md) | | **Id** | **string** | | [readonly] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] **ModifiedBy** | **string** | | [readonly] @@ -16,7 +16,7 @@ Name | Type | Description | Notes ### NewExperienceNote -`func NewExperienceNote(created time.Time, createdBy string, experience DeploymentExperience, id string, modified time.Time, modifiedBy string, ) *ExperienceNote` +`func NewExperienceNote(created time.Time, createdBy string, experience ExperienceNoteExperience, id string, modified time.Time, modifiedBy string, ) *ExperienceNote` NewExperienceNote instantiates a new ExperienceNote object This constructor will assign default values to properties that have it defined, @@ -98,20 +98,20 @@ SetCreatedBy sets CreatedBy field to given value. ### GetExperience -`func (o *ExperienceNote) GetExperience() DeploymentExperience` +`func (o *ExperienceNote) GetExperience() ExperienceNoteExperience` GetExperience returns the Experience field if non-nil, zero value otherwise. ### GetExperienceOk -`func (o *ExperienceNote) GetExperienceOk() (*DeploymentExperience, bool)` +`func (o *ExperienceNote) GetExperienceOk() (*ExperienceNoteExperience, bool)` GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperience -`func (o *ExperienceNote) SetExperience(v DeploymentExperience)` +`func (o *ExperienceNote) SetExperience(v ExperienceNoteExperience)` SetExperience sets Experience field to given value. diff --git a/v1/providers/launchpad/gen/launchpad/docs/DeploymentExperience.md b/v1/providers/launchpad/gen/launchpad/docs/ExperienceNoteExperience.md similarity index 66% rename from v1/providers/launchpad/gen/launchpad/docs/DeploymentExperience.md rename to v1/providers/launchpad/gen/launchpad/docs/ExperienceNoteExperience.md index 17163faf..b8f25f4d 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/DeploymentExperience.md +++ b/v1/providers/launchpad/gen/launchpad/docs/ExperienceNoteExperience.md @@ -1,4 +1,4 @@ -# DeploymentExperience +# ExperienceNoteExperience ## Properties @@ -34,6 +34,7 @@ Name | Type | Description | Notes **Published** | Pointer to [**PublishedEnum**](PublishedEnum.md) | Is the experience published for use? * `draft` - draft * `no` - no * `yes` - yes | [optional] **Repo** | Pointer to **string** | URL of the repository for provisioning automation | [optional] **RequiredGpus** | Pointer to **[]string** | If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: [\"{l40s_gpu_uuid}\", \"{a100_gpu_uuid}\"] will prefer an l40s). | [optional] +**Runtime** | Pointer to **string** | The default runtime to use when provisioning this experience | [optional] **SaLab** | Pointer to **bool** | Is this a persistent experience for SAs? | [optional] **SystemArch** | [**SystemArchEnum**](SystemArchEnum.md) | Required CPU architecture * `amd64` - amd64 * `arm64` - arm64 | **Title** | **string** | | @@ -41,810 +42,835 @@ Name | Type | Description | Notes ## Methods -### NewDeploymentExperience +### NewExperienceNoteExperience -`func NewDeploymentExperience(catalogId string, category CategoryEnum, created time.Time, experience string, gpuOs GpuOs, id string, modified time.Time, persona string, pipeline int64, platform PlatformEnum, systemArch SystemArchEnum, title string, ) *DeploymentExperience` +`func NewExperienceNoteExperience(catalogId string, category CategoryEnum, created time.Time, experience string, gpuOs GpuOs, id string, modified time.Time, persona string, pipeline int64, platform PlatformEnum, systemArch SystemArchEnum, title string, ) *ExperienceNoteExperience` -NewDeploymentExperience instantiates a new DeploymentExperience object +NewExperienceNoteExperience instantiates a new ExperienceNoteExperience object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewDeploymentExperienceWithDefaults +### NewExperienceNoteExperienceWithDefaults -`func NewDeploymentExperienceWithDefaults() *DeploymentExperience` +`func NewExperienceNoteExperienceWithDefaults() *ExperienceNoteExperience` -NewDeploymentExperienceWithDefaults instantiates a new DeploymentExperience object +NewExperienceNoteExperienceWithDefaults instantiates a new ExperienceNoteExperience object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetAssignee -`func (o *DeploymentExperience) GetAssignee() string` +`func (o *ExperienceNoteExperience) GetAssignee() string` GetAssignee returns the Assignee field if non-nil, zero value otherwise. ### GetAssigneeOk -`func (o *DeploymentExperience) GetAssigneeOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetAssigneeOk() (*string, bool)` GetAssigneeOk returns a tuple with the Assignee field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAssignee -`func (o *DeploymentExperience) SetAssignee(v string)` +`func (o *ExperienceNoteExperience) SetAssignee(v string)` SetAssignee sets Assignee field to given value. ### HasAssignee -`func (o *DeploymentExperience) HasAssignee() bool` +`func (o *ExperienceNoteExperience) HasAssignee() bool` HasAssignee returns a boolean if a field has been set. ### GetAutoapprove -`func (o *DeploymentExperience) GetAutoapprove() bool` +`func (o *ExperienceNoteExperience) GetAutoapprove() bool` GetAutoapprove returns the Autoapprove field if non-nil, zero value otherwise. ### GetAutoapproveOk -`func (o *DeploymentExperience) GetAutoapproveOk() (*bool, bool)` +`func (o *ExperienceNoteExperience) GetAutoapproveOk() (*bool, bool)` GetAutoapproveOk returns a tuple with the Autoapprove field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAutoapprove -`func (o *DeploymentExperience) SetAutoapprove(v bool)` +`func (o *ExperienceNoteExperience) SetAutoapprove(v bool)` SetAutoapprove sets Autoapprove field to given value. ### HasAutoapprove -`func (o *DeploymentExperience) HasAutoapprove() bool` +`func (o *ExperienceNoteExperience) HasAutoapprove() bool` HasAutoapprove returns a boolean if a field has been set. ### GetAutoprovision -`func (o *DeploymentExperience) GetAutoprovision() bool` +`func (o *ExperienceNoteExperience) GetAutoprovision() bool` GetAutoprovision returns the Autoprovision field if non-nil, zero value otherwise. ### GetAutoprovisionOk -`func (o *DeploymentExperience) GetAutoprovisionOk() (*bool, bool)` +`func (o *ExperienceNoteExperience) GetAutoprovisionOk() (*bool, bool)` GetAutoprovisionOk returns a tuple with the Autoprovision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAutoprovision -`func (o *DeploymentExperience) SetAutoprovision(v bool)` +`func (o *ExperienceNoteExperience) SetAutoprovision(v bool)` SetAutoprovision sets Autoprovision field to given value. ### HasAutoprovision -`func (o *DeploymentExperience) HasAutoprovision() bool` +`func (o *ExperienceNoteExperience) HasAutoprovision() bool` HasAutoprovision returns a boolean if a field has been set. ### GetBootstrap -`func (o *DeploymentExperience) GetBootstrap() bool` +`func (o *ExperienceNoteExperience) GetBootstrap() bool` GetBootstrap returns the Bootstrap field if non-nil, zero value otherwise. ### GetBootstrapOk -`func (o *DeploymentExperience) GetBootstrapOk() (*bool, bool)` +`func (o *ExperienceNoteExperience) GetBootstrapOk() (*bool, bool)` GetBootstrapOk returns a tuple with the Bootstrap field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetBootstrap -`func (o *DeploymentExperience) SetBootstrap(v bool)` +`func (o *ExperienceNoteExperience) SetBootstrap(v bool)` SetBootstrap sets Bootstrap field to given value. ### HasBootstrap -`func (o *DeploymentExperience) HasBootstrap() bool` +`func (o *ExperienceNoteExperience) HasBootstrap() bool` HasBootstrap returns a boolean if a field has been set. ### GetCatalogId -`func (o *DeploymentExperience) GetCatalogId() string` +`func (o *ExperienceNoteExperience) GetCatalogId() string` GetCatalogId returns the CatalogId field if non-nil, zero value otherwise. ### GetCatalogIdOk -`func (o *DeploymentExperience) GetCatalogIdOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetCatalogIdOk() (*string, bool)` GetCatalogIdOk returns a tuple with the CatalogId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCatalogId -`func (o *DeploymentExperience) SetCatalogId(v string)` +`func (o *ExperienceNoteExperience) SetCatalogId(v string)` SetCatalogId sets CatalogId field to given value. ### GetCatalogIdAlias -`func (o *DeploymentExperience) GetCatalogIdAlias() string` +`func (o *ExperienceNoteExperience) GetCatalogIdAlias() string` GetCatalogIdAlias returns the CatalogIdAlias field if non-nil, zero value otherwise. ### GetCatalogIdAliasOk -`func (o *DeploymentExperience) GetCatalogIdAliasOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetCatalogIdAliasOk() (*string, bool)` GetCatalogIdAliasOk returns a tuple with the CatalogIdAlias field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCatalogIdAlias -`func (o *DeploymentExperience) SetCatalogIdAlias(v string)` +`func (o *ExperienceNoteExperience) SetCatalogIdAlias(v string)` SetCatalogIdAlias sets CatalogIdAlias field to given value. ### HasCatalogIdAlias -`func (o *DeploymentExperience) HasCatalogIdAlias() bool` +`func (o *ExperienceNoteExperience) HasCatalogIdAlias() bool` HasCatalogIdAlias returns a boolean if a field has been set. ### GetCategory -`func (o *DeploymentExperience) GetCategory() CategoryEnum` +`func (o *ExperienceNoteExperience) GetCategory() CategoryEnum` GetCategory returns the Category field if non-nil, zero value otherwise. ### GetCategoryOk -`func (o *DeploymentExperience) GetCategoryOk() (*CategoryEnum, bool)` +`func (o *ExperienceNoteExperience) GetCategoryOk() (*CategoryEnum, bool)` GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCategory -`func (o *DeploymentExperience) SetCategory(v CategoryEnum)` +`func (o *ExperienceNoteExperience) SetCategory(v CategoryEnum)` SetCategory sets Category field to given value. ### GetCollectionBranch -`func (o *DeploymentExperience) GetCollectionBranch() string` +`func (o *ExperienceNoteExperience) GetCollectionBranch() string` GetCollectionBranch returns the CollectionBranch field if non-nil, zero value otherwise. ### GetCollectionBranchOk -`func (o *DeploymentExperience) GetCollectionBranchOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetCollectionBranchOk() (*string, bool)` GetCollectionBranchOk returns a tuple with the CollectionBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCollectionBranch -`func (o *DeploymentExperience) SetCollectionBranch(v string)` +`func (o *ExperienceNoteExperience) SetCollectionBranch(v string)` SetCollectionBranch sets CollectionBranch field to given value. ### HasCollectionBranch -`func (o *DeploymentExperience) HasCollectionBranch() bool` +`func (o *ExperienceNoteExperience) HasCollectionBranch() bool` HasCollectionBranch returns a boolean if a field has been set. ### GetCreated -`func (o *DeploymentExperience) GetCreated() time.Time` +`func (o *ExperienceNoteExperience) GetCreated() time.Time` GetCreated returns the Created field if non-nil, zero value otherwise. ### GetCreatedOk -`func (o *DeploymentExperience) GetCreatedOk() (*time.Time, bool)` +`func (o *ExperienceNoteExperience) GetCreatedOk() (*time.Time, bool)` GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreated -`func (o *DeploymentExperience) SetCreated(v time.Time)` +`func (o *ExperienceNoteExperience) SetCreated(v time.Time)` SetCreated sets Created field to given value. ### GetDescription -`func (o *DeploymentExperience) GetDescription() string` +`func (o *ExperienceNoteExperience) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *DeploymentExperience) GetDescriptionOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *DeploymentExperience) SetDescription(v string)` +`func (o *ExperienceNoteExperience) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *DeploymentExperience) HasDescription() bool` +`func (o *ExperienceNoteExperience) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetExperience -`func (o *DeploymentExperience) GetExperience() string` +`func (o *ExperienceNoteExperience) GetExperience() string` GetExperience returns the Experience field if non-nil, zero value otherwise. ### GetExperienceOk -`func (o *DeploymentExperience) GetExperienceOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetExperienceOk() (*string, bool)` GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperience -`func (o *DeploymentExperience) SetExperience(v string)` +`func (o *ExperienceNoteExperience) SetExperience(v string)` SetExperience sets Experience field to given value. ### GetExperienceBranch -`func (o *DeploymentExperience) GetExperienceBranch() string` +`func (o *ExperienceNoteExperience) GetExperienceBranch() string` GetExperienceBranch returns the ExperienceBranch field if non-nil, zero value otherwise. ### GetExperienceBranchOk -`func (o *DeploymentExperience) GetExperienceBranchOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetExperienceBranchOk() (*string, bool)` GetExperienceBranchOk returns a tuple with the ExperienceBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExperienceBranch -`func (o *DeploymentExperience) SetExperienceBranch(v string)` +`func (o *ExperienceNoteExperience) SetExperienceBranch(v string)` SetExperienceBranch sets ExperienceBranch field to given value. ### HasExperienceBranch -`func (o *DeploymentExperience) HasExperienceBranch() bool` +`func (o *ExperienceNoteExperience) HasExperienceBranch() bool` HasExperienceBranch returns a boolean if a field has been set. ### GetFcPlatform -`func (o *DeploymentExperience) GetFcPlatform() FcPlatformEnum` +`func (o *ExperienceNoteExperience) GetFcPlatform() FcPlatformEnum` GetFcPlatform returns the FcPlatform field if non-nil, zero value otherwise. ### GetFcPlatformOk -`func (o *DeploymentExperience) GetFcPlatformOk() (*FcPlatformEnum, bool)` +`func (o *ExperienceNoteExperience) GetFcPlatformOk() (*FcPlatformEnum, bool)` GetFcPlatformOk returns a tuple with the FcPlatform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFcPlatform -`func (o *DeploymentExperience) SetFcPlatform(v FcPlatformEnum)` +`func (o *ExperienceNoteExperience) SetFcPlatform(v FcPlatformEnum)` SetFcPlatform sets FcPlatform field to given value. ### HasFcPlatform -`func (o *DeploymentExperience) HasFcPlatform() bool` +`func (o *ExperienceNoteExperience) HasFcPlatform() bool` HasFcPlatform returns a boolean if a field has been set. ### GetFcSupport -`func (o *DeploymentExperience) GetFcSupport() bool` +`func (o *ExperienceNoteExperience) GetFcSupport() bool` GetFcSupport returns the FcSupport field if non-nil, zero value otherwise. ### GetFcSupportOk -`func (o *DeploymentExperience) GetFcSupportOk() (*bool, bool)` +`func (o *ExperienceNoteExperience) GetFcSupportOk() (*bool, bool)` GetFcSupportOk returns a tuple with the FcSupport field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFcSupport -`func (o *DeploymentExperience) SetFcSupport(v bool)` +`func (o *ExperienceNoteExperience) SetFcSupport(v bool)` SetFcSupport sets FcSupport field to given value. ### HasFcSupport -`func (o *DeploymentExperience) HasFcSupport() bool` +`func (o *ExperienceNoteExperience) HasFcSupport() bool` HasFcSupport returns a boolean if a field has been set. ### GetGarageId -`func (o *DeploymentExperience) GetGarageId() string` +`func (o *ExperienceNoteExperience) GetGarageId() string` GetGarageId returns the GarageId field if non-nil, zero value otherwise. ### GetGarageIdOk -`func (o *DeploymentExperience) GetGarageIdOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetGarageIdOk() (*string, bool)` GetGarageIdOk returns a tuple with the GarageId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGarageId -`func (o *DeploymentExperience) SetGarageId(v string)` +`func (o *ExperienceNoteExperience) SetGarageId(v string)` SetGarageId sets GarageId field to given value. ### HasGarageId -`func (o *DeploymentExperience) HasGarageId() bool` +`func (o *ExperienceNoteExperience) HasGarageId() bool` HasGarageId returns a boolean if a field has been set. ### GetGcBranch -`func (o *DeploymentExperience) GetGcBranch() string` +`func (o *ExperienceNoteExperience) GetGcBranch() string` GetGcBranch returns the GcBranch field if non-nil, zero value otherwise. ### GetGcBranchOk -`func (o *DeploymentExperience) GetGcBranchOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetGcBranchOk() (*string, bool)` GetGcBranchOk returns a tuple with the GcBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGcBranch -`func (o *DeploymentExperience) SetGcBranch(v string)` +`func (o *ExperienceNoteExperience) SetGcBranch(v string)` SetGcBranch sets GcBranch field to given value. ### HasGcBranch -`func (o *DeploymentExperience) HasGcBranch() bool` +`func (o *ExperienceNoteExperience) HasGcBranch() bool` HasGcBranch returns a boolean if a field has been set. ### GetGpuCount -`func (o *DeploymentExperience) GetGpuCount() int32` +`func (o *ExperienceNoteExperience) GetGpuCount() int32` GetGpuCount returns the GpuCount field if non-nil, zero value otherwise. ### GetGpuCountOk -`func (o *DeploymentExperience) GetGpuCountOk() (*int32, bool)` +`func (o *ExperienceNoteExperience) GetGpuCountOk() (*int32, bool)` GetGpuCountOk returns a tuple with the GpuCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGpuCount -`func (o *DeploymentExperience) SetGpuCount(v int32)` +`func (o *ExperienceNoteExperience) SetGpuCount(v int32)` SetGpuCount sets GpuCount field to given value. ### HasGpuCount -`func (o *DeploymentExperience) HasGpuCount() bool` +`func (o *ExperienceNoteExperience) HasGpuCount() bool` HasGpuCount returns a boolean if a field has been set. ### GetGpuOs -`func (o *DeploymentExperience) GetGpuOs() GpuOs` +`func (o *ExperienceNoteExperience) GetGpuOs() GpuOs` GetGpuOs returns the GpuOs field if non-nil, zero value otherwise. ### GetGpuOsOk -`func (o *DeploymentExperience) GetGpuOsOk() (*GpuOs, bool)` +`func (o *ExperienceNoteExperience) GetGpuOsOk() (*GpuOs, bool)` GetGpuOsOk returns a tuple with the GpuOs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGpuOs -`func (o *DeploymentExperience) SetGpuOs(v GpuOs)` +`func (o *ExperienceNoteExperience) SetGpuOs(v GpuOs)` SetGpuOs sets GpuOs field to given value. ### GetId -`func (o *DeploymentExperience) GetId() string` +`func (o *ExperienceNoteExperience) GetId() string` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk -`func (o *DeploymentExperience) GetIdOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetIdOk() (*string, bool)` GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetId -`func (o *DeploymentExperience) SetId(v string)` +`func (o *ExperienceNoteExperience) SetId(v string)` SetId sets Id field to given value. ### GetInactivityMax -`func (o *DeploymentExperience) GetInactivityMax() int32` +`func (o *ExperienceNoteExperience) GetInactivityMax() int32` GetInactivityMax returns the InactivityMax field if non-nil, zero value otherwise. ### GetInactivityMaxOk -`func (o *DeploymentExperience) GetInactivityMaxOk() (*int32, bool)` +`func (o *ExperienceNoteExperience) GetInactivityMaxOk() (*int32, bool)` GetInactivityMaxOk returns a tuple with the InactivityMax field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInactivityMax -`func (o *DeploymentExperience) SetInactivityMax(v int32)` +`func (o *ExperienceNoteExperience) SetInactivityMax(v int32)` SetInactivityMax sets InactivityMax field to given value. ### HasInactivityMax -`func (o *DeploymentExperience) HasInactivityMax() bool` +`func (o *ExperienceNoteExperience) HasInactivityMax() bool` HasInactivityMax returns a boolean if a field has been set. ### GetLifetime -`func (o *DeploymentExperience) GetLifetime() int32` +`func (o *ExperienceNoteExperience) GetLifetime() int32` GetLifetime returns the Lifetime field if non-nil, zero value otherwise. ### GetLifetimeOk -`func (o *DeploymentExperience) GetLifetimeOk() (*int32, bool)` +`func (o *ExperienceNoteExperience) GetLifetimeOk() (*int32, bool)` GetLifetimeOk returns a tuple with the Lifetime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLifetime -`func (o *DeploymentExperience) SetLifetime(v int32)` +`func (o *ExperienceNoteExperience) SetLifetime(v int32)` SetLifetime sets Lifetime field to given value. ### HasLifetime -`func (o *DeploymentExperience) HasLifetime() bool` +`func (o *ExperienceNoteExperience) HasLifetime() bool` HasLifetime returns a boolean if a field has been set. ### GetModified -`func (o *DeploymentExperience) GetModified() time.Time` +`func (o *ExperienceNoteExperience) GetModified() time.Time` GetModified returns the Modified field if non-nil, zero value otherwise. ### GetModifiedOk -`func (o *DeploymentExperience) GetModifiedOk() (*time.Time, bool)` +`func (o *ExperienceNoteExperience) GetModifiedOk() (*time.Time, bool)` GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetModified -`func (o *DeploymentExperience) SetModified(v time.Time)` +`func (o *ExperienceNoteExperience) SetModified(v time.Time)` SetModified sets Modified field to given value. ### GetNodeCount -`func (o *DeploymentExperience) GetNodeCount() int32` +`func (o *ExperienceNoteExperience) GetNodeCount() int32` GetNodeCount returns the NodeCount field if non-nil, zero value otherwise. ### GetNodeCountOk -`func (o *DeploymentExperience) GetNodeCountOk() (*int32, bool)` +`func (o *ExperienceNoteExperience) GetNodeCountOk() (*int32, bool)` GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNodeCount -`func (o *DeploymentExperience) SetNodeCount(v int32)` +`func (o *ExperienceNoteExperience) SetNodeCount(v int32)` SetNodeCount sets NodeCount field to given value. ### HasNodeCount -`func (o *DeploymentExperience) HasNodeCount() bool` +`func (o *ExperienceNoteExperience) HasNodeCount() bool` HasNodeCount returns a boolean if a field has been set. ### GetPersona -`func (o *DeploymentExperience) GetPersona() string` +`func (o *ExperienceNoteExperience) GetPersona() string` GetPersona returns the Persona field if non-nil, zero value otherwise. ### GetPersonaOk -`func (o *DeploymentExperience) GetPersonaOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetPersonaOk() (*string, bool)` GetPersonaOk returns a tuple with the Persona field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPersona -`func (o *DeploymentExperience) SetPersona(v string)` +`func (o *ExperienceNoteExperience) SetPersona(v string)` SetPersona sets Persona field to given value. ### GetPipeline -`func (o *DeploymentExperience) GetPipeline() int64` +`func (o *ExperienceNoteExperience) GetPipeline() int64` GetPipeline returns the Pipeline field if non-nil, zero value otherwise. ### GetPipelineOk -`func (o *DeploymentExperience) GetPipelineOk() (*int64, bool)` +`func (o *ExperienceNoteExperience) GetPipelineOk() (*int64, bool)` GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPipeline -`func (o *DeploymentExperience) SetPipeline(v int64)` +`func (o *ExperienceNoteExperience) SetPipeline(v int64)` SetPipeline sets Pipeline field to given value. ### GetPlatform -`func (o *DeploymentExperience) GetPlatform() PlatformEnum` +`func (o *ExperienceNoteExperience) GetPlatform() PlatformEnum` GetPlatform returns the Platform field if non-nil, zero value otherwise. ### GetPlatformOk -`func (o *DeploymentExperience) GetPlatformOk() (*PlatformEnum, bool)` +`func (o *ExperienceNoteExperience) GetPlatformOk() (*PlatformEnum, bool)` GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlatform -`func (o *DeploymentExperience) SetPlatform(v PlatformEnum)` +`func (o *ExperienceNoteExperience) SetPlatform(v PlatformEnum)` SetPlatform sets Platform field to given value. ### GetProvider -`func (o *DeploymentExperience) GetProvider() string` +`func (o *ExperienceNoteExperience) GetProvider() string` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *DeploymentExperience) GetProviderOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetProviderOk() (*string, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *DeploymentExperience) SetProvider(v string)` +`func (o *ExperienceNoteExperience) SetProvider(v string)` SetProvider sets Provider field to given value. ### HasProvider -`func (o *DeploymentExperience) HasProvider() bool` +`func (o *ExperienceNoteExperience) HasProvider() bool` HasProvider returns a boolean if a field has been set. ### GetPublished -`func (o *DeploymentExperience) GetPublished() PublishedEnum` +`func (o *ExperienceNoteExperience) GetPublished() PublishedEnum` GetPublished returns the Published field if non-nil, zero value otherwise. ### GetPublishedOk -`func (o *DeploymentExperience) GetPublishedOk() (*PublishedEnum, bool)` +`func (o *ExperienceNoteExperience) GetPublishedOk() (*PublishedEnum, bool)` GetPublishedOk returns a tuple with the Published field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPublished -`func (o *DeploymentExperience) SetPublished(v PublishedEnum)` +`func (o *ExperienceNoteExperience) SetPublished(v PublishedEnum)` SetPublished sets Published field to given value. ### HasPublished -`func (o *DeploymentExperience) HasPublished() bool` +`func (o *ExperienceNoteExperience) HasPublished() bool` HasPublished returns a boolean if a field has been set. ### GetRepo -`func (o *DeploymentExperience) GetRepo() string` +`func (o *ExperienceNoteExperience) GetRepo() string` GetRepo returns the Repo field if non-nil, zero value otherwise. ### GetRepoOk -`func (o *DeploymentExperience) GetRepoOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetRepoOk() (*string, bool)` GetRepoOk returns a tuple with the Repo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepo -`func (o *DeploymentExperience) SetRepo(v string)` +`func (o *ExperienceNoteExperience) SetRepo(v string)` SetRepo sets Repo field to given value. ### HasRepo -`func (o *DeploymentExperience) HasRepo() bool` +`func (o *ExperienceNoteExperience) HasRepo() bool` HasRepo returns a boolean if a field has been set. ### GetRequiredGpus -`func (o *DeploymentExperience) GetRequiredGpus() []string` +`func (o *ExperienceNoteExperience) GetRequiredGpus() []string` GetRequiredGpus returns the RequiredGpus field if non-nil, zero value otherwise. ### GetRequiredGpusOk -`func (o *DeploymentExperience) GetRequiredGpusOk() (*[]string, bool)` +`func (o *ExperienceNoteExperience) GetRequiredGpusOk() (*[]string, bool)` GetRequiredGpusOk returns a tuple with the RequiredGpus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequiredGpus -`func (o *DeploymentExperience) SetRequiredGpus(v []string)` +`func (o *ExperienceNoteExperience) SetRequiredGpus(v []string)` SetRequiredGpus sets RequiredGpus field to given value. ### HasRequiredGpus -`func (o *DeploymentExperience) HasRequiredGpus() bool` +`func (o *ExperienceNoteExperience) HasRequiredGpus() bool` HasRequiredGpus returns a boolean if a field has been set. +### GetRuntime + +`func (o *ExperienceNoteExperience) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *ExperienceNoteExperience) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *ExperienceNoteExperience) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *ExperienceNoteExperience) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + ### GetSaLab -`func (o *DeploymentExperience) GetSaLab() bool` +`func (o *ExperienceNoteExperience) GetSaLab() bool` GetSaLab returns the SaLab field if non-nil, zero value otherwise. ### GetSaLabOk -`func (o *DeploymentExperience) GetSaLabOk() (*bool, bool)` +`func (o *ExperienceNoteExperience) GetSaLabOk() (*bool, bool)` GetSaLabOk returns a tuple with the SaLab field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSaLab -`func (o *DeploymentExperience) SetSaLab(v bool)` +`func (o *ExperienceNoteExperience) SetSaLab(v bool)` SetSaLab sets SaLab field to given value. ### HasSaLab -`func (o *DeploymentExperience) HasSaLab() bool` +`func (o *ExperienceNoteExperience) HasSaLab() bool` HasSaLab returns a boolean if a field has been set. ### GetSystemArch -`func (o *DeploymentExperience) GetSystemArch() SystemArchEnum` +`func (o *ExperienceNoteExperience) GetSystemArch() SystemArchEnum` GetSystemArch returns the SystemArch field if non-nil, zero value otherwise. ### GetSystemArchOk -`func (o *DeploymentExperience) GetSystemArchOk() (*SystemArchEnum, bool)` +`func (o *ExperienceNoteExperience) GetSystemArchOk() (*SystemArchEnum, bool)` GetSystemArchOk returns a tuple with the SystemArch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSystemArch -`func (o *DeploymentExperience) SetSystemArch(v SystemArchEnum)` +`func (o *ExperienceNoteExperience) SetSystemArch(v SystemArchEnum)` SetSystemArch sets SystemArch field to given value. ### GetTitle -`func (o *DeploymentExperience) GetTitle() string` +`func (o *ExperienceNoteExperience) GetTitle() string` GetTitle returns the Title field if non-nil, zero value otherwise. ### GetTitleOk -`func (o *DeploymentExperience) GetTitleOk() (*string, bool)` +`func (o *ExperienceNoteExperience) GetTitleOk() (*string, bool)` GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTitle -`func (o *DeploymentExperience) SetTitle(v string)` +`func (o *ExperienceNoteExperience) SetTitle(v string)` SetTitle sets Title field to given value. ### GetVgpuProfile -`func (o *DeploymentExperience) GetVgpuProfile() VgpuProfileEnum` +`func (o *ExperienceNoteExperience) GetVgpuProfile() VgpuProfileEnum` GetVgpuProfile returns the VgpuProfile field if non-nil, zero value otherwise. ### GetVgpuProfileOk -`func (o *DeploymentExperience) GetVgpuProfileOk() (*VgpuProfileEnum, bool)` +`func (o *ExperienceNoteExperience) GetVgpuProfileOk() (*VgpuProfileEnum, bool)` GetVgpuProfileOk returns a tuple with the VgpuProfile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVgpuProfile -`func (o *DeploymentExperience) SetVgpuProfile(v VgpuProfileEnum)` +`func (o *ExperienceNoteExperience) SetVgpuProfile(v VgpuProfileEnum)` SetVgpuProfile sets VgpuProfile field to given value. ### HasVgpuProfile -`func (o *DeploymentExperience) HasVgpuProfile() bool` +`func (o *ExperienceNoteExperience) HasVgpuProfile() bool` HasVgpuProfile returns a boolean if a field has been set. diff --git a/v1/providers/launchpad/gen/launchpad/docs/HealthAPI.md b/v1/providers/launchpad/gen/launchpad/docs/HealthAPI.md new file mode 100644 index 00000000..3c86dd9b --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/HealthAPI.md @@ -0,0 +1,68 @@ +# \HealthAPI + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**HealthRetrieve**](HealthAPI.md#HealthRetrieve) | **Get** /health/ | + + + +## HealthRetrieve + +> HealthRetrieve200Response HealthRetrieve(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.HealthAPI.HealthRetrieve(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HealthAPI.HealthRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `HealthRetrieve`: HealthRetrieve200Response + fmt.Fprintf(os.Stdout, "Response from `HealthAPI.HealthRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiHealthRetrieveRequest struct via the builder pattern + + +### Return type + +[**HealthRetrieve200Response**](HealthRetrieve200Response.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[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) + diff --git a/v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200Response.md b/v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200Response.md new file mode 100644 index 00000000..b299823d --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200Response.md @@ -0,0 +1,82 @@ +# HealthRetrieve200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | Pointer to **string** | | [optional] +**Components** | Pointer to [**HealthRetrieve200ResponseComponents**](HealthRetrieve200ResponseComponents.md) | | [optional] + +## Methods + +### NewHealthRetrieve200Response + +`func NewHealthRetrieve200Response() *HealthRetrieve200Response` + +NewHealthRetrieve200Response instantiates a new HealthRetrieve200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewHealthRetrieve200ResponseWithDefaults + +`func NewHealthRetrieve200ResponseWithDefaults() *HealthRetrieve200Response` + +NewHealthRetrieve200ResponseWithDefaults instantiates a new HealthRetrieve200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *HealthRetrieve200Response) GetStatus() string` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *HealthRetrieve200Response) GetStatusOk() (*string, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *HealthRetrieve200Response) SetStatus(v string)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *HealthRetrieve200Response) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetComponents + +`func (o *HealthRetrieve200Response) GetComponents() HealthRetrieve200ResponseComponents` + +GetComponents returns the Components field if non-nil, zero value otherwise. + +### GetComponentsOk + +`func (o *HealthRetrieve200Response) GetComponentsOk() (*HealthRetrieve200ResponseComponents, bool)` + +GetComponentsOk returns a tuple with the Components field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComponents + +`func (o *HealthRetrieve200Response) SetComponents(v HealthRetrieve200ResponseComponents)` + +SetComponents sets Components field to given value. + +### HasComponents + +`func (o *HealthRetrieve200Response) HasComponents() bool` + +HasComponents returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200ResponseComponents.md b/v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200ResponseComponents.md new file mode 100644 index 00000000..8957cd46 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/HealthRetrieve200ResponseComponents.md @@ -0,0 +1,82 @@ +# HealthRetrieve200ResponseComponents + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Application** | Pointer to **string** | | [optional] +**Database** | Pointer to **string** | | [optional] + +## Methods + +### NewHealthRetrieve200ResponseComponents + +`func NewHealthRetrieve200ResponseComponents() *HealthRetrieve200ResponseComponents` + +NewHealthRetrieve200ResponseComponents instantiates a new HealthRetrieve200ResponseComponents object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewHealthRetrieve200ResponseComponentsWithDefaults + +`func NewHealthRetrieve200ResponseComponentsWithDefaults() *HealthRetrieve200ResponseComponents` + +NewHealthRetrieve200ResponseComponentsWithDefaults instantiates a new HealthRetrieve200ResponseComponents object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApplication + +`func (o *HealthRetrieve200ResponseComponents) GetApplication() string` + +GetApplication returns the Application field if non-nil, zero value otherwise. + +### GetApplicationOk + +`func (o *HealthRetrieve200ResponseComponents) GetApplicationOk() (*string, bool)` + +GetApplicationOk returns a tuple with the Application field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApplication + +`func (o *HealthRetrieve200ResponseComponents) SetApplication(v string)` + +SetApplication sets Application field to given value. + +### HasApplication + +`func (o *HealthRetrieve200ResponseComponents) HasApplication() bool` + +HasApplication returns a boolean if a field has been set. + +### GetDatabase + +`func (o *HealthRetrieve200ResponseComponents) GetDatabase() string` + +GetDatabase returns the Database field if non-nil, zero value otherwise. + +### GetDatabaseOk + +`func (o *HealthRetrieve200ResponseComponents) GetDatabaseOk() (*string, bool)` + +GetDatabaseOk returns a tuple with the Database field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDatabase + +`func (o *HealthRetrieve200ResponseComponents) SetDatabase(v string)` + +SetDatabase sets Database field to given value. + +### HasDatabase + +`func (o *HealthRetrieve200ResponseComponents) HasDatabase() bool` + +HasDatabase returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/IdentityProfileAPI.md b/v1/providers/launchpad/gen/launchpad/docs/IdentityProfileAPI.md index 3b671b40..657dc601 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/IdentityProfileAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/IdentityProfileAPI.md @@ -4,14 +4,14 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**IdentityProfilePartialUpdate**](IdentityProfileAPI.md#IdentityProfilePartialUpdate) | **Patch** /v1/identity/profile/ | -[**IdentityProfileRetrieve**](IdentityProfileAPI.md#IdentityProfileRetrieve) | **Get** /v1/identity/profile/ | +[**V1IdentityProfilePartialUpdate**](IdentityProfileAPI.md#V1IdentityProfilePartialUpdate) | **Patch** /v1/identity/profile/ | +[**V1IdentityProfileRetrieve**](IdentityProfileAPI.md#V1IdentityProfileRetrieve) | **Get** /v1/identity/profile/ | -## IdentityProfilePartialUpdate +## V1IdentityProfilePartialUpdate -> Profile IdentityProfilePartialUpdate(ctx).Profile(profile).Execute() +> Profile V1IdentityProfilePartialUpdate(ctx).Profile(profile).Execute() @@ -33,13 +33,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IdentityProfileAPI.IdentityProfilePartialUpdate(context.Background()).Profile(profile).Execute() + resp, r, err := apiClient.IdentityProfileAPI.V1IdentityProfilePartialUpdate(context.Background()).Profile(profile).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfileAPI.IdentityProfilePartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfileAPI.V1IdentityProfilePartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `IdentityProfilePartialUpdate`: Profile - fmt.Fprintf(os.Stdout, "Response from `IdentityProfileAPI.IdentityProfilePartialUpdate`: %v\n", resp) + // response from `V1IdentityProfilePartialUpdate`: Profile + fmt.Fprintf(os.Stdout, "Response from `IdentityProfileAPI.V1IdentityProfilePartialUpdate`: %v\n", resp) } ``` @@ -49,7 +49,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiIdentityProfilePartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1IdentityProfilePartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -74,9 +74,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## IdentityProfileRetrieve +## V1IdentityProfileRetrieve -> Profile IdentityProfileRetrieve(ctx).Execute() +> Profile V1IdentityProfileRetrieve(ctx).Execute() @@ -96,13 +96,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.IdentityProfileAPI.IdentityProfileRetrieve(context.Background()).Execute() + resp, r, err := apiClient.IdentityProfileAPI.V1IdentityProfileRetrieve(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfileAPI.IdentityProfileRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfileAPI.V1IdentityProfileRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `IdentityProfileRetrieve`: Profile - fmt.Fprintf(os.Stdout, "Response from `IdentityProfileAPI.IdentityProfileRetrieve`: %v\n", resp) + // response from `V1IdentityProfileRetrieve`: Profile + fmt.Fprintf(os.Stdout, "Response from `IdentityProfileAPI.V1IdentityProfileRetrieve`: %v\n", resp) } ``` @@ -112,7 +112,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiIdentityProfileRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1IdentityProfileRetrieveRequest struct via the builder pattern ### Return type diff --git a/v1/providers/launchpad/gen/launchpad/docs/InventoryClustersAPI.md b/v1/providers/launchpad/gen/launchpad/docs/InventoryClustersAPI.md index ec539490..1653521a 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/InventoryClustersAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/InventoryClustersAPI.md @@ -4,23 +4,27 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**InventoryClustersBulkPartialUpdate**](InventoryClustersAPI.md#InventoryClustersBulkPartialUpdate) | **Patch** /v1/inventory/clusters/bulk/ | -[**InventoryClustersCreate**](InventoryClustersAPI.md#InventoryClustersCreate) | **Post** /v1/inventory/clusters/ | -[**InventoryClustersDestroy**](InventoryClustersAPI.md#InventoryClustersDestroy) | **Delete** /v1/inventory/clusters/{id}/ | -[**InventoryClustersHistoryList**](InventoryClustersAPI.md#InventoryClustersHistoryList) | **Get** /v1/inventory/clusters/{id}/history/ | -[**InventoryClustersList**](InventoryClustersAPI.md#InventoryClustersList) | **Get** /v1/inventory/clusters/ | -[**InventoryClustersPartialUpdate**](InventoryClustersAPI.md#InventoryClustersPartialUpdate) | **Patch** /v1/inventory/clusters/{id}/ | -[**InventoryClustersRetrieve**](InventoryClustersAPI.md#InventoryClustersRetrieve) | **Get** /v1/inventory/clusters/{id}/ | -[**InventoryClustersStatsRetrieve**](InventoryClustersAPI.md#InventoryClustersStatsRetrieve) | **Get** /v1/inventory/clusters/stats/ | 🚧 [Beta Feature] -[**InventoryClustersTenantsCreate**](InventoryClustersAPI.md#InventoryClustersTenantsCreate) | **Post** /v1/inventory/clusters/{cluster_id}/tenants/ | -[**InventoryClustersTenantsDestroy**](InventoryClustersAPI.md#InventoryClustersTenantsDestroy) | **Delete** /v1/inventory/clusters/{cluster_id}/tenants/{id}/ | -[**InventoryClustersUpdate**](InventoryClustersAPI.md#InventoryClustersUpdate) | **Put** /v1/inventory/clusters/{id}/ | +[**V1InventoryClustersBulkPartialUpdate**](InventoryClustersAPI.md#V1InventoryClustersBulkPartialUpdate) | **Patch** /v1/inventory/clusters/bulk/ | +[**V1InventoryClustersCreate**](InventoryClustersAPI.md#V1InventoryClustersCreate) | **Post** /v1/inventory/clusters/ | +[**V1InventoryClustersDestroy**](InventoryClustersAPI.md#V1InventoryClustersDestroy) | **Delete** /v1/inventory/clusters/{id}/ | +[**V1InventoryClustersHistoryList**](InventoryClustersAPI.md#V1InventoryClustersHistoryList) | **Get** /v1/inventory/clusters/{id}/history/ | +[**V1InventoryClustersList**](InventoryClustersAPI.md#V1InventoryClustersList) | **Get** /v1/inventory/clusters/ | +[**V1InventoryClustersPartialUpdate**](InventoryClustersAPI.md#V1InventoryClustersPartialUpdate) | **Patch** /v1/inventory/clusters/{id}/ | +[**V1InventoryClustersPipelinesTriggerCreate**](InventoryClustersAPI.md#V1InventoryClustersPipelinesTriggerCreate) | **Post** /v1/inventory/clusters/{id}/pipelines/trigger/ | +[**V1InventoryClustersProvisionCreate**](InventoryClustersAPI.md#V1InventoryClustersProvisionCreate) | **Post** /v1/inventory/clusters/provision/ | +[**V1InventoryClustersProvisionDestroy**](InventoryClustersAPI.md#V1InventoryClustersProvisionDestroy) | **Delete** /v1/inventory/clusters/{id}/provision/ | +[**V1InventoryClustersProvisionPartialUpdate**](InventoryClustersAPI.md#V1InventoryClustersProvisionPartialUpdate) | **Patch** /v1/inventory/clusters/{id}/provision/ | +[**V1InventoryClustersRetrieve**](InventoryClustersAPI.md#V1InventoryClustersRetrieve) | **Get** /v1/inventory/clusters/{id}/ | +[**V1InventoryClustersStatsRetrieve**](InventoryClustersAPI.md#V1InventoryClustersStatsRetrieve) | **Get** /v1/inventory/clusters/stats/ | 🚧 [Beta Feature] +[**V1InventoryClustersTenantsCreate**](InventoryClustersAPI.md#V1InventoryClustersTenantsCreate) | **Post** /v1/inventory/clusters/{cluster_id}/tenants/ | +[**V1InventoryClustersTenantsDestroy**](InventoryClustersAPI.md#V1InventoryClustersTenantsDestroy) | **Delete** /v1/inventory/clusters/{cluster_id}/tenants/{id}/ | +[**V1InventoryClustersUpdate**](InventoryClustersAPI.md#V1InventoryClustersUpdate) | **Put** /v1/inventory/clusters/{id}/ | -## InventoryClustersBulkPartialUpdate +## V1InventoryClustersBulkPartialUpdate -> ClusterBulkUpdate InventoryClustersBulkPartialUpdate(ctx).ClusterBulkUpdate(clusterBulkUpdate).Execute() +> ClusterBulkUpdate V1InventoryClustersBulkPartialUpdate(ctx).ClusterBulkUpdate(clusterBulkUpdate).Execute() @@ -38,17 +42,17 @@ import ( ) func main() { - clusterBulkUpdate := *openapiclient.NewClusterBulkUpdate(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "GpuAlias_example", int32(123), "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: }, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: }}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), int32(123), false, "PublicAddress_example", "RequestId_example", []string{"TenantIds_example"}, int32(123), []string{"Ids_example"}, "Result_example") // ClusterBulkUpdate | + clusterBulkUpdate := *openapiclient.NewClusterBulkUpdate(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "GpuAlias_example", int32(123), "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: }, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: }}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), int32(123), false, "PublicAddress_example", "RequestId_example", []string{"TenantIds_example"}, int32(123), []string{"Ids_example"}, "Result_example") // ClusterBulkUpdate | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersBulkPartialUpdate(context.Background()).ClusterBulkUpdate(clusterBulkUpdate).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersBulkPartialUpdate(context.Background()).ClusterBulkUpdate(clusterBulkUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersBulkPartialUpdate`: ClusterBulkUpdate - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersBulkPartialUpdate`: %v\n", resp) + // response from `V1InventoryClustersBulkPartialUpdate`: ClusterBulkUpdate + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersBulkPartialUpdate`: %v\n", resp) } ``` @@ -58,7 +62,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -83,9 +87,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersCreate +## V1InventoryClustersCreate -> Cluster InventoryClustersCreate(ctx).Cluster(cluster).Execute() +> Cluster V1InventoryClustersCreate(ctx).Cluster(cluster).Execute() @@ -103,17 +107,17 @@ import ( ) func main() { - cluster := *openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"}) // Cluster | (optional) + cluster := *openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"}) // Cluster | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersCreate(context.Background()).Cluster(cluster).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersCreate(context.Background()).Cluster(cluster).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersCreate`: Cluster - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersCreate`: %v\n", resp) + // response from `V1InventoryClustersCreate`: Cluster + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersCreate`: %v\n", resp) } ``` @@ -123,7 +127,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -148,9 +152,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersDestroy +## V1InventoryClustersDestroy -> InventoryClustersDestroy(ctx, id).Execute() +> V1InventoryClustersDestroy(ctx, id).Execute() @@ -171,9 +175,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryClustersAPI.InventoryClustersDestroy(context.Background(), id).Execute() + r, err := apiClient.InventoryClustersAPI.V1InventoryClustersDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -189,7 +193,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -214,9 +218,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersHistoryList +## V1InventoryClustersHistoryList -> PaginatedModelChangeList InventoryClustersHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1InventoryClustersHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -239,13 +243,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersHistoryList`: %v\n", resp) + // response from `V1InventoryClustersHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersHistoryList`: %v\n", resp) } ``` @@ -259,7 +263,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -286,9 +290,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersList +## V1InventoryClustersList -> PaginatedClusterList InventoryClustersList(ctx).Available(available).BastionName(bastionName).Deployment(deployment).Enabled(enabled).Expand(expand).Experience(experience).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).HasDeployment(hasDeployment).HasRequestId(hasRequestId).HasWorkshopId(hasWorkshopId).Id(id).Location(location).LocationName(locationName).LocationRegion(locationRegion).Maintenance(maintenance).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).MinNodeCount(minNodeCount).MinProvisioningAttempts(minProvisioningAttempts).MinTenantCount(minTenantCount).Netmask(netmask).NodeCount(nodeCount).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persist(persist).Provider(provider).ProviderCapacity(providerCapacity).ProviderName(providerName).ProviderNodeId(providerNodeId).ProvisionUser(provisionUser).ProvisioningAttempts(provisioningAttempts).ProvisioningState(provisioningState).PublicAddress(publicAddress).Rack(rack).RequestId(requestId).Reservation(reservation).Search(search).SystemArch(systemArch).VlanId(vlanId).Workshop(workshop).WorkshopId(workshopId).WorkshopIdNot(workshopIdNot).Execute() +> PaginatedClusterList V1InventoryClustersList(ctx).Available(available).BastionName(bastionName).Deployment(deployment).Enabled(enabled).Expand(expand).Experience(experience).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).HasDeployment(hasDeployment).HasRequestId(hasRequestId).HasWorkshopId(hasWorkshopId).Id(id).Location(location).LocationName(locationName).LocationRegion(locationRegion).Maintenance(maintenance).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).MinNodeCount(minNodeCount).MinProvisioningAttempts(minProvisioningAttempts).MinTenantCount(minTenantCount).Netmask(netmask).NodeCount(nodeCount).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persist(persist).Provider(provider).ProviderCapacity(providerCapacity).ProviderName(providerName).ProviderNodeId(providerNodeId).ProvisionUser(provisionUser).ProvisioningAttempts(provisioningAttempts).ProvisioningState(provisioningState).PublicAddress(publicAddress).Rack(rack).RequestId(requestId).Reservation(reservation).Search(search).SystemArch(systemArch).VlanId(vlanId).Workshop(workshop).WorkshopId(workshopId).WorkshopIdNot(workshopIdNot).Execute() @@ -359,13 +363,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersList(context.Background()).Available(available).BastionName(bastionName).Deployment(deployment).Enabled(enabled).Expand(expand).Experience(experience).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).HasDeployment(hasDeployment).HasRequestId(hasRequestId).HasWorkshopId(hasWorkshopId).Id(id).Location(location).LocationName(locationName).LocationRegion(locationRegion).Maintenance(maintenance).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).MinNodeCount(minNodeCount).MinProvisioningAttempts(minProvisioningAttempts).MinTenantCount(minTenantCount).Netmask(netmask).NodeCount(nodeCount).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persist(persist).Provider(provider).ProviderCapacity(providerCapacity).ProviderName(providerName).ProviderNodeId(providerNodeId).ProvisionUser(provisionUser).ProvisioningAttempts(provisioningAttempts).ProvisioningState(provisioningState).PublicAddress(publicAddress).Rack(rack).RequestId(requestId).Reservation(reservation).Search(search).SystemArch(systemArch).VlanId(vlanId).Workshop(workshop).WorkshopId(workshopId).WorkshopIdNot(workshopIdNot).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersList(context.Background()).Available(available).BastionName(bastionName).Deployment(deployment).Enabled(enabled).Expand(expand).Experience(experience).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).HasDeployment(hasDeployment).HasRequestId(hasRequestId).HasWorkshopId(hasWorkshopId).Id(id).Location(location).LocationName(locationName).LocationRegion(locationRegion).Maintenance(maintenance).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).MinNodeCount(minNodeCount).MinProvisioningAttempts(minProvisioningAttempts).MinTenantCount(minTenantCount).Netmask(netmask).NodeCount(nodeCount).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Persist(persist).Provider(provider).ProviderCapacity(providerCapacity).ProviderName(providerName).ProviderNodeId(providerNodeId).ProvisionUser(provisionUser).ProvisioningAttempts(provisioningAttempts).ProvisioningState(provisioningState).PublicAddress(publicAddress).Rack(rack).RequestId(requestId).Reservation(reservation).Search(search).SystemArch(systemArch).VlanId(vlanId).Workshop(workshop).WorkshopId(workshopId).WorkshopIdNot(workshopIdNot).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersList`: PaginatedClusterList - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersList`: %v\n", resp) + // response from `V1InventoryClustersList`: PaginatedClusterList + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersList`: %v\n", resp) } ``` @@ -375,7 +379,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersListRequest struct via the builder pattern Name | Type | Description | Notes @@ -450,9 +454,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersPartialUpdate +## V1InventoryClustersPartialUpdate -> Cluster InventoryClustersPartialUpdate(ctx, id).Cluster(cluster).Execute() +> Cluster V1InventoryClustersPartialUpdate(ctx, id).Cluster(cluster).Execute() @@ -471,17 +475,17 @@ import ( func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cluster. - cluster := *openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"}) // Cluster | (optional) + cluster := *openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"}) // Cluster | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersPartialUpdate(context.Background(), id).Cluster(cluster).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersPartialUpdate(context.Background(), id).Cluster(cluster).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersPartialUpdate`: Cluster - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersPartialUpdate`: %v\n", resp) + // response from `V1InventoryClustersPartialUpdate`: Cluster + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersPartialUpdate`: %v\n", resp) } ``` @@ -495,7 +499,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -521,9 +525,286 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersRetrieve +## V1InventoryClustersPipelinesTriggerCreate -> Cluster InventoryClustersRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() +> ClusterPipelineTrigger V1InventoryClustersPipelinesTriggerCreate(ctx, id).ClusterPipelineTrigger(clusterPipelineTrigger).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + clusterPipelineTrigger := *openapiclient.NewClusterPipelineTrigger(openapiclient.PipelineAction("apply"), time.Now(), "Id_example", time.Now(), int32(123), "RequestId_example", "Url_example") // ClusterPipelineTrigger | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersPipelinesTriggerCreate(context.Background(), id).ClusterPipelineTrigger(clusterPipelineTrigger).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersPipelinesTriggerCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1InventoryClustersPipelinesTriggerCreate`: ClusterPipelineTrigger + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersPipelinesTriggerCreate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1InventoryClustersPipelinesTriggerCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **clusterPipelineTrigger** | [**ClusterPipelineTrigger**](ClusterPipelineTrigger.md) | | + +### Return type + +[**ClusterPipelineTrigger**](ClusterPipelineTrigger.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data +- **Accept**: application/json + +[[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) + + +## V1InventoryClustersProvisionCreate + +> ProvisioningRequest V1InventoryClustersProvisionCreate(ctx).ProvisioningRequest(provisioningRequest).Expand(expand).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + provisioningRequest := *openapiclient.NewProvisioningRequest("Experience_example", "RequestId_example") // ProvisioningRequest | + expand := "expand_example" // string | Expand related field(s) instead of only showing a UUID (ex: \"cluster,experience\"). (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersProvisionCreate(context.Background()).ProvisioningRequest(provisioningRequest).Expand(expand).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersProvisionCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1InventoryClustersProvisionCreate`: ProvisioningRequest + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersProvisionCreate`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1InventoryClustersProvisionCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **provisioningRequest** | [**ProvisioningRequest**](ProvisioningRequest.md) | | + **expand** | **string** | Expand related field(s) instead of only showing a UUID (ex: \"cluster,experience\"). | + +### Return type + +[**ProvisioningRequest**](ProvisioningRequest.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data +- **Accept**: application/json + +[[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) + + +## V1InventoryClustersProvisionDestroy + +> Cluster V1InventoryClustersProvisionDestroy(ctx, id).Expand(expand).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + expand := "expand_example" // string | Expand related field(s) instead of only showing a UUID (ex: \"cluster,experience\"). (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersProvisionDestroy(context.Background(), id).Expand(expand).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersProvisionDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1InventoryClustersProvisionDestroy`: Cluster + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersProvisionDestroy`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1InventoryClustersProvisionDestroyRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **expand** | **string** | Expand related field(s) instead of only showing a UUID (ex: \"cluster,experience\"). | + +### Return type + +[**Cluster**](Cluster.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[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) + + +## V1InventoryClustersProvisionPartialUpdate + +> ProvisioningRequest V1InventoryClustersProvisionPartialUpdate(ctx, id).ProvisioningRequest(provisioningRequest).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | + provisioningRequest := *openapiclient.NewProvisioningRequest("Experience_example", "RequestId_example") // ProvisioningRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersProvisionPartialUpdate(context.Background(), id).ProvisioningRequest(provisioningRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersProvisionPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `V1InventoryClustersProvisionPartialUpdate`: ProvisioningRequest + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersProvisionPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiV1InventoryClustersProvisionPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **provisioningRequest** | [**ProvisioningRequest**](ProvisioningRequest.md) | | + +### Return type + +[**ProvisioningRequest**](ProvisioningRequest.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data +- **Accept**: application/json + +[[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) + + +## V1InventoryClustersRetrieve + +> Cluster V1InventoryClustersRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() @@ -547,13 +828,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersRetrieve`: Cluster - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersRetrieve`: %v\n", resp) + // response from `V1InventoryClustersRetrieve`: Cluster + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersRetrieve`: %v\n", resp) } ``` @@ -567,7 +848,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -595,9 +876,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersStatsRetrieve +## V1InventoryClustersStatsRetrieve -> InventoryClustersStatsRetrieve(ctx).Execute() +> V1InventoryClustersStatsRetrieve(ctx).Execute() 🚧 [Beta Feature] @@ -617,9 +898,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryClustersAPI.InventoryClustersStatsRetrieve(context.Background()).Execute() + r, err := apiClient.InventoryClustersAPI.V1InventoryClustersStatsRetrieve(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersStatsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersStatsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -631,7 +912,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersStatsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersStatsRetrieveRequest struct via the builder pattern ### Return type @@ -652,9 +933,9 @@ Other parameters are passed through a pointer to a apiInventoryClustersStatsRetr [[Back to README]](../README.md) -## InventoryClustersTenantsCreate +## V1InventoryClustersTenantsCreate -> Cluster InventoryClustersTenantsCreate(ctx, clusterId).Tenant(tenant).Execute() +> Cluster V1InventoryClustersTenantsCreate(ctx, clusterId).Tenant(tenant).Execute() @@ -676,13 +957,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersTenantsCreate(context.Background(), clusterId).Tenant(tenant).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersTenantsCreate(context.Background(), clusterId).Tenant(tenant).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersTenantsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersTenantsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersTenantsCreate`: Cluster - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersTenantsCreate`: %v\n", resp) + // response from `V1InventoryClustersTenantsCreate`: Cluster + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersTenantsCreate`: %v\n", resp) } ``` @@ -696,7 +977,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersTenantsCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersTenantsCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -722,9 +1003,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersTenantsDestroy +## V1InventoryClustersTenantsDestroy -> InventoryClustersTenantsDestroy(ctx, clusterId, id).Execute() +> V1InventoryClustersTenantsDestroy(ctx, clusterId, id).Execute() @@ -746,9 +1027,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryClustersAPI.InventoryClustersTenantsDestroy(context.Background(), clusterId, id).Execute() + r, err := apiClient.InventoryClustersAPI.V1InventoryClustersTenantsDestroy(context.Background(), clusterId, id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersTenantsDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersTenantsDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -765,7 +1046,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersTenantsDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersTenantsDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -791,9 +1072,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryClustersUpdate +## V1InventoryClustersUpdate -> Cluster InventoryClustersUpdate(ctx, id).Cluster(cluster).Execute() +> Cluster V1InventoryClustersUpdate(ctx, id).Cluster(cluster).Execute() @@ -812,17 +1093,17 @@ import ( func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cluster. - cluster := *openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"}) // Cluster | (optional) + cluster := *openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"}) // Cluster | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryClustersAPI.InventoryClustersUpdate(context.Background(), id).Cluster(cluster).Execute() + resp, r, err := apiClient.InventoryClustersAPI.V1InventoryClustersUpdate(context.Background(), id).Cluster(cluster).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.InventoryClustersUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryClustersAPI.V1InventoryClustersUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryClustersUpdate`: Cluster - fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.InventoryClustersUpdate`: %v\n", resp) + // response from `V1InventoryClustersUpdate`: Cluster + fmt.Fprintf(os.Stdout, "Response from `InventoryClustersAPI.V1InventoryClustersUpdate`: %v\n", resp) } ``` @@ -836,7 +1117,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryClustersUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryClustersUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/InventoryGpusAPI.md b/v1/providers/launchpad/gen/launchpad/docs/InventoryGpusAPI.md index bf68731f..5dec7de2 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/InventoryGpusAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/InventoryGpusAPI.md @@ -4,21 +4,21 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**InventoryGpusBulkPartialUpdate**](InventoryGpusAPI.md#InventoryGpusBulkPartialUpdate) | **Patch** /v1/inventory/gpus/bulk/ | -[**InventoryGpusCreate**](InventoryGpusAPI.md#InventoryGpusCreate) | **Post** /v1/inventory/gpus/ | -[**InventoryGpusDestroy**](InventoryGpusAPI.md#InventoryGpusDestroy) | **Delete** /v1/inventory/gpus/{id}/ | -[**InventoryGpusHistoryList**](InventoryGpusAPI.md#InventoryGpusHistoryList) | **Get** /v1/inventory/gpus/{id}/history/ | -[**InventoryGpusList**](InventoryGpusAPI.md#InventoryGpusList) | **Get** /v1/inventory/gpus/ | -[**InventoryGpusPartialUpdate**](InventoryGpusAPI.md#InventoryGpusPartialUpdate) | **Patch** /v1/inventory/gpus/{id}/ | -[**InventoryGpusRetrieve**](InventoryGpusAPI.md#InventoryGpusRetrieve) | **Get** /v1/inventory/gpus/{id}/ | -[**InventoryGpusStatsRetrieve**](InventoryGpusAPI.md#InventoryGpusStatsRetrieve) | **Get** /v1/inventory/gpus/stats/ | 🚧 [Beta Feature] -[**InventoryGpusUpdate**](InventoryGpusAPI.md#InventoryGpusUpdate) | **Put** /v1/inventory/gpus/{id}/ | +[**V1InventoryGpusBulkPartialUpdate**](InventoryGpusAPI.md#V1InventoryGpusBulkPartialUpdate) | **Patch** /v1/inventory/gpus/bulk/ | +[**V1InventoryGpusCreate**](InventoryGpusAPI.md#V1InventoryGpusCreate) | **Post** /v1/inventory/gpus/ | +[**V1InventoryGpusDestroy**](InventoryGpusAPI.md#V1InventoryGpusDestroy) | **Delete** /v1/inventory/gpus/{id}/ | +[**V1InventoryGpusHistoryList**](InventoryGpusAPI.md#V1InventoryGpusHistoryList) | **Get** /v1/inventory/gpus/{id}/history/ | +[**V1InventoryGpusList**](InventoryGpusAPI.md#V1InventoryGpusList) | **Get** /v1/inventory/gpus/ | +[**V1InventoryGpusPartialUpdate**](InventoryGpusAPI.md#V1InventoryGpusPartialUpdate) | **Patch** /v1/inventory/gpus/{id}/ | +[**V1InventoryGpusRetrieve**](InventoryGpusAPI.md#V1InventoryGpusRetrieve) | **Get** /v1/inventory/gpus/{id}/ | +[**V1InventoryGpusStatsRetrieve**](InventoryGpusAPI.md#V1InventoryGpusStatsRetrieve) | **Get** /v1/inventory/gpus/stats/ | 🚧 [Beta Feature] +[**V1InventoryGpusUpdate**](InventoryGpusAPI.md#V1InventoryGpusUpdate) | **Put** /v1/inventory/gpus/{id}/ | -## InventoryGpusBulkPartialUpdate +## V1InventoryGpusBulkPartialUpdate -> GpuBulkUpdate InventoryGpusBulkPartialUpdate(ctx).GpuBulkUpdate(gpuBulkUpdate).Execute() +> GpuBulkUpdate V1InventoryGpusBulkPartialUpdate(ctx).GpuBulkUpdate(gpuBulkUpdate).Execute() @@ -40,13 +40,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryGpusAPI.InventoryGpusBulkPartialUpdate(context.Background()).GpuBulkUpdate(gpuBulkUpdate).Execute() + resp, r, err := apiClient.InventoryGpusAPI.V1InventoryGpusBulkPartialUpdate(context.Background()).GpuBulkUpdate(gpuBulkUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryGpusBulkPartialUpdate`: GpuBulkUpdate - fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.InventoryGpusBulkPartialUpdate`: %v\n", resp) + // response from `V1InventoryGpusBulkPartialUpdate`: GpuBulkUpdate + fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.V1InventoryGpusBulkPartialUpdate`: %v\n", resp) } ``` @@ -56,7 +56,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -81,9 +81,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryGpusCreate +## V1InventoryGpusCreate -> Gpu InventoryGpusCreate(ctx).Gpu(gpu).Execute() +> Gpu V1InventoryGpusCreate(ctx).Gpu(gpu).Execute() @@ -105,13 +105,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryGpusAPI.InventoryGpusCreate(context.Background()).Gpu(gpu).Execute() + resp, r, err := apiClient.InventoryGpusAPI.V1InventoryGpusCreate(context.Background()).Gpu(gpu).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryGpusCreate`: Gpu - fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.InventoryGpusCreate`: %v\n", resp) + // response from `V1InventoryGpusCreate`: Gpu + fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.V1InventoryGpusCreate`: %v\n", resp) } ``` @@ -121,7 +121,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -146,9 +146,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryGpusDestroy +## V1InventoryGpusDestroy -> InventoryGpusDestroy(ctx, id).Execute() +> V1InventoryGpusDestroy(ctx, id).Execute() @@ -169,9 +169,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryGpusAPI.InventoryGpusDestroy(context.Background(), id).Execute() + r, err := apiClient.InventoryGpusAPI.V1InventoryGpusDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -187,7 +187,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -212,9 +212,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryGpusHistoryList +## V1InventoryGpusHistoryList -> PaginatedModelChangeList InventoryGpusHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1InventoryGpusHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -237,13 +237,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryGpusAPI.InventoryGpusHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.InventoryGpusAPI.V1InventoryGpusHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryGpusHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.InventoryGpusHistoryList`: %v\n", resp) + // response from `V1InventoryGpusHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.V1InventoryGpusHistoryList`: %v\n", resp) } ``` @@ -257,7 +257,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -284,9 +284,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryGpusList +## V1InventoryGpusList -> PaginatedGpuList InventoryGpusList(ctx).Fields(fields).FormFactor(formFactor).Id(id).Model(model).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() +> PaginatedGpuList V1InventoryGpusList(ctx).Fields(fields).FormFactor(formFactor).Id(id).Model(model).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() @@ -316,13 +316,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryGpusAPI.InventoryGpusList(context.Background()).Fields(fields).FormFactor(formFactor).Id(id).Model(model).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() + resp, r, err := apiClient.InventoryGpusAPI.V1InventoryGpusList(context.Background()).Fields(fields).FormFactor(formFactor).Id(id).Model(model).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryGpusList`: PaginatedGpuList - fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.InventoryGpusList`: %v\n", resp) + // response from `V1InventoryGpusList`: PaginatedGpuList + fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.V1InventoryGpusList`: %v\n", resp) } ``` @@ -332,7 +332,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusListRequest struct via the builder pattern Name | Type | Description | Notes @@ -366,9 +366,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryGpusPartialUpdate +## V1InventoryGpusPartialUpdate -> Gpu InventoryGpusPartialUpdate(ctx, id).Gpu(gpu).Execute() +> Gpu V1InventoryGpusPartialUpdate(ctx, id).Gpu(gpu).Execute() @@ -391,13 +391,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryGpusAPI.InventoryGpusPartialUpdate(context.Background(), id).Gpu(gpu).Execute() + resp, r, err := apiClient.InventoryGpusAPI.V1InventoryGpusPartialUpdate(context.Background(), id).Gpu(gpu).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryGpusPartialUpdate`: Gpu - fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.InventoryGpusPartialUpdate`: %v\n", resp) + // response from `V1InventoryGpusPartialUpdate`: Gpu + fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.V1InventoryGpusPartialUpdate`: %v\n", resp) } ``` @@ -411,7 +411,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -437,9 +437,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryGpusRetrieve +## V1InventoryGpusRetrieve -> Gpu InventoryGpusRetrieve(ctx, id).Fields(fields).Omit(omit).Execute() +> Gpu V1InventoryGpusRetrieve(ctx, id).Fields(fields).Omit(omit).Execute() @@ -462,13 +462,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryGpusAPI.InventoryGpusRetrieve(context.Background(), id).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.InventoryGpusAPI.V1InventoryGpusRetrieve(context.Background(), id).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryGpusRetrieve`: Gpu - fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.InventoryGpusRetrieve`: %v\n", resp) + // response from `V1InventoryGpusRetrieve`: Gpu + fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.V1InventoryGpusRetrieve`: %v\n", resp) } ``` @@ -482,7 +482,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -509,9 +509,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryGpusStatsRetrieve +## V1InventoryGpusStatsRetrieve -> InventoryGpusStatsRetrieve(ctx).Execute() +> V1InventoryGpusStatsRetrieve(ctx).Execute() 🚧 [Beta Feature] @@ -531,9 +531,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryGpusAPI.InventoryGpusStatsRetrieve(context.Background()).Execute() + r, err := apiClient.InventoryGpusAPI.V1InventoryGpusStatsRetrieve(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusStatsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusStatsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -545,7 +545,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusStatsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusStatsRetrieveRequest struct via the builder pattern ### Return type @@ -566,9 +566,9 @@ Other parameters are passed through a pointer to a apiInventoryGpusStatsRetrieve [[Back to README]](../README.md) -## InventoryGpusUpdate +## V1InventoryGpusUpdate -> Gpu InventoryGpusUpdate(ctx, id).Gpu(gpu).Execute() +> Gpu V1InventoryGpusUpdate(ctx, id).Gpu(gpu).Execute() @@ -591,13 +591,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryGpusAPI.InventoryGpusUpdate(context.Background(), id).Gpu(gpu).Execute() + resp, r, err := apiClient.InventoryGpusAPI.V1InventoryGpusUpdate(context.Background(), id).Gpu(gpu).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.InventoryGpusUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryGpusAPI.V1InventoryGpusUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryGpusUpdate`: Gpu - fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.InventoryGpusUpdate`: %v\n", resp) + // response from `V1InventoryGpusUpdate`: Gpu + fmt.Fprintf(os.Stdout, "Response from `InventoryGpusAPI.V1InventoryGpusUpdate`: %v\n", resp) } ``` @@ -611,7 +611,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryGpusUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryGpusUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/InventoryInstancesAPI.md b/v1/providers/launchpad/gen/launchpad/docs/InventoryInstancesAPI.md index f83fe05d..e6481750 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/InventoryInstancesAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/InventoryInstancesAPI.md @@ -4,20 +4,20 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**InventoryInstancesBulkPartialUpdate**](InventoryInstancesAPI.md#InventoryInstancesBulkPartialUpdate) | **Patch** /v1/inventory/instances/bulk/ | 🚧 [Beta Feature] -[**InventoryInstancesCreate**](InventoryInstancesAPI.md#InventoryInstancesCreate) | **Post** /v1/inventory/instances/ | 🚧 [Beta Feature] -[**InventoryInstancesDestroy**](InventoryInstancesAPI.md#InventoryInstancesDestroy) | **Delete** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -[**InventoryInstancesHistoryList**](InventoryInstancesAPI.md#InventoryInstancesHistoryList) | **Get** /v1/inventory/instances/{id}/history/ | 🚧 [Beta Feature] -[**InventoryInstancesList**](InventoryInstancesAPI.md#InventoryInstancesList) | **Get** /v1/inventory/instances/ | 🚧 [Beta Feature] -[**InventoryInstancesPartialUpdate**](InventoryInstancesAPI.md#InventoryInstancesPartialUpdate) | **Patch** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -[**InventoryInstancesRetrieve**](InventoryInstancesAPI.md#InventoryInstancesRetrieve) | **Get** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -[**InventoryInstancesUpdate**](InventoryInstancesAPI.md#InventoryInstancesUpdate) | **Put** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +[**V1InventoryInstancesBulkPartialUpdate**](InventoryInstancesAPI.md#V1InventoryInstancesBulkPartialUpdate) | **Patch** /v1/inventory/instances/bulk/ | 🚧 [Beta Feature] +[**V1InventoryInstancesCreate**](InventoryInstancesAPI.md#V1InventoryInstancesCreate) | **Post** /v1/inventory/instances/ | 🚧 [Beta Feature] +[**V1InventoryInstancesDestroy**](InventoryInstancesAPI.md#V1InventoryInstancesDestroy) | **Delete** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +[**V1InventoryInstancesHistoryList**](InventoryInstancesAPI.md#V1InventoryInstancesHistoryList) | **Get** /v1/inventory/instances/{id}/history/ | 🚧 [Beta Feature] +[**V1InventoryInstancesList**](InventoryInstancesAPI.md#V1InventoryInstancesList) | **Get** /v1/inventory/instances/ | 🚧 [Beta Feature] +[**V1InventoryInstancesPartialUpdate**](InventoryInstancesAPI.md#V1InventoryInstancesPartialUpdate) | **Patch** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +[**V1InventoryInstancesRetrieve**](InventoryInstancesAPI.md#V1InventoryInstancesRetrieve) | **Get** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] +[**V1InventoryInstancesUpdate**](InventoryInstancesAPI.md#V1InventoryInstancesUpdate) | **Put** /v1/inventory/instances/{id}/ | 🚧 [Beta Feature] -## InventoryInstancesBulkPartialUpdate +## V1InventoryInstancesBulkPartialUpdate -> InstanceBulkUpdate InventoryInstancesBulkPartialUpdate(ctx).InstanceBulkUpdate(instanceBulkUpdate).Execute() +> InstanceBulkUpdate V1InventoryInstancesBulkPartialUpdate(ctx).InstanceBulkUpdate(instanceBulkUpdate).Execute() 🚧 [Beta Feature] @@ -35,17 +35,17 @@ import ( ) func main() { - instanceBulkUpdate := *openapiclient.NewInstanceBulkUpdate(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now(), int32(123), []string{"Ids_example"}, "Result_example") // InstanceBulkUpdate | + instanceBulkUpdate := *openapiclient.NewInstanceBulkUpdate(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: }, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now(), int32(123), []string{"Ids_example"}, "Result_example") // InstanceBulkUpdate | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryInstancesAPI.InventoryInstancesBulkPartialUpdate(context.Background()).InstanceBulkUpdate(instanceBulkUpdate).Execute() + resp, r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesBulkPartialUpdate(context.Background()).InstanceBulkUpdate(instanceBulkUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryInstancesBulkPartialUpdate`: InstanceBulkUpdate - fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.InventoryInstancesBulkPartialUpdate`: %v\n", resp) + // response from `V1InventoryInstancesBulkPartialUpdate`: InstanceBulkUpdate + fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.V1InventoryInstancesBulkPartialUpdate`: %v\n", resp) } ``` @@ -55,7 +55,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -80,9 +80,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryInstancesCreate +## V1InventoryInstancesCreate -> Instance InventoryInstancesCreate(ctx).Instance(instance).Execute() +> Instance V1InventoryInstancesCreate(ctx).Instance(instance).Execute() 🚧 [Beta Feature] @@ -100,17 +100,17 @@ import ( ) func main() { - instance := *openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now()) // Instance | + instance := *openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now()) // Instance | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryInstancesAPI.InventoryInstancesCreate(context.Background()).Instance(instance).Execute() + resp, r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesCreate(context.Background()).Instance(instance).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryInstancesCreate`: Instance - fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.InventoryInstancesCreate`: %v\n", resp) + // response from `V1InventoryInstancesCreate`: Instance + fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.V1InventoryInstancesCreate`: %v\n", resp) } ``` @@ -120,7 +120,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -145,9 +145,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryInstancesDestroy +## V1InventoryInstancesDestroy -> InventoryInstancesDestroy(ctx, id).Execute() +> V1InventoryInstancesDestroy(ctx, id).Execute() 🚧 [Beta Feature] @@ -168,9 +168,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryInstancesAPI.InventoryInstancesDestroy(context.Background(), id).Execute() + r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -186,7 +186,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -211,9 +211,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryInstancesHistoryList +## V1InventoryInstancesHistoryList -> PaginatedModelChangeList InventoryInstancesHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1InventoryInstancesHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() 🚧 [Beta Feature] @@ -236,13 +236,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryInstancesAPI.InventoryInstancesHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryInstancesHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.InventoryInstancesHistoryList`: %v\n", resp) + // response from `V1InventoryInstancesHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.V1InventoryInstancesHistoryList`: %v\n", resp) } ``` @@ -256,7 +256,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -283,9 +283,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryInstancesList +## V1InventoryInstancesList -> PaginatedInstanceList InventoryInstancesList(ctx).Cluster(cluster).Expand(expand).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() +> PaginatedInstanceList V1InventoryInstancesList(ctx).Cluster(cluster).Expand(expand).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() 🚧 [Beta Feature] @@ -317,13 +317,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryInstancesAPI.InventoryInstancesList(context.Background()).Cluster(cluster).Expand(expand).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() + resp, r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesList(context.Background()).Cluster(cluster).Expand(expand).Fields(fields).Id(id).InstanceId(instanceId).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).State(state).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryInstancesList`: PaginatedInstanceList - fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.InventoryInstancesList`: %v\n", resp) + // response from `V1InventoryInstancesList`: PaginatedInstanceList + fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.V1InventoryInstancesList`: %v\n", resp) } ``` @@ -333,7 +333,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesListRequest struct via the builder pattern Name | Type | Description | Notes @@ -369,9 +369,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryInstancesPartialUpdate +## V1InventoryInstancesPartialUpdate -> Instance InventoryInstancesPartialUpdate(ctx, id).Instance(instance).Execute() +> Instance V1InventoryInstancesPartialUpdate(ctx, id).Instance(instance).Execute() 🚧 [Beta Feature] @@ -390,17 +390,17 @@ import ( func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this instance. - instance := *openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now()) // Instance | + instance := *openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now()) // Instance | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryInstancesAPI.InventoryInstancesPartialUpdate(context.Background(), id).Instance(instance).Execute() + resp, r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesPartialUpdate(context.Background(), id).Instance(instance).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryInstancesPartialUpdate`: Instance - fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.InventoryInstancesPartialUpdate`: %v\n", resp) + // response from `V1InventoryInstancesPartialUpdate`: Instance + fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.V1InventoryInstancesPartialUpdate`: %v\n", resp) } ``` @@ -414,7 +414,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -440,9 +440,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryInstancesRetrieve +## V1InventoryInstancesRetrieve -> Instance InventoryInstancesRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() +> Instance V1InventoryInstancesRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() 🚧 [Beta Feature] @@ -466,13 +466,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryInstancesAPI.InventoryInstancesRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryInstancesRetrieve`: Instance - fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.InventoryInstancesRetrieve`: %v\n", resp) + // response from `V1InventoryInstancesRetrieve`: Instance + fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.V1InventoryInstancesRetrieve`: %v\n", resp) } ``` @@ -486,7 +486,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -514,9 +514,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryInstancesUpdate +## V1InventoryInstancesUpdate -> Instance InventoryInstancesUpdate(ctx, id).Instance(instance).Execute() +> Instance V1InventoryInstancesUpdate(ctx, id).Instance(instance).Execute() 🚧 [Beta Feature] @@ -535,17 +535,17 @@ import ( func main() { id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this instance. - instance := *openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", interface{}(123), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now()) // Instance | + instance := *openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: openapiclient.NewInstance(openapiclient.Deployment_cluster{Cluster: openapiclient.NewCluster(false, time.Now(), openapiclient.Cluster_deployment{Deployment: openapiclient.NewDeployment(time.Now(), "Id_example", time.Now(), "OrgName_example", *openapiclient.NewOverrides(), []string{"Pipelines_example"}, "RequesterEmail_example", "RequesterName_example", int32(123), []string{"Services_example"}, int32(123), "SshUser_example", openapiclient.DeploymentState("destroyed"))}, []openapiclient.ClusterGpusInner{openapiclient.Cluster_gpus_inner{Gpu: openapiclient.NewGpu(time.Now(), "Id_example", "Model_example", time.Now())}}, "Id_example", []openapiclient.ClusterInstancesInner{openapiclient.Cluster_instances_inner{Instance: }}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now())}}, time.Now(), time.Now(), false, []string{"TenantIds_example"})}, time.Now(), "Id_example", "InstanceId_example", time.Now(), time.Now()) // Instance | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryInstancesAPI.InventoryInstancesUpdate(context.Background(), id).Instance(instance).Execute() + resp, r, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesUpdate(context.Background(), id).Instance(instance).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.InventoryInstancesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryInstancesAPI.V1InventoryInstancesUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryInstancesUpdate`: Instance - fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.InventoryInstancesUpdate`: %v\n", resp) + // response from `V1InventoryInstancesUpdate`: Instance + fmt.Fprintf(os.Stdout, "Response from `InventoryInstancesAPI.V1InventoryInstancesUpdate`: %v\n", resp) } ``` @@ -559,7 +559,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryInstancesUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryInstancesUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/InventoryLocationsAPI.md b/v1/providers/launchpad/gen/launchpad/docs/InventoryLocationsAPI.md index ea44f728..e3aefcb6 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/InventoryLocationsAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/InventoryLocationsAPI.md @@ -4,19 +4,19 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**InventoryLocationsCreate**](InventoryLocationsAPI.md#InventoryLocationsCreate) | **Post** /v1/inventory/locations/ | -[**InventoryLocationsDestroy**](InventoryLocationsAPI.md#InventoryLocationsDestroy) | **Delete** /v1/inventory/locations/{id}/ | -[**InventoryLocationsHistoryList**](InventoryLocationsAPI.md#InventoryLocationsHistoryList) | **Get** /v1/inventory/locations/{id}/history/ | -[**InventoryLocationsList**](InventoryLocationsAPI.md#InventoryLocationsList) | **Get** /v1/inventory/locations/ | -[**InventoryLocationsPartialUpdate**](InventoryLocationsAPI.md#InventoryLocationsPartialUpdate) | **Patch** /v1/inventory/locations/{id}/ | -[**InventoryLocationsRetrieve**](InventoryLocationsAPI.md#InventoryLocationsRetrieve) | **Get** /v1/inventory/locations/{id}/ | -[**InventoryLocationsUpdate**](InventoryLocationsAPI.md#InventoryLocationsUpdate) | **Put** /v1/inventory/locations/{id}/ | +[**V1InventoryLocationsCreate**](InventoryLocationsAPI.md#V1InventoryLocationsCreate) | **Post** /v1/inventory/locations/ | +[**V1InventoryLocationsDestroy**](InventoryLocationsAPI.md#V1InventoryLocationsDestroy) | **Delete** /v1/inventory/locations/{id}/ | +[**V1InventoryLocationsHistoryList**](InventoryLocationsAPI.md#V1InventoryLocationsHistoryList) | **Get** /v1/inventory/locations/{id}/history/ | +[**V1InventoryLocationsList**](InventoryLocationsAPI.md#V1InventoryLocationsList) | **Get** /v1/inventory/locations/ | +[**V1InventoryLocationsPartialUpdate**](InventoryLocationsAPI.md#V1InventoryLocationsPartialUpdate) | **Patch** /v1/inventory/locations/{id}/ | +[**V1InventoryLocationsRetrieve**](InventoryLocationsAPI.md#V1InventoryLocationsRetrieve) | **Get** /v1/inventory/locations/{id}/ | +[**V1InventoryLocationsUpdate**](InventoryLocationsAPI.md#V1InventoryLocationsUpdate) | **Put** /v1/inventory/locations/{id}/ | -## InventoryLocationsCreate +## V1InventoryLocationsCreate -> Location InventoryLocationsCreate(ctx).Location(location).Execute() +> Location V1InventoryLocationsCreate(ctx).Location(location).Execute() @@ -38,13 +38,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryLocationsAPI.InventoryLocationsCreate(context.Background()).Location(location).Execute() + resp, r, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsCreate(context.Background()).Location(location).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.InventoryLocationsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.V1InventoryLocationsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryLocationsCreate`: Location - fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.InventoryLocationsCreate`: %v\n", resp) + // response from `V1InventoryLocationsCreate`: Location + fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.V1InventoryLocationsCreate`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryLocationsCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryLocationsCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -79,9 +79,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryLocationsDestroy +## V1InventoryLocationsDestroy -> InventoryLocationsDestroy(ctx, id).Execute() +> V1InventoryLocationsDestroy(ctx, id).Execute() @@ -102,9 +102,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryLocationsAPI.InventoryLocationsDestroy(context.Background(), id).Execute() + r, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.InventoryLocationsDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.V1InventoryLocationsDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -120,7 +120,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryLocationsDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryLocationsDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -145,9 +145,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryLocationsHistoryList +## V1InventoryLocationsHistoryList -> PaginatedModelChangeList InventoryLocationsHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1InventoryLocationsHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -170,13 +170,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryLocationsAPI.InventoryLocationsHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.InventoryLocationsHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.V1InventoryLocationsHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryLocationsHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.InventoryLocationsHistoryList`: %v\n", resp) + // response from `V1InventoryLocationsHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.V1InventoryLocationsHistoryList`: %v\n", resp) } ``` @@ -190,7 +190,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryLocationsHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryLocationsHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -217,9 +217,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryLocationsList +## V1InventoryLocationsList -> PaginatedLocationList InventoryLocationsList(ctx).Expand(expand).Fields(fields).Id(id).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Region(region).Search(search).Execute() +> PaginatedLocationList V1InventoryLocationsList(ctx).Expand(expand).Fields(fields).Id(id).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Region(region).Search(search).Execute() @@ -250,13 +250,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryLocationsAPI.InventoryLocationsList(context.Background()).Expand(expand).Fields(fields).Id(id).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Region(region).Search(search).Execute() + resp, r, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsList(context.Background()).Expand(expand).Fields(fields).Id(id).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).Region(region).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.InventoryLocationsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.V1InventoryLocationsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryLocationsList`: PaginatedLocationList - fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.InventoryLocationsList`: %v\n", resp) + // response from `V1InventoryLocationsList`: PaginatedLocationList + fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.V1InventoryLocationsList`: %v\n", resp) } ``` @@ -266,7 +266,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryLocationsListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryLocationsListRequest struct via the builder pattern Name | Type | Description | Notes @@ -301,9 +301,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryLocationsPartialUpdate +## V1InventoryLocationsPartialUpdate -> Location InventoryLocationsPartialUpdate(ctx, id).Location(location).Execute() +> Location V1InventoryLocationsPartialUpdate(ctx, id).Location(location).Execute() @@ -326,13 +326,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryLocationsAPI.InventoryLocationsPartialUpdate(context.Background(), id).Location(location).Execute() + resp, r, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsPartialUpdate(context.Background(), id).Location(location).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.InventoryLocationsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.V1InventoryLocationsPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryLocationsPartialUpdate`: Location - fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.InventoryLocationsPartialUpdate`: %v\n", resp) + // response from `V1InventoryLocationsPartialUpdate`: Location + fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.V1InventoryLocationsPartialUpdate`: %v\n", resp) } ``` @@ -346,7 +346,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryLocationsPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryLocationsPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -372,9 +372,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryLocationsRetrieve +## V1InventoryLocationsRetrieve -> Location InventoryLocationsRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() +> Location V1InventoryLocationsRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() @@ -398,13 +398,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryLocationsAPI.InventoryLocationsRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.InventoryLocationsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.V1InventoryLocationsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryLocationsRetrieve`: Location - fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.InventoryLocationsRetrieve`: %v\n", resp) + // response from `V1InventoryLocationsRetrieve`: Location + fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.V1InventoryLocationsRetrieve`: %v\n", resp) } ``` @@ -418,7 +418,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryLocationsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryLocationsRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -446,9 +446,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryLocationsUpdate +## V1InventoryLocationsUpdate -> Location InventoryLocationsUpdate(ctx, id).Location(location).Execute() +> Location V1InventoryLocationsUpdate(ctx, id).Location(location).Execute() @@ -471,13 +471,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryLocationsAPI.InventoryLocationsUpdate(context.Background(), id).Location(location).Execute() + resp, r, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsUpdate(context.Background(), id).Location(location).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.InventoryLocationsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryLocationsAPI.V1InventoryLocationsUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryLocationsUpdate`: Location - fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.InventoryLocationsUpdate`: %v\n", resp) + // response from `V1InventoryLocationsUpdate`: Location + fmt.Fprintf(os.Stdout, "Response from `InventoryLocationsAPI.V1InventoryLocationsUpdate`: %v\n", resp) } ``` @@ -491,7 +491,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryLocationsUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryLocationsUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/InventoryNodesAPI.md b/v1/providers/launchpad/gen/launchpad/docs/InventoryNodesAPI.md index 7d43baf2..df37bc3d 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/InventoryNodesAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/InventoryNodesAPI.md @@ -4,21 +4,21 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**InventoryNodesBulkCreate**](InventoryNodesAPI.md#InventoryNodesBulkCreate) | **Post** /v1/inventory/nodes/bulk/ | -[**InventoryNodesBulkPartialUpdate**](InventoryNodesAPI.md#InventoryNodesBulkPartialUpdate) | **Patch** /v1/inventory/nodes/bulk/ | -[**InventoryNodesCreate**](InventoryNodesAPI.md#InventoryNodesCreate) | **Post** /v1/inventory/nodes/ | -[**InventoryNodesDestroy**](InventoryNodesAPI.md#InventoryNodesDestroy) | **Delete** /v1/inventory/nodes/{id}/ | -[**InventoryNodesHistoryList**](InventoryNodesAPI.md#InventoryNodesHistoryList) | **Get** /v1/inventory/nodes/{id}/history/ | -[**InventoryNodesList**](InventoryNodesAPI.md#InventoryNodesList) | **Get** /v1/inventory/nodes/ | -[**InventoryNodesPartialUpdate**](InventoryNodesAPI.md#InventoryNodesPartialUpdate) | **Patch** /v1/inventory/nodes/{id}/ | -[**InventoryNodesRetrieve**](InventoryNodesAPI.md#InventoryNodesRetrieve) | **Get** /v1/inventory/nodes/{id}/ | -[**InventoryNodesUpdate**](InventoryNodesAPI.md#InventoryNodesUpdate) | **Put** /v1/inventory/nodes/{id}/ | +[**V1InventoryNodesBulkCreate**](InventoryNodesAPI.md#V1InventoryNodesBulkCreate) | **Post** /v1/inventory/nodes/bulk/ | +[**V1InventoryNodesBulkPartialUpdate**](InventoryNodesAPI.md#V1InventoryNodesBulkPartialUpdate) | **Patch** /v1/inventory/nodes/bulk/ | +[**V1InventoryNodesCreate**](InventoryNodesAPI.md#V1InventoryNodesCreate) | **Post** /v1/inventory/nodes/ | +[**V1InventoryNodesDestroy**](InventoryNodesAPI.md#V1InventoryNodesDestroy) | **Delete** /v1/inventory/nodes/{id}/ | +[**V1InventoryNodesHistoryList**](InventoryNodesAPI.md#V1InventoryNodesHistoryList) | **Get** /v1/inventory/nodes/{id}/history/ | +[**V1InventoryNodesList**](InventoryNodesAPI.md#V1InventoryNodesList) | **Get** /v1/inventory/nodes/ | +[**V1InventoryNodesPartialUpdate**](InventoryNodesAPI.md#V1InventoryNodesPartialUpdate) | **Patch** /v1/inventory/nodes/{id}/ | +[**V1InventoryNodesRetrieve**](InventoryNodesAPI.md#V1InventoryNodesRetrieve) | **Get** /v1/inventory/nodes/{id}/ | +[**V1InventoryNodesUpdate**](InventoryNodesAPI.md#V1InventoryNodesUpdate) | **Put** /v1/inventory/nodes/{id}/ | -## InventoryNodesBulkCreate +## V1InventoryNodesBulkCreate -> NodeBulk InventoryNodesBulkCreate(ctx).CsvFile(csvFile).Execute() +> NodeBulk V1InventoryNodesBulkCreate(ctx).CsvFile(csvFile).Execute() @@ -41,13 +41,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesBulkCreate(context.Background()).CsvFile(csvFile).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesBulkCreate(context.Background()).CsvFile(csvFile).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesBulkCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesBulkCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesBulkCreate`: NodeBulk - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesBulkCreate`: %v\n", resp) + // response from `V1InventoryNodesBulkCreate`: NodeBulk + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesBulkCreate`: %v\n", resp) } ``` @@ -57,7 +57,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesBulkCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesBulkCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -82,9 +82,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesBulkPartialUpdate +## V1InventoryNodesBulkPartialUpdate -> NodeBulkUpdate InventoryNodesBulkPartialUpdate(ctx).NodeBulkUpdate(nodeBulkUpdate).Execute() +> NodeBulkUpdate V1InventoryNodesBulkPartialUpdate(ctx).NodeBulkUpdate(nodeBulkUpdate).Execute() @@ -106,13 +106,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesBulkPartialUpdate(context.Background()).NodeBulkUpdate(nodeBulkUpdate).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesBulkPartialUpdate(context.Background()).NodeBulkUpdate(nodeBulkUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesBulkPartialUpdate`: NodeBulkUpdate - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesBulkPartialUpdate`: %v\n", resp) + // response from `V1InventoryNodesBulkPartialUpdate`: NodeBulkUpdate + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesBulkPartialUpdate`: %v\n", resp) } ``` @@ -122,7 +122,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -147,9 +147,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesCreate +## V1InventoryNodesCreate -> Node InventoryNodesCreate(ctx).Node(node).Execute() +> Node V1InventoryNodesCreate(ctx).Node(node).Execute() @@ -171,13 +171,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesCreate(context.Background()).Node(node).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesCreate(context.Background()).Node(node).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesCreate`: Node - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesCreate`: %v\n", resp) + // response from `V1InventoryNodesCreate`: Node + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesCreate`: %v\n", resp) } ``` @@ -187,7 +187,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -212,9 +212,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesDestroy +## V1InventoryNodesDestroy -> InventoryNodesDestroy(ctx, id).Execute() +> V1InventoryNodesDestroy(ctx, id).Execute() @@ -235,9 +235,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryNodesAPI.InventoryNodesDestroy(context.Background(), id).Execute() + r, err := apiClient.InventoryNodesAPI.V1InventoryNodesDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -253,7 +253,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -278,9 +278,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesHistoryList +## V1InventoryNodesHistoryList -> PaginatedModelChangeList InventoryNodesHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1InventoryNodesHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -303,13 +303,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesHistoryList`: %v\n", resp) + // response from `V1InventoryNodesHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesHistoryList`: %v\n", resp) } ``` @@ -323,7 +323,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -350,9 +350,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesList +## V1InventoryNodesList -> PaginatedNodeList InventoryNodesList(ctx).BmcIp(bmcIp).BmcMac(bmcMac).BmcPassword(bmcPassword).BmcUser(bmcUser).Cluster(cluster).Cpu(cpu).CpuManufacturer(cpuManufacturer).CpuModel(cpuModel).Expand(expand).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuVbios(gpuVbios).Id(id).Location(location).Memory(memory).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).Model(model).NetworkType(networkType).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).ProviderNodeId(providerNodeId).Rack(rack).RackUnit(rackUnit).Search(search).SerialNumber(serialNumber).SystemArch(systemArch).Tee(tee).Execute() +> PaginatedNodeList V1InventoryNodesList(ctx).BmcIp(bmcIp).BmcMac(bmcMac).Cluster(cluster).Cpu(cpu).CpuManufacturer(cpuManufacturer).CpuModel(cpuModel).Expand(expand).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuVbios(gpuVbios).Id(id).Location(location).Memory(memory).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).Model(model).NetworkType(networkType).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).ProviderNodeId(providerNodeId).Rack(rack).RackUnit(rackUnit).Search(search).SerialNumber(serialNumber).SystemArch(systemArch).Tee(tee).Execute() @@ -371,8 +371,6 @@ import ( func main() { bmcIp := "bmcIp_example" // string | (optional) bmcMac := "bmcMac_example" // string | (optional) - bmcPassword := "bmcPassword_example" // string | (optional) - bmcUser := "bmcUser_example" // string | (optional) cluster := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) cpu := int32(56) // int32 | (optional) cpuManufacturer := "cpuManufacturer_example" // string | Manufacturer of the node's CPU * `amd` - AMD * `arm` - ARM * `intel` - Intel (optional) @@ -402,20 +400,20 @@ func main() { providerNodeId := "providerNodeId_example" // string | (optional) rack := "rack_example" // string | (optional) rackUnit := int32(56) // int32 | (optional) - search := "search_example" // string | Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch (optional) + search := "search_example" // string | Search for nodes by bmc_ip, bmc_mac, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch (optional) serialNumber := "serialNumber_example" // string | (optional) systemArch := "systemArch_example" // string | CPU architecture * `amd64` - amd64 * `arm64` - arm64 (optional) tee := true // bool | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesList(context.Background()).BmcIp(bmcIp).BmcMac(bmcMac).BmcPassword(bmcPassword).BmcUser(bmcUser).Cluster(cluster).Cpu(cpu).CpuManufacturer(cpuManufacturer).CpuModel(cpuModel).Expand(expand).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuVbios(gpuVbios).Id(id).Location(location).Memory(memory).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).Model(model).NetworkType(networkType).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).ProviderNodeId(providerNodeId).Rack(rack).RackUnit(rackUnit).Search(search).SerialNumber(serialNumber).SystemArch(systemArch).Tee(tee).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesList(context.Background()).BmcIp(bmcIp).BmcMac(bmcMac).Cluster(cluster).Cpu(cpu).CpuManufacturer(cpuManufacturer).CpuModel(cpuModel).Expand(expand).Fields(fields).GarageId(garageId).Gpu(gpu).GpuAlias(gpuAlias).GpuCount(gpuCount).GpuModel(gpuModel).GpuVbios(gpuVbios).Id(id).Location(location).Memory(memory).MgmtIp(mgmtIp).MgmtMac(mgmtMac).MinGpuCount(minGpuCount).Model(model).NetworkType(networkType).Oem(oem).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Provider(provider).ProviderNodeId(providerNodeId).Rack(rack).RackUnit(rackUnit).Search(search).SerialNumber(serialNumber).SystemArch(systemArch).Tee(tee).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesList`: PaginatedNodeList - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesList`: %v\n", resp) + // response from `V1InventoryNodesList`: PaginatedNodeList + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesList`: %v\n", resp) } ``` @@ -425,15 +423,13 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **bmcIp** | **string** | | **bmcMac** | **string** | | - **bmcPassword** | **string** | | - **bmcUser** | **string** | | **cluster** | **string** | | **cpu** | **int32** | | **cpuManufacturer** | **string** | Manufacturer of the node's CPU * `amd` - AMD * `arm` - ARM * `intel` - Intel | @@ -463,7 +459,7 @@ Name | Type | Description | Notes **providerNodeId** | **string** | | **rack** | **string** | | **rackUnit** | **int32** | | - **search** | **string** | Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch | + **search** | **string** | Search for nodes by bmc_ip, bmc_mac, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch | **serialNumber** | **string** | | **systemArch** | **string** | CPU architecture * `amd64` - amd64 * `arm64` - arm64 | **tee** | **bool** | | @@ -486,9 +482,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesPartialUpdate +## V1InventoryNodesPartialUpdate -> Node InventoryNodesPartialUpdate(ctx, id).Node(node).Execute() +> Node V1InventoryNodesPartialUpdate(ctx, id).Node(node).Execute() @@ -511,13 +507,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesPartialUpdate(context.Background(), id).Node(node).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesPartialUpdate(context.Background(), id).Node(node).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesPartialUpdate`: Node - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesPartialUpdate`: %v\n", resp) + // response from `V1InventoryNodesPartialUpdate`: Node + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesPartialUpdate`: %v\n", resp) } ``` @@ -531,7 +527,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -557,9 +553,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesRetrieve +## V1InventoryNodesRetrieve -> Node InventoryNodesRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() +> Node V1InventoryNodesRetrieve(ctx, id).Expand(expand).Fields(fields).Omit(omit).Execute() @@ -583,13 +579,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesRetrieve(context.Background(), id).Expand(expand).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesRetrieve`: Node - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesRetrieve`: %v\n", resp) + // response from `V1InventoryNodesRetrieve`: Node + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesRetrieve`: %v\n", resp) } ``` @@ -603,7 +599,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -631,9 +627,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryNodesUpdate +## V1InventoryNodesUpdate -> Node InventoryNodesUpdate(ctx, id).Node(node).Execute() +> Node V1InventoryNodesUpdate(ctx, id).Node(node).Execute() @@ -656,13 +652,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryNodesAPI.InventoryNodesUpdate(context.Background(), id).Node(node).Execute() + resp, r, err := apiClient.InventoryNodesAPI.V1InventoryNodesUpdate(context.Background(), id).Node(node).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.InventoryNodesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryNodesAPI.V1InventoryNodesUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryNodesUpdate`: Node - fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.InventoryNodesUpdate`: %v\n", resp) + // response from `V1InventoryNodesUpdate`: Node + fmt.Fprintf(os.Stdout, "Response from `InventoryNodesAPI.V1InventoryNodesUpdate`: %v\n", resp) } ``` @@ -676,7 +672,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryNodesUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryNodesUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/InventoryOemsAPI.md b/v1/providers/launchpad/gen/launchpad/docs/InventoryOemsAPI.md index 7bbc9873..52def269 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/InventoryOemsAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/InventoryOemsAPI.md @@ -4,19 +4,19 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**InventoryOemsCreate**](InventoryOemsAPI.md#InventoryOemsCreate) | **Post** /v1/inventory/oems/ | -[**InventoryOemsDestroy**](InventoryOemsAPI.md#InventoryOemsDestroy) | **Delete** /v1/inventory/oems/{id}/ | -[**InventoryOemsHistoryList**](InventoryOemsAPI.md#InventoryOemsHistoryList) | **Get** /v1/inventory/oems/{id}/history/ | -[**InventoryOemsList**](InventoryOemsAPI.md#InventoryOemsList) | **Get** /v1/inventory/oems/ | -[**InventoryOemsPartialUpdate**](InventoryOemsAPI.md#InventoryOemsPartialUpdate) | **Patch** /v1/inventory/oems/{id}/ | -[**InventoryOemsRetrieve**](InventoryOemsAPI.md#InventoryOemsRetrieve) | **Get** /v1/inventory/oems/{id}/ | -[**InventoryOemsUpdate**](InventoryOemsAPI.md#InventoryOemsUpdate) | **Put** /v1/inventory/oems/{id}/ | +[**V1InventoryOemsCreate**](InventoryOemsAPI.md#V1InventoryOemsCreate) | **Post** /v1/inventory/oems/ | +[**V1InventoryOemsDestroy**](InventoryOemsAPI.md#V1InventoryOemsDestroy) | **Delete** /v1/inventory/oems/{id}/ | +[**V1InventoryOemsHistoryList**](InventoryOemsAPI.md#V1InventoryOemsHistoryList) | **Get** /v1/inventory/oems/{id}/history/ | +[**V1InventoryOemsList**](InventoryOemsAPI.md#V1InventoryOemsList) | **Get** /v1/inventory/oems/ | +[**V1InventoryOemsPartialUpdate**](InventoryOemsAPI.md#V1InventoryOemsPartialUpdate) | **Patch** /v1/inventory/oems/{id}/ | +[**V1InventoryOemsRetrieve**](InventoryOemsAPI.md#V1InventoryOemsRetrieve) | **Get** /v1/inventory/oems/{id}/ | +[**V1InventoryOemsUpdate**](InventoryOemsAPI.md#V1InventoryOemsUpdate) | **Put** /v1/inventory/oems/{id}/ | -## InventoryOemsCreate +## V1InventoryOemsCreate -> OEM InventoryOemsCreate(ctx).OEM(oEM).Execute() +> OEM V1InventoryOemsCreate(ctx).OEM(oEM).Execute() @@ -38,13 +38,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryOemsAPI.InventoryOemsCreate(context.Background()).OEM(oEM).Execute() + resp, r, err := apiClient.InventoryOemsAPI.V1InventoryOemsCreate(context.Background()).OEM(oEM).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.InventoryOemsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.V1InventoryOemsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryOemsCreate`: OEM - fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.InventoryOemsCreate`: %v\n", resp) + // response from `V1InventoryOemsCreate`: OEM + fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.V1InventoryOemsCreate`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryOemsCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryOemsCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -79,9 +79,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryOemsDestroy +## V1InventoryOemsDestroy -> InventoryOemsDestroy(ctx, id).Execute() +> V1InventoryOemsDestroy(ctx, id).Execute() @@ -102,9 +102,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryOemsAPI.InventoryOemsDestroy(context.Background(), id).Execute() + r, err := apiClient.InventoryOemsAPI.V1InventoryOemsDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.InventoryOemsDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.V1InventoryOemsDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -120,7 +120,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryOemsDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryOemsDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -145,9 +145,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryOemsHistoryList +## V1InventoryOemsHistoryList -> PaginatedModelChangeList InventoryOemsHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1InventoryOemsHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -170,13 +170,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryOemsAPI.InventoryOemsHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.InventoryOemsAPI.V1InventoryOemsHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.InventoryOemsHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.V1InventoryOemsHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryOemsHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.InventoryOemsHistoryList`: %v\n", resp) + // response from `V1InventoryOemsHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.V1InventoryOemsHistoryList`: %v\n", resp) } ``` @@ -190,7 +190,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryOemsHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryOemsHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -217,9 +217,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryOemsList +## V1InventoryOemsList -> PaginatedOEMList InventoryOemsList(ctx).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() +> PaginatedOEMList V1InventoryOemsList(ctx).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() @@ -245,13 +245,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryOemsAPI.InventoryOemsList(context.Background()).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() + resp, r, err := apiClient.InventoryOemsAPI.V1InventoryOemsList(context.Background()).Id(id).Name(name).Ordering(ordering).Page(page).PageSize(pageSize).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.InventoryOemsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.V1InventoryOemsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryOemsList`: PaginatedOEMList - fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.InventoryOemsList`: %v\n", resp) + // response from `V1InventoryOemsList`: PaginatedOEMList + fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.V1InventoryOemsList`: %v\n", resp) } ``` @@ -261,7 +261,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryOemsListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryOemsListRequest struct via the builder pattern Name | Type | Description | Notes @@ -291,9 +291,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryOemsPartialUpdate +## V1InventoryOemsPartialUpdate -> OEM InventoryOemsPartialUpdate(ctx, id).OEM(oEM).Execute() +> OEM V1InventoryOemsPartialUpdate(ctx, id).OEM(oEM).Execute() @@ -316,13 +316,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryOemsAPI.InventoryOemsPartialUpdate(context.Background(), id).OEM(oEM).Execute() + resp, r, err := apiClient.InventoryOemsAPI.V1InventoryOemsPartialUpdate(context.Background(), id).OEM(oEM).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.InventoryOemsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.V1InventoryOemsPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryOemsPartialUpdate`: OEM - fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.InventoryOemsPartialUpdate`: %v\n", resp) + // response from `V1InventoryOemsPartialUpdate`: OEM + fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.V1InventoryOemsPartialUpdate`: %v\n", resp) } ``` @@ -336,7 +336,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryOemsPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryOemsPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -362,9 +362,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryOemsRetrieve +## V1InventoryOemsRetrieve -> OEM InventoryOemsRetrieve(ctx, id).Execute() +> OEM V1InventoryOemsRetrieve(ctx, id).Execute() @@ -385,13 +385,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryOemsAPI.InventoryOemsRetrieve(context.Background(), id).Execute() + resp, r, err := apiClient.InventoryOemsAPI.V1InventoryOemsRetrieve(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.InventoryOemsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.V1InventoryOemsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryOemsRetrieve`: OEM - fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.InventoryOemsRetrieve`: %v\n", resp) + // response from `V1InventoryOemsRetrieve`: OEM + fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.V1InventoryOemsRetrieve`: %v\n", resp) } ``` @@ -405,7 +405,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryOemsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryOemsRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -430,9 +430,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryOemsUpdate +## V1InventoryOemsUpdate -> OEM InventoryOemsUpdate(ctx, id).OEM(oEM).Execute() +> OEM V1InventoryOemsUpdate(ctx, id).OEM(oEM).Execute() @@ -455,13 +455,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryOemsAPI.InventoryOemsUpdate(context.Background(), id).OEM(oEM).Execute() + resp, r, err := apiClient.InventoryOemsAPI.V1InventoryOemsUpdate(context.Background(), id).OEM(oEM).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.InventoryOemsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryOemsAPI.V1InventoryOemsUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryOemsUpdate`: OEM - fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.InventoryOemsUpdate`: %v\n", resp) + // response from `V1InventoryOemsUpdate`: OEM + fmt.Fprintf(os.Stdout, "Response from `InventoryOemsAPI.V1InventoryOemsUpdate`: %v\n", resp) } ``` @@ -475,7 +475,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryOemsUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryOemsUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/InventoryProvidersAPI.md b/v1/providers/launchpad/gen/launchpad/docs/InventoryProvidersAPI.md index 7b58637e..225c516b 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/InventoryProvidersAPI.md +++ b/v1/providers/launchpad/gen/launchpad/docs/InventoryProvidersAPI.md @@ -4,21 +4,21 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**InventoryProvidersBulkPartialUpdate**](InventoryProvidersAPI.md#InventoryProvidersBulkPartialUpdate) | **Patch** /v1/inventory/providers/bulk/ | -[**InventoryProvidersCreate**](InventoryProvidersAPI.md#InventoryProvidersCreate) | **Post** /v1/inventory/providers/ | -[**InventoryProvidersDestroy**](InventoryProvidersAPI.md#InventoryProvidersDestroy) | **Delete** /v1/inventory/providers/{id}/ | -[**InventoryProvidersHistoryList**](InventoryProvidersAPI.md#InventoryProvidersHistoryList) | **Get** /v1/inventory/providers/{id}/history/ | -[**InventoryProvidersList**](InventoryProvidersAPI.md#InventoryProvidersList) | **Get** /v1/inventory/providers/ | -[**InventoryProvidersPartialUpdate**](InventoryProvidersAPI.md#InventoryProvidersPartialUpdate) | **Patch** /v1/inventory/providers/{id}/ | -[**InventoryProvidersRetrieve**](InventoryProvidersAPI.md#InventoryProvidersRetrieve) | **Get** /v1/inventory/providers/{id}/ | -[**InventoryProvidersStatsRetrieve**](InventoryProvidersAPI.md#InventoryProvidersStatsRetrieve) | **Get** /v1/inventory/providers/stats/ | 🚧 [Beta Feature] -[**InventoryProvidersUpdate**](InventoryProvidersAPI.md#InventoryProvidersUpdate) | **Put** /v1/inventory/providers/{id}/ | +[**V1InventoryProvidersBulkPartialUpdate**](InventoryProvidersAPI.md#V1InventoryProvidersBulkPartialUpdate) | **Patch** /v1/inventory/providers/bulk/ | +[**V1InventoryProvidersCreate**](InventoryProvidersAPI.md#V1InventoryProvidersCreate) | **Post** /v1/inventory/providers/ | +[**V1InventoryProvidersDestroy**](InventoryProvidersAPI.md#V1InventoryProvidersDestroy) | **Delete** /v1/inventory/providers/{id}/ | +[**V1InventoryProvidersHistoryList**](InventoryProvidersAPI.md#V1InventoryProvidersHistoryList) | **Get** /v1/inventory/providers/{id}/history/ | +[**V1InventoryProvidersList**](InventoryProvidersAPI.md#V1InventoryProvidersList) | **Get** /v1/inventory/providers/ | +[**V1InventoryProvidersPartialUpdate**](InventoryProvidersAPI.md#V1InventoryProvidersPartialUpdate) | **Patch** /v1/inventory/providers/{id}/ | +[**V1InventoryProvidersRetrieve**](InventoryProvidersAPI.md#V1InventoryProvidersRetrieve) | **Get** /v1/inventory/providers/{id}/ | +[**V1InventoryProvidersStatsRetrieve**](InventoryProvidersAPI.md#V1InventoryProvidersStatsRetrieve) | **Get** /v1/inventory/providers/stats/ | 🚧 [Beta Feature] +[**V1InventoryProvidersUpdate**](InventoryProvidersAPI.md#V1InventoryProvidersUpdate) | **Put** /v1/inventory/providers/{id}/ | -## InventoryProvidersBulkPartialUpdate +## V1InventoryProvidersBulkPartialUpdate -> ProviderBulkUpdate InventoryProvidersBulkPartialUpdate(ctx).ProviderBulkUpdate(providerBulkUpdate).Execute() +> ProviderBulkUpdate V1InventoryProvidersBulkPartialUpdate(ctx).ProviderBulkUpdate(providerBulkUpdate).Execute() @@ -40,13 +40,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryProvidersAPI.InventoryProvidersBulkPartialUpdate(context.Background()).ProviderBulkUpdate(providerBulkUpdate).Execute() + resp, r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersBulkPartialUpdate(context.Background()).ProviderBulkUpdate(providerBulkUpdate).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersBulkPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersBulkPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryProvidersBulkPartialUpdate`: ProviderBulkUpdate - fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.InventoryProvidersBulkPartialUpdate`: %v\n", resp) + // response from `V1InventoryProvidersBulkPartialUpdate`: ProviderBulkUpdate + fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.V1InventoryProvidersBulkPartialUpdate`: %v\n", resp) } ``` @@ -56,7 +56,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersBulkPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersBulkPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -81,9 +81,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryProvidersCreate +## V1InventoryProvidersCreate -> Provider InventoryProvidersCreate(ctx).Provider(provider).Execute() +> Provider V1InventoryProvidersCreate(ctx).Provider(provider).Execute() @@ -105,13 +105,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryProvidersAPI.InventoryProvidersCreate(context.Background()).Provider(provider).Execute() + resp, r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersCreate(context.Background()).Provider(provider).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryProvidersCreate`: Provider - fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.InventoryProvidersCreate`: %v\n", resp) + // response from `V1InventoryProvidersCreate`: Provider + fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.V1InventoryProvidersCreate`: %v\n", resp) } ``` @@ -121,7 +121,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersCreateRequest struct via the builder pattern Name | Type | Description | Notes @@ -146,9 +146,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryProvidersDestroy +## V1InventoryProvidersDestroy -> InventoryProvidersDestroy(ctx, id).Execute() +> V1InventoryProvidersDestroy(ctx, id).Execute() @@ -169,9 +169,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryProvidersAPI.InventoryProvidersDestroy(context.Background(), id).Execute() + r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersDestroy(context.Background(), id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersDestroy``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersDestroy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -187,7 +187,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersDestroyRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersDestroyRequest struct via the builder pattern Name | Type | Description | Notes @@ -212,9 +212,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryProvidersHistoryList +## V1InventoryProvidersHistoryList -> PaginatedModelChangeList InventoryProvidersHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() +> PaginatedModelChangeList V1InventoryProvidersHistoryList(ctx, id).Page(page).PageSize(pageSize).Execute() @@ -237,13 +237,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryProvidersAPI.InventoryProvidersHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersHistoryList(context.Background(), id).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersHistoryList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersHistoryList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryProvidersHistoryList`: PaginatedModelChangeList - fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.InventoryProvidersHistoryList`: %v\n", resp) + // response from `V1InventoryProvidersHistoryList`: PaginatedModelChangeList + fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.V1InventoryProvidersHistoryList`: %v\n", resp) } ``` @@ -257,7 +257,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersHistoryListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersHistoryListRequest struct via the builder pattern Name | Type | Description | Notes @@ -284,9 +284,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryProvidersList +## V1InventoryProvidersList -> PaginatedProviderList InventoryProvidersList(ctx).DisplayName(displayName).Fields(fields).Id(id).InstanceLimit(instanceLimit).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() +> PaginatedProviderList V1InventoryProvidersList(ctx).DisplayName(displayName).Fields(fields).Id(id).InstanceLimit(instanceLimit).Name(name).Omit(omit).OnDemandSpeed(onDemandSpeed).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() @@ -309,21 +309,22 @@ func main() { instanceLimit := int32(56) // int32 | (optional) name := "name_example" // string | (optional) omit := "omit_example" // string | Exclude the specified fields in the response (optional) + onDemandSpeed := "onDemandSpeed_example" // string | Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow (optional) ordering := "ordering_example" // string | Which field to use when ordering the results. (optional) page := int32(56) // int32 | A page number within the paginated result set. (optional) pageSize := int32(56) // int32 | Number of results to return per page. (optional) priority := int32(56) // int32 | (optional) - search := "search_example" // string | Search for providers by display_name, id, name (optional) + search := "search_example" // string | Search for providers by display_name, id, name, on_demand_speed (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryProvidersAPI.InventoryProvidersList(context.Background()).DisplayName(displayName).Fields(fields).Id(id).InstanceLimit(instanceLimit).Name(name).Omit(omit).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() + resp, r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersList(context.Background()).DisplayName(displayName).Fields(fields).Id(id).InstanceLimit(instanceLimit).Name(name).Omit(omit).OnDemandSpeed(onDemandSpeed).Ordering(ordering).Page(page).PageSize(pageSize).Priority(priority).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryProvidersList`: PaginatedProviderList - fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.InventoryProvidersList`: %v\n", resp) + // response from `V1InventoryProvidersList`: PaginatedProviderList + fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.V1InventoryProvidersList`: %v\n", resp) } ``` @@ -333,7 +334,7 @@ func main() { ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersListRequest struct via the builder pattern Name | Type | Description | Notes @@ -344,11 +345,12 @@ Name | Type | Description | Notes **instanceLimit** | **int32** | | **name** | **string** | | **omit** | **string** | Exclude the specified fields in the response | + **onDemandSpeed** | **string** | Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow | **ordering** | **string** | Which field to use when ordering the results. | **page** | **int32** | A page number within the paginated result set. | **pageSize** | **int32** | Number of results to return per page. | **priority** | **int32** | | - **search** | **string** | Search for providers by display_name, id, name | + **search** | **string** | Search for providers by display_name, id, name, on_demand_speed | ### Return type @@ -368,9 +370,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryProvidersPartialUpdate +## V1InventoryProvidersPartialUpdate -> Provider InventoryProvidersPartialUpdate(ctx, id).Provider(provider).Execute() +> Provider V1InventoryProvidersPartialUpdate(ctx, id).Provider(provider).Execute() @@ -393,13 +395,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryProvidersAPI.InventoryProvidersPartialUpdate(context.Background(), id).Provider(provider).Execute() + resp, r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersPartialUpdate(context.Background(), id).Provider(provider).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryProvidersPartialUpdate`: Provider - fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.InventoryProvidersPartialUpdate`: %v\n", resp) + // response from `V1InventoryProvidersPartialUpdate`: Provider + fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.V1InventoryProvidersPartialUpdate`: %v\n", resp) } ``` @@ -413,7 +415,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes @@ -439,9 +441,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryProvidersRetrieve +## V1InventoryProvidersRetrieve -> Provider InventoryProvidersRetrieve(ctx, id).Fields(fields).Omit(omit).Execute() +> Provider V1InventoryProvidersRetrieve(ctx, id).Fields(fields).Omit(omit).Execute() @@ -464,13 +466,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryProvidersAPI.InventoryProvidersRetrieve(context.Background(), id).Fields(fields).Omit(omit).Execute() + resp, r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersRetrieve(context.Background(), id).Fields(fields).Omit(omit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryProvidersRetrieve`: Provider - fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.InventoryProvidersRetrieve`: %v\n", resp) + // response from `V1InventoryProvidersRetrieve`: Provider + fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.V1InventoryProvidersRetrieve`: %v\n", resp) } ``` @@ -484,7 +486,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersRetrieveRequest struct via the builder pattern Name | Type | Description | Notes @@ -511,9 +513,9 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## InventoryProvidersStatsRetrieve +## V1InventoryProvidersStatsRetrieve -> InventoryProvidersStatsRetrieve(ctx).Execute() +> V1InventoryProvidersStatsRetrieve(ctx).Execute() 🚧 [Beta Feature] @@ -533,9 +535,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.InventoryProvidersAPI.InventoryProvidersStatsRetrieve(context.Background()).Execute() + r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersStatsRetrieve(context.Background()).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersStatsRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersStatsRetrieve``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -547,7 +549,7 @@ This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersStatsRetrieveRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersStatsRetrieveRequest struct via the builder pattern ### Return type @@ -568,9 +570,9 @@ Other parameters are passed through a pointer to a apiInventoryProvidersStatsRet [[Back to README]](../README.md) -## InventoryProvidersUpdate +## V1InventoryProvidersUpdate -> Provider InventoryProvidersUpdate(ctx, id).Provider(provider).Execute() +> Provider V1InventoryProvidersUpdate(ctx, id).Provider(provider).Execute() @@ -593,13 +595,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.InventoryProvidersAPI.InventoryProvidersUpdate(context.Background(), id).Provider(provider).Execute() + resp, r, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersUpdate(context.Background(), id).Provider(provider).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.InventoryProvidersUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `InventoryProvidersAPI.V1InventoryProvidersUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `InventoryProvidersUpdate`: Provider - fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.InventoryProvidersUpdate`: %v\n", resp) + // response from `V1InventoryProvidersUpdate`: Provider + fmt.Fprintf(os.Stdout, "Response from `InventoryProvidersAPI.V1InventoryProvidersUpdate`: %v\n", resp) } ``` @@ -613,7 +615,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiInventoryProvidersUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiV1InventoryProvidersUpdateRequest struct via the builder pattern Name | Type | Description | Notes diff --git a/v1/providers/launchpad/gen/launchpad/docs/LocationProvider.md b/v1/providers/launchpad/gen/launchpad/docs/LocationProvider.md index f7a41eb2..72567aca 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/LocationProvider.md +++ b/v1/providers/launchpad/gen/launchpad/docs/LocationProvider.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **InstanceLimit** | Pointer to **int32** | The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) | [optional] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] **Name** | **string** | | +**OnDemandSpeed** | Pointer to [**OnDemandSpeedEnum**](OnDemandSpeedEnum.md) | Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow | [optional] **Priority** | Pointer to **int32** | Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. | [optional] ## Methods @@ -161,6 +162,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetOnDemandSpeed + +`func (o *LocationProvider) GetOnDemandSpeed() OnDemandSpeedEnum` + +GetOnDemandSpeed returns the OnDemandSpeed field if non-nil, zero value otherwise. + +### GetOnDemandSpeedOk + +`func (o *LocationProvider) GetOnDemandSpeedOk() (*OnDemandSpeedEnum, bool)` + +GetOnDemandSpeedOk returns a tuple with the OnDemandSpeed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnDemandSpeed + +`func (o *LocationProvider) SetOnDemandSpeed(v OnDemandSpeedEnum)` + +SetOnDemandSpeed sets OnDemandSpeed field to given value. + +### HasOnDemandSpeed + +`func (o *LocationProvider) HasOnDemandSpeed() bool` + +HasOnDemandSpeed returns a boolean if a field has been set. + ### GetPriority `func (o *LocationProvider) GetPriority() int32` diff --git a/v1/providers/launchpad/gen/launchpad/docs/DeploymentPipelineActionEnum.md b/v1/providers/launchpad/gen/launchpad/docs/OnDemandSpeedEnum.md similarity index 55% rename from v1/providers/launchpad/gen/launchpad/docs/DeploymentPipelineActionEnum.md rename to v1/providers/launchpad/gen/launchpad/docs/OnDemandSpeedEnum.md index 3d773ed6..9c6450f7 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/DeploymentPipelineActionEnum.md +++ b/v1/providers/launchpad/gen/launchpad/docs/OnDemandSpeedEnum.md @@ -1,11 +1,11 @@ -# DeploymentPipelineActionEnum +# OnDemandSpeedEnum ## Enum -* `DeploymentPipelineActionApply` (value: `"apply"`) +* `OnDemandSpeedFast` (value: `"fast"`) -* `DeploymentPipelineActionDestroy` (value: `"destroy"`) +* `OnDemandSpeedSlow` (value: `"slow"`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/v1/providers/launchpad/gen/launchpad/docs/Overrides.md b/v1/providers/launchpad/gen/launchpad/docs/Overrides.md new file mode 100644 index 00000000..93d1ace3 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/Overrides.md @@ -0,0 +1,1322 @@ +# Overrides + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BastionOperatingSystem** | Pointer to **NullableString** | Override bastion operating system provisioned and/or configured by Liftoff | [optional] +**Cluster** | Pointer to **NullableString** | Target a specific cluster for provisioning | [optional] +**CollectionBranch** | Pointer to **NullableString** | Override the Ansible collection branch initialized within the pipeline | [optional] +**ExperienceBranch** | Pointer to **NullableString** | Override the experience branch | [optional] +**FlightcontrolRelease** | Pointer to **NullableString** | Override the image tag used for Flight Control | [optional] +**GarageId** | Pointer to **NullableString** | Require a cluster with nodes in the given garage | [optional] +**GcBranch** | Pointer to **NullableString** | Override the default Ground Control branch | [optional] +**GpuAlias** | Pointer to **NullableString** | Require a cluster with the given GPU alias | [optional] +**GpuCount** | Pointer to **int32** | Require a cluster with the given number of GPUs | [optional] +**GpuModel** | Pointer to **NullableString** | Require a cluster with the given GPU model | [optional] +**GpuOsName** | Pointer to **NullableString** | Override the GPU node operating system name | [optional] +**GpuOsRelease** | Pointer to **NullableString** | Override the GPU node operating system release | [optional] +**GpuOsVersion** | Pointer to **NullableString** | Override the GPU node operating system version | [optional] +**MinGpuCount** | Pointer to **int32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] +**NodeCount** | Pointer to **int32** | Require a cluster with the given number of nodes | [optional] +**OemName** | Pointer to **NullableString** | Require a cluster manufactured by the given OEM name | [optional] +**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] +**Persona** | Pointer to **NullableString** | Override the defined persona in the experience | [optional] +**Pipeline** | Pointer to **int64** | Override the pipeline ID that will be triggered for request fulfillment | [optional] +**PipelineBranch** | Pointer to **NullableString** | Override the default pipeline branch ref used when triggering a Fuselage pipeline | [optional] +**Platform** | Pointer to [**NullablePlatformEnum**](PlatformEnum.md) | | [optional] +**ProviderName** | Pointer to **NullableString** | Require a cluster from the given provider name | [optional] +**Region** | Pointer to **NullableString** | Require a cluster located in the given region | [optional] +**Runtime** | Pointer to **NullableString** | Use the presets of the given runtime when provisioning this experience | [optional] +**RuntimeBranch** | Pointer to **NullableString** | Override the runtime repository branch | [optional] +**RuntimeCnsAddonPack** | Pointer to **NullableBool** | Override the runtime's CNS add-ons flag | [optional] +**RuntimeCnsDocker** | Pointer to **NullableBool** | Override the runtime's Docker with CNS flag | [optional] +**RuntimeCnsDriverVersion** | Pointer to **NullableString** | Override the runtime's GPU driver version | [optional] +**RuntimeCnsK8s** | Pointer to **NullableBool** | Override the runtime's Kubernetes with CNS flag | [optional] +**RuntimeCnsNvidiaDriver** | Pointer to **NullableBool** | Override the runtime's NVIDIA driver with CNS flag | [optional] +**RuntimeCnsVersion** | Pointer to **NullableString** | Override the runtime's Cloud Native Stack version | [optional] +**RuntimeMig** | Pointer to **NullableBool** | Override the runtime's MIG support with CNS flag | [optional] +**RuntimeMigProfile** | Pointer to **NullableString** | Override the runtime's MIG profile name | [optional] +**RuntimeUrl** | Pointer to **NullableString** | Override the URL of the runtime repository | [optional] +**Workshop** | Pointer to **NullableBool** | Require a cluster whose workshop flag is set | [optional] +**WorkshopId** | Pointer to **NullableString** | Require a cluster with the given workshop ID | [optional] +**WorkshopOverridePassword** | Pointer to **NullableString** | Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) | [optional] + +## Methods + +### NewOverrides + +`func NewOverrides() *Overrides` + +NewOverrides instantiates a new Overrides object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewOverridesWithDefaults + +`func NewOverridesWithDefaults() *Overrides` + +NewOverridesWithDefaults instantiates a new Overrides object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBastionOperatingSystem + +`func (o *Overrides) GetBastionOperatingSystem() string` + +GetBastionOperatingSystem returns the BastionOperatingSystem field if non-nil, zero value otherwise. + +### GetBastionOperatingSystemOk + +`func (o *Overrides) GetBastionOperatingSystemOk() (*string, bool)` + +GetBastionOperatingSystemOk returns a tuple with the BastionOperatingSystem field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBastionOperatingSystem + +`func (o *Overrides) SetBastionOperatingSystem(v string)` + +SetBastionOperatingSystem sets BastionOperatingSystem field to given value. + +### HasBastionOperatingSystem + +`func (o *Overrides) HasBastionOperatingSystem() bool` + +HasBastionOperatingSystem returns a boolean if a field has been set. + +### SetBastionOperatingSystemNil + +`func (o *Overrides) SetBastionOperatingSystemNil(b bool)` + + SetBastionOperatingSystemNil sets the value for BastionOperatingSystem to be an explicit nil + +### UnsetBastionOperatingSystem +`func (o *Overrides) UnsetBastionOperatingSystem()` + +UnsetBastionOperatingSystem ensures that no value is present for BastionOperatingSystem, not even an explicit nil +### GetCluster + +`func (o *Overrides) GetCluster() string` + +GetCluster returns the Cluster field if non-nil, zero value otherwise. + +### GetClusterOk + +`func (o *Overrides) GetClusterOk() (*string, bool)` + +GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCluster + +`func (o *Overrides) SetCluster(v string)` + +SetCluster sets Cluster field to given value. + +### HasCluster + +`func (o *Overrides) HasCluster() bool` + +HasCluster returns a boolean if a field has been set. + +### SetClusterNil + +`func (o *Overrides) SetClusterNil(b bool)` + + SetClusterNil sets the value for Cluster to be an explicit nil + +### UnsetCluster +`func (o *Overrides) UnsetCluster()` + +UnsetCluster ensures that no value is present for Cluster, not even an explicit nil +### GetCollectionBranch + +`func (o *Overrides) GetCollectionBranch() string` + +GetCollectionBranch returns the CollectionBranch field if non-nil, zero value otherwise. + +### GetCollectionBranchOk + +`func (o *Overrides) GetCollectionBranchOk() (*string, bool)` + +GetCollectionBranchOk returns a tuple with the CollectionBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCollectionBranch + +`func (o *Overrides) SetCollectionBranch(v string)` + +SetCollectionBranch sets CollectionBranch field to given value. + +### HasCollectionBranch + +`func (o *Overrides) HasCollectionBranch() bool` + +HasCollectionBranch returns a boolean if a field has been set. + +### SetCollectionBranchNil + +`func (o *Overrides) SetCollectionBranchNil(b bool)` + + SetCollectionBranchNil sets the value for CollectionBranch to be an explicit nil + +### UnsetCollectionBranch +`func (o *Overrides) UnsetCollectionBranch()` + +UnsetCollectionBranch ensures that no value is present for CollectionBranch, not even an explicit nil +### GetExperienceBranch + +`func (o *Overrides) GetExperienceBranch() string` + +GetExperienceBranch returns the ExperienceBranch field if non-nil, zero value otherwise. + +### GetExperienceBranchOk + +`func (o *Overrides) GetExperienceBranchOk() (*string, bool)` + +GetExperienceBranchOk returns a tuple with the ExperienceBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExperienceBranch + +`func (o *Overrides) SetExperienceBranch(v string)` + +SetExperienceBranch sets ExperienceBranch field to given value. + +### HasExperienceBranch + +`func (o *Overrides) HasExperienceBranch() bool` + +HasExperienceBranch returns a boolean if a field has been set. + +### SetExperienceBranchNil + +`func (o *Overrides) SetExperienceBranchNil(b bool)` + + SetExperienceBranchNil sets the value for ExperienceBranch to be an explicit nil + +### UnsetExperienceBranch +`func (o *Overrides) UnsetExperienceBranch()` + +UnsetExperienceBranch ensures that no value is present for ExperienceBranch, not even an explicit nil +### GetFlightcontrolRelease + +`func (o *Overrides) GetFlightcontrolRelease() string` + +GetFlightcontrolRelease returns the FlightcontrolRelease field if non-nil, zero value otherwise. + +### GetFlightcontrolReleaseOk + +`func (o *Overrides) GetFlightcontrolReleaseOk() (*string, bool)` + +GetFlightcontrolReleaseOk returns a tuple with the FlightcontrolRelease field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFlightcontrolRelease + +`func (o *Overrides) SetFlightcontrolRelease(v string)` + +SetFlightcontrolRelease sets FlightcontrolRelease field to given value. + +### HasFlightcontrolRelease + +`func (o *Overrides) HasFlightcontrolRelease() bool` + +HasFlightcontrolRelease returns a boolean if a field has been set. + +### SetFlightcontrolReleaseNil + +`func (o *Overrides) SetFlightcontrolReleaseNil(b bool)` + + SetFlightcontrolReleaseNil sets the value for FlightcontrolRelease to be an explicit nil + +### UnsetFlightcontrolRelease +`func (o *Overrides) UnsetFlightcontrolRelease()` + +UnsetFlightcontrolRelease ensures that no value is present for FlightcontrolRelease, not even an explicit nil +### GetGarageId + +`func (o *Overrides) GetGarageId() string` + +GetGarageId returns the GarageId field if non-nil, zero value otherwise. + +### GetGarageIdOk + +`func (o *Overrides) GetGarageIdOk() (*string, bool)` + +GetGarageIdOk returns a tuple with the GarageId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGarageId + +`func (o *Overrides) SetGarageId(v string)` + +SetGarageId sets GarageId field to given value. + +### HasGarageId + +`func (o *Overrides) HasGarageId() bool` + +HasGarageId returns a boolean if a field has been set. + +### SetGarageIdNil + +`func (o *Overrides) SetGarageIdNil(b bool)` + + SetGarageIdNil sets the value for GarageId to be an explicit nil + +### UnsetGarageId +`func (o *Overrides) UnsetGarageId()` + +UnsetGarageId ensures that no value is present for GarageId, not even an explicit nil +### GetGcBranch + +`func (o *Overrides) GetGcBranch() string` + +GetGcBranch returns the GcBranch field if non-nil, zero value otherwise. + +### GetGcBranchOk + +`func (o *Overrides) GetGcBranchOk() (*string, bool)` + +GetGcBranchOk returns a tuple with the GcBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGcBranch + +`func (o *Overrides) SetGcBranch(v string)` + +SetGcBranch sets GcBranch field to given value. + +### HasGcBranch + +`func (o *Overrides) HasGcBranch() bool` + +HasGcBranch returns a boolean if a field has been set. + +### SetGcBranchNil + +`func (o *Overrides) SetGcBranchNil(b bool)` + + SetGcBranchNil sets the value for GcBranch to be an explicit nil + +### UnsetGcBranch +`func (o *Overrides) UnsetGcBranch()` + +UnsetGcBranch ensures that no value is present for GcBranch, not even an explicit nil +### GetGpuAlias + +`func (o *Overrides) GetGpuAlias() string` + +GetGpuAlias returns the GpuAlias field if non-nil, zero value otherwise. + +### GetGpuAliasOk + +`func (o *Overrides) GetGpuAliasOk() (*string, bool)` + +GetGpuAliasOk returns a tuple with the GpuAlias field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuAlias + +`func (o *Overrides) SetGpuAlias(v string)` + +SetGpuAlias sets GpuAlias field to given value. + +### HasGpuAlias + +`func (o *Overrides) HasGpuAlias() bool` + +HasGpuAlias returns a boolean if a field has been set. + +### SetGpuAliasNil + +`func (o *Overrides) SetGpuAliasNil(b bool)` + + SetGpuAliasNil sets the value for GpuAlias to be an explicit nil + +### UnsetGpuAlias +`func (o *Overrides) UnsetGpuAlias()` + +UnsetGpuAlias ensures that no value is present for GpuAlias, not even an explicit nil +### GetGpuCount + +`func (o *Overrides) GetGpuCount() int32` + +GetGpuCount returns the GpuCount field if non-nil, zero value otherwise. + +### GetGpuCountOk + +`func (o *Overrides) GetGpuCountOk() (*int32, bool)` + +GetGpuCountOk returns a tuple with the GpuCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuCount + +`func (o *Overrides) SetGpuCount(v int32)` + +SetGpuCount sets GpuCount field to given value. + +### HasGpuCount + +`func (o *Overrides) HasGpuCount() bool` + +HasGpuCount returns a boolean if a field has been set. + +### GetGpuModel + +`func (o *Overrides) GetGpuModel() string` + +GetGpuModel returns the GpuModel field if non-nil, zero value otherwise. + +### GetGpuModelOk + +`func (o *Overrides) GetGpuModelOk() (*string, bool)` + +GetGpuModelOk returns a tuple with the GpuModel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuModel + +`func (o *Overrides) SetGpuModel(v string)` + +SetGpuModel sets GpuModel field to given value. + +### HasGpuModel + +`func (o *Overrides) HasGpuModel() bool` + +HasGpuModel returns a boolean if a field has been set. + +### SetGpuModelNil + +`func (o *Overrides) SetGpuModelNil(b bool)` + + SetGpuModelNil sets the value for GpuModel to be an explicit nil + +### UnsetGpuModel +`func (o *Overrides) UnsetGpuModel()` + +UnsetGpuModel ensures that no value is present for GpuModel, not even an explicit nil +### GetGpuOsName + +`func (o *Overrides) GetGpuOsName() string` + +GetGpuOsName returns the GpuOsName field if non-nil, zero value otherwise. + +### GetGpuOsNameOk + +`func (o *Overrides) GetGpuOsNameOk() (*string, bool)` + +GetGpuOsNameOk returns a tuple with the GpuOsName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuOsName + +`func (o *Overrides) SetGpuOsName(v string)` + +SetGpuOsName sets GpuOsName field to given value. + +### HasGpuOsName + +`func (o *Overrides) HasGpuOsName() bool` + +HasGpuOsName returns a boolean if a field has been set. + +### SetGpuOsNameNil + +`func (o *Overrides) SetGpuOsNameNil(b bool)` + + SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil + +### UnsetGpuOsName +`func (o *Overrides) UnsetGpuOsName()` + +UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil +### GetGpuOsRelease + +`func (o *Overrides) GetGpuOsRelease() string` + +GetGpuOsRelease returns the GpuOsRelease field if non-nil, zero value otherwise. + +### GetGpuOsReleaseOk + +`func (o *Overrides) GetGpuOsReleaseOk() (*string, bool)` + +GetGpuOsReleaseOk returns a tuple with the GpuOsRelease field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuOsRelease + +`func (o *Overrides) SetGpuOsRelease(v string)` + +SetGpuOsRelease sets GpuOsRelease field to given value. + +### HasGpuOsRelease + +`func (o *Overrides) HasGpuOsRelease() bool` + +HasGpuOsRelease returns a boolean if a field has been set. + +### SetGpuOsReleaseNil + +`func (o *Overrides) SetGpuOsReleaseNil(b bool)` + + SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil + +### UnsetGpuOsRelease +`func (o *Overrides) UnsetGpuOsRelease()` + +UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil +### GetGpuOsVersion + +`func (o *Overrides) GetGpuOsVersion() string` + +GetGpuOsVersion returns the GpuOsVersion field if non-nil, zero value otherwise. + +### GetGpuOsVersionOk + +`func (o *Overrides) GetGpuOsVersionOk() (*string, bool)` + +GetGpuOsVersionOk returns a tuple with the GpuOsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuOsVersion + +`func (o *Overrides) SetGpuOsVersion(v string)` + +SetGpuOsVersion sets GpuOsVersion field to given value. + +### HasGpuOsVersion + +`func (o *Overrides) HasGpuOsVersion() bool` + +HasGpuOsVersion returns a boolean if a field has been set. + +### SetGpuOsVersionNil + +`func (o *Overrides) SetGpuOsVersionNil(b bool)` + + SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil + +### UnsetGpuOsVersion +`func (o *Overrides) UnsetGpuOsVersion()` + +UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil +### GetMinGpuCount + +`func (o *Overrides) GetMinGpuCount() int32` + +GetMinGpuCount returns the MinGpuCount field if non-nil, zero value otherwise. + +### GetMinGpuCountOk + +`func (o *Overrides) GetMinGpuCountOk() (*int32, bool)` + +GetMinGpuCountOk returns a tuple with the MinGpuCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinGpuCount + +`func (o *Overrides) SetMinGpuCount(v int32)` + +SetMinGpuCount sets MinGpuCount field to given value. + +### HasMinGpuCount + +`func (o *Overrides) HasMinGpuCount() bool` + +HasMinGpuCount returns a boolean if a field has been set. + +### GetNodeCount + +`func (o *Overrides) GetNodeCount() int32` + +GetNodeCount returns the NodeCount field if non-nil, zero value otherwise. + +### GetNodeCountOk + +`func (o *Overrides) GetNodeCountOk() (*int32, bool)` + +GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodeCount + +`func (o *Overrides) SetNodeCount(v int32)` + +SetNodeCount sets NodeCount field to given value. + +### HasNodeCount + +`func (o *Overrides) HasNodeCount() bool` + +HasNodeCount returns a boolean if a field has been set. + +### GetOemName + +`func (o *Overrides) GetOemName() string` + +GetOemName returns the OemName field if non-nil, zero value otherwise. + +### GetOemNameOk + +`func (o *Overrides) GetOemNameOk() (*string, bool)` + +GetOemNameOk returns a tuple with the OemName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOemName + +`func (o *Overrides) SetOemName(v string)` + +SetOemName sets OemName field to given value. + +### HasOemName + +`func (o *Overrides) HasOemName() bool` + +HasOemName returns a boolean if a field has been set. + +### SetOemNameNil + +`func (o *Overrides) SetOemNameNil(b bool)` + + SetOemNameNil sets the value for OemName to be an explicit nil + +### UnsetOemName +`func (o *Overrides) UnsetOemName()` + +UnsetOemName ensures that no value is present for OemName, not even an explicit nil +### GetPersistOnFailure + +`func (o *Overrides) GetPersistOnFailure() bool` + +GetPersistOnFailure returns the PersistOnFailure field if non-nil, zero value otherwise. + +### GetPersistOnFailureOk + +`func (o *Overrides) GetPersistOnFailureOk() (*bool, bool)` + +GetPersistOnFailureOk returns a tuple with the PersistOnFailure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPersistOnFailure + +`func (o *Overrides) SetPersistOnFailure(v bool)` + +SetPersistOnFailure sets PersistOnFailure field to given value. + +### HasPersistOnFailure + +`func (o *Overrides) HasPersistOnFailure() bool` + +HasPersistOnFailure returns a boolean if a field has been set. + +### SetPersistOnFailureNil + +`func (o *Overrides) SetPersistOnFailureNil(b bool)` + + SetPersistOnFailureNil sets the value for PersistOnFailure to be an explicit nil + +### UnsetPersistOnFailure +`func (o *Overrides) UnsetPersistOnFailure()` + +UnsetPersistOnFailure ensures that no value is present for PersistOnFailure, not even an explicit nil +### GetPersona + +`func (o *Overrides) GetPersona() string` + +GetPersona returns the Persona field if non-nil, zero value otherwise. + +### GetPersonaOk + +`func (o *Overrides) GetPersonaOk() (*string, bool)` + +GetPersonaOk returns a tuple with the Persona field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPersona + +`func (o *Overrides) SetPersona(v string)` + +SetPersona sets Persona field to given value. + +### HasPersona + +`func (o *Overrides) HasPersona() bool` + +HasPersona returns a boolean if a field has been set. + +### SetPersonaNil + +`func (o *Overrides) SetPersonaNil(b bool)` + + SetPersonaNil sets the value for Persona to be an explicit nil + +### UnsetPersona +`func (o *Overrides) UnsetPersona()` + +UnsetPersona ensures that no value is present for Persona, not even an explicit nil +### GetPipeline + +`func (o *Overrides) GetPipeline() int64` + +GetPipeline returns the Pipeline field if non-nil, zero value otherwise. + +### GetPipelineOk + +`func (o *Overrides) GetPipelineOk() (*int64, bool)` + +GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPipeline + +`func (o *Overrides) SetPipeline(v int64)` + +SetPipeline sets Pipeline field to given value. + +### HasPipeline + +`func (o *Overrides) HasPipeline() bool` + +HasPipeline returns a boolean if a field has been set. + +### GetPipelineBranch + +`func (o *Overrides) GetPipelineBranch() string` + +GetPipelineBranch returns the PipelineBranch field if non-nil, zero value otherwise. + +### GetPipelineBranchOk + +`func (o *Overrides) GetPipelineBranchOk() (*string, bool)` + +GetPipelineBranchOk returns a tuple with the PipelineBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPipelineBranch + +`func (o *Overrides) SetPipelineBranch(v string)` + +SetPipelineBranch sets PipelineBranch field to given value. + +### HasPipelineBranch + +`func (o *Overrides) HasPipelineBranch() bool` + +HasPipelineBranch returns a boolean if a field has been set. + +### SetPipelineBranchNil + +`func (o *Overrides) SetPipelineBranchNil(b bool)` + + SetPipelineBranchNil sets the value for PipelineBranch to be an explicit nil + +### UnsetPipelineBranch +`func (o *Overrides) UnsetPipelineBranch()` + +UnsetPipelineBranch ensures that no value is present for PipelineBranch, not even an explicit nil +### GetPlatform + +`func (o *Overrides) GetPlatform() PlatformEnum` + +GetPlatform returns the Platform field if non-nil, zero value otherwise. + +### GetPlatformOk + +`func (o *Overrides) GetPlatformOk() (*PlatformEnum, bool)` + +GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPlatform + +`func (o *Overrides) SetPlatform(v PlatformEnum)` + +SetPlatform sets Platform field to given value. + +### HasPlatform + +`func (o *Overrides) HasPlatform() bool` + +HasPlatform returns a boolean if a field has been set. + +### SetPlatformNil + +`func (o *Overrides) SetPlatformNil(b bool)` + + SetPlatformNil sets the value for Platform to be an explicit nil + +### UnsetPlatform +`func (o *Overrides) UnsetPlatform()` + +UnsetPlatform ensures that no value is present for Platform, not even an explicit nil +### GetProviderName + +`func (o *Overrides) GetProviderName() string` + +GetProviderName returns the ProviderName field if non-nil, zero value otherwise. + +### GetProviderNameOk + +`func (o *Overrides) GetProviderNameOk() (*string, bool)` + +GetProviderNameOk returns a tuple with the ProviderName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProviderName + +`func (o *Overrides) SetProviderName(v string)` + +SetProviderName sets ProviderName field to given value. + +### HasProviderName + +`func (o *Overrides) HasProviderName() bool` + +HasProviderName returns a boolean if a field has been set. + +### SetProviderNameNil + +`func (o *Overrides) SetProviderNameNil(b bool)` + + SetProviderNameNil sets the value for ProviderName to be an explicit nil + +### UnsetProviderName +`func (o *Overrides) UnsetProviderName()` + +UnsetProviderName ensures that no value is present for ProviderName, not even an explicit nil +### GetRegion + +`func (o *Overrides) GetRegion() string` + +GetRegion returns the Region field if non-nil, zero value otherwise. + +### GetRegionOk + +`func (o *Overrides) GetRegionOk() (*string, bool)` + +GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRegion + +`func (o *Overrides) SetRegion(v string)` + +SetRegion sets Region field to given value. + +### HasRegion + +`func (o *Overrides) HasRegion() bool` + +HasRegion returns a boolean if a field has been set. + +### SetRegionNil + +`func (o *Overrides) SetRegionNil(b bool)` + + SetRegionNil sets the value for Region to be an explicit nil + +### UnsetRegion +`func (o *Overrides) UnsetRegion()` + +UnsetRegion ensures that no value is present for Region, not even an explicit nil +### GetRuntime + +`func (o *Overrides) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *Overrides) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *Overrides) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *Overrides) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *Overrides) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *Overrides) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +### GetRuntimeBranch + +`func (o *Overrides) GetRuntimeBranch() string` + +GetRuntimeBranch returns the RuntimeBranch field if non-nil, zero value otherwise. + +### GetRuntimeBranchOk + +`func (o *Overrides) GetRuntimeBranchOk() (*string, bool)` + +GetRuntimeBranchOk returns a tuple with the RuntimeBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeBranch + +`func (o *Overrides) SetRuntimeBranch(v string)` + +SetRuntimeBranch sets RuntimeBranch field to given value. + +### HasRuntimeBranch + +`func (o *Overrides) HasRuntimeBranch() bool` + +HasRuntimeBranch returns a boolean if a field has been set. + +### SetRuntimeBranchNil + +`func (o *Overrides) SetRuntimeBranchNil(b bool)` + + SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil + +### UnsetRuntimeBranch +`func (o *Overrides) UnsetRuntimeBranch()` + +UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +### GetRuntimeCnsAddonPack + +`func (o *Overrides) GetRuntimeCnsAddonPack() bool` + +GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field if non-nil, zero value otherwise. + +### GetRuntimeCnsAddonPackOk + +`func (o *Overrides) GetRuntimeCnsAddonPackOk() (*bool, bool)` + +GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsAddonPack + +`func (o *Overrides) SetRuntimeCnsAddonPack(v bool)` + +SetRuntimeCnsAddonPack sets RuntimeCnsAddonPack field to given value. + +### HasRuntimeCnsAddonPack + +`func (o *Overrides) HasRuntimeCnsAddonPack() bool` + +HasRuntimeCnsAddonPack returns a boolean if a field has been set. + +### SetRuntimeCnsAddonPackNil + +`func (o *Overrides) SetRuntimeCnsAddonPackNil(b bool)` + + SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil + +### UnsetRuntimeCnsAddonPack +`func (o *Overrides) UnsetRuntimeCnsAddonPack()` + +UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +### GetRuntimeCnsDocker + +`func (o *Overrides) GetRuntimeCnsDocker() bool` + +GetRuntimeCnsDocker returns the RuntimeCnsDocker field if non-nil, zero value otherwise. + +### GetRuntimeCnsDockerOk + +`func (o *Overrides) GetRuntimeCnsDockerOk() (*bool, bool)` + +GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDocker + +`func (o *Overrides) SetRuntimeCnsDocker(v bool)` + +SetRuntimeCnsDocker sets RuntimeCnsDocker field to given value. + +### HasRuntimeCnsDocker + +`func (o *Overrides) HasRuntimeCnsDocker() bool` + +HasRuntimeCnsDocker returns a boolean if a field has been set. + +### SetRuntimeCnsDockerNil + +`func (o *Overrides) SetRuntimeCnsDockerNil(b bool)` + + SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil + +### UnsetRuntimeCnsDocker +`func (o *Overrides) UnsetRuntimeCnsDocker()` + +UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +### GetRuntimeCnsDriverVersion + +`func (o *Overrides) GetRuntimeCnsDriverVersion() string` + +GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsDriverVersionOk + +`func (o *Overrides) GetRuntimeCnsDriverVersionOk() (*string, bool)` + +GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDriverVersion + +`func (o *Overrides) SetRuntimeCnsDriverVersion(v string)` + +SetRuntimeCnsDriverVersion sets RuntimeCnsDriverVersion field to given value. + +### HasRuntimeCnsDriverVersion + +`func (o *Overrides) HasRuntimeCnsDriverVersion() bool` + +HasRuntimeCnsDriverVersion returns a boolean if a field has been set. + +### SetRuntimeCnsDriverVersionNil + +`func (o *Overrides) SetRuntimeCnsDriverVersionNil(b bool)` + + SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil + +### UnsetRuntimeCnsDriverVersion +`func (o *Overrides) UnsetRuntimeCnsDriverVersion()` + +UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +### GetRuntimeCnsK8s + +`func (o *Overrides) GetRuntimeCnsK8s() bool` + +GetRuntimeCnsK8s returns the RuntimeCnsK8s field if non-nil, zero value otherwise. + +### GetRuntimeCnsK8sOk + +`func (o *Overrides) GetRuntimeCnsK8sOk() (*bool, bool)` + +GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsK8s + +`func (o *Overrides) SetRuntimeCnsK8s(v bool)` + +SetRuntimeCnsK8s sets RuntimeCnsK8s field to given value. + +### HasRuntimeCnsK8s + +`func (o *Overrides) HasRuntimeCnsK8s() bool` + +HasRuntimeCnsK8s returns a boolean if a field has been set. + +### SetRuntimeCnsK8sNil + +`func (o *Overrides) SetRuntimeCnsK8sNil(b bool)` + + SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil + +### UnsetRuntimeCnsK8s +`func (o *Overrides) UnsetRuntimeCnsK8s()` + +UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +### GetRuntimeCnsNvidiaDriver + +`func (o *Overrides) GetRuntimeCnsNvidiaDriver() bool` + +GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetRuntimeCnsNvidiaDriverOk + +`func (o *Overrides) GetRuntimeCnsNvidiaDriverOk() (*bool, bool)` + +GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsNvidiaDriver + +`func (o *Overrides) SetRuntimeCnsNvidiaDriver(v bool)` + +SetRuntimeCnsNvidiaDriver sets RuntimeCnsNvidiaDriver field to given value. + +### HasRuntimeCnsNvidiaDriver + +`func (o *Overrides) HasRuntimeCnsNvidiaDriver() bool` + +HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. + +### SetRuntimeCnsNvidiaDriverNil + +`func (o *Overrides) SetRuntimeCnsNvidiaDriverNil(b bool)` + + SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil + +### UnsetRuntimeCnsNvidiaDriver +`func (o *Overrides) UnsetRuntimeCnsNvidiaDriver()` + +UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +### GetRuntimeCnsVersion + +`func (o *Overrides) GetRuntimeCnsVersion() string` + +GetRuntimeCnsVersion returns the RuntimeCnsVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsVersionOk + +`func (o *Overrides) GetRuntimeCnsVersionOk() (*string, bool)` + +GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsVersion + +`func (o *Overrides) SetRuntimeCnsVersion(v string)` + +SetRuntimeCnsVersion sets RuntimeCnsVersion field to given value. + +### HasRuntimeCnsVersion + +`func (o *Overrides) HasRuntimeCnsVersion() bool` + +HasRuntimeCnsVersion returns a boolean if a field has been set. + +### SetRuntimeCnsVersionNil + +`func (o *Overrides) SetRuntimeCnsVersionNil(b bool)` + + SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil + +### UnsetRuntimeCnsVersion +`func (o *Overrides) UnsetRuntimeCnsVersion()` + +UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +### GetRuntimeMig + +`func (o *Overrides) GetRuntimeMig() bool` + +GetRuntimeMig returns the RuntimeMig field if non-nil, zero value otherwise. + +### GetRuntimeMigOk + +`func (o *Overrides) GetRuntimeMigOk() (*bool, bool)` + +GetRuntimeMigOk returns a tuple with the RuntimeMig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMig + +`func (o *Overrides) SetRuntimeMig(v bool)` + +SetRuntimeMig sets RuntimeMig field to given value. + +### HasRuntimeMig + +`func (o *Overrides) HasRuntimeMig() bool` + +HasRuntimeMig returns a boolean if a field has been set. + +### SetRuntimeMigNil + +`func (o *Overrides) SetRuntimeMigNil(b bool)` + + SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil + +### UnsetRuntimeMig +`func (o *Overrides) UnsetRuntimeMig()` + +UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +### GetRuntimeMigProfile + +`func (o *Overrides) GetRuntimeMigProfile() string` + +GetRuntimeMigProfile returns the RuntimeMigProfile field if non-nil, zero value otherwise. + +### GetRuntimeMigProfileOk + +`func (o *Overrides) GetRuntimeMigProfileOk() (*string, bool)` + +GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMigProfile + +`func (o *Overrides) SetRuntimeMigProfile(v string)` + +SetRuntimeMigProfile sets RuntimeMigProfile field to given value. + +### HasRuntimeMigProfile + +`func (o *Overrides) HasRuntimeMigProfile() bool` + +HasRuntimeMigProfile returns a boolean if a field has been set. + +### SetRuntimeMigProfileNil + +`func (o *Overrides) SetRuntimeMigProfileNil(b bool)` + + SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil + +### UnsetRuntimeMigProfile +`func (o *Overrides) UnsetRuntimeMigProfile()` + +UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +### GetRuntimeUrl + +`func (o *Overrides) GetRuntimeUrl() string` + +GetRuntimeUrl returns the RuntimeUrl field if non-nil, zero value otherwise. + +### GetRuntimeUrlOk + +`func (o *Overrides) GetRuntimeUrlOk() (*string, bool)` + +GetRuntimeUrlOk returns a tuple with the RuntimeUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeUrl + +`func (o *Overrides) SetRuntimeUrl(v string)` + +SetRuntimeUrl sets RuntimeUrl field to given value. + +### HasRuntimeUrl + +`func (o *Overrides) HasRuntimeUrl() bool` + +HasRuntimeUrl returns a boolean if a field has been set. + +### SetRuntimeUrlNil + +`func (o *Overrides) SetRuntimeUrlNil(b bool)` + + SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil + +### UnsetRuntimeUrl +`func (o *Overrides) UnsetRuntimeUrl()` + +UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +### GetWorkshop + +`func (o *Overrides) GetWorkshop() bool` + +GetWorkshop returns the Workshop field if non-nil, zero value otherwise. + +### GetWorkshopOk + +`func (o *Overrides) GetWorkshopOk() (*bool, bool)` + +GetWorkshopOk returns a tuple with the Workshop field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWorkshop + +`func (o *Overrides) SetWorkshop(v bool)` + +SetWorkshop sets Workshop field to given value. + +### HasWorkshop + +`func (o *Overrides) HasWorkshop() bool` + +HasWorkshop returns a boolean if a field has been set. + +### SetWorkshopNil + +`func (o *Overrides) SetWorkshopNil(b bool)` + + SetWorkshopNil sets the value for Workshop to be an explicit nil + +### UnsetWorkshop +`func (o *Overrides) UnsetWorkshop()` + +UnsetWorkshop ensures that no value is present for Workshop, not even an explicit nil +### GetWorkshopId + +`func (o *Overrides) GetWorkshopId() string` + +GetWorkshopId returns the WorkshopId field if non-nil, zero value otherwise. + +### GetWorkshopIdOk + +`func (o *Overrides) GetWorkshopIdOk() (*string, bool)` + +GetWorkshopIdOk returns a tuple with the WorkshopId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWorkshopId + +`func (o *Overrides) SetWorkshopId(v string)` + +SetWorkshopId sets WorkshopId field to given value. + +### HasWorkshopId + +`func (o *Overrides) HasWorkshopId() bool` + +HasWorkshopId returns a boolean if a field has been set. + +### SetWorkshopIdNil + +`func (o *Overrides) SetWorkshopIdNil(b bool)` + + SetWorkshopIdNil sets the value for WorkshopId to be an explicit nil + +### UnsetWorkshopId +`func (o *Overrides) UnsetWorkshopId()` + +UnsetWorkshopId ensures that no value is present for WorkshopId, not even an explicit nil +### GetWorkshopOverridePassword + +`func (o *Overrides) GetWorkshopOverridePassword() string` + +GetWorkshopOverridePassword returns the WorkshopOverridePassword field if non-nil, zero value otherwise. + +### GetWorkshopOverridePasswordOk + +`func (o *Overrides) GetWorkshopOverridePasswordOk() (*string, bool)` + +GetWorkshopOverridePasswordOk returns a tuple with the WorkshopOverridePassword field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWorkshopOverridePassword + +`func (o *Overrides) SetWorkshopOverridePassword(v string)` + +SetWorkshopOverridePassword sets WorkshopOverridePassword field to given value. + +### HasWorkshopOverridePassword + +`func (o *Overrides) HasWorkshopOverridePassword() bool` + +HasWorkshopOverridePassword returns a boolean if a field has been set. + +### SetWorkshopOverridePasswordNil + +`func (o *Overrides) SetWorkshopOverridePasswordNil(b bool)` + + SetWorkshopOverridePasswordNil sets the value for WorkshopOverridePassword to be an explicit nil + +### UnsetWorkshopOverridePassword +`func (o *Overrides) UnsetWorkshopOverridePassword()` + +UnsetWorkshopOverridePassword ensures that no value is present for WorkshopOverridePassword, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/PaginatedRuntimeList.md b/v1/providers/launchpad/gen/launchpad/docs/PaginatedRuntimeList.md new file mode 100644 index 00000000..dbc43725 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/PaginatedRuntimeList.md @@ -0,0 +1,124 @@ +# PaginatedRuntimeList + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **int32** | | +**Next** | Pointer to **string** | | [optional] +**Previous** | Pointer to **string** | | [optional] +**Results** | [**[]Runtime**](Runtime.md) | | + +## Methods + +### NewPaginatedRuntimeList + +`func NewPaginatedRuntimeList(count int32, results []Runtime, ) *PaginatedRuntimeList` + +NewPaginatedRuntimeList instantiates a new PaginatedRuntimeList object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPaginatedRuntimeListWithDefaults + +`func NewPaginatedRuntimeListWithDefaults() *PaginatedRuntimeList` + +NewPaginatedRuntimeListWithDefaults instantiates a new PaginatedRuntimeList object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCount + +`func (o *PaginatedRuntimeList) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *PaginatedRuntimeList) GetCountOk() (*int32, bool)` + +GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCount + +`func (o *PaginatedRuntimeList) SetCount(v int32)` + +SetCount sets Count field to given value. + + +### GetNext + +`func (o *PaginatedRuntimeList) GetNext() string` + +GetNext returns the Next field if non-nil, zero value otherwise. + +### GetNextOk + +`func (o *PaginatedRuntimeList) GetNextOk() (*string, bool)` + +GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNext + +`func (o *PaginatedRuntimeList) SetNext(v string)` + +SetNext sets Next field to given value. + +### HasNext + +`func (o *PaginatedRuntimeList) HasNext() bool` + +HasNext returns a boolean if a field has been set. + +### GetPrevious + +`func (o *PaginatedRuntimeList) GetPrevious() string` + +GetPrevious returns the Previous field if non-nil, zero value otherwise. + +### GetPreviousOk + +`func (o *PaginatedRuntimeList) GetPreviousOk() (*string, bool)` + +GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrevious + +`func (o *PaginatedRuntimeList) SetPrevious(v string)` + +SetPrevious sets Previous field to given value. + +### HasPrevious + +`func (o *PaginatedRuntimeList) HasPrevious() bool` + +HasPrevious returns a boolean if a field has been set. + +### GetResults + +`func (o *PaginatedRuntimeList) GetResults() []Runtime` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *PaginatedRuntimeList) GetResultsOk() (*[]Runtime, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *PaginatedRuntimeList) SetResults(v []Runtime)` + +SetResults sets Results field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/PipelineAction.md b/v1/providers/launchpad/gen/launchpad/docs/PipelineAction.md new file mode 100644 index 00000000..df7aa0e6 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/PipelineAction.md @@ -0,0 +1,15 @@ +# PipelineAction + +## Enum + + +* `PipelineActionApply` (value: `"apply"`) + +* `PipelineActionDestroy` (value: `"destroy"`) + +* `PipelineActionNotify` (value: `"notify"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/Provider.md b/v1/providers/launchpad/gen/launchpad/docs/Provider.md index 0c3354f7..b7d332cf 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/Provider.md +++ b/v1/providers/launchpad/gen/launchpad/docs/Provider.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **InstanceLimit** | Pointer to **int32** | The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) | [optional] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] **Name** | **string** | | +**OnDemandSpeed** | Pointer to [**OnDemandSpeedEnum**](OnDemandSpeedEnum.md) | Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow | [optional] **Priority** | Pointer to **int32** | Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. | [optional] ## Methods @@ -171,6 +172,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetOnDemandSpeed + +`func (o *Provider) GetOnDemandSpeed() OnDemandSpeedEnum` + +GetOnDemandSpeed returns the OnDemandSpeed field if non-nil, zero value otherwise. + +### GetOnDemandSpeedOk + +`func (o *Provider) GetOnDemandSpeedOk() (*OnDemandSpeedEnum, bool)` + +GetOnDemandSpeedOk returns a tuple with the OnDemandSpeed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnDemandSpeed + +`func (o *Provider) SetOnDemandSpeed(v OnDemandSpeedEnum)` + +SetOnDemandSpeed sets OnDemandSpeed field to given value. + +### HasOnDemandSpeed + +`func (o *Provider) HasOnDemandSpeed() bool` + +HasOnDemandSpeed returns a boolean if a field has been set. + ### GetPriority `func (o *Provider) GetPriority() int32` diff --git a/v1/providers/launchpad/gen/launchpad/docs/ProviderBulkUpdate.md b/v1/providers/launchpad/gen/launchpad/docs/ProviderBulkUpdate.md index f0eb80a8..f14517be 100644 --- a/v1/providers/launchpad/gen/launchpad/docs/ProviderBulkUpdate.md +++ b/v1/providers/launchpad/gen/launchpad/docs/ProviderBulkUpdate.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **InstanceLimit** | Pointer to **int32** | The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) | [optional] **Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] **Name** | **string** | | [readonly] +**OnDemandSpeed** | Pointer to [**OnDemandSpeedEnum**](OnDemandSpeedEnum.md) | Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow | [optional] **Priority** | Pointer to **int32** | Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. | [optional] **Count** | **int32** | | [readonly] **Ids** | **[]string** | | @@ -174,6 +175,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetOnDemandSpeed + +`func (o *ProviderBulkUpdate) GetOnDemandSpeed() OnDemandSpeedEnum` + +GetOnDemandSpeed returns the OnDemandSpeed field if non-nil, zero value otherwise. + +### GetOnDemandSpeedOk + +`func (o *ProviderBulkUpdate) GetOnDemandSpeedOk() (*OnDemandSpeedEnum, bool)` + +GetOnDemandSpeedOk returns a tuple with the OnDemandSpeed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnDemandSpeed + +`func (o *ProviderBulkUpdate) SetOnDemandSpeed(v OnDemandSpeedEnum)` + +SetOnDemandSpeed sets OnDemandSpeed field to given value. + +### HasOnDemandSpeed + +`func (o *ProviderBulkUpdate) HasOnDemandSpeed() bool` + +HasOnDemandSpeed returns a boolean if a field has been set. + ### GetPriority `func (o *ProviderBulkUpdate) GetPriority() int32` diff --git a/v1/providers/launchpad/gen/launchpad/docs/ProvisioningRequest.md b/v1/providers/launchpad/gen/launchpad/docs/ProvisioningRequest.md new file mode 100644 index 00000000..5c8b9b32 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/ProvisioningRequest.md @@ -0,0 +1,1452 @@ +# ProvisioningRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BastionOperatingSystem** | Pointer to **NullableString** | Override bastion operating system provisioned and/or configured by Liftoff | [optional] +**CatalogId** | Pointer to **string** | Catalog ID of the experience provisioned to the cluster | [optional] +**CatalogIdAlias** | Pointer to **string** | Catalog ID alias of the experience provisioned to the cluster | [optional] +**Cluster** | Pointer to **NullableString** | Target a specific cluster for provisioning | [optional] +**CollectionBranch** | Pointer to **NullableString** | Override the Ansible collection branch initialized within the pipeline | [optional] +**Experience** | **NullableString** | The experience being deployed for use | [readonly] +**ExperienceBranch** | Pointer to **NullableString** | Override the experience branch | [optional] +**ExperienceId** | Pointer to **string** | UUID of the experience provisioned to the cluster | [optional] +**FlightcontrolRelease** | Pointer to **NullableString** | Override the image tag used for Flight Control | [optional] +**GarageId** | Pointer to **NullableString** | Require a cluster with nodes in the given garage | [optional] +**GcBranch** | Pointer to **NullableString** | Override the default Ground Control branch | [optional] +**GpuAlias** | Pointer to **NullableString** | Require a cluster with the given GPU alias | [optional] +**GpuCount** | Pointer to **int32** | Require a cluster with the given number of GPUs | [optional] +**GpuModel** | Pointer to **NullableString** | Require a cluster with the given GPU model | [optional] +**GpuOsName** | Pointer to **NullableString** | Override the GPU node operating system name | [optional] +**GpuOsRelease** | Pointer to **NullableString** | Override the GPU node operating system release | [optional] +**GpuOsVersion** | Pointer to **NullableString** | Override the GPU node operating system version | [optional] +**MinGpuCount** | Pointer to **int32** | Require a cluster whose GPU count is greater than or equal to the given number | [optional] +**NodeCount** | Pointer to **int32** | Require a cluster with the given number of nodes | [optional] +**OemName** | Pointer to **NullableString** | Require a cluster manufactured by the given OEM name | [optional] +**PersistOnFailure** | Pointer to **NullableBool** | Override the default cleanup/destroy behavior when a provisioning failure occurs | [optional] +**Persona** | Pointer to **NullableString** | Override the defined persona in the experience | [optional] +**Pipeline** | Pointer to **int64** | Override the pipeline ID that will be triggered for request fulfillment | [optional] +**PipelineBranch** | Pointer to **NullableString** | Override the default pipeline branch ref used when triggering a Fuselage pipeline | [optional] +**Platform** | Pointer to [**NullablePlatformEnum**](PlatformEnum.md) | | [optional] +**ProviderName** | Pointer to **NullableString** | Require a cluster from the given provider name | [optional] +**Region** | Pointer to **NullableString** | Require a cluster located in the given region | [optional] +**RequestId** | **string** | Trial request ID (ex: TRY-1234) | +**Runtime** | Pointer to **NullableString** | Use the presets of the given runtime when provisioning this experience | [optional] +**RuntimeBranch** | Pointer to **NullableString** | Override the runtime repository branch | [optional] +**RuntimeCnsAddonPack** | Pointer to **NullableBool** | Override the runtime's CNS add-ons flag | [optional] +**RuntimeCnsDocker** | Pointer to **NullableBool** | Override the runtime's Docker with CNS flag | [optional] +**RuntimeCnsDriverVersion** | Pointer to **NullableString** | Override the runtime's GPU driver version | [optional] +**RuntimeCnsK8s** | Pointer to **NullableBool** | Override the runtime's Kubernetes with CNS flag | [optional] +**RuntimeCnsNvidiaDriver** | Pointer to **NullableBool** | Override the runtime's NVIDIA driver with CNS flag | [optional] +**RuntimeCnsVersion** | Pointer to **NullableString** | Override the runtime's Cloud Native Stack version | [optional] +**RuntimeMig** | Pointer to **NullableBool** | Override the runtime's MIG support with CNS flag | [optional] +**RuntimeMigProfile** | Pointer to **NullableString** | Override the runtime's MIG profile name | [optional] +**RuntimeUrl** | Pointer to **NullableString** | Override the URL of the runtime repository | [optional] +**Workshop** | Pointer to **NullableBool** | Require a cluster whose workshop flag is set | [optional] +**WorkshopId** | Pointer to **NullableString** | Require a cluster with the given workshop ID | [optional] +**WorkshopOverridePassword** | Pointer to **NullableString** | Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) | [optional] + +## Methods + +### NewProvisioningRequest + +`func NewProvisioningRequest(experience NullableString, requestId string, ) *ProvisioningRequest` + +NewProvisioningRequest instantiates a new ProvisioningRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProvisioningRequestWithDefaults + +`func NewProvisioningRequestWithDefaults() *ProvisioningRequest` + +NewProvisioningRequestWithDefaults instantiates a new ProvisioningRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBastionOperatingSystem + +`func (o *ProvisioningRequest) GetBastionOperatingSystem() string` + +GetBastionOperatingSystem returns the BastionOperatingSystem field if non-nil, zero value otherwise. + +### GetBastionOperatingSystemOk + +`func (o *ProvisioningRequest) GetBastionOperatingSystemOk() (*string, bool)` + +GetBastionOperatingSystemOk returns a tuple with the BastionOperatingSystem field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBastionOperatingSystem + +`func (o *ProvisioningRequest) SetBastionOperatingSystem(v string)` + +SetBastionOperatingSystem sets BastionOperatingSystem field to given value. + +### HasBastionOperatingSystem + +`func (o *ProvisioningRequest) HasBastionOperatingSystem() bool` + +HasBastionOperatingSystem returns a boolean if a field has been set. + +### SetBastionOperatingSystemNil + +`func (o *ProvisioningRequest) SetBastionOperatingSystemNil(b bool)` + + SetBastionOperatingSystemNil sets the value for BastionOperatingSystem to be an explicit nil + +### UnsetBastionOperatingSystem +`func (o *ProvisioningRequest) UnsetBastionOperatingSystem()` + +UnsetBastionOperatingSystem ensures that no value is present for BastionOperatingSystem, not even an explicit nil +### GetCatalogId + +`func (o *ProvisioningRequest) GetCatalogId() string` + +GetCatalogId returns the CatalogId field if non-nil, zero value otherwise. + +### GetCatalogIdOk + +`func (o *ProvisioningRequest) GetCatalogIdOk() (*string, bool)` + +GetCatalogIdOk returns a tuple with the CatalogId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCatalogId + +`func (o *ProvisioningRequest) SetCatalogId(v string)` + +SetCatalogId sets CatalogId field to given value. + +### HasCatalogId + +`func (o *ProvisioningRequest) HasCatalogId() bool` + +HasCatalogId returns a boolean if a field has been set. + +### GetCatalogIdAlias + +`func (o *ProvisioningRequest) GetCatalogIdAlias() string` + +GetCatalogIdAlias returns the CatalogIdAlias field if non-nil, zero value otherwise. + +### GetCatalogIdAliasOk + +`func (o *ProvisioningRequest) GetCatalogIdAliasOk() (*string, bool)` + +GetCatalogIdAliasOk returns a tuple with the CatalogIdAlias field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCatalogIdAlias + +`func (o *ProvisioningRequest) SetCatalogIdAlias(v string)` + +SetCatalogIdAlias sets CatalogIdAlias field to given value. + +### HasCatalogIdAlias + +`func (o *ProvisioningRequest) HasCatalogIdAlias() bool` + +HasCatalogIdAlias returns a boolean if a field has been set. + +### GetCluster + +`func (o *ProvisioningRequest) GetCluster() string` + +GetCluster returns the Cluster field if non-nil, zero value otherwise. + +### GetClusterOk + +`func (o *ProvisioningRequest) GetClusterOk() (*string, bool)` + +GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCluster + +`func (o *ProvisioningRequest) SetCluster(v string)` + +SetCluster sets Cluster field to given value. + +### HasCluster + +`func (o *ProvisioningRequest) HasCluster() bool` + +HasCluster returns a boolean if a field has been set. + +### SetClusterNil + +`func (o *ProvisioningRequest) SetClusterNil(b bool)` + + SetClusterNil sets the value for Cluster to be an explicit nil + +### UnsetCluster +`func (o *ProvisioningRequest) UnsetCluster()` + +UnsetCluster ensures that no value is present for Cluster, not even an explicit nil +### GetCollectionBranch + +`func (o *ProvisioningRequest) GetCollectionBranch() string` + +GetCollectionBranch returns the CollectionBranch field if non-nil, zero value otherwise. + +### GetCollectionBranchOk + +`func (o *ProvisioningRequest) GetCollectionBranchOk() (*string, bool)` + +GetCollectionBranchOk returns a tuple with the CollectionBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCollectionBranch + +`func (o *ProvisioningRequest) SetCollectionBranch(v string)` + +SetCollectionBranch sets CollectionBranch field to given value. + +### HasCollectionBranch + +`func (o *ProvisioningRequest) HasCollectionBranch() bool` + +HasCollectionBranch returns a boolean if a field has been set. + +### SetCollectionBranchNil + +`func (o *ProvisioningRequest) SetCollectionBranchNil(b bool)` + + SetCollectionBranchNil sets the value for CollectionBranch to be an explicit nil + +### UnsetCollectionBranch +`func (o *ProvisioningRequest) UnsetCollectionBranch()` + +UnsetCollectionBranch ensures that no value is present for CollectionBranch, not even an explicit nil +### GetExperience + +`func (o *ProvisioningRequest) GetExperience() string` + +GetExperience returns the Experience field if non-nil, zero value otherwise. + +### GetExperienceOk + +`func (o *ProvisioningRequest) GetExperienceOk() (*string, bool)` + +GetExperienceOk returns a tuple with the Experience field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExperience + +`func (o *ProvisioningRequest) SetExperience(v string)` + +SetExperience sets Experience field to given value. + + +### SetExperienceNil + +`func (o *ProvisioningRequest) SetExperienceNil(b bool)` + + SetExperienceNil sets the value for Experience to be an explicit nil + +### UnsetExperience +`func (o *ProvisioningRequest) UnsetExperience()` + +UnsetExperience ensures that no value is present for Experience, not even an explicit nil +### GetExperienceBranch + +`func (o *ProvisioningRequest) GetExperienceBranch() string` + +GetExperienceBranch returns the ExperienceBranch field if non-nil, zero value otherwise. + +### GetExperienceBranchOk + +`func (o *ProvisioningRequest) GetExperienceBranchOk() (*string, bool)` + +GetExperienceBranchOk returns a tuple with the ExperienceBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExperienceBranch + +`func (o *ProvisioningRequest) SetExperienceBranch(v string)` + +SetExperienceBranch sets ExperienceBranch field to given value. + +### HasExperienceBranch + +`func (o *ProvisioningRequest) HasExperienceBranch() bool` + +HasExperienceBranch returns a boolean if a field has been set. + +### SetExperienceBranchNil + +`func (o *ProvisioningRequest) SetExperienceBranchNil(b bool)` + + SetExperienceBranchNil sets the value for ExperienceBranch to be an explicit nil + +### UnsetExperienceBranch +`func (o *ProvisioningRequest) UnsetExperienceBranch()` + +UnsetExperienceBranch ensures that no value is present for ExperienceBranch, not even an explicit nil +### GetExperienceId + +`func (o *ProvisioningRequest) GetExperienceId() string` + +GetExperienceId returns the ExperienceId field if non-nil, zero value otherwise. + +### GetExperienceIdOk + +`func (o *ProvisioningRequest) GetExperienceIdOk() (*string, bool)` + +GetExperienceIdOk returns a tuple with the ExperienceId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExperienceId + +`func (o *ProvisioningRequest) SetExperienceId(v string)` + +SetExperienceId sets ExperienceId field to given value. + +### HasExperienceId + +`func (o *ProvisioningRequest) HasExperienceId() bool` + +HasExperienceId returns a boolean if a field has been set. + +### GetFlightcontrolRelease + +`func (o *ProvisioningRequest) GetFlightcontrolRelease() string` + +GetFlightcontrolRelease returns the FlightcontrolRelease field if non-nil, zero value otherwise. + +### GetFlightcontrolReleaseOk + +`func (o *ProvisioningRequest) GetFlightcontrolReleaseOk() (*string, bool)` + +GetFlightcontrolReleaseOk returns a tuple with the FlightcontrolRelease field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFlightcontrolRelease + +`func (o *ProvisioningRequest) SetFlightcontrolRelease(v string)` + +SetFlightcontrolRelease sets FlightcontrolRelease field to given value. + +### HasFlightcontrolRelease + +`func (o *ProvisioningRequest) HasFlightcontrolRelease() bool` + +HasFlightcontrolRelease returns a boolean if a field has been set. + +### SetFlightcontrolReleaseNil + +`func (o *ProvisioningRequest) SetFlightcontrolReleaseNil(b bool)` + + SetFlightcontrolReleaseNil sets the value for FlightcontrolRelease to be an explicit nil + +### UnsetFlightcontrolRelease +`func (o *ProvisioningRequest) UnsetFlightcontrolRelease()` + +UnsetFlightcontrolRelease ensures that no value is present for FlightcontrolRelease, not even an explicit nil +### GetGarageId + +`func (o *ProvisioningRequest) GetGarageId() string` + +GetGarageId returns the GarageId field if non-nil, zero value otherwise. + +### GetGarageIdOk + +`func (o *ProvisioningRequest) GetGarageIdOk() (*string, bool)` + +GetGarageIdOk returns a tuple with the GarageId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGarageId + +`func (o *ProvisioningRequest) SetGarageId(v string)` + +SetGarageId sets GarageId field to given value. + +### HasGarageId + +`func (o *ProvisioningRequest) HasGarageId() bool` + +HasGarageId returns a boolean if a field has been set. + +### SetGarageIdNil + +`func (o *ProvisioningRequest) SetGarageIdNil(b bool)` + + SetGarageIdNil sets the value for GarageId to be an explicit nil + +### UnsetGarageId +`func (o *ProvisioningRequest) UnsetGarageId()` + +UnsetGarageId ensures that no value is present for GarageId, not even an explicit nil +### GetGcBranch + +`func (o *ProvisioningRequest) GetGcBranch() string` + +GetGcBranch returns the GcBranch field if non-nil, zero value otherwise. + +### GetGcBranchOk + +`func (o *ProvisioningRequest) GetGcBranchOk() (*string, bool)` + +GetGcBranchOk returns a tuple with the GcBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGcBranch + +`func (o *ProvisioningRequest) SetGcBranch(v string)` + +SetGcBranch sets GcBranch field to given value. + +### HasGcBranch + +`func (o *ProvisioningRequest) HasGcBranch() bool` + +HasGcBranch returns a boolean if a field has been set. + +### SetGcBranchNil + +`func (o *ProvisioningRequest) SetGcBranchNil(b bool)` + + SetGcBranchNil sets the value for GcBranch to be an explicit nil + +### UnsetGcBranch +`func (o *ProvisioningRequest) UnsetGcBranch()` + +UnsetGcBranch ensures that no value is present for GcBranch, not even an explicit nil +### GetGpuAlias + +`func (o *ProvisioningRequest) GetGpuAlias() string` + +GetGpuAlias returns the GpuAlias field if non-nil, zero value otherwise. + +### GetGpuAliasOk + +`func (o *ProvisioningRequest) GetGpuAliasOk() (*string, bool)` + +GetGpuAliasOk returns a tuple with the GpuAlias field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuAlias + +`func (o *ProvisioningRequest) SetGpuAlias(v string)` + +SetGpuAlias sets GpuAlias field to given value. + +### HasGpuAlias + +`func (o *ProvisioningRequest) HasGpuAlias() bool` + +HasGpuAlias returns a boolean if a field has been set. + +### SetGpuAliasNil + +`func (o *ProvisioningRequest) SetGpuAliasNil(b bool)` + + SetGpuAliasNil sets the value for GpuAlias to be an explicit nil + +### UnsetGpuAlias +`func (o *ProvisioningRequest) UnsetGpuAlias()` + +UnsetGpuAlias ensures that no value is present for GpuAlias, not even an explicit nil +### GetGpuCount + +`func (o *ProvisioningRequest) GetGpuCount() int32` + +GetGpuCount returns the GpuCount field if non-nil, zero value otherwise. + +### GetGpuCountOk + +`func (o *ProvisioningRequest) GetGpuCountOk() (*int32, bool)` + +GetGpuCountOk returns a tuple with the GpuCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuCount + +`func (o *ProvisioningRequest) SetGpuCount(v int32)` + +SetGpuCount sets GpuCount field to given value. + +### HasGpuCount + +`func (o *ProvisioningRequest) HasGpuCount() bool` + +HasGpuCount returns a boolean if a field has been set. + +### GetGpuModel + +`func (o *ProvisioningRequest) GetGpuModel() string` + +GetGpuModel returns the GpuModel field if non-nil, zero value otherwise. + +### GetGpuModelOk + +`func (o *ProvisioningRequest) GetGpuModelOk() (*string, bool)` + +GetGpuModelOk returns a tuple with the GpuModel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuModel + +`func (o *ProvisioningRequest) SetGpuModel(v string)` + +SetGpuModel sets GpuModel field to given value. + +### HasGpuModel + +`func (o *ProvisioningRequest) HasGpuModel() bool` + +HasGpuModel returns a boolean if a field has been set. + +### SetGpuModelNil + +`func (o *ProvisioningRequest) SetGpuModelNil(b bool)` + + SetGpuModelNil sets the value for GpuModel to be an explicit nil + +### UnsetGpuModel +`func (o *ProvisioningRequest) UnsetGpuModel()` + +UnsetGpuModel ensures that no value is present for GpuModel, not even an explicit nil +### GetGpuOsName + +`func (o *ProvisioningRequest) GetGpuOsName() string` + +GetGpuOsName returns the GpuOsName field if non-nil, zero value otherwise. + +### GetGpuOsNameOk + +`func (o *ProvisioningRequest) GetGpuOsNameOk() (*string, bool)` + +GetGpuOsNameOk returns a tuple with the GpuOsName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuOsName + +`func (o *ProvisioningRequest) SetGpuOsName(v string)` + +SetGpuOsName sets GpuOsName field to given value. + +### HasGpuOsName + +`func (o *ProvisioningRequest) HasGpuOsName() bool` + +HasGpuOsName returns a boolean if a field has been set. + +### SetGpuOsNameNil + +`func (o *ProvisioningRequest) SetGpuOsNameNil(b bool)` + + SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil + +### UnsetGpuOsName +`func (o *ProvisioningRequest) UnsetGpuOsName()` + +UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil +### GetGpuOsRelease + +`func (o *ProvisioningRequest) GetGpuOsRelease() string` + +GetGpuOsRelease returns the GpuOsRelease field if non-nil, zero value otherwise. + +### GetGpuOsReleaseOk + +`func (o *ProvisioningRequest) GetGpuOsReleaseOk() (*string, bool)` + +GetGpuOsReleaseOk returns a tuple with the GpuOsRelease field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuOsRelease + +`func (o *ProvisioningRequest) SetGpuOsRelease(v string)` + +SetGpuOsRelease sets GpuOsRelease field to given value. + +### HasGpuOsRelease + +`func (o *ProvisioningRequest) HasGpuOsRelease() bool` + +HasGpuOsRelease returns a boolean if a field has been set. + +### SetGpuOsReleaseNil + +`func (o *ProvisioningRequest) SetGpuOsReleaseNil(b bool)` + + SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil + +### UnsetGpuOsRelease +`func (o *ProvisioningRequest) UnsetGpuOsRelease()` + +UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil +### GetGpuOsVersion + +`func (o *ProvisioningRequest) GetGpuOsVersion() string` + +GetGpuOsVersion returns the GpuOsVersion field if non-nil, zero value otherwise. + +### GetGpuOsVersionOk + +`func (o *ProvisioningRequest) GetGpuOsVersionOk() (*string, bool)` + +GetGpuOsVersionOk returns a tuple with the GpuOsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGpuOsVersion + +`func (o *ProvisioningRequest) SetGpuOsVersion(v string)` + +SetGpuOsVersion sets GpuOsVersion field to given value. + +### HasGpuOsVersion + +`func (o *ProvisioningRequest) HasGpuOsVersion() bool` + +HasGpuOsVersion returns a boolean if a field has been set. + +### SetGpuOsVersionNil + +`func (o *ProvisioningRequest) SetGpuOsVersionNil(b bool)` + + SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil + +### UnsetGpuOsVersion +`func (o *ProvisioningRequest) UnsetGpuOsVersion()` + +UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil +### GetMinGpuCount + +`func (o *ProvisioningRequest) GetMinGpuCount() int32` + +GetMinGpuCount returns the MinGpuCount field if non-nil, zero value otherwise. + +### GetMinGpuCountOk + +`func (o *ProvisioningRequest) GetMinGpuCountOk() (*int32, bool)` + +GetMinGpuCountOk returns a tuple with the MinGpuCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinGpuCount + +`func (o *ProvisioningRequest) SetMinGpuCount(v int32)` + +SetMinGpuCount sets MinGpuCount field to given value. + +### HasMinGpuCount + +`func (o *ProvisioningRequest) HasMinGpuCount() bool` + +HasMinGpuCount returns a boolean if a field has been set. + +### GetNodeCount + +`func (o *ProvisioningRequest) GetNodeCount() int32` + +GetNodeCount returns the NodeCount field if non-nil, zero value otherwise. + +### GetNodeCountOk + +`func (o *ProvisioningRequest) GetNodeCountOk() (*int32, bool)` + +GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNodeCount + +`func (o *ProvisioningRequest) SetNodeCount(v int32)` + +SetNodeCount sets NodeCount field to given value. + +### HasNodeCount + +`func (o *ProvisioningRequest) HasNodeCount() bool` + +HasNodeCount returns a boolean if a field has been set. + +### GetOemName + +`func (o *ProvisioningRequest) GetOemName() string` + +GetOemName returns the OemName field if non-nil, zero value otherwise. + +### GetOemNameOk + +`func (o *ProvisioningRequest) GetOemNameOk() (*string, bool)` + +GetOemNameOk returns a tuple with the OemName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOemName + +`func (o *ProvisioningRequest) SetOemName(v string)` + +SetOemName sets OemName field to given value. + +### HasOemName + +`func (o *ProvisioningRequest) HasOemName() bool` + +HasOemName returns a boolean if a field has been set. + +### SetOemNameNil + +`func (o *ProvisioningRequest) SetOemNameNil(b bool)` + + SetOemNameNil sets the value for OemName to be an explicit nil + +### UnsetOemName +`func (o *ProvisioningRequest) UnsetOemName()` + +UnsetOemName ensures that no value is present for OemName, not even an explicit nil +### GetPersistOnFailure + +`func (o *ProvisioningRequest) GetPersistOnFailure() bool` + +GetPersistOnFailure returns the PersistOnFailure field if non-nil, zero value otherwise. + +### GetPersistOnFailureOk + +`func (o *ProvisioningRequest) GetPersistOnFailureOk() (*bool, bool)` + +GetPersistOnFailureOk returns a tuple with the PersistOnFailure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPersistOnFailure + +`func (o *ProvisioningRequest) SetPersistOnFailure(v bool)` + +SetPersistOnFailure sets PersistOnFailure field to given value. + +### HasPersistOnFailure + +`func (o *ProvisioningRequest) HasPersistOnFailure() bool` + +HasPersistOnFailure returns a boolean if a field has been set. + +### SetPersistOnFailureNil + +`func (o *ProvisioningRequest) SetPersistOnFailureNil(b bool)` + + SetPersistOnFailureNil sets the value for PersistOnFailure to be an explicit nil + +### UnsetPersistOnFailure +`func (o *ProvisioningRequest) UnsetPersistOnFailure()` + +UnsetPersistOnFailure ensures that no value is present for PersistOnFailure, not even an explicit nil +### GetPersona + +`func (o *ProvisioningRequest) GetPersona() string` + +GetPersona returns the Persona field if non-nil, zero value otherwise. + +### GetPersonaOk + +`func (o *ProvisioningRequest) GetPersonaOk() (*string, bool)` + +GetPersonaOk returns a tuple with the Persona field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPersona + +`func (o *ProvisioningRequest) SetPersona(v string)` + +SetPersona sets Persona field to given value. + +### HasPersona + +`func (o *ProvisioningRequest) HasPersona() bool` + +HasPersona returns a boolean if a field has been set. + +### SetPersonaNil + +`func (o *ProvisioningRequest) SetPersonaNil(b bool)` + + SetPersonaNil sets the value for Persona to be an explicit nil + +### UnsetPersona +`func (o *ProvisioningRequest) UnsetPersona()` + +UnsetPersona ensures that no value is present for Persona, not even an explicit nil +### GetPipeline + +`func (o *ProvisioningRequest) GetPipeline() int64` + +GetPipeline returns the Pipeline field if non-nil, zero value otherwise. + +### GetPipelineOk + +`func (o *ProvisioningRequest) GetPipelineOk() (*int64, bool)` + +GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPipeline + +`func (o *ProvisioningRequest) SetPipeline(v int64)` + +SetPipeline sets Pipeline field to given value. + +### HasPipeline + +`func (o *ProvisioningRequest) HasPipeline() bool` + +HasPipeline returns a boolean if a field has been set. + +### GetPipelineBranch + +`func (o *ProvisioningRequest) GetPipelineBranch() string` + +GetPipelineBranch returns the PipelineBranch field if non-nil, zero value otherwise. + +### GetPipelineBranchOk + +`func (o *ProvisioningRequest) GetPipelineBranchOk() (*string, bool)` + +GetPipelineBranchOk returns a tuple with the PipelineBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPipelineBranch + +`func (o *ProvisioningRequest) SetPipelineBranch(v string)` + +SetPipelineBranch sets PipelineBranch field to given value. + +### HasPipelineBranch + +`func (o *ProvisioningRequest) HasPipelineBranch() bool` + +HasPipelineBranch returns a boolean if a field has been set. + +### SetPipelineBranchNil + +`func (o *ProvisioningRequest) SetPipelineBranchNil(b bool)` + + SetPipelineBranchNil sets the value for PipelineBranch to be an explicit nil + +### UnsetPipelineBranch +`func (o *ProvisioningRequest) UnsetPipelineBranch()` + +UnsetPipelineBranch ensures that no value is present for PipelineBranch, not even an explicit nil +### GetPlatform + +`func (o *ProvisioningRequest) GetPlatform() PlatformEnum` + +GetPlatform returns the Platform field if non-nil, zero value otherwise. + +### GetPlatformOk + +`func (o *ProvisioningRequest) GetPlatformOk() (*PlatformEnum, bool)` + +GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPlatform + +`func (o *ProvisioningRequest) SetPlatform(v PlatformEnum)` + +SetPlatform sets Platform field to given value. + +### HasPlatform + +`func (o *ProvisioningRequest) HasPlatform() bool` + +HasPlatform returns a boolean if a field has been set. + +### SetPlatformNil + +`func (o *ProvisioningRequest) SetPlatformNil(b bool)` + + SetPlatformNil sets the value for Platform to be an explicit nil + +### UnsetPlatform +`func (o *ProvisioningRequest) UnsetPlatform()` + +UnsetPlatform ensures that no value is present for Platform, not even an explicit nil +### GetProviderName + +`func (o *ProvisioningRequest) GetProviderName() string` + +GetProviderName returns the ProviderName field if non-nil, zero value otherwise. + +### GetProviderNameOk + +`func (o *ProvisioningRequest) GetProviderNameOk() (*string, bool)` + +GetProviderNameOk returns a tuple with the ProviderName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProviderName + +`func (o *ProvisioningRequest) SetProviderName(v string)` + +SetProviderName sets ProviderName field to given value. + +### HasProviderName + +`func (o *ProvisioningRequest) HasProviderName() bool` + +HasProviderName returns a boolean if a field has been set. + +### SetProviderNameNil + +`func (o *ProvisioningRequest) SetProviderNameNil(b bool)` + + SetProviderNameNil sets the value for ProviderName to be an explicit nil + +### UnsetProviderName +`func (o *ProvisioningRequest) UnsetProviderName()` + +UnsetProviderName ensures that no value is present for ProviderName, not even an explicit nil +### GetRegion + +`func (o *ProvisioningRequest) GetRegion() string` + +GetRegion returns the Region field if non-nil, zero value otherwise. + +### GetRegionOk + +`func (o *ProvisioningRequest) GetRegionOk() (*string, bool)` + +GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRegion + +`func (o *ProvisioningRequest) SetRegion(v string)` + +SetRegion sets Region field to given value. + +### HasRegion + +`func (o *ProvisioningRequest) HasRegion() bool` + +HasRegion returns a boolean if a field has been set. + +### SetRegionNil + +`func (o *ProvisioningRequest) SetRegionNil(b bool)` + + SetRegionNil sets the value for Region to be an explicit nil + +### UnsetRegion +`func (o *ProvisioningRequest) UnsetRegion()` + +UnsetRegion ensures that no value is present for Region, not even an explicit nil +### GetRequestId + +`func (o *ProvisioningRequest) GetRequestId() string` + +GetRequestId returns the RequestId field if non-nil, zero value otherwise. + +### GetRequestIdOk + +`func (o *ProvisioningRequest) GetRequestIdOk() (*string, bool)` + +GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestId + +`func (o *ProvisioningRequest) SetRequestId(v string)` + +SetRequestId sets RequestId field to given value. + + +### GetRuntime + +`func (o *ProvisioningRequest) GetRuntime() string` + +GetRuntime returns the Runtime field if non-nil, zero value otherwise. + +### GetRuntimeOk + +`func (o *ProvisioningRequest) GetRuntimeOk() (*string, bool)` + +GetRuntimeOk returns a tuple with the Runtime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntime + +`func (o *ProvisioningRequest) SetRuntime(v string)` + +SetRuntime sets Runtime field to given value. + +### HasRuntime + +`func (o *ProvisioningRequest) HasRuntime() bool` + +HasRuntime returns a boolean if a field has been set. + +### SetRuntimeNil + +`func (o *ProvisioningRequest) SetRuntimeNil(b bool)` + + SetRuntimeNil sets the value for Runtime to be an explicit nil + +### UnsetRuntime +`func (o *ProvisioningRequest) UnsetRuntime()` + +UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +### GetRuntimeBranch + +`func (o *ProvisioningRequest) GetRuntimeBranch() string` + +GetRuntimeBranch returns the RuntimeBranch field if non-nil, zero value otherwise. + +### GetRuntimeBranchOk + +`func (o *ProvisioningRequest) GetRuntimeBranchOk() (*string, bool)` + +GetRuntimeBranchOk returns a tuple with the RuntimeBranch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeBranch + +`func (o *ProvisioningRequest) SetRuntimeBranch(v string)` + +SetRuntimeBranch sets RuntimeBranch field to given value. + +### HasRuntimeBranch + +`func (o *ProvisioningRequest) HasRuntimeBranch() bool` + +HasRuntimeBranch returns a boolean if a field has been set. + +### SetRuntimeBranchNil + +`func (o *ProvisioningRequest) SetRuntimeBranchNil(b bool)` + + SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil + +### UnsetRuntimeBranch +`func (o *ProvisioningRequest) UnsetRuntimeBranch()` + +UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +### GetRuntimeCnsAddonPack + +`func (o *ProvisioningRequest) GetRuntimeCnsAddonPack() bool` + +GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field if non-nil, zero value otherwise. + +### GetRuntimeCnsAddonPackOk + +`func (o *ProvisioningRequest) GetRuntimeCnsAddonPackOk() (*bool, bool)` + +GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsAddonPack + +`func (o *ProvisioningRequest) SetRuntimeCnsAddonPack(v bool)` + +SetRuntimeCnsAddonPack sets RuntimeCnsAddonPack field to given value. + +### HasRuntimeCnsAddonPack + +`func (o *ProvisioningRequest) HasRuntimeCnsAddonPack() bool` + +HasRuntimeCnsAddonPack returns a boolean if a field has been set. + +### SetRuntimeCnsAddonPackNil + +`func (o *ProvisioningRequest) SetRuntimeCnsAddonPackNil(b bool)` + + SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil + +### UnsetRuntimeCnsAddonPack +`func (o *ProvisioningRequest) UnsetRuntimeCnsAddonPack()` + +UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +### GetRuntimeCnsDocker + +`func (o *ProvisioningRequest) GetRuntimeCnsDocker() bool` + +GetRuntimeCnsDocker returns the RuntimeCnsDocker field if non-nil, zero value otherwise. + +### GetRuntimeCnsDockerOk + +`func (o *ProvisioningRequest) GetRuntimeCnsDockerOk() (*bool, bool)` + +GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDocker + +`func (o *ProvisioningRequest) SetRuntimeCnsDocker(v bool)` + +SetRuntimeCnsDocker sets RuntimeCnsDocker field to given value. + +### HasRuntimeCnsDocker + +`func (o *ProvisioningRequest) HasRuntimeCnsDocker() bool` + +HasRuntimeCnsDocker returns a boolean if a field has been set. + +### SetRuntimeCnsDockerNil + +`func (o *ProvisioningRequest) SetRuntimeCnsDockerNil(b bool)` + + SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil + +### UnsetRuntimeCnsDocker +`func (o *ProvisioningRequest) UnsetRuntimeCnsDocker()` + +UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +### GetRuntimeCnsDriverVersion + +`func (o *ProvisioningRequest) GetRuntimeCnsDriverVersion() string` + +GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsDriverVersionOk + +`func (o *ProvisioningRequest) GetRuntimeCnsDriverVersionOk() (*string, bool)` + +GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsDriverVersion + +`func (o *ProvisioningRequest) SetRuntimeCnsDriverVersion(v string)` + +SetRuntimeCnsDriverVersion sets RuntimeCnsDriverVersion field to given value. + +### HasRuntimeCnsDriverVersion + +`func (o *ProvisioningRequest) HasRuntimeCnsDriverVersion() bool` + +HasRuntimeCnsDriverVersion returns a boolean if a field has been set. + +### SetRuntimeCnsDriverVersionNil + +`func (o *ProvisioningRequest) SetRuntimeCnsDriverVersionNil(b bool)` + + SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil + +### UnsetRuntimeCnsDriverVersion +`func (o *ProvisioningRequest) UnsetRuntimeCnsDriverVersion()` + +UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +### GetRuntimeCnsK8s + +`func (o *ProvisioningRequest) GetRuntimeCnsK8s() bool` + +GetRuntimeCnsK8s returns the RuntimeCnsK8s field if non-nil, zero value otherwise. + +### GetRuntimeCnsK8sOk + +`func (o *ProvisioningRequest) GetRuntimeCnsK8sOk() (*bool, bool)` + +GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsK8s + +`func (o *ProvisioningRequest) SetRuntimeCnsK8s(v bool)` + +SetRuntimeCnsK8s sets RuntimeCnsK8s field to given value. + +### HasRuntimeCnsK8s + +`func (o *ProvisioningRequest) HasRuntimeCnsK8s() bool` + +HasRuntimeCnsK8s returns a boolean if a field has been set. + +### SetRuntimeCnsK8sNil + +`func (o *ProvisioningRequest) SetRuntimeCnsK8sNil(b bool)` + + SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil + +### UnsetRuntimeCnsK8s +`func (o *ProvisioningRequest) UnsetRuntimeCnsK8s()` + +UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +### GetRuntimeCnsNvidiaDriver + +`func (o *ProvisioningRequest) GetRuntimeCnsNvidiaDriver() bool` + +GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetRuntimeCnsNvidiaDriverOk + +`func (o *ProvisioningRequest) GetRuntimeCnsNvidiaDriverOk() (*bool, bool)` + +GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsNvidiaDriver + +`func (o *ProvisioningRequest) SetRuntimeCnsNvidiaDriver(v bool)` + +SetRuntimeCnsNvidiaDriver sets RuntimeCnsNvidiaDriver field to given value. + +### HasRuntimeCnsNvidiaDriver + +`func (o *ProvisioningRequest) HasRuntimeCnsNvidiaDriver() bool` + +HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. + +### SetRuntimeCnsNvidiaDriverNil + +`func (o *ProvisioningRequest) SetRuntimeCnsNvidiaDriverNil(b bool)` + + SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil + +### UnsetRuntimeCnsNvidiaDriver +`func (o *ProvisioningRequest) UnsetRuntimeCnsNvidiaDriver()` + +UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +### GetRuntimeCnsVersion + +`func (o *ProvisioningRequest) GetRuntimeCnsVersion() string` + +GetRuntimeCnsVersion returns the RuntimeCnsVersion field if non-nil, zero value otherwise. + +### GetRuntimeCnsVersionOk + +`func (o *ProvisioningRequest) GetRuntimeCnsVersionOk() (*string, bool)` + +GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeCnsVersion + +`func (o *ProvisioningRequest) SetRuntimeCnsVersion(v string)` + +SetRuntimeCnsVersion sets RuntimeCnsVersion field to given value. + +### HasRuntimeCnsVersion + +`func (o *ProvisioningRequest) HasRuntimeCnsVersion() bool` + +HasRuntimeCnsVersion returns a boolean if a field has been set. + +### SetRuntimeCnsVersionNil + +`func (o *ProvisioningRequest) SetRuntimeCnsVersionNil(b bool)` + + SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil + +### UnsetRuntimeCnsVersion +`func (o *ProvisioningRequest) UnsetRuntimeCnsVersion()` + +UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +### GetRuntimeMig + +`func (o *ProvisioningRequest) GetRuntimeMig() bool` + +GetRuntimeMig returns the RuntimeMig field if non-nil, zero value otherwise. + +### GetRuntimeMigOk + +`func (o *ProvisioningRequest) GetRuntimeMigOk() (*bool, bool)` + +GetRuntimeMigOk returns a tuple with the RuntimeMig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMig + +`func (o *ProvisioningRequest) SetRuntimeMig(v bool)` + +SetRuntimeMig sets RuntimeMig field to given value. + +### HasRuntimeMig + +`func (o *ProvisioningRequest) HasRuntimeMig() bool` + +HasRuntimeMig returns a boolean if a field has been set. + +### SetRuntimeMigNil + +`func (o *ProvisioningRequest) SetRuntimeMigNil(b bool)` + + SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil + +### UnsetRuntimeMig +`func (o *ProvisioningRequest) UnsetRuntimeMig()` + +UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +### GetRuntimeMigProfile + +`func (o *ProvisioningRequest) GetRuntimeMigProfile() string` + +GetRuntimeMigProfile returns the RuntimeMigProfile field if non-nil, zero value otherwise. + +### GetRuntimeMigProfileOk + +`func (o *ProvisioningRequest) GetRuntimeMigProfileOk() (*string, bool)` + +GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeMigProfile + +`func (o *ProvisioningRequest) SetRuntimeMigProfile(v string)` + +SetRuntimeMigProfile sets RuntimeMigProfile field to given value. + +### HasRuntimeMigProfile + +`func (o *ProvisioningRequest) HasRuntimeMigProfile() bool` + +HasRuntimeMigProfile returns a boolean if a field has been set. + +### SetRuntimeMigProfileNil + +`func (o *ProvisioningRequest) SetRuntimeMigProfileNil(b bool)` + + SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil + +### UnsetRuntimeMigProfile +`func (o *ProvisioningRequest) UnsetRuntimeMigProfile()` + +UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +### GetRuntimeUrl + +`func (o *ProvisioningRequest) GetRuntimeUrl() string` + +GetRuntimeUrl returns the RuntimeUrl field if non-nil, zero value otherwise. + +### GetRuntimeUrlOk + +`func (o *ProvisioningRequest) GetRuntimeUrlOk() (*string, bool)` + +GetRuntimeUrlOk returns a tuple with the RuntimeUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRuntimeUrl + +`func (o *ProvisioningRequest) SetRuntimeUrl(v string)` + +SetRuntimeUrl sets RuntimeUrl field to given value. + +### HasRuntimeUrl + +`func (o *ProvisioningRequest) HasRuntimeUrl() bool` + +HasRuntimeUrl returns a boolean if a field has been set. + +### SetRuntimeUrlNil + +`func (o *ProvisioningRequest) SetRuntimeUrlNil(b bool)` + + SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil + +### UnsetRuntimeUrl +`func (o *ProvisioningRequest) UnsetRuntimeUrl()` + +UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +### GetWorkshop + +`func (o *ProvisioningRequest) GetWorkshop() bool` + +GetWorkshop returns the Workshop field if non-nil, zero value otherwise. + +### GetWorkshopOk + +`func (o *ProvisioningRequest) GetWorkshopOk() (*bool, bool)` + +GetWorkshopOk returns a tuple with the Workshop field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWorkshop + +`func (o *ProvisioningRequest) SetWorkshop(v bool)` + +SetWorkshop sets Workshop field to given value. + +### HasWorkshop + +`func (o *ProvisioningRequest) HasWorkshop() bool` + +HasWorkshop returns a boolean if a field has been set. + +### SetWorkshopNil + +`func (o *ProvisioningRequest) SetWorkshopNil(b bool)` + + SetWorkshopNil sets the value for Workshop to be an explicit nil + +### UnsetWorkshop +`func (o *ProvisioningRequest) UnsetWorkshop()` + +UnsetWorkshop ensures that no value is present for Workshop, not even an explicit nil +### GetWorkshopId + +`func (o *ProvisioningRequest) GetWorkshopId() string` + +GetWorkshopId returns the WorkshopId field if non-nil, zero value otherwise. + +### GetWorkshopIdOk + +`func (o *ProvisioningRequest) GetWorkshopIdOk() (*string, bool)` + +GetWorkshopIdOk returns a tuple with the WorkshopId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWorkshopId + +`func (o *ProvisioningRequest) SetWorkshopId(v string)` + +SetWorkshopId sets WorkshopId field to given value. + +### HasWorkshopId + +`func (o *ProvisioningRequest) HasWorkshopId() bool` + +HasWorkshopId returns a boolean if a field has been set. + +### SetWorkshopIdNil + +`func (o *ProvisioningRequest) SetWorkshopIdNil(b bool)` + + SetWorkshopIdNil sets the value for WorkshopId to be an explicit nil + +### UnsetWorkshopId +`func (o *ProvisioningRequest) UnsetWorkshopId()` + +UnsetWorkshopId ensures that no value is present for WorkshopId, not even an explicit nil +### GetWorkshopOverridePassword + +`func (o *ProvisioningRequest) GetWorkshopOverridePassword() string` + +GetWorkshopOverridePassword returns the WorkshopOverridePassword field if non-nil, zero value otherwise. + +### GetWorkshopOverridePasswordOk + +`func (o *ProvisioningRequest) GetWorkshopOverridePasswordOk() (*string, bool)` + +GetWorkshopOverridePasswordOk returns a tuple with the WorkshopOverridePassword field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWorkshopOverridePassword + +`func (o *ProvisioningRequest) SetWorkshopOverridePassword(v string)` + +SetWorkshopOverridePassword sets WorkshopOverridePassword field to given value. + +### HasWorkshopOverridePassword + +`func (o *ProvisioningRequest) HasWorkshopOverridePassword() bool` + +HasWorkshopOverridePassword returns a boolean if a field has been set. + +### SetWorkshopOverridePasswordNil + +`func (o *ProvisioningRequest) SetWorkshopOverridePasswordNil(b bool)` + + SetWorkshopOverridePasswordNil sets the value for WorkshopOverridePassword to be an explicit nil + +### UnsetWorkshopOverridePassword +`func (o *ProvisioningRequest) UnsetWorkshopOverridePassword()` + +UnsetWorkshopOverridePassword ensures that no value is present for WorkshopOverridePassword, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/Runtime.md b/v1/providers/launchpad/gen/launchpad/docs/Runtime.md new file mode 100644 index 00000000..ea94f388 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/Runtime.md @@ -0,0 +1,399 @@ +# Runtime + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Branch** | Pointer to **string** | Runtime repository branch | [optional] +**CnsAddonPack** | Pointer to **bool** | Include CNS add-ons? | [optional] +**CnsDocker** | Pointer to **bool** | Include Docker with CNS? | [optional] +**CnsDriverVersion** | Pointer to **NullableString** | GPU driver version | [optional] +**CnsK8s** | Pointer to **bool** | Include Kubernetes with CNS? | [optional] +**CnsNvidiaDriver** | Pointer to **bool** | Include NVIDIA driver with CNS? | [optional] +**CnsVersion** | Pointer to **NullableString** | NVIDIA Cloud Native Stack version | [optional] +**Created** | **time.Time** | Timestamp of when the object was created | [readonly] +**Id** | **string** | | [readonly] +**Mig** | Pointer to **bool** | Include MIG support with CNS? | [optional] +**MigProfile** | Pointer to **NullableString** | MIG profile name | [optional] +**Modified** | **time.Time** | Timestamp of when the object was last modified | [readonly] +**Name** | **string** | Human-readable name of the runtime | +**Url** | **string** | URL of the runtime repository | + +## Methods + +### NewRuntime + +`func NewRuntime(created time.Time, id string, modified time.Time, name string, url string, ) *Runtime` + +NewRuntime instantiates a new Runtime object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRuntimeWithDefaults + +`func NewRuntimeWithDefaults() *Runtime` + +NewRuntimeWithDefaults instantiates a new Runtime object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBranch + +`func (o *Runtime) GetBranch() string` + +GetBranch returns the Branch field if non-nil, zero value otherwise. + +### GetBranchOk + +`func (o *Runtime) GetBranchOk() (*string, bool)` + +GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBranch + +`func (o *Runtime) SetBranch(v string)` + +SetBranch sets Branch field to given value. + +### HasBranch + +`func (o *Runtime) HasBranch() bool` + +HasBranch returns a boolean if a field has been set. + +### GetCnsAddonPack + +`func (o *Runtime) GetCnsAddonPack() bool` + +GetCnsAddonPack returns the CnsAddonPack field if non-nil, zero value otherwise. + +### GetCnsAddonPackOk + +`func (o *Runtime) GetCnsAddonPackOk() (*bool, bool)` + +GetCnsAddonPackOk returns a tuple with the CnsAddonPack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCnsAddonPack + +`func (o *Runtime) SetCnsAddonPack(v bool)` + +SetCnsAddonPack sets CnsAddonPack field to given value. + +### HasCnsAddonPack + +`func (o *Runtime) HasCnsAddonPack() bool` + +HasCnsAddonPack returns a boolean if a field has been set. + +### GetCnsDocker + +`func (o *Runtime) GetCnsDocker() bool` + +GetCnsDocker returns the CnsDocker field if non-nil, zero value otherwise. + +### GetCnsDockerOk + +`func (o *Runtime) GetCnsDockerOk() (*bool, bool)` + +GetCnsDockerOk returns a tuple with the CnsDocker field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCnsDocker + +`func (o *Runtime) SetCnsDocker(v bool)` + +SetCnsDocker sets CnsDocker field to given value. + +### HasCnsDocker + +`func (o *Runtime) HasCnsDocker() bool` + +HasCnsDocker returns a boolean if a field has been set. + +### GetCnsDriverVersion + +`func (o *Runtime) GetCnsDriverVersion() string` + +GetCnsDriverVersion returns the CnsDriverVersion field if non-nil, zero value otherwise. + +### GetCnsDriverVersionOk + +`func (o *Runtime) GetCnsDriverVersionOk() (*string, bool)` + +GetCnsDriverVersionOk returns a tuple with the CnsDriverVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCnsDriverVersion + +`func (o *Runtime) SetCnsDriverVersion(v string)` + +SetCnsDriverVersion sets CnsDriverVersion field to given value. + +### HasCnsDriverVersion + +`func (o *Runtime) HasCnsDriverVersion() bool` + +HasCnsDriverVersion returns a boolean if a field has been set. + +### SetCnsDriverVersionNil + +`func (o *Runtime) SetCnsDriverVersionNil(b bool)` + + SetCnsDriverVersionNil sets the value for CnsDriverVersion to be an explicit nil + +### UnsetCnsDriverVersion +`func (o *Runtime) UnsetCnsDriverVersion()` + +UnsetCnsDriverVersion ensures that no value is present for CnsDriverVersion, not even an explicit nil +### GetCnsK8s + +`func (o *Runtime) GetCnsK8s() bool` + +GetCnsK8s returns the CnsK8s field if non-nil, zero value otherwise. + +### GetCnsK8sOk + +`func (o *Runtime) GetCnsK8sOk() (*bool, bool)` + +GetCnsK8sOk returns a tuple with the CnsK8s field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCnsK8s + +`func (o *Runtime) SetCnsK8s(v bool)` + +SetCnsK8s sets CnsK8s field to given value. + +### HasCnsK8s + +`func (o *Runtime) HasCnsK8s() bool` + +HasCnsK8s returns a boolean if a field has been set. + +### GetCnsNvidiaDriver + +`func (o *Runtime) GetCnsNvidiaDriver() bool` + +GetCnsNvidiaDriver returns the CnsNvidiaDriver field if non-nil, zero value otherwise. + +### GetCnsNvidiaDriverOk + +`func (o *Runtime) GetCnsNvidiaDriverOk() (*bool, bool)` + +GetCnsNvidiaDriverOk returns a tuple with the CnsNvidiaDriver field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCnsNvidiaDriver + +`func (o *Runtime) SetCnsNvidiaDriver(v bool)` + +SetCnsNvidiaDriver sets CnsNvidiaDriver field to given value. + +### HasCnsNvidiaDriver + +`func (o *Runtime) HasCnsNvidiaDriver() bool` + +HasCnsNvidiaDriver returns a boolean if a field has been set. + +### GetCnsVersion + +`func (o *Runtime) GetCnsVersion() string` + +GetCnsVersion returns the CnsVersion field if non-nil, zero value otherwise. + +### GetCnsVersionOk + +`func (o *Runtime) GetCnsVersionOk() (*string, bool)` + +GetCnsVersionOk returns a tuple with the CnsVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCnsVersion + +`func (o *Runtime) SetCnsVersion(v string)` + +SetCnsVersion sets CnsVersion field to given value. + +### HasCnsVersion + +`func (o *Runtime) HasCnsVersion() bool` + +HasCnsVersion returns a boolean if a field has been set. + +### SetCnsVersionNil + +`func (o *Runtime) SetCnsVersionNil(b bool)` + + SetCnsVersionNil sets the value for CnsVersion to be an explicit nil + +### UnsetCnsVersion +`func (o *Runtime) UnsetCnsVersion()` + +UnsetCnsVersion ensures that no value is present for CnsVersion, not even an explicit nil +### GetCreated + +`func (o *Runtime) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *Runtime) GetCreatedOk() (*time.Time, bool)` + +GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreated + +`func (o *Runtime) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + + +### GetId + +`func (o *Runtime) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *Runtime) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *Runtime) SetId(v string)` + +SetId sets Id field to given value. + + +### GetMig + +`func (o *Runtime) GetMig() bool` + +GetMig returns the Mig field if non-nil, zero value otherwise. + +### GetMigOk + +`func (o *Runtime) GetMigOk() (*bool, bool)` + +GetMigOk returns a tuple with the Mig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMig + +`func (o *Runtime) SetMig(v bool)` + +SetMig sets Mig field to given value. + +### HasMig + +`func (o *Runtime) HasMig() bool` + +HasMig returns a boolean if a field has been set. + +### GetMigProfile + +`func (o *Runtime) GetMigProfile() string` + +GetMigProfile returns the MigProfile field if non-nil, zero value otherwise. + +### GetMigProfileOk + +`func (o *Runtime) GetMigProfileOk() (*string, bool)` + +GetMigProfileOk returns a tuple with the MigProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMigProfile + +`func (o *Runtime) SetMigProfile(v string)` + +SetMigProfile sets MigProfile field to given value. + +### HasMigProfile + +`func (o *Runtime) HasMigProfile() bool` + +HasMigProfile returns a boolean if a field has been set. + +### SetMigProfileNil + +`func (o *Runtime) SetMigProfileNil(b bool)` + + SetMigProfileNil sets the value for MigProfile to be an explicit nil + +### UnsetMigProfile +`func (o *Runtime) UnsetMigProfile()` + +UnsetMigProfile ensures that no value is present for MigProfile, not even an explicit nil +### GetModified + +`func (o *Runtime) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *Runtime) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *Runtime) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + + +### GetName + +`func (o *Runtime) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Runtime) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Runtime) SetName(v string)` + +SetName sets Name field to given value. + + +### GetUrl + +`func (o *Runtime) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *Runtime) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *Runtime) SetUrl(v string)` + +SetUrl sets Url field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/docs/VersionAPI.md b/v1/providers/launchpad/gen/launchpad/docs/VersionAPI.md new file mode 100644 index 00000000..d252517b --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/VersionAPI.md @@ -0,0 +1,68 @@ +# \VersionAPI + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**VersionRetrieve**](VersionAPI.md#VersionRetrieve) | **Get** /version/ | + + + +## VersionRetrieve + +> VersionRetrieve200Response VersionRetrieve(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/brevdev/cloud" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.VersionAPI.VersionRetrieve(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `VersionAPI.VersionRetrieve``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `VersionRetrieve`: VersionRetrieve200Response + fmt.Fprintf(os.Stdout, "Response from `VersionAPI.VersionRetrieve`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiVersionRetrieveRequest struct via the builder pattern + + +### Return type + +[**VersionRetrieve200Response**](VersionRetrieve200Response.md) + +### Authorization + +[TokenAuthentication](../README.md#TokenAuthentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[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) + diff --git a/v1/providers/launchpad/gen/launchpad/docs/VersionRetrieve200Response.md b/v1/providers/launchpad/gen/launchpad/docs/VersionRetrieve200Response.md new file mode 100644 index 00000000..9364aef2 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/docs/VersionRetrieve200Response.md @@ -0,0 +1,56 @@ +# VersionRetrieve200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApplicationVersion** | Pointer to **string** | | [optional] + +## Methods + +### NewVersionRetrieve200Response + +`func NewVersionRetrieve200Response() *VersionRetrieve200Response` + +NewVersionRetrieve200Response instantiates a new VersionRetrieve200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewVersionRetrieve200ResponseWithDefaults + +`func NewVersionRetrieve200ResponseWithDefaults() *VersionRetrieve200Response` + +NewVersionRetrieve200ResponseWithDefaults instantiates a new VersionRetrieve200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetApplicationVersion + +`func (o *VersionRetrieve200Response) GetApplicationVersion() string` + +GetApplicationVersion returns the ApplicationVersion field if non-nil, zero value otherwise. + +### GetApplicationVersionOk + +`func (o *VersionRetrieve200Response) GetApplicationVersionOk() (*string, bool)` + +GetApplicationVersionOk returns a tuple with the ApplicationVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApplicationVersion + +`func (o *VersionRetrieve200Response) SetApplicationVersion(v string)` + +SetApplicationVersion sets ApplicationVersion field to given value. + +### HasApplicationVersion + +`func (o *VersionRetrieve200Response) HasApplicationVersion() bool` + +HasApplicationVersion returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/v1/providers/launchpad/gen/launchpad/model_auth_login.go b/v1/providers/launchpad/gen/launchpad/model_auth_login.go index 7ae69428..d0fd4297 100644 --- a/v1/providers/launchpad/gen/launchpad/model_auth_login.go +++ b/v1/providers/launchpad/gen/launchpad/model_auth_login.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_auth_redirect.go b/v1/providers/launchpad/gen/launchpad/model_auth_redirect.go index 7106de73..e8e08d25 100644 --- a/v1/providers/launchpad/gen/launchpad/model_auth_redirect.go +++ b/v1/providers/launchpad/gen/launchpad/model_auth_redirect.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_auth_token.go b/v1/providers/launchpad/gen/launchpad/model_auth_token.go index adb841c2..7bee14b0 100644 --- a/v1/providers/launchpad/gen/launchpad/model_auth_token.go +++ b/v1/providers/launchpad/gen/launchpad/model_auth_token.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_blank_enum.go b/v1/providers/launchpad/gen/launchpad/model_blank_enum.go index 0ecfe186..0425de84 100644 --- a/v1/providers/launchpad/gen/launchpad/model_blank_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_blank_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_category_enum.go b/v1/providers/launchpad/gen/launchpad/model_category_enum.go index 94cc45b9..406475e6 100644 --- a/v1/providers/launchpad/gen/launchpad/model_category_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_category_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_cluster.go b/v1/providers/launchpad/gen/launchpad/model_cluster.go index 80bdece2..9f67d1fa 100644 --- a/v1/providers/launchpad/gen/launchpad/model_cluster.go +++ b/v1/providers/launchpad/gen/launchpad/model_cluster.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -63,6 +63,10 @@ type Cluster struct { ProvisionUser NullableString `json:"provision_user,omitempty"` // The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. ProvisioningAttempts *int32 `json:"provisioning_attempts,omitempty"` + // Applied provisioning configuration for the cluster + ProvisioningConfig NullableString `json:"provisioning_config,omitempty"` + // Requested provisioning configuration for the cluster + ProvisioningRequest NullableString `json:"provisioning_request,omitempty"` // Is the cluster currently provisioned? * `deployed` - Cluster is in use by a deployment * `deploying` - Provisioning is in progress * `destroying` - Cluster is being destroyed * `pending` - Provisioning will begin soon * `ready` - Provisioning has completed and is ready for a deployment * `reserved` - Cluster is unprovisioned but reserved for later use * `unprovisioned` - Cluster has not yet been provisioned ProvisioningState *ProvisioningStateEnum `json:"provisioning_state,omitempty"` // Public IP address or fully-qualified domain name of this cluster @@ -918,6 +922,92 @@ func (o *Cluster) SetProvisioningAttempts(v int32) { o.ProvisioningAttempts = &v } +// GetProvisioningConfig returns the ProvisioningConfig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cluster) GetProvisioningConfig() string { + if o == nil || IsNil(o.ProvisioningConfig.Get()) { + var ret string + return ret + } + return *o.ProvisioningConfig.Get() +} + +// GetProvisioningConfigOk returns a tuple with the ProvisioningConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Cluster) GetProvisioningConfigOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProvisioningConfig.Get(), o.ProvisioningConfig.IsSet() +} + +// HasProvisioningConfig returns a boolean if a field has been set. +func (o *Cluster) HasProvisioningConfig() bool { + if o != nil && o.ProvisioningConfig.IsSet() { + return true + } + + return false +} + +// SetProvisioningConfig gets a reference to the given NullableString and assigns it to the ProvisioningConfig field. +func (o *Cluster) SetProvisioningConfig(v string) { + o.ProvisioningConfig.Set(&v) +} + +// SetProvisioningConfigNil sets the value for ProvisioningConfig to be an explicit nil +func (o *Cluster) SetProvisioningConfigNil() { + o.ProvisioningConfig.Set(nil) +} + +// UnsetProvisioningConfig ensures that no value is present for ProvisioningConfig, not even an explicit nil +func (o *Cluster) UnsetProvisioningConfig() { + o.ProvisioningConfig.Unset() +} + +// GetProvisioningRequest returns the ProvisioningRequest field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Cluster) GetProvisioningRequest() string { + if o == nil || IsNil(o.ProvisioningRequest.Get()) { + var ret string + return ret + } + return *o.ProvisioningRequest.Get() +} + +// GetProvisioningRequestOk returns a tuple with the ProvisioningRequest field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Cluster) GetProvisioningRequestOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProvisioningRequest.Get(), o.ProvisioningRequest.IsSet() +} + +// HasProvisioningRequest returns a boolean if a field has been set. +func (o *Cluster) HasProvisioningRequest() bool { + if o != nil && o.ProvisioningRequest.IsSet() { + return true + } + + return false +} + +// SetProvisioningRequest gets a reference to the given NullableString and assigns it to the ProvisioningRequest field. +func (o *Cluster) SetProvisioningRequest(v string) { + o.ProvisioningRequest.Set(&v) +} + +// SetProvisioningRequestNil sets the value for ProvisioningRequest to be an explicit nil +func (o *Cluster) SetProvisioningRequestNil() { + o.ProvisioningRequest.Set(nil) +} + +// UnsetProvisioningRequest ensures that no value is present for ProvisioningRequest, not even an explicit nil +func (o *Cluster) UnsetProvisioningRequest() { + o.ProvisioningRequest.Unset() +} + // GetProvisioningState returns the ProvisioningState field value if set, zero value otherwise. func (o *Cluster) GetProvisioningState() ProvisioningStateEnum { if o == nil || IsNil(o.ProvisioningState) { @@ -1266,6 +1356,12 @@ func (o Cluster) ToMap() (map[string]interface{}, error) { if !IsNil(o.ProvisioningAttempts) { toSerialize["provisioning_attempts"] = o.ProvisioningAttempts } + if o.ProvisioningConfig.IsSet() { + toSerialize["provisioning_config"] = o.ProvisioningConfig.Get() + } + if o.ProvisioningRequest.IsSet() { + toSerialize["provisioning_request"] = o.ProvisioningRequest.Get() + } if !IsNil(o.ProvisioningState) { toSerialize["provisioning_state"] = o.ProvisioningState } @@ -1365,6 +1461,8 @@ func (o *Cluster) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "provider_capacity") delete(additionalProperties, "provision_user") delete(additionalProperties, "provisioning_attempts") + delete(additionalProperties, "provisioning_config") + delete(additionalProperties, "provisioning_request") delete(additionalProperties, "provisioning_state") delete(additionalProperties, "public_address") delete(additionalProperties, "request_id") diff --git a/v1/providers/launchpad/gen/launchpad/model_cluster_bulk_update.go b/v1/providers/launchpad/gen/launchpad/model_cluster_bulk_update.go index 51a46244..125fb266 100644 --- a/v1/providers/launchpad/gen/launchpad/model_cluster_bulk_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_cluster_bulk_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -63,6 +63,10 @@ type ClusterBulkUpdate struct { ProvisionUser NullableString `json:"provision_user,omitempty"` // The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. ProvisioningAttempts *int32 `json:"provisioning_attempts,omitempty"` + // Applied provisioning configuration for the cluster + ProvisioningConfig NullableString `json:"provisioning_config,omitempty"` + // Requested provisioning configuration for the cluster + ProvisioningRequest NullableString `json:"provisioning_request,omitempty"` // Is the cluster currently provisioned? * `deployed` - Cluster is in use by a deployment * `deploying` - Provisioning is in progress * `destroying` - Cluster is being destroyed * `pending` - Provisioning will begin soon * `ready` - Provisioning has completed and is ready for a deployment * `reserved` - Cluster is unprovisioned but reserved for later use * `unprovisioned` - Cluster has not yet been provisioned ProvisioningState *ProvisioningStateEnum `json:"provisioning_state,omitempty"` // Public IP address or fully-qualified domain name of this cluster @@ -905,6 +909,92 @@ func (o *ClusterBulkUpdate) SetProvisioningAttempts(v int32) { o.ProvisioningAttempts = &v } +// GetProvisioningConfig returns the ProvisioningConfig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ClusterBulkUpdate) GetProvisioningConfig() string { + if o == nil || IsNil(o.ProvisioningConfig.Get()) { + var ret string + return ret + } + return *o.ProvisioningConfig.Get() +} + +// GetProvisioningConfigOk returns a tuple with the ProvisioningConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ClusterBulkUpdate) GetProvisioningConfigOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProvisioningConfig.Get(), o.ProvisioningConfig.IsSet() +} + +// HasProvisioningConfig returns a boolean if a field has been set. +func (o *ClusterBulkUpdate) HasProvisioningConfig() bool { + if o != nil && o.ProvisioningConfig.IsSet() { + return true + } + + return false +} + +// SetProvisioningConfig gets a reference to the given NullableString and assigns it to the ProvisioningConfig field. +func (o *ClusterBulkUpdate) SetProvisioningConfig(v string) { + o.ProvisioningConfig.Set(&v) +} + +// SetProvisioningConfigNil sets the value for ProvisioningConfig to be an explicit nil +func (o *ClusterBulkUpdate) SetProvisioningConfigNil() { + o.ProvisioningConfig.Set(nil) +} + +// UnsetProvisioningConfig ensures that no value is present for ProvisioningConfig, not even an explicit nil +func (o *ClusterBulkUpdate) UnsetProvisioningConfig() { + o.ProvisioningConfig.Unset() +} + +// GetProvisioningRequest returns the ProvisioningRequest field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ClusterBulkUpdate) GetProvisioningRequest() string { + if o == nil || IsNil(o.ProvisioningRequest.Get()) { + var ret string + return ret + } + return *o.ProvisioningRequest.Get() +} + +// GetProvisioningRequestOk returns a tuple with the ProvisioningRequest field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ClusterBulkUpdate) GetProvisioningRequestOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProvisioningRequest.Get(), o.ProvisioningRequest.IsSet() +} + +// HasProvisioningRequest returns a boolean if a field has been set. +func (o *ClusterBulkUpdate) HasProvisioningRequest() bool { + if o != nil && o.ProvisioningRequest.IsSet() { + return true + } + + return false +} + +// SetProvisioningRequest gets a reference to the given NullableString and assigns it to the ProvisioningRequest field. +func (o *ClusterBulkUpdate) SetProvisioningRequest(v string) { + o.ProvisioningRequest.Set(&v) +} + +// SetProvisioningRequestNil sets the value for ProvisioningRequest to be an explicit nil +func (o *ClusterBulkUpdate) SetProvisioningRequestNil() { + o.ProvisioningRequest.Set(nil) +} + +// UnsetProvisioningRequest ensures that no value is present for ProvisioningRequest, not even an explicit nil +func (o *ClusterBulkUpdate) UnsetProvisioningRequest() { + o.ProvisioningRequest.Unset() +} + // GetProvisioningState returns the ProvisioningState field value if set, zero value otherwise. func (o *ClusterBulkUpdate) GetProvisioningState() ProvisioningStateEnum { if o == nil || IsNil(o.ProvisioningState) { @@ -1285,6 +1375,12 @@ func (o ClusterBulkUpdate) ToMap() (map[string]interface{}, error) { if !IsNil(o.ProvisioningAttempts) { toSerialize["provisioning_attempts"] = o.ProvisioningAttempts } + if o.ProvisioningConfig.IsSet() { + toSerialize["provisioning_config"] = o.ProvisioningConfig.Get() + } + if o.ProvisioningRequest.IsSet() { + toSerialize["provisioning_request"] = o.ProvisioningRequest.Get() + } if !IsNil(o.ProvisioningState) { toSerialize["provisioning_state"] = o.ProvisioningState } @@ -1391,6 +1487,8 @@ func (o *ClusterBulkUpdate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "provider_capacity") delete(additionalProperties, "provision_user") delete(additionalProperties, "provisioning_attempts") + delete(additionalProperties, "provisioning_config") + delete(additionalProperties, "provisioning_request") delete(additionalProperties, "provisioning_state") delete(additionalProperties, "public_address") delete(additionalProperties, "request_id") diff --git a/v1/providers/launchpad/gen/launchpad/model_cluster_deployment.go b/v1/providers/launchpad/gen/launchpad/model_cluster_deployment.go index 5087ea7c..2759049d 100644 --- a/v1/providers/launchpad/gen/launchpad/model_cluster_deployment.go +++ b/v1/providers/launchpad/gen/launchpad/model_cluster_deployment.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_cluster_gpus_inner.go b/v1/providers/launchpad/gen/launchpad/model_cluster_gpus_inner.go index d83949c8..acef2265 100644 --- a/v1/providers/launchpad/gen/launchpad/model_cluster_gpus_inner.go +++ b/v1/providers/launchpad/gen/launchpad/model_cluster_gpus_inner.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_cluster_instances_inner.go b/v1/providers/launchpad/gen/launchpad/model_cluster_instances_inner.go index 71274c20..d8a0ec3d 100644 --- a/v1/providers/launchpad/gen/launchpad/model_cluster_instances_inner.go +++ b/v1/providers/launchpad/gen/launchpad/model_cluster_instances_inner.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_cluster_nodes_inner.go b/v1/providers/launchpad/gen/launchpad/model_cluster_nodes_inner.go index 3ccaf531..7cf767ee 100644 --- a/v1/providers/launchpad/gen/launchpad/model_cluster_nodes_inner.go +++ b/v1/providers/launchpad/gen/launchpad/model_cluster_nodes_inner.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_cluster_pipeline_trigger.go b/v1/providers/launchpad/gen/launchpad/model_cluster_pipeline_trigger.go new file mode 100644 index 00000000..4b374194 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_cluster_pipeline_trigger.go @@ -0,0 +1,347 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the ClusterPipelineTrigger type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ClusterPipelineTrigger{} + +// ClusterPipelineTrigger struct for ClusterPipelineTrigger +type ClusterPipelineTrigger struct { + // Action for the pipeline to run * `apply` - apply * `destroy` - destroy * `notify` - notify + Action PipelineAction `json:"action"` + // Timestamp of when the object was created + Created time.Time `json:"created"` + Id string `json:"id"` + // Timestamp of when the object was last modified + Modified time.Time `json:"modified"` + // GitLab pipeline ID + PipelineId int32 `json:"pipeline_id"` + // Request ID that the pipeline was triggered for + RequestId string `json:"request_id"` + // URL for the pipeline details + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _ClusterPipelineTrigger ClusterPipelineTrigger + +// NewClusterPipelineTrigger instantiates a new ClusterPipelineTrigger object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewClusterPipelineTrigger(action PipelineAction, created time.Time, id string, modified time.Time, pipelineId int32, requestId string, url string) *ClusterPipelineTrigger { + this := ClusterPipelineTrigger{} + this.Action = action + this.Created = created + this.Id = id + this.Modified = modified + this.PipelineId = pipelineId + this.RequestId = requestId + this.Url = url + return &this +} + +// NewClusterPipelineTriggerWithDefaults instantiates a new ClusterPipelineTrigger object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewClusterPipelineTriggerWithDefaults() *ClusterPipelineTrigger { + this := ClusterPipelineTrigger{} + return &this +} + +// GetAction returns the Action field value +func (o *ClusterPipelineTrigger) GetAction() PipelineAction { + if o == nil { + var ret PipelineAction + return ret + } + + return o.Action +} + +// GetActionOk returns a tuple with the Action field value +// and a boolean to check if the value has been set. +func (o *ClusterPipelineTrigger) GetActionOk() (*PipelineAction, bool) { + if o == nil { + return nil, false + } + return &o.Action, true +} + +// SetAction sets field value +func (o *ClusterPipelineTrigger) SetAction(v PipelineAction) { + o.Action = v +} + +// GetCreated returns the Created field value +func (o *ClusterPipelineTrigger) GetCreated() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Created +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +func (o *ClusterPipelineTrigger) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Created, true +} + +// SetCreated sets field value +func (o *ClusterPipelineTrigger) SetCreated(v time.Time) { + o.Created = v +} + +// GetId returns the Id field value +func (o *ClusterPipelineTrigger) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *ClusterPipelineTrigger) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *ClusterPipelineTrigger) SetId(v string) { + o.Id = v +} + +// GetModified returns the Modified field value +func (o *ClusterPipelineTrigger) GetModified() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Modified +} + +// GetModifiedOk returns a tuple with the Modified field value +// and a boolean to check if the value has been set. +func (o *ClusterPipelineTrigger) GetModifiedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Modified, true +} + +// SetModified sets field value +func (o *ClusterPipelineTrigger) SetModified(v time.Time) { + o.Modified = v +} + +// GetPipelineId returns the PipelineId field value +func (o *ClusterPipelineTrigger) GetPipelineId() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.PipelineId +} + +// GetPipelineIdOk returns a tuple with the PipelineId field value +// and a boolean to check if the value has been set. +func (o *ClusterPipelineTrigger) GetPipelineIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.PipelineId, true +} + +// SetPipelineId sets field value +func (o *ClusterPipelineTrigger) SetPipelineId(v int32) { + o.PipelineId = v +} + +// GetRequestId returns the RequestId field value +func (o *ClusterPipelineTrigger) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ClusterPipelineTrigger) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ClusterPipelineTrigger) SetRequestId(v string) { + o.RequestId = v +} + +// GetUrl returns the Url field value +func (o *ClusterPipelineTrigger) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *ClusterPipelineTrigger) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *ClusterPipelineTrigger) SetUrl(v string) { + o.Url = v +} + +func (o ClusterPipelineTrigger) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ClusterPipelineTrigger) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["action"] = o.Action + toSerialize["created"] = o.Created + toSerialize["id"] = o.Id + toSerialize["modified"] = o.Modified + toSerialize["pipeline_id"] = o.PipelineId + toSerialize["request_id"] = o.RequestId + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ClusterPipelineTrigger) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "action", + "created", + "id", + "modified", + "pipeline_id", + "request_id", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varClusterPipelineTrigger := _ClusterPipelineTrigger{} + + err = json.Unmarshal(data, &varClusterPipelineTrigger) + + if err != nil { + return err + } + + *o = ClusterPipelineTrigger(varClusterPipelineTrigger) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "action") + delete(additionalProperties, "created") + delete(additionalProperties, "id") + delete(additionalProperties, "modified") + delete(additionalProperties, "pipeline_id") + delete(additionalProperties, "request_id") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableClusterPipelineTrigger struct { + value *ClusterPipelineTrigger + isSet bool +} + +func (v NullableClusterPipelineTrigger) Get() *ClusterPipelineTrigger { + return v.value +} + +func (v *NullableClusterPipelineTrigger) Set(val *ClusterPipelineTrigger) { + v.value = val + v.isSet = true +} + +func (v NullableClusterPipelineTrigger) IsSet() bool { + return v.isSet +} + +func (v *NullableClusterPipelineTrigger) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableClusterPipelineTrigger(val *ClusterPipelineTrigger) *NullableClusterPipelineTrigger { + return &NullableClusterPipelineTrigger{value: val, isSet: true} +} + +func (v NullableClusterPipelineTrigger) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableClusterPipelineTrigger) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_cpu_manufacturer_enum.go b/v1/providers/launchpad/gen/launchpad/model_cpu_manufacturer_enum.go index 33685fa6..3a893d08 100644 --- a/v1/providers/launchpad/gen/launchpad/model_cpu_manufacturer_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_cpu_manufacturer_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment.go b/v1/providers/launchpad/gen/launchpad/model_deployment.go index a6fa34c8..479a05fb 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,20 +23,22 @@ var _ MappedNullable = &Deployment{} type Deployment struct { // Override bastion operating system provisioned and/or configured by Liftoff BastionOperatingSystem NullableString `json:"bastion_operating_system,omitempty"` - // Unique ID for this experience in the sales catalog. Must be unique. + // Catalog ID of the experience provisioned to the cluster CatalogId *string `json:"catalog_id,omitempty"` - // Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique. - CatalogIdAlias NullableString `json:"catalog_id_alias,omitempty"` + // Catalog ID alias of the experience provisioned to the cluster + CatalogIdAlias *string `json:"catalog_id_alias,omitempty"` Cluster *DeploymentCluster `json:"cluster,omitempty"` // Override the Ansible collection branch initialized within the pipeline CollectionBranch NullableString `json:"collection_branch,omitempty"` // Timestamp of when the object was created - Created time.Time `json:"created"` - Experience *DeploymentExperience `json:"experience,omitempty"` + Created time.Time `json:"created"` + // The experience being deployed for use + Experience NullableString `json:"experience,omitempty"` // Override the experience branch ExperienceBranch NullableString `json:"experience_branch,omitempty"` - ExperienceId *string `json:"experience_id,omitempty"` - ExpiresAt NullableTime `json:"expires_at,omitempty"` + // UUID of the experience provisioned to the cluster + ExperienceId *string `json:"experience_id,omitempty"` + ExpiresAt NullableTime `json:"expires_at,omitempty"` // Override the image tag used for Flight Control FlightcontrolRelease NullableString `json:"flightcontrol_release,omitempty"` // Require a cluster with nodes in the given garage @@ -48,10 +50,13 @@ type Deployment struct { // Require a cluster with the given number of GPUs GpuCount NullableInt32 `json:"gpu_count,omitempty"` // Require a cluster with the given GPU model - GpuModel NullableString `json:"gpu_model,omitempty"` - GpuOsName *string `json:"gpu_os_name,omitempty"` - GpuOsRelease *string `json:"gpu_os_release,omitempty"` - GpuOsVersion *string `json:"gpu_os_version,omitempty"` + GpuModel NullableString `json:"gpu_model,omitempty"` + // Override the GPU node operating system name + GpuOsName NullableString `json:"gpu_os_name,omitempty"` + // Override the GPU node operating system release + GpuOsRelease NullableString `json:"gpu_os_release,omitempty"` + // Override the GPU node operating system version + GpuOsVersion NullableString `json:"gpu_os_version,omitempty"` Id string `json:"id"` // Host IP addresses that should be allowed to access the deployment IpAllowlist []string `json:"ip_allowlist,omitempty"` @@ -66,13 +71,15 @@ type Deployment struct { // Require a cluster manufactured by the given OEM name OemName NullableString `json:"oem_name,omitempty"` // Requester's organization name - OrgName string `json:"org_name"` - Overrides interface{} `json:"overrides"` + OrgName string `json:"org_name"` + // Overriden values from the original deployment request + Overrides Overrides `json:"overrides"` // Override the default cleanup/destroy behavior when a provisioning failure occurs PersistOnFailure NullableBool `json:"persist_on_failure,omitempty"` - Persona *string `json:"persona,omitempty"` + // Override the defined persona in the experience + Persona NullableString `json:"persona,omitempty"` // Override the pipeline ID that will be triggered for request fulfillment - Pipeline NullableInt64 `json:"pipeline,omitempty"` + Pipeline NullableInt32 `json:"pipeline,omitempty"` // Override the default pipeline branch ref used when triggering a Fuselage pipeline PipelineBranch NullableString `json:"pipeline_branch,omitempty"` Pipelines []string `json:"pipelines"` @@ -92,8 +99,30 @@ type Deployment struct { // Name of the user requesting the experience RequesterName string `json:"requester_name"` // Number of times the deployment has been retried - RetryCount int32 `json:"retry_count"` - SalesCreatedDate NullableTime `json:"sales_created_date,omitempty"` + RetryCount int32 `json:"retry_count"` + // Use the presets of the given runtime when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` + // Override the runtime repository branch + RuntimeBranch NullableString `json:"runtime_branch,omitempty"` + // Override the runtime's CNS add-ons flag + RuntimeCnsAddonPack NullableBool `json:"runtime_cns_addon_pack,omitempty"` + // Override the runtime's Docker with CNS flag + RuntimeCnsDocker NullableBool `json:"runtime_cns_docker,omitempty"` + // Override the runtime's GPU driver version + RuntimeCnsDriverVersion NullableString `json:"runtime_cns_driver_version,omitempty"` + // Override the runtime's Kubernetes with CNS flag + RuntimeCnsK8s NullableBool `json:"runtime_cns_k8s,omitempty"` + // Override the runtime's NVIDIA driver with CNS flag + RuntimeCnsNvidiaDriver NullableBool `json:"runtime_cns_nvidia_driver,omitempty"` + // Override the runtime's Cloud Native Stack version + RuntimeCnsVersion NullableString `json:"runtime_cns_version,omitempty"` + // Override the runtime's MIG support with CNS flag + RuntimeMig NullableBool `json:"runtime_mig,omitempty"` + // Override the runtime's MIG profile name + RuntimeMigProfile NullableString `json:"runtime_mig_profile,omitempty"` + // Override the URL of the runtime repository + RuntimeUrl NullableString `json:"runtime_url,omitempty"` + SalesCreatedDate NullableTime `json:"sales_created_date,omitempty"` // Unique identifier for the requester's sales relationship SalesId NullableString `json:"sales_id,omitempty"` // Email address of the sales contact associated with the requester @@ -121,13 +150,23 @@ type _Deployment Deployment // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeployment(created time.Time, id string, modified time.Time, orgName string, overrides interface{}, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState) *Deployment { +func NewDeployment(created time.Time, id string, modified time.Time, orgName string, overrides Overrides, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState) *Deployment { this := Deployment{} this.Created = created + var gpuCount int32 = 0 + this.GpuCount = *NewNullableInt32(&gpuCount) this.Id = id + var minGpuCount int32 = 0 + this.MinGpuCount = *NewNullableInt32(&minGpuCount) this.Modified = modified + var nodeCount int32 = 0 + this.NodeCount = *NewNullableInt32(&nodeCount) this.OrgName = orgName this.Overrides = overrides + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) this.Pipelines = pipelines this.RequesterEmail = requesterEmail this.RequesterName = requesterName @@ -136,6 +175,8 @@ func NewDeployment(created time.Time, id string, modified time.Time, orgName str this.SshPort = sshPort this.SshUser = sshUser this.State = state + var workshop bool = false + this.Workshop = *NewNullableBool(&workshop) return &this } @@ -144,6 +185,18 @@ func NewDeployment(created time.Time, id string, modified time.Time, orgName str // but it doesn't guarantee that properties required by API are set func NewDeploymentWithDefaults() *Deployment { this := Deployment{} + var gpuCount int32 = 0 + this.GpuCount = *NewNullableInt32(&gpuCount) + var minGpuCount int32 = 0 + this.MinGpuCount = *NewNullableInt32(&minGpuCount) + var nodeCount int32 = 0 + this.NodeCount = *NewNullableInt32(&nodeCount) + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) + var workshop bool = false + this.Workshop = *NewNullableBool(&workshop) return &this } @@ -222,47 +275,36 @@ func (o *Deployment) SetCatalogId(v string) { o.CatalogId = &v } -// GetCatalogIdAlias returns the CatalogIdAlias field value if set, zero value otherwise (both if not set or set to explicit null). +// GetCatalogIdAlias returns the CatalogIdAlias field value if set, zero value otherwise. func (o *Deployment) GetCatalogIdAlias() string { - if o == nil || IsNil(o.CatalogIdAlias.Get()) { + if o == nil || IsNil(o.CatalogIdAlias) { var ret string return ret } - return *o.CatalogIdAlias.Get() + return *o.CatalogIdAlias } // GetCatalogIdAliasOk returns a tuple with the CatalogIdAlias field value if set, nil otherwise // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *Deployment) GetCatalogIdAliasOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.CatalogIdAlias) { return nil, false } - return o.CatalogIdAlias.Get(), o.CatalogIdAlias.IsSet() + return o.CatalogIdAlias, true } // HasCatalogIdAlias returns a boolean if a field has been set. func (o *Deployment) HasCatalogIdAlias() bool { - if o != nil && o.CatalogIdAlias.IsSet() { + if o != nil && !IsNil(o.CatalogIdAlias) { return true } return false } -// SetCatalogIdAlias gets a reference to the given NullableString and assigns it to the CatalogIdAlias field. +// SetCatalogIdAlias gets a reference to the given string and assigns it to the CatalogIdAlias field. func (o *Deployment) SetCatalogIdAlias(v string) { - o.CatalogIdAlias.Set(&v) -} - -// SetCatalogIdAliasNil sets the value for CatalogIdAlias to be an explicit nil -func (o *Deployment) SetCatalogIdAliasNil() { - o.CatalogIdAlias.Set(nil) -} - -// UnsetCatalogIdAlias ensures that no value is present for CatalogIdAlias, not even an explicit nil -func (o *Deployment) UnsetCatalogIdAlias() { - o.CatalogIdAlias.Unset() + o.CatalogIdAlias = &v } // GetCluster returns the Cluster field value if set, zero value otherwise. @@ -364,36 +406,47 @@ func (o *Deployment) SetCreated(v time.Time) { o.Created = v } -// GetExperience returns the Experience field value if set, zero value otherwise. -func (o *Deployment) GetExperience() DeploymentExperience { - if o == nil || IsNil(o.Experience) { - var ret DeploymentExperience +// GetExperience returns the Experience field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetExperience() string { + if o == nil || IsNil(o.Experience.Get()) { + var ret string return ret } - return *o.Experience + return *o.Experience.Get() } // GetExperienceOk returns a tuple with the Experience field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Deployment) GetExperienceOk() (*DeploymentExperience, bool) { - if o == nil || IsNil(o.Experience) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetExperienceOk() (*string, bool) { + if o == nil { return nil, false } - return o.Experience, true + return o.Experience.Get(), o.Experience.IsSet() } // HasExperience returns a boolean if a field has been set. func (o *Deployment) HasExperience() bool { - if o != nil && !IsNil(o.Experience) { + if o != nil && o.Experience.IsSet() { return true } return false } -// SetExperience gets a reference to the given DeploymentExperience and assigns it to the Experience field. -func (o *Deployment) SetExperience(v DeploymentExperience) { - o.Experience = &v +// SetExperience gets a reference to the given NullableString and assigns it to the Experience field. +func (o *Deployment) SetExperience(v string) { + o.Experience.Set(&v) +} + +// SetExperienceNil sets the value for Experience to be an explicit nil +func (o *Deployment) SetExperienceNil() { + o.Experience.Set(nil) +} + +// UnsetExperience ensures that no value is present for Experience, not even an explicit nil +func (o *Deployment) UnsetExperience() { + o.Experience.Unset() } // GetExperienceBranch returns the ExperienceBranch field value if set, zero value otherwise (both if not set or set to explicit null). @@ -772,100 +825,133 @@ func (o *Deployment) UnsetGpuModel() { o.GpuModel.Unset() } -// GetGpuOsName returns the GpuOsName field value if set, zero value otherwise. +// GetGpuOsName returns the GpuOsName field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Deployment) GetGpuOsName() string { - if o == nil || IsNil(o.GpuOsName) { + if o == nil || IsNil(o.GpuOsName.Get()) { var ret string return ret } - return *o.GpuOsName + return *o.GpuOsName.Get() } // GetGpuOsNameOk returns a tuple with the GpuOsName field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *Deployment) GetGpuOsNameOk() (*string, bool) { - if o == nil || IsNil(o.GpuOsName) { + if o == nil { return nil, false } - return o.GpuOsName, true + return o.GpuOsName.Get(), o.GpuOsName.IsSet() } // HasGpuOsName returns a boolean if a field has been set. func (o *Deployment) HasGpuOsName() bool { - if o != nil && !IsNil(o.GpuOsName) { + if o != nil && o.GpuOsName.IsSet() { return true } return false } -// SetGpuOsName gets a reference to the given string and assigns it to the GpuOsName field. +// SetGpuOsName gets a reference to the given NullableString and assigns it to the GpuOsName field. func (o *Deployment) SetGpuOsName(v string) { - o.GpuOsName = &v + o.GpuOsName.Set(&v) } -// GetGpuOsRelease returns the GpuOsRelease field value if set, zero value otherwise. +// SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil +func (o *Deployment) SetGpuOsNameNil() { + o.GpuOsName.Set(nil) +} + +// UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil +func (o *Deployment) UnsetGpuOsName() { + o.GpuOsName.Unset() +} + +// GetGpuOsRelease returns the GpuOsRelease field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Deployment) GetGpuOsRelease() string { - if o == nil || IsNil(o.GpuOsRelease) { + if o == nil || IsNil(o.GpuOsRelease.Get()) { var ret string return ret } - return *o.GpuOsRelease + return *o.GpuOsRelease.Get() } // GetGpuOsReleaseOk returns a tuple with the GpuOsRelease field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *Deployment) GetGpuOsReleaseOk() (*string, bool) { - if o == nil || IsNil(o.GpuOsRelease) { + if o == nil { return nil, false } - return o.GpuOsRelease, true + return o.GpuOsRelease.Get(), o.GpuOsRelease.IsSet() } // HasGpuOsRelease returns a boolean if a field has been set. func (o *Deployment) HasGpuOsRelease() bool { - if o != nil && !IsNil(o.GpuOsRelease) { + if o != nil && o.GpuOsRelease.IsSet() { return true } return false } -// SetGpuOsRelease gets a reference to the given string and assigns it to the GpuOsRelease field. +// SetGpuOsRelease gets a reference to the given NullableString and assigns it to the GpuOsRelease field. func (o *Deployment) SetGpuOsRelease(v string) { - o.GpuOsRelease = &v + o.GpuOsRelease.Set(&v) +} + +// SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil +func (o *Deployment) SetGpuOsReleaseNil() { + o.GpuOsRelease.Set(nil) +} + +// UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil +func (o *Deployment) UnsetGpuOsRelease() { + o.GpuOsRelease.Unset() } -// GetGpuOsVersion returns the GpuOsVersion field value if set, zero value otherwise. +// GetGpuOsVersion returns the GpuOsVersion field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Deployment) GetGpuOsVersion() string { - if o == nil || IsNil(o.GpuOsVersion) { + if o == nil || IsNil(o.GpuOsVersion.Get()) { var ret string return ret } - return *o.GpuOsVersion + return *o.GpuOsVersion.Get() } // GetGpuOsVersionOk returns a tuple with the GpuOsVersion field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *Deployment) GetGpuOsVersionOk() (*string, bool) { - if o == nil || IsNil(o.GpuOsVersion) { + if o == nil { return nil, false } - return o.GpuOsVersion, true + return o.GpuOsVersion.Get(), o.GpuOsVersion.IsSet() } // HasGpuOsVersion returns a boolean if a field has been set. func (o *Deployment) HasGpuOsVersion() bool { - if o != nil && !IsNil(o.GpuOsVersion) { + if o != nil && o.GpuOsVersion.IsSet() { return true } return false } -// SetGpuOsVersion gets a reference to the given string and assigns it to the GpuOsVersion field. +// SetGpuOsVersion gets a reference to the given NullableString and assigns it to the GpuOsVersion field. func (o *Deployment) SetGpuOsVersion(v string) { - o.GpuOsVersion = &v + o.GpuOsVersion.Set(&v) +} + +// SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil +func (o *Deployment) SetGpuOsVersionNil() { + o.GpuOsVersion.Set(nil) +} + +// UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil +func (o *Deployment) UnsetGpuOsVersion() { + o.GpuOsVersion.Unset() } // GetId returns the Id field value @@ -1145,10 +1231,9 @@ func (o *Deployment) SetOrgName(v string) { } // GetOverrides returns the Overrides field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *Deployment) GetOverrides() interface{} { +func (o *Deployment) GetOverrides() Overrides { if o == nil { - var ret interface{} + var ret Overrides return ret } @@ -1157,16 +1242,15 @@ func (o *Deployment) GetOverrides() interface{} { // GetOverridesOk returns a tuple with the Overrides field value // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *Deployment) GetOverridesOk() (*interface{}, bool) { - if o == nil || IsNil(o.Overrides) { +func (o *Deployment) GetOverridesOk() (*Overrides, bool) { + if o == nil { return nil, false } return &o.Overrides, true } // SetOverrides sets field value -func (o *Deployment) SetOverrides(v interface{}) { +func (o *Deployment) SetOverrides(v Overrides) { o.Overrides = v } @@ -1213,42 +1297,53 @@ func (o *Deployment) UnsetPersistOnFailure() { o.PersistOnFailure.Unset() } -// GetPersona returns the Persona field value if set, zero value otherwise. +// GetPersona returns the Persona field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Deployment) GetPersona() string { - if o == nil || IsNil(o.Persona) { + if o == nil || IsNil(o.Persona.Get()) { var ret string return ret } - return *o.Persona + return *o.Persona.Get() } // GetPersonaOk returns a tuple with the Persona field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *Deployment) GetPersonaOk() (*string, bool) { - if o == nil || IsNil(o.Persona) { + if o == nil { return nil, false } - return o.Persona, true + return o.Persona.Get(), o.Persona.IsSet() } // HasPersona returns a boolean if a field has been set. func (o *Deployment) HasPersona() bool { - if o != nil && !IsNil(o.Persona) { + if o != nil && o.Persona.IsSet() { return true } return false } -// SetPersona gets a reference to the given string and assigns it to the Persona field. +// SetPersona gets a reference to the given NullableString and assigns it to the Persona field. func (o *Deployment) SetPersona(v string) { - o.Persona = &v + o.Persona.Set(&v) +} + +// SetPersonaNil sets the value for Persona to be an explicit nil +func (o *Deployment) SetPersonaNil() { + o.Persona.Set(nil) +} + +// UnsetPersona ensures that no value is present for Persona, not even an explicit nil +func (o *Deployment) UnsetPersona() { + o.Persona.Unset() } // GetPipeline returns the Pipeline field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *Deployment) GetPipeline() int64 { +func (o *Deployment) GetPipeline() int32 { if o == nil || IsNil(o.Pipeline.Get()) { - var ret int64 + var ret int32 return ret } return *o.Pipeline.Get() @@ -1257,7 +1352,7 @@ func (o *Deployment) GetPipeline() int64 { // GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *Deployment) GetPipelineOk() (*int64, bool) { +func (o *Deployment) GetPipelineOk() (*int32, bool) { if o == nil { return nil, false } @@ -1273,8 +1368,8 @@ func (o *Deployment) HasPipeline() bool { return false } -// SetPipeline gets a reference to the given NullableInt64 and assigns it to the Pipeline field. -func (o *Deployment) SetPipeline(v int64) { +// SetPipeline gets a reference to the given NullableInt32 and assigns it to the Pipeline field. +func (o *Deployment) SetPipeline(v int32) { o.Pipeline.Set(&v) } @@ -1663,6 +1758,479 @@ func (o *Deployment) SetRetryCount(v int32) { o.RetryCount = v } +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *Deployment) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *Deployment) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *Deployment) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *Deployment) UnsetRuntime() { + o.Runtime.Unset() +} + +// GetRuntimeBranch returns the RuntimeBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeBranch() string { + if o == nil || IsNil(o.RuntimeBranch.Get()) { + var ret string + return ret + } + return *o.RuntimeBranch.Get() +} + +// GetRuntimeBranchOk returns a tuple with the RuntimeBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeBranch.Get(), o.RuntimeBranch.IsSet() +} + +// HasRuntimeBranch returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeBranch() bool { + if o != nil && o.RuntimeBranch.IsSet() { + return true + } + + return false +} + +// SetRuntimeBranch gets a reference to the given NullableString and assigns it to the RuntimeBranch field. +func (o *Deployment) SetRuntimeBranch(v string) { + o.RuntimeBranch.Set(&v) +} + +// SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil +func (o *Deployment) SetRuntimeBranchNil() { + o.RuntimeBranch.Set(nil) +} + +// UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +func (o *Deployment) UnsetRuntimeBranch() { + o.RuntimeBranch.Unset() +} + +// GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeCnsAddonPack() bool { + if o == nil || IsNil(o.RuntimeCnsAddonPack.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsAddonPack.Get() +} + +// GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeCnsAddonPackOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsAddonPack.Get(), o.RuntimeCnsAddonPack.IsSet() +} + +// HasRuntimeCnsAddonPack returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeCnsAddonPack() bool { + if o != nil && o.RuntimeCnsAddonPack.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsAddonPack gets a reference to the given NullableBool and assigns it to the RuntimeCnsAddonPack field. +func (o *Deployment) SetRuntimeCnsAddonPack(v bool) { + o.RuntimeCnsAddonPack.Set(&v) +} + +// SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil +func (o *Deployment) SetRuntimeCnsAddonPackNil() { + o.RuntimeCnsAddonPack.Set(nil) +} + +// UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +func (o *Deployment) UnsetRuntimeCnsAddonPack() { + o.RuntimeCnsAddonPack.Unset() +} + +// GetRuntimeCnsDocker returns the RuntimeCnsDocker field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeCnsDocker() bool { + if o == nil || IsNil(o.RuntimeCnsDocker.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsDocker.Get() +} + +// GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeCnsDockerOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDocker.Get(), o.RuntimeCnsDocker.IsSet() +} + +// HasRuntimeCnsDocker returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeCnsDocker() bool { + if o != nil && o.RuntimeCnsDocker.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDocker gets a reference to the given NullableBool and assigns it to the RuntimeCnsDocker field. +func (o *Deployment) SetRuntimeCnsDocker(v bool) { + o.RuntimeCnsDocker.Set(&v) +} + +// SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil +func (o *Deployment) SetRuntimeCnsDockerNil() { + o.RuntimeCnsDocker.Set(nil) +} + +// UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +func (o *Deployment) UnsetRuntimeCnsDocker() { + o.RuntimeCnsDocker.Unset() +} + +// GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeCnsDriverVersion() string { + if o == nil || IsNil(o.RuntimeCnsDriverVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsDriverVersion.Get() +} + +// GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeCnsDriverVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDriverVersion.Get(), o.RuntimeCnsDriverVersion.IsSet() +} + +// HasRuntimeCnsDriverVersion returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeCnsDriverVersion() bool { + if o != nil && o.RuntimeCnsDriverVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDriverVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsDriverVersion field. +func (o *Deployment) SetRuntimeCnsDriverVersion(v string) { + o.RuntimeCnsDriverVersion.Set(&v) +} + +// SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil +func (o *Deployment) SetRuntimeCnsDriverVersionNil() { + o.RuntimeCnsDriverVersion.Set(nil) +} + +// UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +func (o *Deployment) UnsetRuntimeCnsDriverVersion() { + o.RuntimeCnsDriverVersion.Unset() +} + +// GetRuntimeCnsK8s returns the RuntimeCnsK8s field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeCnsK8s() bool { + if o == nil || IsNil(o.RuntimeCnsK8s.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsK8s.Get() +} + +// GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeCnsK8sOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsK8s.Get(), o.RuntimeCnsK8s.IsSet() +} + +// HasRuntimeCnsK8s returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeCnsK8s() bool { + if o != nil && o.RuntimeCnsK8s.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsK8s gets a reference to the given NullableBool and assigns it to the RuntimeCnsK8s field. +func (o *Deployment) SetRuntimeCnsK8s(v bool) { + o.RuntimeCnsK8s.Set(&v) +} + +// SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil +func (o *Deployment) SetRuntimeCnsK8sNil() { + o.RuntimeCnsK8s.Set(nil) +} + +// UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +func (o *Deployment) UnsetRuntimeCnsK8s() { + o.RuntimeCnsK8s.Unset() +} + +// GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeCnsNvidiaDriver() bool { + if o == nil || IsNil(o.RuntimeCnsNvidiaDriver.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsNvidiaDriver.Get() +} + +// GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeCnsNvidiaDriverOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsNvidiaDriver.Get(), o.RuntimeCnsNvidiaDriver.IsSet() +} + +// HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeCnsNvidiaDriver() bool { + if o != nil && o.RuntimeCnsNvidiaDriver.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsNvidiaDriver gets a reference to the given NullableBool and assigns it to the RuntimeCnsNvidiaDriver field. +func (o *Deployment) SetRuntimeCnsNvidiaDriver(v bool) { + o.RuntimeCnsNvidiaDriver.Set(&v) +} + +// SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil +func (o *Deployment) SetRuntimeCnsNvidiaDriverNil() { + o.RuntimeCnsNvidiaDriver.Set(nil) +} + +// UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +func (o *Deployment) UnsetRuntimeCnsNvidiaDriver() { + o.RuntimeCnsNvidiaDriver.Unset() +} + +// GetRuntimeCnsVersion returns the RuntimeCnsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeCnsVersion() string { + if o == nil || IsNil(o.RuntimeCnsVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsVersion.Get() +} + +// GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeCnsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsVersion.Get(), o.RuntimeCnsVersion.IsSet() +} + +// HasRuntimeCnsVersion returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeCnsVersion() bool { + if o != nil && o.RuntimeCnsVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsVersion field. +func (o *Deployment) SetRuntimeCnsVersion(v string) { + o.RuntimeCnsVersion.Set(&v) +} + +// SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil +func (o *Deployment) SetRuntimeCnsVersionNil() { + o.RuntimeCnsVersion.Set(nil) +} + +// UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +func (o *Deployment) UnsetRuntimeCnsVersion() { + o.RuntimeCnsVersion.Unset() +} + +// GetRuntimeMig returns the RuntimeMig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeMig() bool { + if o == nil || IsNil(o.RuntimeMig.Get()) { + var ret bool + return ret + } + return *o.RuntimeMig.Get() +} + +// GetRuntimeMigOk returns a tuple with the RuntimeMig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeMigOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMig.Get(), o.RuntimeMig.IsSet() +} + +// HasRuntimeMig returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeMig() bool { + if o != nil && o.RuntimeMig.IsSet() { + return true + } + + return false +} + +// SetRuntimeMig gets a reference to the given NullableBool and assigns it to the RuntimeMig field. +func (o *Deployment) SetRuntimeMig(v bool) { + o.RuntimeMig.Set(&v) +} + +// SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil +func (o *Deployment) SetRuntimeMigNil() { + o.RuntimeMig.Set(nil) +} + +// UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +func (o *Deployment) UnsetRuntimeMig() { + o.RuntimeMig.Unset() +} + +// GetRuntimeMigProfile returns the RuntimeMigProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeMigProfile() string { + if o == nil || IsNil(o.RuntimeMigProfile.Get()) { + var ret string + return ret + } + return *o.RuntimeMigProfile.Get() +} + +// GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeMigProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMigProfile.Get(), o.RuntimeMigProfile.IsSet() +} + +// HasRuntimeMigProfile returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeMigProfile() bool { + if o != nil && o.RuntimeMigProfile.IsSet() { + return true + } + + return false +} + +// SetRuntimeMigProfile gets a reference to the given NullableString and assigns it to the RuntimeMigProfile field. +func (o *Deployment) SetRuntimeMigProfile(v string) { + o.RuntimeMigProfile.Set(&v) +} + +// SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil +func (o *Deployment) SetRuntimeMigProfileNil() { + o.RuntimeMigProfile.Set(nil) +} + +// UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +func (o *Deployment) UnsetRuntimeMigProfile() { + o.RuntimeMigProfile.Unset() +} + +// GetRuntimeUrl returns the RuntimeUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Deployment) GetRuntimeUrl() string { + if o == nil || IsNil(o.RuntimeUrl.Get()) { + var ret string + return ret + } + return *o.RuntimeUrl.Get() +} + +// GetRuntimeUrlOk returns a tuple with the RuntimeUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Deployment) GetRuntimeUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeUrl.Get(), o.RuntimeUrl.IsSet() +} + +// HasRuntimeUrl returns a boolean if a field has been set. +func (o *Deployment) HasRuntimeUrl() bool { + if o != nil && o.RuntimeUrl.IsSet() { + return true + } + + return false +} + +// SetRuntimeUrl gets a reference to the given NullableString and assigns it to the RuntimeUrl field. +func (o *Deployment) SetRuntimeUrl(v string) { + o.RuntimeUrl.Set(&v) +} + +// SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil +func (o *Deployment) SetRuntimeUrlNil() { + o.RuntimeUrl.Set(nil) +} + +// UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +func (o *Deployment) UnsetRuntimeUrl() { + o.RuntimeUrl.Unset() +} + // GetSalesCreatedDate returns the SalesCreatedDate field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Deployment) GetSalesCreatedDate() time.Time { if o == nil || IsNil(o.SalesCreatedDate.Get()) { @@ -2109,8 +2677,8 @@ func (o Deployment) ToMap() (map[string]interface{}, error) { if !IsNil(o.CatalogId) { toSerialize["catalog_id"] = o.CatalogId } - if o.CatalogIdAlias.IsSet() { - toSerialize["catalog_id_alias"] = o.CatalogIdAlias.Get() + if !IsNil(o.CatalogIdAlias) { + toSerialize["catalog_id_alias"] = o.CatalogIdAlias } if !IsNil(o.Cluster) { toSerialize["cluster"] = o.Cluster @@ -2119,8 +2687,8 @@ func (o Deployment) ToMap() (map[string]interface{}, error) { toSerialize["collection_branch"] = o.CollectionBranch.Get() } toSerialize["created"] = o.Created - if !IsNil(o.Experience) { - toSerialize["experience"] = o.Experience + if o.Experience.IsSet() { + toSerialize["experience"] = o.Experience.Get() } if o.ExperienceBranch.IsSet() { toSerialize["experience_branch"] = o.ExperienceBranch.Get() @@ -2149,14 +2717,14 @@ func (o Deployment) ToMap() (map[string]interface{}, error) { if o.GpuModel.IsSet() { toSerialize["gpu_model"] = o.GpuModel.Get() } - if !IsNil(o.GpuOsName) { - toSerialize["gpu_os_name"] = o.GpuOsName + if o.GpuOsName.IsSet() { + toSerialize["gpu_os_name"] = o.GpuOsName.Get() } - if !IsNil(o.GpuOsRelease) { - toSerialize["gpu_os_release"] = o.GpuOsRelease + if o.GpuOsRelease.IsSet() { + toSerialize["gpu_os_release"] = o.GpuOsRelease.Get() } - if !IsNil(o.GpuOsVersion) { - toSerialize["gpu_os_version"] = o.GpuOsVersion + if o.GpuOsVersion.IsSet() { + toSerialize["gpu_os_version"] = o.GpuOsVersion.Get() } toSerialize["id"] = o.Id if !IsNil(o.IpAllowlist) { @@ -2176,14 +2744,12 @@ func (o Deployment) ToMap() (map[string]interface{}, error) { toSerialize["oem_name"] = o.OemName.Get() } toSerialize["org_name"] = o.OrgName - if o.Overrides != nil { - toSerialize["overrides"] = o.Overrides - } + toSerialize["overrides"] = o.Overrides if o.PersistOnFailure.IsSet() { toSerialize["persist_on_failure"] = o.PersistOnFailure.Get() } - if !IsNil(o.Persona) { - toSerialize["persona"] = o.Persona + if o.Persona.IsSet() { + toSerialize["persona"] = o.Persona.Get() } if o.Pipeline.IsSet() { toSerialize["pipeline"] = o.Pipeline.Get() @@ -2213,6 +2779,39 @@ func (o Deployment) ToMap() (map[string]interface{}, error) { toSerialize["requester_email"] = o.RequesterEmail toSerialize["requester_name"] = o.RequesterName toSerialize["retry_count"] = o.RetryCount + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } + if o.RuntimeBranch.IsSet() { + toSerialize["runtime_branch"] = o.RuntimeBranch.Get() + } + if o.RuntimeCnsAddonPack.IsSet() { + toSerialize["runtime_cns_addon_pack"] = o.RuntimeCnsAddonPack.Get() + } + if o.RuntimeCnsDocker.IsSet() { + toSerialize["runtime_cns_docker"] = o.RuntimeCnsDocker.Get() + } + if o.RuntimeCnsDriverVersion.IsSet() { + toSerialize["runtime_cns_driver_version"] = o.RuntimeCnsDriverVersion.Get() + } + if o.RuntimeCnsK8s.IsSet() { + toSerialize["runtime_cns_k8s"] = o.RuntimeCnsK8s.Get() + } + if o.RuntimeCnsNvidiaDriver.IsSet() { + toSerialize["runtime_cns_nvidia_driver"] = o.RuntimeCnsNvidiaDriver.Get() + } + if o.RuntimeCnsVersion.IsSet() { + toSerialize["runtime_cns_version"] = o.RuntimeCnsVersion.Get() + } + if o.RuntimeMig.IsSet() { + toSerialize["runtime_mig"] = o.RuntimeMig.Get() + } + if o.RuntimeMigProfile.IsSet() { + toSerialize["runtime_mig_profile"] = o.RuntimeMigProfile.Get() + } + if o.RuntimeUrl.IsSet() { + toSerialize["runtime_url"] = o.RuntimeUrl.Get() + } if o.SalesCreatedDate.IsSet() { toSerialize["sales_created_date"] = o.SalesCreatedDate.Get() } @@ -2338,6 +2937,17 @@ func (o *Deployment) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "requester_email") delete(additionalProperties, "requester_name") delete(additionalProperties, "retry_count") + delete(additionalProperties, "runtime") + delete(additionalProperties, "runtime_branch") + delete(additionalProperties, "runtime_cns_addon_pack") + delete(additionalProperties, "runtime_cns_docker") + delete(additionalProperties, "runtime_cns_driver_version") + delete(additionalProperties, "runtime_cns_k8s") + delete(additionalProperties, "runtime_cns_nvidia_driver") + delete(additionalProperties, "runtime_cns_version") + delete(additionalProperties, "runtime_mig") + delete(additionalProperties, "runtime_mig_profile") + delete(additionalProperties, "runtime_url") delete(additionalProperties, "sales_created_date") delete(additionalProperties, "sales_id") delete(additionalProperties, "sales_owner_email") diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_bulk_update.go b/v1/providers/launchpad/gen/launchpad/model_deployment_bulk_update.go index 2dac86c7..3addbd5d 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_bulk_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_bulk_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -28,8 +28,9 @@ type DeploymentBulkUpdate struct { // Override the Ansible collection branch initialized within the pipeline CollectionBranch NullableString `json:"collection_branch,omitempty"` // Timestamp of when the object was created - Created time.Time `json:"created"` - Experience DeploymentExperience `json:"experience"` + Created time.Time `json:"created"` + // The experience being deployed for use + Experience NullableString `json:"experience"` // Override the experience branch ExperienceBranch NullableString `json:"experience_branch,omitempty"` ExpiresAt NullableTime `json:"expires_at,omitempty"` @@ -65,14 +66,15 @@ type DeploymentBulkUpdate struct { // Require a cluster manufactured by the given OEM name OemName NullableString `json:"oem_name"` // Requester's organization name - OrgName *string `json:"org_name,omitempty"` - Overrides interface{} `json:"overrides"` + OrgName *string `json:"org_name,omitempty"` + // Overriden values from the original deployment request + Overrides Overrides `json:"overrides"` // Override the default cleanup/destroy behavior when a provisioning failure occurs PersistOnFailure NullableBool `json:"persist_on_failure,omitempty"` // Override the defined persona in the experience Persona NullableString `json:"persona,omitempty"` // Override the pipeline ID that will be triggered for request fulfillment - Pipeline NullableInt64 `json:"pipeline,omitempty"` + Pipeline NullableInt32 `json:"pipeline,omitempty"` // Override the default pipeline branch ref used when triggering a Fuselage pipeline PipelineBranch NullableString `json:"pipeline_branch,omitempty"` Pipelines []string `json:"pipelines"` @@ -93,6 +95,28 @@ type DeploymentBulkUpdate struct { RequesterName *string `json:"requester_name,omitempty"` // Number of times the deployment has been retried RetryCount *int32 `json:"retry_count,omitempty"` + // Use the presets of the given runtime when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` + // Override the runtime repository branch + RuntimeBranch NullableString `json:"runtime_branch,omitempty"` + // Override the runtime's CNS add-ons flag + RuntimeCnsAddonPack NullableBool `json:"runtime_cns_addon_pack,omitempty"` + // Override the runtime's Docker with CNS flag + RuntimeCnsDocker NullableBool `json:"runtime_cns_docker,omitempty"` + // Override the runtime's GPU driver version + RuntimeCnsDriverVersion NullableString `json:"runtime_cns_driver_version,omitempty"` + // Override the runtime's Kubernetes with CNS flag + RuntimeCnsK8s NullableBool `json:"runtime_cns_k8s,omitempty"` + // Override the runtime's NVIDIA driver with CNS flag + RuntimeCnsNvidiaDriver NullableBool `json:"runtime_cns_nvidia_driver,omitempty"` + // Override the runtime's Cloud Native Stack version + RuntimeCnsVersion NullableString `json:"runtime_cns_version,omitempty"` + // Override the runtime's MIG support with CNS flag + RuntimeMig NullableBool `json:"runtime_mig,omitempty"` + // Override the runtime's MIG profile name + RuntimeMigProfile NullableString `json:"runtime_mig_profile,omitempty"` + // Override the URL of the runtime repository + RuntimeUrl NullableString `json:"runtime_url,omitempty"` // Timestamp when the requester's sales relationship was created SalesCreatedDate NullableTime `json:"sales_created_date"` // Unique identifier for the requester's sales relationship @@ -123,7 +147,7 @@ type _DeploymentBulkUpdate DeploymentBulkUpdate // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeploymentBulkUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience DeploymentExperience, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides interface{}, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString, count int32, ids []string, result string) *DeploymentBulkUpdate { +func NewDeploymentBulkUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience NullableString, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides Overrides, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString, count int32, ids []string, result string) *DeploymentBulkUpdate { this := DeploymentBulkUpdate{} this.BastionOperatingSystem = bastionOperatingSystem this.Cluster = cluster @@ -143,6 +167,10 @@ func NewDeploymentBulkUpdate(bastionOperatingSystem NullableString, cluster Null this.NodeCount = nodeCount this.OemName = oemName this.Overrides = overrides + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) this.Pipelines = pipelines this.Priority = priority this.ProviderName = providerName @@ -166,6 +194,10 @@ func NewDeploymentBulkUpdate(bastionOperatingSystem NullableString, cluster Null // but it doesn't guarantee that properties required by API are set func NewDeploymentBulkUpdateWithDefaults() *DeploymentBulkUpdate { this := DeploymentBulkUpdate{} + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) return &this } @@ -289,27 +321,29 @@ func (o *DeploymentBulkUpdate) SetCreated(v time.Time) { } // GetExperience returns the Experience field value -func (o *DeploymentBulkUpdate) GetExperience() DeploymentExperience { - if o == nil { - var ret DeploymentExperience +// If the value is explicit nil, the zero value for string will be returned +func (o *DeploymentBulkUpdate) GetExperience() string { + if o == nil || o.Experience.Get() == nil { + var ret string return ret } - return o.Experience + return *o.Experience.Get() } // GetExperienceOk returns a tuple with the Experience field value // and a boolean to check if the value has been set. -func (o *DeploymentBulkUpdate) GetExperienceOk() (*DeploymentExperience, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetExperienceOk() (*string, bool) { if o == nil { return nil, false } - return &o.Experience, true + return o.Experience.Get(), o.Experience.IsSet() } // SetExperience sets field value -func (o *DeploymentBulkUpdate) SetExperience(v DeploymentExperience) { - o.Experience = v +func (o *DeploymentBulkUpdate) SetExperience(v string) { + o.Experience.Set(&v) } // GetExperienceBranch returns the ExperienceBranch field value if set, zero value otherwise (both if not set or set to explicit null). @@ -883,10 +917,9 @@ func (o *DeploymentBulkUpdate) SetOrgName(v string) { } // GetOverrides returns the Overrides field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *DeploymentBulkUpdate) GetOverrides() interface{} { +func (o *DeploymentBulkUpdate) GetOverrides() Overrides { if o == nil { - var ret interface{} + var ret Overrides return ret } @@ -895,16 +928,15 @@ func (o *DeploymentBulkUpdate) GetOverrides() interface{} { // GetOverridesOk returns a tuple with the Overrides field value // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *DeploymentBulkUpdate) GetOverridesOk() (*interface{}, bool) { - if o == nil || IsNil(o.Overrides) { +func (o *DeploymentBulkUpdate) GetOverridesOk() (*Overrides, bool) { + if o == nil { return nil, false } return &o.Overrides, true } // SetOverrides sets field value -func (o *DeploymentBulkUpdate) SetOverrides(v interface{}) { +func (o *DeploymentBulkUpdate) SetOverrides(v Overrides) { o.Overrides = v } @@ -995,9 +1027,9 @@ func (o *DeploymentBulkUpdate) UnsetPersona() { } // GetPipeline returns the Pipeline field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeploymentBulkUpdate) GetPipeline() int64 { +func (o *DeploymentBulkUpdate) GetPipeline() int32 { if o == nil || IsNil(o.Pipeline.Get()) { - var ret int64 + var ret int32 return ret } return *o.Pipeline.Get() @@ -1006,7 +1038,7 @@ func (o *DeploymentBulkUpdate) GetPipeline() int64 { // GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *DeploymentBulkUpdate) GetPipelineOk() (*int64, bool) { +func (o *DeploymentBulkUpdate) GetPipelineOk() (*int32, bool) { if o == nil { return nil, false } @@ -1022,8 +1054,8 @@ func (o *DeploymentBulkUpdate) HasPipeline() bool { return false } -// SetPipeline gets a reference to the given NullableInt64 and assigns it to the Pipeline field. -func (o *DeploymentBulkUpdate) SetPipeline(v int64) { +// SetPipeline gets a reference to the given NullableInt32 and assigns it to the Pipeline field. +func (o *DeploymentBulkUpdate) SetPipeline(v int32) { o.Pipeline.Set(&v) } @@ -1369,6 +1401,479 @@ func (o *DeploymentBulkUpdate) SetRetryCount(v int32) { o.RetryCount = &v } +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *DeploymentBulkUpdate) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntime() { + o.Runtime.Unset() +} + +// GetRuntimeBranch returns the RuntimeBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeBranch() string { + if o == nil || IsNil(o.RuntimeBranch.Get()) { + var ret string + return ret + } + return *o.RuntimeBranch.Get() +} + +// GetRuntimeBranchOk returns a tuple with the RuntimeBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeBranch.Get(), o.RuntimeBranch.IsSet() +} + +// HasRuntimeBranch returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeBranch() bool { + if o != nil && o.RuntimeBranch.IsSet() { + return true + } + + return false +} + +// SetRuntimeBranch gets a reference to the given NullableString and assigns it to the RuntimeBranch field. +func (o *DeploymentBulkUpdate) SetRuntimeBranch(v string) { + o.RuntimeBranch.Set(&v) +} + +// SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeBranchNil() { + o.RuntimeBranch.Set(nil) +} + +// UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeBranch() { + o.RuntimeBranch.Unset() +} + +// GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeCnsAddonPack() bool { + if o == nil || IsNil(o.RuntimeCnsAddonPack.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsAddonPack.Get() +} + +// GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeCnsAddonPackOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsAddonPack.Get(), o.RuntimeCnsAddonPack.IsSet() +} + +// HasRuntimeCnsAddonPack returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeCnsAddonPack() bool { + if o != nil && o.RuntimeCnsAddonPack.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsAddonPack gets a reference to the given NullableBool and assigns it to the RuntimeCnsAddonPack field. +func (o *DeploymentBulkUpdate) SetRuntimeCnsAddonPack(v bool) { + o.RuntimeCnsAddonPack.Set(&v) +} + +// SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeCnsAddonPackNil() { + o.RuntimeCnsAddonPack.Set(nil) +} + +// UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeCnsAddonPack() { + o.RuntimeCnsAddonPack.Unset() +} + +// GetRuntimeCnsDocker returns the RuntimeCnsDocker field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeCnsDocker() bool { + if o == nil || IsNil(o.RuntimeCnsDocker.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsDocker.Get() +} + +// GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeCnsDockerOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDocker.Get(), o.RuntimeCnsDocker.IsSet() +} + +// HasRuntimeCnsDocker returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeCnsDocker() bool { + if o != nil && o.RuntimeCnsDocker.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDocker gets a reference to the given NullableBool and assigns it to the RuntimeCnsDocker field. +func (o *DeploymentBulkUpdate) SetRuntimeCnsDocker(v bool) { + o.RuntimeCnsDocker.Set(&v) +} + +// SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeCnsDockerNil() { + o.RuntimeCnsDocker.Set(nil) +} + +// UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeCnsDocker() { + o.RuntimeCnsDocker.Unset() +} + +// GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeCnsDriverVersion() string { + if o == nil || IsNil(o.RuntimeCnsDriverVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsDriverVersion.Get() +} + +// GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeCnsDriverVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDriverVersion.Get(), o.RuntimeCnsDriverVersion.IsSet() +} + +// HasRuntimeCnsDriverVersion returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeCnsDriverVersion() bool { + if o != nil && o.RuntimeCnsDriverVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDriverVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsDriverVersion field. +func (o *DeploymentBulkUpdate) SetRuntimeCnsDriverVersion(v string) { + o.RuntimeCnsDriverVersion.Set(&v) +} + +// SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeCnsDriverVersionNil() { + o.RuntimeCnsDriverVersion.Set(nil) +} + +// UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeCnsDriverVersion() { + o.RuntimeCnsDriverVersion.Unset() +} + +// GetRuntimeCnsK8s returns the RuntimeCnsK8s field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeCnsK8s() bool { + if o == nil || IsNil(o.RuntimeCnsK8s.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsK8s.Get() +} + +// GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeCnsK8sOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsK8s.Get(), o.RuntimeCnsK8s.IsSet() +} + +// HasRuntimeCnsK8s returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeCnsK8s() bool { + if o != nil && o.RuntimeCnsK8s.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsK8s gets a reference to the given NullableBool and assigns it to the RuntimeCnsK8s field. +func (o *DeploymentBulkUpdate) SetRuntimeCnsK8s(v bool) { + o.RuntimeCnsK8s.Set(&v) +} + +// SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeCnsK8sNil() { + o.RuntimeCnsK8s.Set(nil) +} + +// UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeCnsK8s() { + o.RuntimeCnsK8s.Unset() +} + +// GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeCnsNvidiaDriver() bool { + if o == nil || IsNil(o.RuntimeCnsNvidiaDriver.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsNvidiaDriver.Get() +} + +// GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeCnsNvidiaDriverOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsNvidiaDriver.Get(), o.RuntimeCnsNvidiaDriver.IsSet() +} + +// HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeCnsNvidiaDriver() bool { + if o != nil && o.RuntimeCnsNvidiaDriver.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsNvidiaDriver gets a reference to the given NullableBool and assigns it to the RuntimeCnsNvidiaDriver field. +func (o *DeploymentBulkUpdate) SetRuntimeCnsNvidiaDriver(v bool) { + o.RuntimeCnsNvidiaDriver.Set(&v) +} + +// SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeCnsNvidiaDriverNil() { + o.RuntimeCnsNvidiaDriver.Set(nil) +} + +// UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeCnsNvidiaDriver() { + o.RuntimeCnsNvidiaDriver.Unset() +} + +// GetRuntimeCnsVersion returns the RuntimeCnsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeCnsVersion() string { + if o == nil || IsNil(o.RuntimeCnsVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsVersion.Get() +} + +// GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeCnsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsVersion.Get(), o.RuntimeCnsVersion.IsSet() +} + +// HasRuntimeCnsVersion returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeCnsVersion() bool { + if o != nil && o.RuntimeCnsVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsVersion field. +func (o *DeploymentBulkUpdate) SetRuntimeCnsVersion(v string) { + o.RuntimeCnsVersion.Set(&v) +} + +// SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeCnsVersionNil() { + o.RuntimeCnsVersion.Set(nil) +} + +// UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeCnsVersion() { + o.RuntimeCnsVersion.Unset() +} + +// GetRuntimeMig returns the RuntimeMig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeMig() bool { + if o == nil || IsNil(o.RuntimeMig.Get()) { + var ret bool + return ret + } + return *o.RuntimeMig.Get() +} + +// GetRuntimeMigOk returns a tuple with the RuntimeMig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeMigOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMig.Get(), o.RuntimeMig.IsSet() +} + +// HasRuntimeMig returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeMig() bool { + if o != nil && o.RuntimeMig.IsSet() { + return true + } + + return false +} + +// SetRuntimeMig gets a reference to the given NullableBool and assigns it to the RuntimeMig field. +func (o *DeploymentBulkUpdate) SetRuntimeMig(v bool) { + o.RuntimeMig.Set(&v) +} + +// SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeMigNil() { + o.RuntimeMig.Set(nil) +} + +// UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeMig() { + o.RuntimeMig.Unset() +} + +// GetRuntimeMigProfile returns the RuntimeMigProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeMigProfile() string { + if o == nil || IsNil(o.RuntimeMigProfile.Get()) { + var ret string + return ret + } + return *o.RuntimeMigProfile.Get() +} + +// GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeMigProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMigProfile.Get(), o.RuntimeMigProfile.IsSet() +} + +// HasRuntimeMigProfile returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeMigProfile() bool { + if o != nil && o.RuntimeMigProfile.IsSet() { + return true + } + + return false +} + +// SetRuntimeMigProfile gets a reference to the given NullableString and assigns it to the RuntimeMigProfile field. +func (o *DeploymentBulkUpdate) SetRuntimeMigProfile(v string) { + o.RuntimeMigProfile.Set(&v) +} + +// SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeMigProfileNil() { + o.RuntimeMigProfile.Set(nil) +} + +// UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeMigProfile() { + o.RuntimeMigProfile.Unset() +} + +// GetRuntimeUrl returns the RuntimeUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentBulkUpdate) GetRuntimeUrl() string { + if o == nil || IsNil(o.RuntimeUrl.Get()) { + var ret string + return ret + } + return *o.RuntimeUrl.Get() +} + +// GetRuntimeUrlOk returns a tuple with the RuntimeUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentBulkUpdate) GetRuntimeUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeUrl.Get(), o.RuntimeUrl.IsSet() +} + +// HasRuntimeUrl returns a boolean if a field has been set. +func (o *DeploymentBulkUpdate) HasRuntimeUrl() bool { + if o != nil && o.RuntimeUrl.IsSet() { + return true + } + + return false +} + +// SetRuntimeUrl gets a reference to the given NullableString and assigns it to the RuntimeUrl field. +func (o *DeploymentBulkUpdate) SetRuntimeUrl(v string) { + o.RuntimeUrl.Set(&v) +} + +// SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil +func (o *DeploymentBulkUpdate) SetRuntimeUrlNil() { + o.RuntimeUrl.Set(nil) +} + +// UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +func (o *DeploymentBulkUpdate) UnsetRuntimeUrl() { + o.RuntimeUrl.Unset() +} + // GetSalesCreatedDate returns the SalesCreatedDate field value // If the value is explicit nil, the zero value for time.Time will be returned func (o *DeploymentBulkUpdate) GetSalesCreatedDate() time.Time { @@ -1762,7 +2267,7 @@ func (o DeploymentBulkUpdate) ToMap() (map[string]interface{}, error) { toSerialize["collection_branch"] = o.CollectionBranch.Get() } toSerialize["created"] = o.Created - toSerialize["experience"] = o.Experience + toSerialize["experience"] = o.Experience.Get() if o.ExperienceBranch.IsSet() { toSerialize["experience_branch"] = o.ExperienceBranch.Get() } @@ -1794,9 +2299,7 @@ func (o DeploymentBulkUpdate) ToMap() (map[string]interface{}, error) { if !IsNil(o.OrgName) { toSerialize["org_name"] = o.OrgName } - if o.Overrides != nil { - toSerialize["overrides"] = o.Overrides - } + toSerialize["overrides"] = o.Overrides if o.PersistOnFailure.IsSet() { toSerialize["persist_on_failure"] = o.PersistOnFailure.Get() } @@ -1827,6 +2330,39 @@ func (o DeploymentBulkUpdate) ToMap() (map[string]interface{}, error) { if !IsNil(o.RetryCount) { toSerialize["retry_count"] = o.RetryCount } + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } + if o.RuntimeBranch.IsSet() { + toSerialize["runtime_branch"] = o.RuntimeBranch.Get() + } + if o.RuntimeCnsAddonPack.IsSet() { + toSerialize["runtime_cns_addon_pack"] = o.RuntimeCnsAddonPack.Get() + } + if o.RuntimeCnsDocker.IsSet() { + toSerialize["runtime_cns_docker"] = o.RuntimeCnsDocker.Get() + } + if o.RuntimeCnsDriverVersion.IsSet() { + toSerialize["runtime_cns_driver_version"] = o.RuntimeCnsDriverVersion.Get() + } + if o.RuntimeCnsK8s.IsSet() { + toSerialize["runtime_cns_k8s"] = o.RuntimeCnsK8s.Get() + } + if o.RuntimeCnsNvidiaDriver.IsSet() { + toSerialize["runtime_cns_nvidia_driver"] = o.RuntimeCnsNvidiaDriver.Get() + } + if o.RuntimeCnsVersion.IsSet() { + toSerialize["runtime_cns_version"] = o.RuntimeCnsVersion.Get() + } + if o.RuntimeMig.IsSet() { + toSerialize["runtime_mig"] = o.RuntimeMig.Get() + } + if o.RuntimeMigProfile.IsSet() { + toSerialize["runtime_mig_profile"] = o.RuntimeMigProfile.Get() + } + if o.RuntimeUrl.IsSet() { + toSerialize["runtime_url"] = o.RuntimeUrl.Get() + } toSerialize["sales_created_date"] = o.SalesCreatedDate.Get() toSerialize["sales_id"] = o.SalesId.Get() if o.SalesOwnerEmail.IsSet() { @@ -1962,6 +2498,17 @@ func (o *DeploymentBulkUpdate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "requester_email") delete(additionalProperties, "requester_name") delete(additionalProperties, "retry_count") + delete(additionalProperties, "runtime") + delete(additionalProperties, "runtime_branch") + delete(additionalProperties, "runtime_cns_addon_pack") + delete(additionalProperties, "runtime_cns_docker") + delete(additionalProperties, "runtime_cns_driver_version") + delete(additionalProperties, "runtime_cns_k8s") + delete(additionalProperties, "runtime_cns_nvidia_driver") + delete(additionalProperties, "runtime_cns_version") + delete(additionalProperties, "runtime_mig") + delete(additionalProperties, "runtime_mig_profile") + delete(additionalProperties, "runtime_url") delete(additionalProperties, "sales_created_date") delete(additionalProperties, "sales_id") delete(additionalProperties, "sales_owner_email") diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_cluster.go b/v1/providers/launchpad/gen/launchpad/model_deployment_cluster.go index d0cff833..fdaba78b 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_cluster.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_cluster.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_instance.go b/v1/providers/launchpad/gen/launchpad/model_deployment_instance.go index 66967958..3a81b113 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_instance.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_instance.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_key.go b/v1/providers/launchpad/gen/launchpad/model_deployment_key.go index 920320b3..f0cf34fe 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_key.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_key.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_note.go b/v1/providers/launchpad/gen/launchpad/model_deployment_note.go index 02225eb9..6adc189f 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_note.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_note.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_pipeline.go b/v1/providers/launchpad/gen/launchpad/model_deployment_pipeline.go index fa9d45d6..b1241210 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_pipeline.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_pipeline.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,8 +21,8 @@ var _ MappedNullable = &DeploymentPipeline{} // DeploymentPipeline struct for DeploymentPipeline type DeploymentPipeline struct { - // Action for the pipeline to run * `apply` - apply * `destroy` - destroy - Action DeploymentPipelineActionEnum `json:"action"` + // Action for the pipeline to run * `apply` - apply * `destroy` - destroy * `notify` - notify + Action PipelineAction `json:"action"` // Timestamp of when the object was created Created time.Time `json:"created"` Deployment ClusterDeployment `json:"deployment"` @@ -42,7 +42,7 @@ type _DeploymentPipeline DeploymentPipeline // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeploymentPipeline(action DeploymentPipelineActionEnum, created time.Time, deployment ClusterDeployment, id string, modified time.Time, pipelineId int64, url string) *DeploymentPipeline { +func NewDeploymentPipeline(action PipelineAction, created time.Time, deployment ClusterDeployment, id string, modified time.Time, pipelineId int64, url string) *DeploymentPipeline { this := DeploymentPipeline{} this.Action = action this.Created = created @@ -63,9 +63,9 @@ func NewDeploymentPipelineWithDefaults() *DeploymentPipeline { } // GetAction returns the Action field value -func (o *DeploymentPipeline) GetAction() DeploymentPipelineActionEnum { +func (o *DeploymentPipeline) GetAction() PipelineAction { if o == nil { - var ret DeploymentPipelineActionEnum + var ret PipelineAction return ret } @@ -74,7 +74,7 @@ func (o *DeploymentPipeline) GetAction() DeploymentPipelineActionEnum { // GetActionOk returns a tuple with the Action field value // and a boolean to check if the value has been set. -func (o *DeploymentPipeline) GetActionOk() (*DeploymentPipelineActionEnum, bool) { +func (o *DeploymentPipeline) GetActionOk() (*PipelineAction, bool) { if o == nil { return nil, false } @@ -82,7 +82,7 @@ func (o *DeploymentPipeline) GetActionOk() (*DeploymentPipelineActionEnum, bool) } // SetAction sets field value -func (o *DeploymentPipeline) SetAction(v DeploymentPipelineActionEnum) { +func (o *DeploymentPipeline) SetAction(v PipelineAction) { o.Action = v } diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_pipeline_action_enum.go b/v1/providers/launchpad/gen/launchpad/model_deployment_pipeline_action_enum.go deleted file mode 100644 index 196b77dc..00000000 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_pipeline_action_enum.go +++ /dev/null @@ -1,110 +0,0 @@ -/* -NVIDIA LaunchPad API - -RESTful API for interacting with the NVIDIA LaunchPad platform - -API version: 2.36.1 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package openapi - -import ( - "encoding/json" - "fmt" -) - -// DeploymentPipelineActionEnum * `apply` - apply * `destroy` - destroy -type DeploymentPipelineActionEnum string - -// List of DeploymentPipelineActionEnum -const ( - DeploymentPipelineActionApply DeploymentPipelineActionEnum = "apply" - DeploymentPipelineActionDestroy DeploymentPipelineActionEnum = "destroy" -) - -// All allowed values of DeploymentPipelineActionEnum enum -var AllowedDeploymentPipelineActionEnumEnumValues = []DeploymentPipelineActionEnum{ - "apply", - "destroy", -} - -func (v *DeploymentPipelineActionEnum) UnmarshalJSON(src []byte) error { - var value string - err := json.Unmarshal(src, &value) - if err != nil { - return err - } - enumTypeValue := DeploymentPipelineActionEnum(value) - for _, existing := range AllowedDeploymentPipelineActionEnumEnumValues { - if existing == enumTypeValue { - *v = enumTypeValue - return nil - } - } - - return fmt.Errorf("%+v is not a valid DeploymentPipelineActionEnum", value) -} - -// NewDeploymentPipelineActionEnumFromValue returns a pointer to a valid DeploymentPipelineActionEnum -// for the value passed as argument, or an error if the value passed is not allowed by the enum -func NewDeploymentPipelineActionEnumFromValue(v string) (*DeploymentPipelineActionEnum, error) { - ev := DeploymentPipelineActionEnum(v) - if ev.IsValid() { - return &ev, nil - } else { - return nil, fmt.Errorf("invalid value '%v' for DeploymentPipelineActionEnum: valid values are %v", v, AllowedDeploymentPipelineActionEnumEnumValues) - } -} - -// IsValid return true if the value is valid for the enum, false otherwise -func (v DeploymentPipelineActionEnum) IsValid() bool { - for _, existing := range AllowedDeploymentPipelineActionEnumEnumValues { - if existing == v { - return true - } - } - return false -} - -// Ptr returns reference to DeploymentPipelineActionEnum value -func (v DeploymentPipelineActionEnum) Ptr() *DeploymentPipelineActionEnum { - return &v -} - -type NullableDeploymentPipelineActionEnum struct { - value *DeploymentPipelineActionEnum - isSet bool -} - -func (v NullableDeploymentPipelineActionEnum) Get() *DeploymentPipelineActionEnum { - return v.value -} - -func (v *NullableDeploymentPipelineActionEnum) Set(val *DeploymentPipelineActionEnum) { - v.value = val - v.isSet = true -} - -func (v NullableDeploymentPipelineActionEnum) IsSet() bool { - return v.isSet -} - -func (v *NullableDeploymentPipelineActionEnum) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeploymentPipelineActionEnum(val *DeploymentPipelineActionEnum) *NullableDeploymentPipelineActionEnum { - return &NullableDeploymentPipelineActionEnum{value: val, isSet: true} -} - -func (v NullableDeploymentPipelineActionEnum) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeploymentPipelineActionEnum) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_service.go b/v1/providers/launchpad/gen/launchpad/model_deployment_service.go index b688d20b..6089cb5f 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_service.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_service.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_state.go b/v1/providers/launchpad/gen/launchpad/model_deployment_state.go index 98809d9c..ae56b064 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_state.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_state.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_task.go b/v1/providers/launchpad/gen/launchpad/model_deployment_task.go index 9c94f744..e1cc95de 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_task.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_task.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_task_action_enum.go b/v1/providers/launchpad/gen/launchpad/model_deployment_task_action_enum.go index 233ea0df..897c157a 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_task_action_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_task_action_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_update.go b/v1/providers/launchpad/gen/launchpad/model_deployment_update.go index ffa04658..c857483f 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_deployment_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -28,8 +28,9 @@ type DeploymentUpdate struct { // Override the Ansible collection branch initialized within the pipeline CollectionBranch NullableString `json:"collection_branch,omitempty"` // Timestamp of when the object was created - Created time.Time `json:"created"` - Experience DeploymentExperience `json:"experience"` + Created time.Time `json:"created"` + // The experience being deployed for use + Experience NullableString `json:"experience"` // Override the experience branch ExperienceBranch NullableString `json:"experience_branch,omitempty"` ExpiresAt NullableTime `json:"expires_at,omitempty"` @@ -65,14 +66,15 @@ type DeploymentUpdate struct { // Require a cluster manufactured by the given OEM name OemName NullableString `json:"oem_name"` // Requester's organization name - OrgName *string `json:"org_name,omitempty"` - Overrides interface{} `json:"overrides"` + OrgName *string `json:"org_name,omitempty"` + // Overriden values from the original deployment request + Overrides Overrides `json:"overrides"` // Override the default cleanup/destroy behavior when a provisioning failure occurs PersistOnFailure NullableBool `json:"persist_on_failure,omitempty"` // Override the defined persona in the experience Persona NullableString `json:"persona,omitempty"` // Override the pipeline ID that will be triggered for request fulfillment - Pipeline NullableInt64 `json:"pipeline,omitempty"` + Pipeline NullableInt32 `json:"pipeline,omitempty"` // Override the default pipeline branch ref used when triggering a Fuselage pipeline PipelineBranch NullableString `json:"pipeline_branch,omitempty"` Pipelines []string `json:"pipelines"` @@ -93,6 +95,28 @@ type DeploymentUpdate struct { RequesterName *string `json:"requester_name,omitempty"` // Number of times the deployment has been retried RetryCount *int32 `json:"retry_count,omitempty"` + // Use the presets of the given runtime when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` + // Override the runtime repository branch + RuntimeBranch NullableString `json:"runtime_branch,omitempty"` + // Override the runtime's CNS add-ons flag + RuntimeCnsAddonPack NullableBool `json:"runtime_cns_addon_pack,omitempty"` + // Override the runtime's Docker with CNS flag + RuntimeCnsDocker NullableBool `json:"runtime_cns_docker,omitempty"` + // Override the runtime's GPU driver version + RuntimeCnsDriverVersion NullableString `json:"runtime_cns_driver_version,omitempty"` + // Override the runtime's Kubernetes with CNS flag + RuntimeCnsK8s NullableBool `json:"runtime_cns_k8s,omitempty"` + // Override the runtime's NVIDIA driver with CNS flag + RuntimeCnsNvidiaDriver NullableBool `json:"runtime_cns_nvidia_driver,omitempty"` + // Override the runtime's Cloud Native Stack version + RuntimeCnsVersion NullableString `json:"runtime_cns_version,omitempty"` + // Override the runtime's MIG support with CNS flag + RuntimeMig NullableBool `json:"runtime_mig,omitempty"` + // Override the runtime's MIG profile name + RuntimeMigProfile NullableString `json:"runtime_mig_profile,omitempty"` + // Override the URL of the runtime repository + RuntimeUrl NullableString `json:"runtime_url,omitempty"` // Timestamp when the requester's sales relationship was created SalesCreatedDate NullableTime `json:"sales_created_date"` // Unique identifier for the requester's sales relationship @@ -120,7 +144,7 @@ type _DeploymentUpdate DeploymentUpdate // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDeploymentUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience DeploymentExperience, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides interface{}, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString) *DeploymentUpdate { +func NewDeploymentUpdate(bastionOperatingSystem NullableString, cluster NullableString, created time.Time, experience NullableString, garageId NullableString, gpuAlias NullableString, gpuCount NullableInt32, gpuModel NullableString, gpuOsName NullableString, gpuOsRelease NullableString, gpuOsVersion NullableString, id string, lifetime NullableInt32, minGpuCount NullableInt32, modified time.Time, nodeCount NullableInt32, oemName NullableString, overrides Overrides, pipelines []string, priority PriorityEnum, providerName NullableString, publicKey NullableString, region NullableString, requestId string, salesCreatedDate NullableTime, salesId NullableString, services []string, workshop NullableBool, workshopId NullableString, workshopOverridePassword NullableString) *DeploymentUpdate { this := DeploymentUpdate{} this.BastionOperatingSystem = bastionOperatingSystem this.Cluster = cluster @@ -140,6 +164,10 @@ func NewDeploymentUpdate(bastionOperatingSystem NullableString, cluster Nullable this.NodeCount = nodeCount this.OemName = oemName this.Overrides = overrides + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) this.Pipelines = pipelines this.Priority = priority this.ProviderName = providerName @@ -160,6 +188,10 @@ func NewDeploymentUpdate(bastionOperatingSystem NullableString, cluster Nullable // but it doesn't guarantee that properties required by API are set func NewDeploymentUpdateWithDefaults() *DeploymentUpdate { this := DeploymentUpdate{} + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) return &this } @@ -283,27 +315,29 @@ func (o *DeploymentUpdate) SetCreated(v time.Time) { } // GetExperience returns the Experience field value -func (o *DeploymentUpdate) GetExperience() DeploymentExperience { - if o == nil { - var ret DeploymentExperience +// If the value is explicit nil, the zero value for string will be returned +func (o *DeploymentUpdate) GetExperience() string { + if o == nil || o.Experience.Get() == nil { + var ret string return ret } - return o.Experience + return *o.Experience.Get() } // GetExperienceOk returns a tuple with the Experience field value // and a boolean to check if the value has been set. -func (o *DeploymentUpdate) GetExperienceOk() (*DeploymentExperience, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetExperienceOk() (*string, bool) { if o == nil { return nil, false } - return &o.Experience, true + return o.Experience.Get(), o.Experience.IsSet() } // SetExperience sets field value -func (o *DeploymentUpdate) SetExperience(v DeploymentExperience) { - o.Experience = v +func (o *DeploymentUpdate) SetExperience(v string) { + o.Experience.Set(&v) } // GetExperienceBranch returns the ExperienceBranch field value if set, zero value otherwise (both if not set or set to explicit null). @@ -877,10 +911,9 @@ func (o *DeploymentUpdate) SetOrgName(v string) { } // GetOverrides returns the Overrides field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *DeploymentUpdate) GetOverrides() interface{} { +func (o *DeploymentUpdate) GetOverrides() Overrides { if o == nil { - var ret interface{} + var ret Overrides return ret } @@ -889,16 +922,15 @@ func (o *DeploymentUpdate) GetOverrides() interface{} { // GetOverridesOk returns a tuple with the Overrides field value // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *DeploymentUpdate) GetOverridesOk() (*interface{}, bool) { - if o == nil || IsNil(o.Overrides) { +func (o *DeploymentUpdate) GetOverridesOk() (*Overrides, bool) { + if o == nil { return nil, false } return &o.Overrides, true } // SetOverrides sets field value -func (o *DeploymentUpdate) SetOverrides(v interface{}) { +func (o *DeploymentUpdate) SetOverrides(v Overrides) { o.Overrides = v } @@ -989,9 +1021,9 @@ func (o *DeploymentUpdate) UnsetPersona() { } // GetPipeline returns the Pipeline field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DeploymentUpdate) GetPipeline() int64 { +func (o *DeploymentUpdate) GetPipeline() int32 { if o == nil || IsNil(o.Pipeline.Get()) { - var ret int64 + var ret int32 return ret } return *o.Pipeline.Get() @@ -1000,7 +1032,7 @@ func (o *DeploymentUpdate) GetPipeline() int64 { // GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *DeploymentUpdate) GetPipelineOk() (*int64, bool) { +func (o *DeploymentUpdate) GetPipelineOk() (*int32, bool) { if o == nil { return nil, false } @@ -1016,8 +1048,8 @@ func (o *DeploymentUpdate) HasPipeline() bool { return false } -// SetPipeline gets a reference to the given NullableInt64 and assigns it to the Pipeline field. -func (o *DeploymentUpdate) SetPipeline(v int64) { +// SetPipeline gets a reference to the given NullableInt32 and assigns it to the Pipeline field. +func (o *DeploymentUpdate) SetPipeline(v int32) { o.Pipeline.Set(&v) } @@ -1363,6 +1395,479 @@ func (o *DeploymentUpdate) SetRetryCount(v int32) { o.RetryCount = &v } +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *DeploymentUpdate) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntime() { + o.Runtime.Unset() +} + +// GetRuntimeBranch returns the RuntimeBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeBranch() string { + if o == nil || IsNil(o.RuntimeBranch.Get()) { + var ret string + return ret + } + return *o.RuntimeBranch.Get() +} + +// GetRuntimeBranchOk returns a tuple with the RuntimeBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeBranch.Get(), o.RuntimeBranch.IsSet() +} + +// HasRuntimeBranch returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeBranch() bool { + if o != nil && o.RuntimeBranch.IsSet() { + return true + } + + return false +} + +// SetRuntimeBranch gets a reference to the given NullableString and assigns it to the RuntimeBranch field. +func (o *DeploymentUpdate) SetRuntimeBranch(v string) { + o.RuntimeBranch.Set(&v) +} + +// SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeBranchNil() { + o.RuntimeBranch.Set(nil) +} + +// UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeBranch() { + o.RuntimeBranch.Unset() +} + +// GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeCnsAddonPack() bool { + if o == nil || IsNil(o.RuntimeCnsAddonPack.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsAddonPack.Get() +} + +// GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeCnsAddonPackOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsAddonPack.Get(), o.RuntimeCnsAddonPack.IsSet() +} + +// HasRuntimeCnsAddonPack returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeCnsAddonPack() bool { + if o != nil && o.RuntimeCnsAddonPack.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsAddonPack gets a reference to the given NullableBool and assigns it to the RuntimeCnsAddonPack field. +func (o *DeploymentUpdate) SetRuntimeCnsAddonPack(v bool) { + o.RuntimeCnsAddonPack.Set(&v) +} + +// SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeCnsAddonPackNil() { + o.RuntimeCnsAddonPack.Set(nil) +} + +// UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeCnsAddonPack() { + o.RuntimeCnsAddonPack.Unset() +} + +// GetRuntimeCnsDocker returns the RuntimeCnsDocker field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeCnsDocker() bool { + if o == nil || IsNil(o.RuntimeCnsDocker.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsDocker.Get() +} + +// GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeCnsDockerOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDocker.Get(), o.RuntimeCnsDocker.IsSet() +} + +// HasRuntimeCnsDocker returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeCnsDocker() bool { + if o != nil && o.RuntimeCnsDocker.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDocker gets a reference to the given NullableBool and assigns it to the RuntimeCnsDocker field. +func (o *DeploymentUpdate) SetRuntimeCnsDocker(v bool) { + o.RuntimeCnsDocker.Set(&v) +} + +// SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeCnsDockerNil() { + o.RuntimeCnsDocker.Set(nil) +} + +// UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeCnsDocker() { + o.RuntimeCnsDocker.Unset() +} + +// GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeCnsDriverVersion() string { + if o == nil || IsNil(o.RuntimeCnsDriverVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsDriverVersion.Get() +} + +// GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeCnsDriverVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDriverVersion.Get(), o.RuntimeCnsDriverVersion.IsSet() +} + +// HasRuntimeCnsDriverVersion returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeCnsDriverVersion() bool { + if o != nil && o.RuntimeCnsDriverVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDriverVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsDriverVersion field. +func (o *DeploymentUpdate) SetRuntimeCnsDriverVersion(v string) { + o.RuntimeCnsDriverVersion.Set(&v) +} + +// SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeCnsDriverVersionNil() { + o.RuntimeCnsDriverVersion.Set(nil) +} + +// UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeCnsDriverVersion() { + o.RuntimeCnsDriverVersion.Unset() +} + +// GetRuntimeCnsK8s returns the RuntimeCnsK8s field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeCnsK8s() bool { + if o == nil || IsNil(o.RuntimeCnsK8s.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsK8s.Get() +} + +// GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeCnsK8sOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsK8s.Get(), o.RuntimeCnsK8s.IsSet() +} + +// HasRuntimeCnsK8s returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeCnsK8s() bool { + if o != nil && o.RuntimeCnsK8s.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsK8s gets a reference to the given NullableBool and assigns it to the RuntimeCnsK8s field. +func (o *DeploymentUpdate) SetRuntimeCnsK8s(v bool) { + o.RuntimeCnsK8s.Set(&v) +} + +// SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeCnsK8sNil() { + o.RuntimeCnsK8s.Set(nil) +} + +// UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeCnsK8s() { + o.RuntimeCnsK8s.Unset() +} + +// GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeCnsNvidiaDriver() bool { + if o == nil || IsNil(o.RuntimeCnsNvidiaDriver.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsNvidiaDriver.Get() +} + +// GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeCnsNvidiaDriverOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsNvidiaDriver.Get(), o.RuntimeCnsNvidiaDriver.IsSet() +} + +// HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeCnsNvidiaDriver() bool { + if o != nil && o.RuntimeCnsNvidiaDriver.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsNvidiaDriver gets a reference to the given NullableBool and assigns it to the RuntimeCnsNvidiaDriver field. +func (o *DeploymentUpdate) SetRuntimeCnsNvidiaDriver(v bool) { + o.RuntimeCnsNvidiaDriver.Set(&v) +} + +// SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeCnsNvidiaDriverNil() { + o.RuntimeCnsNvidiaDriver.Set(nil) +} + +// UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeCnsNvidiaDriver() { + o.RuntimeCnsNvidiaDriver.Unset() +} + +// GetRuntimeCnsVersion returns the RuntimeCnsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeCnsVersion() string { + if o == nil || IsNil(o.RuntimeCnsVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsVersion.Get() +} + +// GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeCnsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsVersion.Get(), o.RuntimeCnsVersion.IsSet() +} + +// HasRuntimeCnsVersion returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeCnsVersion() bool { + if o != nil && o.RuntimeCnsVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsVersion field. +func (o *DeploymentUpdate) SetRuntimeCnsVersion(v string) { + o.RuntimeCnsVersion.Set(&v) +} + +// SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeCnsVersionNil() { + o.RuntimeCnsVersion.Set(nil) +} + +// UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeCnsVersion() { + o.RuntimeCnsVersion.Unset() +} + +// GetRuntimeMig returns the RuntimeMig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeMig() bool { + if o == nil || IsNil(o.RuntimeMig.Get()) { + var ret bool + return ret + } + return *o.RuntimeMig.Get() +} + +// GetRuntimeMigOk returns a tuple with the RuntimeMig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeMigOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMig.Get(), o.RuntimeMig.IsSet() +} + +// HasRuntimeMig returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeMig() bool { + if o != nil && o.RuntimeMig.IsSet() { + return true + } + + return false +} + +// SetRuntimeMig gets a reference to the given NullableBool and assigns it to the RuntimeMig field. +func (o *DeploymentUpdate) SetRuntimeMig(v bool) { + o.RuntimeMig.Set(&v) +} + +// SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeMigNil() { + o.RuntimeMig.Set(nil) +} + +// UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeMig() { + o.RuntimeMig.Unset() +} + +// GetRuntimeMigProfile returns the RuntimeMigProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeMigProfile() string { + if o == nil || IsNil(o.RuntimeMigProfile.Get()) { + var ret string + return ret + } + return *o.RuntimeMigProfile.Get() +} + +// GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeMigProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMigProfile.Get(), o.RuntimeMigProfile.IsSet() +} + +// HasRuntimeMigProfile returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeMigProfile() bool { + if o != nil && o.RuntimeMigProfile.IsSet() { + return true + } + + return false +} + +// SetRuntimeMigProfile gets a reference to the given NullableString and assigns it to the RuntimeMigProfile field. +func (o *DeploymentUpdate) SetRuntimeMigProfile(v string) { + o.RuntimeMigProfile.Set(&v) +} + +// SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeMigProfileNil() { + o.RuntimeMigProfile.Set(nil) +} + +// UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeMigProfile() { + o.RuntimeMigProfile.Unset() +} + +// GetRuntimeUrl returns the RuntimeUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DeploymentUpdate) GetRuntimeUrl() string { + if o == nil || IsNil(o.RuntimeUrl.Get()) { + var ret string + return ret + } + return *o.RuntimeUrl.Get() +} + +// GetRuntimeUrlOk returns a tuple with the RuntimeUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DeploymentUpdate) GetRuntimeUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeUrl.Get(), o.RuntimeUrl.IsSet() +} + +// HasRuntimeUrl returns a boolean if a field has been set. +func (o *DeploymentUpdate) HasRuntimeUrl() bool { + if o != nil && o.RuntimeUrl.IsSet() { + return true + } + + return false +} + +// SetRuntimeUrl gets a reference to the given NullableString and assigns it to the RuntimeUrl field. +func (o *DeploymentUpdate) SetRuntimeUrl(v string) { + o.RuntimeUrl.Set(&v) +} + +// SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil +func (o *DeploymentUpdate) SetRuntimeUrlNil() { + o.RuntimeUrl.Set(nil) +} + +// UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +func (o *DeploymentUpdate) UnsetRuntimeUrl() { + o.RuntimeUrl.Unset() +} + // GetSalesCreatedDate returns the SalesCreatedDate field value // If the value is explicit nil, the zero value for time.Time will be returned func (o *DeploymentUpdate) GetSalesCreatedDate() time.Time { @@ -1684,7 +2189,7 @@ func (o DeploymentUpdate) ToMap() (map[string]interface{}, error) { toSerialize["collection_branch"] = o.CollectionBranch.Get() } toSerialize["created"] = o.Created - toSerialize["experience"] = o.Experience + toSerialize["experience"] = o.Experience.Get() if o.ExperienceBranch.IsSet() { toSerialize["experience_branch"] = o.ExperienceBranch.Get() } @@ -1716,9 +2221,7 @@ func (o DeploymentUpdate) ToMap() (map[string]interface{}, error) { if !IsNil(o.OrgName) { toSerialize["org_name"] = o.OrgName } - if o.Overrides != nil { - toSerialize["overrides"] = o.Overrides - } + toSerialize["overrides"] = o.Overrides if o.PersistOnFailure.IsSet() { toSerialize["persist_on_failure"] = o.PersistOnFailure.Get() } @@ -1749,6 +2252,39 @@ func (o DeploymentUpdate) ToMap() (map[string]interface{}, error) { if !IsNil(o.RetryCount) { toSerialize["retry_count"] = o.RetryCount } + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } + if o.RuntimeBranch.IsSet() { + toSerialize["runtime_branch"] = o.RuntimeBranch.Get() + } + if o.RuntimeCnsAddonPack.IsSet() { + toSerialize["runtime_cns_addon_pack"] = o.RuntimeCnsAddonPack.Get() + } + if o.RuntimeCnsDocker.IsSet() { + toSerialize["runtime_cns_docker"] = o.RuntimeCnsDocker.Get() + } + if o.RuntimeCnsDriverVersion.IsSet() { + toSerialize["runtime_cns_driver_version"] = o.RuntimeCnsDriverVersion.Get() + } + if o.RuntimeCnsK8s.IsSet() { + toSerialize["runtime_cns_k8s"] = o.RuntimeCnsK8s.Get() + } + if o.RuntimeCnsNvidiaDriver.IsSet() { + toSerialize["runtime_cns_nvidia_driver"] = o.RuntimeCnsNvidiaDriver.Get() + } + if o.RuntimeCnsVersion.IsSet() { + toSerialize["runtime_cns_version"] = o.RuntimeCnsVersion.Get() + } + if o.RuntimeMig.IsSet() { + toSerialize["runtime_mig"] = o.RuntimeMig.Get() + } + if o.RuntimeMigProfile.IsSet() { + toSerialize["runtime_mig_profile"] = o.RuntimeMigProfile.Get() + } + if o.RuntimeUrl.IsSet() { + toSerialize["runtime_url"] = o.RuntimeUrl.Get() + } toSerialize["sales_created_date"] = o.SalesCreatedDate.Get() toSerialize["sales_id"] = o.SalesId.Get() if o.SalesOwnerEmail.IsSet() { @@ -1878,6 +2414,17 @@ func (o *DeploymentUpdate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "requester_email") delete(additionalProperties, "requester_name") delete(additionalProperties, "retry_count") + delete(additionalProperties, "runtime") + delete(additionalProperties, "runtime_branch") + delete(additionalProperties, "runtime_cns_addon_pack") + delete(additionalProperties, "runtime_cns_docker") + delete(additionalProperties, "runtime_cns_driver_version") + delete(additionalProperties, "runtime_cns_k8s") + delete(additionalProperties, "runtime_cns_nvidia_driver") + delete(additionalProperties, "runtime_cns_version") + delete(additionalProperties, "runtime_mig") + delete(additionalProperties, "runtime_mig_profile") + delete(additionalProperties, "runtime_url") delete(additionalProperties, "sales_created_date") delete(additionalProperties, "sales_id") delete(additionalProperties, "sales_owner_email") diff --git a/v1/providers/launchpad/gen/launchpad/model_doc_deployment_delete.go b/v1/providers/launchpad/gen/launchpad/model_doc_deployment_delete.go index 081e4f69..af0a1761 100644 --- a/v1/providers/launchpad/gen/launchpad/model_doc_deployment_delete.go +++ b/v1/providers/launchpad/gen/launchpad/model_doc_deployment_delete.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,20 +23,22 @@ var _ MappedNullable = &DocDeploymentDelete{} type DocDeploymentDelete struct { // Override bastion operating system provisioned and/or configured by Liftoff BastionOperatingSystem NullableString `json:"bastion_operating_system,omitempty"` - // Unique ID for this experience in the sales catalog. Must be unique. + // Catalog ID of the experience provisioned to the cluster CatalogId *string `json:"catalog_id,omitempty"` - // Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique. - CatalogIdAlias NullableString `json:"catalog_id_alias,omitempty"` + // Catalog ID alias of the experience provisioned to the cluster + CatalogIdAlias *string `json:"catalog_id_alias,omitempty"` Cluster *DeploymentCluster `json:"cluster,omitempty"` // Override the Ansible collection branch initialized within the pipeline CollectionBranch NullableString `json:"collection_branch,omitempty"` // Timestamp of when the object was created - Created time.Time `json:"created"` - Experience DeploymentExperience `json:"experience"` + Created time.Time `json:"created"` + // The experience being deployed for use + Experience NullableString `json:"experience"` // Override the experience branch ExperienceBranch NullableString `json:"experience_branch,omitempty"` - ExperienceId *string `json:"experience_id,omitempty"` - ExpiresAt NullableTime `json:"expires_at,omitempty"` + // UUID of the experience provisioned to the cluster + ExperienceId *string `json:"experience_id,omitempty"` + ExpiresAt NullableTime `json:"expires_at,omitempty"` // Override the image tag used for Flight Control FlightcontrolRelease NullableString `json:"flightcontrol_release,omitempty"` // Require a cluster with nodes in the given garage @@ -48,10 +50,13 @@ type DocDeploymentDelete struct { // Require a cluster with the given number of GPUs GpuCount NullableInt32 `json:"gpu_count,omitempty"` // Require a cluster with the given GPU model - GpuModel NullableString `json:"gpu_model,omitempty"` - GpuOsName *string `json:"gpu_os_name,omitempty"` - GpuOsRelease *string `json:"gpu_os_release,omitempty"` - GpuOsVersion *string `json:"gpu_os_version,omitempty"` + GpuModel NullableString `json:"gpu_model,omitempty"` + // Override the GPU node operating system name + GpuOsName NullableString `json:"gpu_os_name,omitempty"` + // Override the GPU node operating system release + GpuOsRelease NullableString `json:"gpu_os_release,omitempty"` + // Override the GPU node operating system version + GpuOsVersion NullableString `json:"gpu_os_version,omitempty"` Id string `json:"id"` // Host IP addresses that should be allowed to access the deployment IpAllowlist []string `json:"ip_allowlist,omitempty"` @@ -66,13 +71,15 @@ type DocDeploymentDelete struct { // Require a cluster manufactured by the given OEM name OemName NullableString `json:"oem_name,omitempty"` // Requester's organization name - OrgName string `json:"org_name"` - Overrides interface{} `json:"overrides"` + OrgName string `json:"org_name"` + // Overriden values from the original deployment request + Overrides Overrides `json:"overrides"` // Override the default cleanup/destroy behavior when a provisioning failure occurs PersistOnFailure NullableBool `json:"persist_on_failure,omitempty"` - Persona *string `json:"persona,omitempty"` + // Override the defined persona in the experience + Persona NullableString `json:"persona,omitempty"` // Override the pipeline ID that will be triggered for request fulfillment - Pipeline NullableInt64 `json:"pipeline,omitempty"` + Pipeline NullableInt32 `json:"pipeline,omitempty"` // Override the default pipeline branch ref used when triggering a Fuselage pipeline PipelineBranch NullableString `json:"pipeline_branch,omitempty"` Pipelines []string `json:"pipelines"` @@ -92,8 +99,30 @@ type DocDeploymentDelete struct { // Name of the user requesting the experience RequesterName string `json:"requester_name"` // Number of times the deployment has been retried - RetryCount int32 `json:"retry_count"` - SalesCreatedDate NullableTime `json:"sales_created_date,omitempty"` + RetryCount int32 `json:"retry_count"` + // Use the presets of the given runtime when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` + // Override the runtime repository branch + RuntimeBranch NullableString `json:"runtime_branch,omitempty"` + // Override the runtime's CNS add-ons flag + RuntimeCnsAddonPack NullableBool `json:"runtime_cns_addon_pack,omitempty"` + // Override the runtime's Docker with CNS flag + RuntimeCnsDocker NullableBool `json:"runtime_cns_docker,omitempty"` + // Override the runtime's GPU driver version + RuntimeCnsDriverVersion NullableString `json:"runtime_cns_driver_version,omitempty"` + // Override the runtime's Kubernetes with CNS flag + RuntimeCnsK8s NullableBool `json:"runtime_cns_k8s,omitempty"` + // Override the runtime's NVIDIA driver with CNS flag + RuntimeCnsNvidiaDriver NullableBool `json:"runtime_cns_nvidia_driver,omitempty"` + // Override the runtime's Cloud Native Stack version + RuntimeCnsVersion NullableString `json:"runtime_cns_version,omitempty"` + // Override the runtime's MIG support with CNS flag + RuntimeMig NullableBool `json:"runtime_mig,omitempty"` + // Override the runtime's MIG profile name + RuntimeMigProfile NullableString `json:"runtime_mig_profile,omitempty"` + // Override the URL of the runtime repository + RuntimeUrl NullableString `json:"runtime_url,omitempty"` + SalesCreatedDate NullableTime `json:"sales_created_date,omitempty"` // Unique identifier for the requester's sales relationship SalesId NullableString `json:"sales_id,omitempty"` // Email address of the sales contact associated with the requester @@ -121,14 +150,24 @@ type _DocDeploymentDelete DocDeploymentDelete // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewDocDeploymentDelete(created time.Time, experience DeploymentExperience, id string, modified time.Time, orgName string, overrides interface{}, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState) *DocDeploymentDelete { +func NewDocDeploymentDelete(created time.Time, experience NullableString, id string, modified time.Time, orgName string, overrides Overrides, pipelines []string, requesterEmail string, requesterName string, retryCount int32, services []string, sshPort int32, sshUser string, state DeploymentState) *DocDeploymentDelete { this := DocDeploymentDelete{} this.Created = created this.Experience = experience + var gpuCount int32 = 0 + this.GpuCount = *NewNullableInt32(&gpuCount) this.Id = id + var minGpuCount int32 = 0 + this.MinGpuCount = *NewNullableInt32(&minGpuCount) this.Modified = modified + var nodeCount int32 = 0 + this.NodeCount = *NewNullableInt32(&nodeCount) this.OrgName = orgName this.Overrides = overrides + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) this.Pipelines = pipelines this.RequesterEmail = requesterEmail this.RequesterName = requesterName @@ -137,6 +176,8 @@ func NewDocDeploymentDelete(created time.Time, experience DeploymentExperience, this.SshPort = sshPort this.SshUser = sshUser this.State = state + var workshop bool = false + this.Workshop = *NewNullableBool(&workshop) return &this } @@ -145,6 +186,18 @@ func NewDocDeploymentDelete(created time.Time, experience DeploymentExperience, // but it doesn't guarantee that properties required by API are set func NewDocDeploymentDeleteWithDefaults() *DocDeploymentDelete { this := DocDeploymentDelete{} + var gpuCount int32 = 0 + this.GpuCount = *NewNullableInt32(&gpuCount) + var minGpuCount int32 = 0 + this.MinGpuCount = *NewNullableInt32(&minGpuCount) + var nodeCount int32 = 0 + this.NodeCount = *NewNullableInt32(&nodeCount) + var persistOnFailure bool = false + this.PersistOnFailure = *NewNullableBool(&persistOnFailure) + var pipeline int32 = 0 + this.Pipeline = *NewNullableInt32(&pipeline) + var workshop bool = false + this.Workshop = *NewNullableBool(&workshop) return &this } @@ -223,47 +276,36 @@ func (o *DocDeploymentDelete) SetCatalogId(v string) { o.CatalogId = &v } -// GetCatalogIdAlias returns the CatalogIdAlias field value if set, zero value otherwise (both if not set or set to explicit null). +// GetCatalogIdAlias returns the CatalogIdAlias field value if set, zero value otherwise. func (o *DocDeploymentDelete) GetCatalogIdAlias() string { - if o == nil || IsNil(o.CatalogIdAlias.Get()) { + if o == nil || IsNil(o.CatalogIdAlias) { var ret string return ret } - return *o.CatalogIdAlias.Get() + return *o.CatalogIdAlias } // GetCatalogIdAliasOk returns a tuple with the CatalogIdAlias field value if set, nil otherwise // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *DocDeploymentDelete) GetCatalogIdAliasOk() (*string, bool) { - if o == nil { + if o == nil || IsNil(o.CatalogIdAlias) { return nil, false } - return o.CatalogIdAlias.Get(), o.CatalogIdAlias.IsSet() + return o.CatalogIdAlias, true } // HasCatalogIdAlias returns a boolean if a field has been set. func (o *DocDeploymentDelete) HasCatalogIdAlias() bool { - if o != nil && o.CatalogIdAlias.IsSet() { + if o != nil && !IsNil(o.CatalogIdAlias) { return true } return false } -// SetCatalogIdAlias gets a reference to the given NullableString and assigns it to the CatalogIdAlias field. +// SetCatalogIdAlias gets a reference to the given string and assigns it to the CatalogIdAlias field. func (o *DocDeploymentDelete) SetCatalogIdAlias(v string) { - o.CatalogIdAlias.Set(&v) -} - -// SetCatalogIdAliasNil sets the value for CatalogIdAlias to be an explicit nil -func (o *DocDeploymentDelete) SetCatalogIdAliasNil() { - o.CatalogIdAlias.Set(nil) -} - -// UnsetCatalogIdAlias ensures that no value is present for CatalogIdAlias, not even an explicit nil -func (o *DocDeploymentDelete) UnsetCatalogIdAlias() { - o.CatalogIdAlias.Unset() + o.CatalogIdAlias = &v } // GetCluster returns the Cluster field value if set, zero value otherwise. @@ -366,27 +408,29 @@ func (o *DocDeploymentDelete) SetCreated(v time.Time) { } // GetExperience returns the Experience field value -func (o *DocDeploymentDelete) GetExperience() DeploymentExperience { - if o == nil { - var ret DeploymentExperience +// If the value is explicit nil, the zero value for string will be returned +func (o *DocDeploymentDelete) GetExperience() string { + if o == nil || o.Experience.Get() == nil { + var ret string return ret } - return o.Experience + return *o.Experience.Get() } // GetExperienceOk returns a tuple with the Experience field value // and a boolean to check if the value has been set. -func (o *DocDeploymentDelete) GetExperienceOk() (*DeploymentExperience, bool) { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetExperienceOk() (*string, bool) { if o == nil { return nil, false } - return &o.Experience, true + return o.Experience.Get(), o.Experience.IsSet() } // SetExperience sets field value -func (o *DocDeploymentDelete) SetExperience(v DeploymentExperience) { - o.Experience = v +func (o *DocDeploymentDelete) SetExperience(v string) { + o.Experience.Set(&v) } // GetExperienceBranch returns the ExperienceBranch field value if set, zero value otherwise (both if not set or set to explicit null). @@ -765,100 +809,133 @@ func (o *DocDeploymentDelete) UnsetGpuModel() { o.GpuModel.Unset() } -// GetGpuOsName returns the GpuOsName field value if set, zero value otherwise. +// GetGpuOsName returns the GpuOsName field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DocDeploymentDelete) GetGpuOsName() string { - if o == nil || IsNil(o.GpuOsName) { + if o == nil || IsNil(o.GpuOsName.Get()) { var ret string return ret } - return *o.GpuOsName + return *o.GpuOsName.Get() } // GetGpuOsNameOk returns a tuple with the GpuOsName field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *DocDeploymentDelete) GetGpuOsNameOk() (*string, bool) { - if o == nil || IsNil(o.GpuOsName) { + if o == nil { return nil, false } - return o.GpuOsName, true + return o.GpuOsName.Get(), o.GpuOsName.IsSet() } // HasGpuOsName returns a boolean if a field has been set. func (o *DocDeploymentDelete) HasGpuOsName() bool { - if o != nil && !IsNil(o.GpuOsName) { + if o != nil && o.GpuOsName.IsSet() { return true } return false } -// SetGpuOsName gets a reference to the given string and assigns it to the GpuOsName field. +// SetGpuOsName gets a reference to the given NullableString and assigns it to the GpuOsName field. func (o *DocDeploymentDelete) SetGpuOsName(v string) { - o.GpuOsName = &v + o.GpuOsName.Set(&v) +} + +// SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil +func (o *DocDeploymentDelete) SetGpuOsNameNil() { + o.GpuOsName.Set(nil) +} + +// UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil +func (o *DocDeploymentDelete) UnsetGpuOsName() { + o.GpuOsName.Unset() } -// GetGpuOsRelease returns the GpuOsRelease field value if set, zero value otherwise. +// GetGpuOsRelease returns the GpuOsRelease field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DocDeploymentDelete) GetGpuOsRelease() string { - if o == nil || IsNil(o.GpuOsRelease) { + if o == nil || IsNil(o.GpuOsRelease.Get()) { var ret string return ret } - return *o.GpuOsRelease + return *o.GpuOsRelease.Get() } // GetGpuOsReleaseOk returns a tuple with the GpuOsRelease field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *DocDeploymentDelete) GetGpuOsReleaseOk() (*string, bool) { - if o == nil || IsNil(o.GpuOsRelease) { + if o == nil { return nil, false } - return o.GpuOsRelease, true + return o.GpuOsRelease.Get(), o.GpuOsRelease.IsSet() } // HasGpuOsRelease returns a boolean if a field has been set. func (o *DocDeploymentDelete) HasGpuOsRelease() bool { - if o != nil && !IsNil(o.GpuOsRelease) { + if o != nil && o.GpuOsRelease.IsSet() { return true } return false } -// SetGpuOsRelease gets a reference to the given string and assigns it to the GpuOsRelease field. +// SetGpuOsRelease gets a reference to the given NullableString and assigns it to the GpuOsRelease field. func (o *DocDeploymentDelete) SetGpuOsRelease(v string) { - o.GpuOsRelease = &v + o.GpuOsRelease.Set(&v) +} + +// SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil +func (o *DocDeploymentDelete) SetGpuOsReleaseNil() { + o.GpuOsRelease.Set(nil) +} + +// UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil +func (o *DocDeploymentDelete) UnsetGpuOsRelease() { + o.GpuOsRelease.Unset() } -// GetGpuOsVersion returns the GpuOsVersion field value if set, zero value otherwise. +// GetGpuOsVersion returns the GpuOsVersion field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DocDeploymentDelete) GetGpuOsVersion() string { - if o == nil || IsNil(o.GpuOsVersion) { + if o == nil || IsNil(o.GpuOsVersion.Get()) { var ret string return ret } - return *o.GpuOsVersion + return *o.GpuOsVersion.Get() } // GetGpuOsVersionOk returns a tuple with the GpuOsVersion field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *DocDeploymentDelete) GetGpuOsVersionOk() (*string, bool) { - if o == nil || IsNil(o.GpuOsVersion) { + if o == nil { return nil, false } - return o.GpuOsVersion, true + return o.GpuOsVersion.Get(), o.GpuOsVersion.IsSet() } // HasGpuOsVersion returns a boolean if a field has been set. func (o *DocDeploymentDelete) HasGpuOsVersion() bool { - if o != nil && !IsNil(o.GpuOsVersion) { + if o != nil && o.GpuOsVersion.IsSet() { return true } return false } -// SetGpuOsVersion gets a reference to the given string and assigns it to the GpuOsVersion field. +// SetGpuOsVersion gets a reference to the given NullableString and assigns it to the GpuOsVersion field. func (o *DocDeploymentDelete) SetGpuOsVersion(v string) { - o.GpuOsVersion = &v + o.GpuOsVersion.Set(&v) +} + +// SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil +func (o *DocDeploymentDelete) SetGpuOsVersionNil() { + o.GpuOsVersion.Set(nil) +} + +// UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil +func (o *DocDeploymentDelete) UnsetGpuOsVersion() { + o.GpuOsVersion.Unset() } // GetId returns the Id field value @@ -1138,10 +1215,9 @@ func (o *DocDeploymentDelete) SetOrgName(v string) { } // GetOverrides returns the Overrides field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *DocDeploymentDelete) GetOverrides() interface{} { +func (o *DocDeploymentDelete) GetOverrides() Overrides { if o == nil { - var ret interface{} + var ret Overrides return ret } @@ -1150,16 +1226,15 @@ func (o *DocDeploymentDelete) GetOverrides() interface{} { // GetOverridesOk returns a tuple with the Overrides field value // and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *DocDeploymentDelete) GetOverridesOk() (*interface{}, bool) { - if o == nil || IsNil(o.Overrides) { +func (o *DocDeploymentDelete) GetOverridesOk() (*Overrides, bool) { + if o == nil { return nil, false } return &o.Overrides, true } // SetOverrides sets field value -func (o *DocDeploymentDelete) SetOverrides(v interface{}) { +func (o *DocDeploymentDelete) SetOverrides(v Overrides) { o.Overrides = v } @@ -1206,42 +1281,53 @@ func (o *DocDeploymentDelete) UnsetPersistOnFailure() { o.PersistOnFailure.Unset() } -// GetPersona returns the Persona field value if set, zero value otherwise. +// GetPersona returns the Persona field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DocDeploymentDelete) GetPersona() string { - if o == nil || IsNil(o.Persona) { + if o == nil || IsNil(o.Persona.Get()) { var ret string return ret } - return *o.Persona + return *o.Persona.Get() } // GetPersonaOk returns a tuple with the Persona field value if set, nil otherwise // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *DocDeploymentDelete) GetPersonaOk() (*string, bool) { - if o == nil || IsNil(o.Persona) { + if o == nil { return nil, false } - return o.Persona, true + return o.Persona.Get(), o.Persona.IsSet() } // HasPersona returns a boolean if a field has been set. func (o *DocDeploymentDelete) HasPersona() bool { - if o != nil && !IsNil(o.Persona) { + if o != nil && o.Persona.IsSet() { return true } return false } -// SetPersona gets a reference to the given string and assigns it to the Persona field. +// SetPersona gets a reference to the given NullableString and assigns it to the Persona field. func (o *DocDeploymentDelete) SetPersona(v string) { - o.Persona = &v + o.Persona.Set(&v) +} + +// SetPersonaNil sets the value for Persona to be an explicit nil +func (o *DocDeploymentDelete) SetPersonaNil() { + o.Persona.Set(nil) +} + +// UnsetPersona ensures that no value is present for Persona, not even an explicit nil +func (o *DocDeploymentDelete) UnsetPersona() { + o.Persona.Unset() } // GetPipeline returns the Pipeline field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *DocDeploymentDelete) GetPipeline() int64 { +func (o *DocDeploymentDelete) GetPipeline() int32 { if o == nil || IsNil(o.Pipeline.Get()) { - var ret int64 + var ret int32 return ret } return *o.Pipeline.Get() @@ -1250,7 +1336,7 @@ func (o *DocDeploymentDelete) GetPipeline() int64 { // GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *DocDeploymentDelete) GetPipelineOk() (*int64, bool) { +func (o *DocDeploymentDelete) GetPipelineOk() (*int32, bool) { if o == nil { return nil, false } @@ -1266,8 +1352,8 @@ func (o *DocDeploymentDelete) HasPipeline() bool { return false } -// SetPipeline gets a reference to the given NullableInt64 and assigns it to the Pipeline field. -func (o *DocDeploymentDelete) SetPipeline(v int64) { +// SetPipeline gets a reference to the given NullableInt32 and assigns it to the Pipeline field. +func (o *DocDeploymentDelete) SetPipeline(v int32) { o.Pipeline.Set(&v) } @@ -1656,6 +1742,479 @@ func (o *DocDeploymentDelete) SetRetryCount(v int32) { o.RetryCount = v } +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *DocDeploymentDelete) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntime() { + o.Runtime.Unset() +} + +// GetRuntimeBranch returns the RuntimeBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeBranch() string { + if o == nil || IsNil(o.RuntimeBranch.Get()) { + var ret string + return ret + } + return *o.RuntimeBranch.Get() +} + +// GetRuntimeBranchOk returns a tuple with the RuntimeBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeBranch.Get(), o.RuntimeBranch.IsSet() +} + +// HasRuntimeBranch returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeBranch() bool { + if o != nil && o.RuntimeBranch.IsSet() { + return true + } + + return false +} + +// SetRuntimeBranch gets a reference to the given NullableString and assigns it to the RuntimeBranch field. +func (o *DocDeploymentDelete) SetRuntimeBranch(v string) { + o.RuntimeBranch.Set(&v) +} + +// SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeBranchNil() { + o.RuntimeBranch.Set(nil) +} + +// UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeBranch() { + o.RuntimeBranch.Unset() +} + +// GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeCnsAddonPack() bool { + if o == nil || IsNil(o.RuntimeCnsAddonPack.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsAddonPack.Get() +} + +// GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeCnsAddonPackOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsAddonPack.Get(), o.RuntimeCnsAddonPack.IsSet() +} + +// HasRuntimeCnsAddonPack returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeCnsAddonPack() bool { + if o != nil && o.RuntimeCnsAddonPack.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsAddonPack gets a reference to the given NullableBool and assigns it to the RuntimeCnsAddonPack field. +func (o *DocDeploymentDelete) SetRuntimeCnsAddonPack(v bool) { + o.RuntimeCnsAddonPack.Set(&v) +} + +// SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeCnsAddonPackNil() { + o.RuntimeCnsAddonPack.Set(nil) +} + +// UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeCnsAddonPack() { + o.RuntimeCnsAddonPack.Unset() +} + +// GetRuntimeCnsDocker returns the RuntimeCnsDocker field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeCnsDocker() bool { + if o == nil || IsNil(o.RuntimeCnsDocker.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsDocker.Get() +} + +// GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeCnsDockerOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDocker.Get(), o.RuntimeCnsDocker.IsSet() +} + +// HasRuntimeCnsDocker returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeCnsDocker() bool { + if o != nil && o.RuntimeCnsDocker.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDocker gets a reference to the given NullableBool and assigns it to the RuntimeCnsDocker field. +func (o *DocDeploymentDelete) SetRuntimeCnsDocker(v bool) { + o.RuntimeCnsDocker.Set(&v) +} + +// SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeCnsDockerNil() { + o.RuntimeCnsDocker.Set(nil) +} + +// UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeCnsDocker() { + o.RuntimeCnsDocker.Unset() +} + +// GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeCnsDriverVersion() string { + if o == nil || IsNil(o.RuntimeCnsDriverVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsDriverVersion.Get() +} + +// GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeCnsDriverVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDriverVersion.Get(), o.RuntimeCnsDriverVersion.IsSet() +} + +// HasRuntimeCnsDriverVersion returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeCnsDriverVersion() bool { + if o != nil && o.RuntimeCnsDriverVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDriverVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsDriverVersion field. +func (o *DocDeploymentDelete) SetRuntimeCnsDriverVersion(v string) { + o.RuntimeCnsDriverVersion.Set(&v) +} + +// SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeCnsDriverVersionNil() { + o.RuntimeCnsDriverVersion.Set(nil) +} + +// UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeCnsDriverVersion() { + o.RuntimeCnsDriverVersion.Unset() +} + +// GetRuntimeCnsK8s returns the RuntimeCnsK8s field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeCnsK8s() bool { + if o == nil || IsNil(o.RuntimeCnsK8s.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsK8s.Get() +} + +// GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeCnsK8sOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsK8s.Get(), o.RuntimeCnsK8s.IsSet() +} + +// HasRuntimeCnsK8s returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeCnsK8s() bool { + if o != nil && o.RuntimeCnsK8s.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsK8s gets a reference to the given NullableBool and assigns it to the RuntimeCnsK8s field. +func (o *DocDeploymentDelete) SetRuntimeCnsK8s(v bool) { + o.RuntimeCnsK8s.Set(&v) +} + +// SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeCnsK8sNil() { + o.RuntimeCnsK8s.Set(nil) +} + +// UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeCnsK8s() { + o.RuntimeCnsK8s.Unset() +} + +// GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeCnsNvidiaDriver() bool { + if o == nil || IsNil(o.RuntimeCnsNvidiaDriver.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsNvidiaDriver.Get() +} + +// GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeCnsNvidiaDriverOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsNvidiaDriver.Get(), o.RuntimeCnsNvidiaDriver.IsSet() +} + +// HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeCnsNvidiaDriver() bool { + if o != nil && o.RuntimeCnsNvidiaDriver.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsNvidiaDriver gets a reference to the given NullableBool and assigns it to the RuntimeCnsNvidiaDriver field. +func (o *DocDeploymentDelete) SetRuntimeCnsNvidiaDriver(v bool) { + o.RuntimeCnsNvidiaDriver.Set(&v) +} + +// SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeCnsNvidiaDriverNil() { + o.RuntimeCnsNvidiaDriver.Set(nil) +} + +// UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeCnsNvidiaDriver() { + o.RuntimeCnsNvidiaDriver.Unset() +} + +// GetRuntimeCnsVersion returns the RuntimeCnsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeCnsVersion() string { + if o == nil || IsNil(o.RuntimeCnsVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsVersion.Get() +} + +// GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeCnsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsVersion.Get(), o.RuntimeCnsVersion.IsSet() +} + +// HasRuntimeCnsVersion returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeCnsVersion() bool { + if o != nil && o.RuntimeCnsVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsVersion field. +func (o *DocDeploymentDelete) SetRuntimeCnsVersion(v string) { + o.RuntimeCnsVersion.Set(&v) +} + +// SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeCnsVersionNil() { + o.RuntimeCnsVersion.Set(nil) +} + +// UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeCnsVersion() { + o.RuntimeCnsVersion.Unset() +} + +// GetRuntimeMig returns the RuntimeMig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeMig() bool { + if o == nil || IsNil(o.RuntimeMig.Get()) { + var ret bool + return ret + } + return *o.RuntimeMig.Get() +} + +// GetRuntimeMigOk returns a tuple with the RuntimeMig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeMigOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMig.Get(), o.RuntimeMig.IsSet() +} + +// HasRuntimeMig returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeMig() bool { + if o != nil && o.RuntimeMig.IsSet() { + return true + } + + return false +} + +// SetRuntimeMig gets a reference to the given NullableBool and assigns it to the RuntimeMig field. +func (o *DocDeploymentDelete) SetRuntimeMig(v bool) { + o.RuntimeMig.Set(&v) +} + +// SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeMigNil() { + o.RuntimeMig.Set(nil) +} + +// UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeMig() { + o.RuntimeMig.Unset() +} + +// GetRuntimeMigProfile returns the RuntimeMigProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeMigProfile() string { + if o == nil || IsNil(o.RuntimeMigProfile.Get()) { + var ret string + return ret + } + return *o.RuntimeMigProfile.Get() +} + +// GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeMigProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMigProfile.Get(), o.RuntimeMigProfile.IsSet() +} + +// HasRuntimeMigProfile returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeMigProfile() bool { + if o != nil && o.RuntimeMigProfile.IsSet() { + return true + } + + return false +} + +// SetRuntimeMigProfile gets a reference to the given NullableString and assigns it to the RuntimeMigProfile field. +func (o *DocDeploymentDelete) SetRuntimeMigProfile(v string) { + o.RuntimeMigProfile.Set(&v) +} + +// SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeMigProfileNil() { + o.RuntimeMigProfile.Set(nil) +} + +// UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeMigProfile() { + o.RuntimeMigProfile.Unset() +} + +// GetRuntimeUrl returns the RuntimeUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DocDeploymentDelete) GetRuntimeUrl() string { + if o == nil || IsNil(o.RuntimeUrl.Get()) { + var ret string + return ret + } + return *o.RuntimeUrl.Get() +} + +// GetRuntimeUrlOk returns a tuple with the RuntimeUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DocDeploymentDelete) GetRuntimeUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeUrl.Get(), o.RuntimeUrl.IsSet() +} + +// HasRuntimeUrl returns a boolean if a field has been set. +func (o *DocDeploymentDelete) HasRuntimeUrl() bool { + if o != nil && o.RuntimeUrl.IsSet() { + return true + } + + return false +} + +// SetRuntimeUrl gets a reference to the given NullableString and assigns it to the RuntimeUrl field. +func (o *DocDeploymentDelete) SetRuntimeUrl(v string) { + o.RuntimeUrl.Set(&v) +} + +// SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil +func (o *DocDeploymentDelete) SetRuntimeUrlNil() { + o.RuntimeUrl.Set(nil) +} + +// UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +func (o *DocDeploymentDelete) UnsetRuntimeUrl() { + o.RuntimeUrl.Unset() +} + // GetSalesCreatedDate returns the SalesCreatedDate field value if set, zero value otherwise (both if not set or set to explicit null). func (o *DocDeploymentDelete) GetSalesCreatedDate() time.Time { if o == nil || IsNil(o.SalesCreatedDate.Get()) { @@ -2102,8 +2661,8 @@ func (o DocDeploymentDelete) ToMap() (map[string]interface{}, error) { if !IsNil(o.CatalogId) { toSerialize["catalog_id"] = o.CatalogId } - if o.CatalogIdAlias.IsSet() { - toSerialize["catalog_id_alias"] = o.CatalogIdAlias.Get() + if !IsNil(o.CatalogIdAlias) { + toSerialize["catalog_id_alias"] = o.CatalogIdAlias } if !IsNil(o.Cluster) { toSerialize["cluster"] = o.Cluster @@ -2112,7 +2671,7 @@ func (o DocDeploymentDelete) ToMap() (map[string]interface{}, error) { toSerialize["collection_branch"] = o.CollectionBranch.Get() } toSerialize["created"] = o.Created - toSerialize["experience"] = o.Experience + toSerialize["experience"] = o.Experience.Get() if o.ExperienceBranch.IsSet() { toSerialize["experience_branch"] = o.ExperienceBranch.Get() } @@ -2140,14 +2699,14 @@ func (o DocDeploymentDelete) ToMap() (map[string]interface{}, error) { if o.GpuModel.IsSet() { toSerialize["gpu_model"] = o.GpuModel.Get() } - if !IsNil(o.GpuOsName) { - toSerialize["gpu_os_name"] = o.GpuOsName + if o.GpuOsName.IsSet() { + toSerialize["gpu_os_name"] = o.GpuOsName.Get() } - if !IsNil(o.GpuOsRelease) { - toSerialize["gpu_os_release"] = o.GpuOsRelease + if o.GpuOsRelease.IsSet() { + toSerialize["gpu_os_release"] = o.GpuOsRelease.Get() } - if !IsNil(o.GpuOsVersion) { - toSerialize["gpu_os_version"] = o.GpuOsVersion + if o.GpuOsVersion.IsSet() { + toSerialize["gpu_os_version"] = o.GpuOsVersion.Get() } toSerialize["id"] = o.Id if !IsNil(o.IpAllowlist) { @@ -2167,14 +2726,12 @@ func (o DocDeploymentDelete) ToMap() (map[string]interface{}, error) { toSerialize["oem_name"] = o.OemName.Get() } toSerialize["org_name"] = o.OrgName - if o.Overrides != nil { - toSerialize["overrides"] = o.Overrides - } + toSerialize["overrides"] = o.Overrides if o.PersistOnFailure.IsSet() { toSerialize["persist_on_failure"] = o.PersistOnFailure.Get() } - if !IsNil(o.Persona) { - toSerialize["persona"] = o.Persona + if o.Persona.IsSet() { + toSerialize["persona"] = o.Persona.Get() } if o.Pipeline.IsSet() { toSerialize["pipeline"] = o.Pipeline.Get() @@ -2204,6 +2761,39 @@ func (o DocDeploymentDelete) ToMap() (map[string]interface{}, error) { toSerialize["requester_email"] = o.RequesterEmail toSerialize["requester_name"] = o.RequesterName toSerialize["retry_count"] = o.RetryCount + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } + if o.RuntimeBranch.IsSet() { + toSerialize["runtime_branch"] = o.RuntimeBranch.Get() + } + if o.RuntimeCnsAddonPack.IsSet() { + toSerialize["runtime_cns_addon_pack"] = o.RuntimeCnsAddonPack.Get() + } + if o.RuntimeCnsDocker.IsSet() { + toSerialize["runtime_cns_docker"] = o.RuntimeCnsDocker.Get() + } + if o.RuntimeCnsDriverVersion.IsSet() { + toSerialize["runtime_cns_driver_version"] = o.RuntimeCnsDriverVersion.Get() + } + if o.RuntimeCnsK8s.IsSet() { + toSerialize["runtime_cns_k8s"] = o.RuntimeCnsK8s.Get() + } + if o.RuntimeCnsNvidiaDriver.IsSet() { + toSerialize["runtime_cns_nvidia_driver"] = o.RuntimeCnsNvidiaDriver.Get() + } + if o.RuntimeCnsVersion.IsSet() { + toSerialize["runtime_cns_version"] = o.RuntimeCnsVersion.Get() + } + if o.RuntimeMig.IsSet() { + toSerialize["runtime_mig"] = o.RuntimeMig.Get() + } + if o.RuntimeMigProfile.IsSet() { + toSerialize["runtime_mig_profile"] = o.RuntimeMigProfile.Get() + } + if o.RuntimeUrl.IsSet() { + toSerialize["runtime_url"] = o.RuntimeUrl.Get() + } if o.SalesCreatedDate.IsSet() { toSerialize["sales_created_date"] = o.SalesCreatedDate.Get() } @@ -2330,6 +2920,17 @@ func (o *DocDeploymentDelete) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "requester_email") delete(additionalProperties, "requester_name") delete(additionalProperties, "retry_count") + delete(additionalProperties, "runtime") + delete(additionalProperties, "runtime_branch") + delete(additionalProperties, "runtime_cns_addon_pack") + delete(additionalProperties, "runtime_cns_docker") + delete(additionalProperties, "runtime_cns_driver_version") + delete(additionalProperties, "runtime_cns_k8s") + delete(additionalProperties, "runtime_cns_nvidia_driver") + delete(additionalProperties, "runtime_cns_version") + delete(additionalProperties, "runtime_mig") + delete(additionalProperties, "runtime_mig_profile") + delete(additionalProperties, "runtime_url") delete(additionalProperties, "sales_created_date") delete(additionalProperties, "sales_id") delete(additionalProperties, "sales_owner_email") diff --git a/v1/providers/launchpad/gen/launchpad/model_experience.go b/v1/providers/launchpad/gen/launchpad/model_experience.go index c6945854..24c7fd79 100644 --- a/v1/providers/launchpad/gen/launchpad/model_experience.go +++ b/v1/providers/launchpad/gen/launchpad/model_experience.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -76,6 +76,8 @@ type Experience struct { Repo NullableString `json:"repo,omitempty"` // If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: [\"{l40s_gpu_uuid}\", \"{a100_gpu_uuid}\"] will prefer an l40s). RequiredGpus []string `json:"required_gpus,omitempty"` + // The default runtime to use when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` // Is this a persistent experience for SAs? SaLab *bool `json:"sa_lab,omitempty"` // Required CPU architecture * `amd64` - amd64 * `arm64` - arm64 @@ -1084,6 +1086,49 @@ func (o *Experience) SetRequiredGpus(v []string) { o.RequiredGpus = v } +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Experience) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Experience) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *Experience) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *Experience) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *Experience) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *Experience) UnsetRuntime() { + o.Runtime.Unset() +} + // GetSaLab returns the SaLab field value if set, zero value otherwise. func (o *Experience) GetSaLab() bool { if o == nil || IsNil(o.SaLab) { @@ -1287,6 +1332,9 @@ func (o Experience) ToMap() (map[string]interface{}, error) { if !IsNil(o.RequiredGpus) { toSerialize["required_gpus"] = o.RequiredGpus } + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } if !IsNil(o.SaLab) { toSerialize["sa_lab"] = o.SaLab } @@ -1379,6 +1427,7 @@ func (o *Experience) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "published") delete(additionalProperties, "repo") delete(additionalProperties, "required_gpus") + delete(additionalProperties, "runtime") delete(additionalProperties, "sa_lab") delete(additionalProperties, "system_arch") delete(additionalProperties, "title") diff --git a/v1/providers/launchpad/gen/launchpad/model_experience_bulk.go b/v1/providers/launchpad/gen/launchpad/model_experience_bulk.go index 9271f990..e29fb72f 100644 --- a/v1/providers/launchpad/gen/launchpad/model_experience_bulk.go +++ b/v1/providers/launchpad/gen/launchpad/model_experience_bulk.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_experience_bulk_update.go b/v1/providers/launchpad/gen/launchpad/model_experience_bulk_update.go index d044fb37..7a390cc7 100644 --- a/v1/providers/launchpad/gen/launchpad/model_experience_bulk_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_experience_bulk_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -76,6 +76,8 @@ type ExperienceBulkUpdate struct { Repo NullableString `json:"repo,omitempty"` // If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: [\"{l40s_gpu_uuid}\", \"{a100_gpu_uuid}\"] will prefer an l40s). RequiredGpus []string `json:"required_gpus,omitempty"` + // The default runtime to use when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` // Is this a persistent experience for SAs? SaLab *bool `json:"sa_lab,omitempty"` // Required CPU architecture * `amd64` - amd64 * `arm64` - arm64 @@ -1074,6 +1076,49 @@ func (o *ExperienceBulkUpdate) SetRequiredGpus(v []string) { o.RequiredGpus = v } +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ExperienceBulkUpdate) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ExperienceBulkUpdate) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *ExperienceBulkUpdate) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *ExperienceBulkUpdate) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *ExperienceBulkUpdate) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *ExperienceBulkUpdate) UnsetRuntime() { + o.Runtime.Unset() +} + // GetSaLab returns the SaLab field value if set, zero value otherwise. func (o *ExperienceBulkUpdate) GetSaLab() bool { if o == nil || IsNil(o.SaLab) { @@ -1347,6 +1392,9 @@ func (o ExperienceBulkUpdate) ToMap() (map[string]interface{}, error) { if !IsNil(o.RequiredGpus) { toSerialize["required_gpus"] = o.RequiredGpus } + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } if !IsNil(o.SaLab) { toSerialize["sa_lab"] = o.SaLab } @@ -1446,6 +1494,7 @@ func (o *ExperienceBulkUpdate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "published") delete(additionalProperties, "repo") delete(additionalProperties, "required_gpus") + delete(additionalProperties, "runtime") delete(additionalProperties, "sa_lab") delete(additionalProperties, "system_arch") delete(additionalProperties, "title") diff --git a/v1/providers/launchpad/gen/launchpad/model_experience_note.go b/v1/providers/launchpad/gen/launchpad/model_experience_note.go index d088d0c8..57d19bba 100644 --- a/v1/providers/launchpad/gen/launchpad/model_experience_note.go +++ b/v1/providers/launchpad/gen/launchpad/model_experience_note.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,10 +24,10 @@ type ExperienceNote struct { // Text content of the note Content *string `json:"content,omitempty"` // Timestamp of when the object was created - Created time.Time `json:"created"` - CreatedBy string `json:"created_by"` - Experience DeploymentExperience `json:"experience"` - Id string `json:"id"` + Created time.Time `json:"created"` + CreatedBy string `json:"created_by"` + Experience ExperienceNoteExperience `json:"experience"` + Id string `json:"id"` // Timestamp of when the object was last modified Modified time.Time `json:"modified"` ModifiedBy string `json:"modified_by"` @@ -40,7 +40,7 @@ type _ExperienceNote ExperienceNote // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewExperienceNote(created time.Time, createdBy string, experience DeploymentExperience, id string, modified time.Time, modifiedBy string) *ExperienceNote { +func NewExperienceNote(created time.Time, createdBy string, experience ExperienceNoteExperience, id string, modified time.Time, modifiedBy string) *ExperienceNote { this := ExperienceNote{} this.Created = created this.CreatedBy = createdBy @@ -140,9 +140,9 @@ func (o *ExperienceNote) SetCreatedBy(v string) { } // GetExperience returns the Experience field value -func (o *ExperienceNote) GetExperience() DeploymentExperience { +func (o *ExperienceNote) GetExperience() ExperienceNoteExperience { if o == nil { - var ret DeploymentExperience + var ret ExperienceNoteExperience return ret } @@ -151,7 +151,7 @@ func (o *ExperienceNote) GetExperience() DeploymentExperience { // GetExperienceOk returns a tuple with the Experience field value // and a boolean to check if the value has been set. -func (o *ExperienceNote) GetExperienceOk() (*DeploymentExperience, bool) { +func (o *ExperienceNote) GetExperienceOk() (*ExperienceNoteExperience, bool) { if o == nil { return nil, false } @@ -159,7 +159,7 @@ func (o *ExperienceNote) GetExperienceOk() (*DeploymentExperience, bool) { } // SetExperience sets field value -func (o *ExperienceNote) SetExperience(v DeploymentExperience) { +func (o *ExperienceNote) SetExperience(v ExperienceNoteExperience) { o.Experience = v } diff --git a/v1/providers/launchpad/gen/launchpad/model_deployment_experience.go b/v1/providers/launchpad/gen/launchpad/model_experience_note_experience.go similarity index 57% rename from v1/providers/launchpad/gen/launchpad/model_deployment_experience.go rename to v1/providers/launchpad/gen/launchpad/model_experience_note_experience.go index c5db93b0..685122b3 100644 --- a/v1/providers/launchpad/gen/launchpad/model_deployment_experience.go +++ b/v1/providers/launchpad/gen/launchpad/model_experience_note_experience.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,28 +16,28 @@ import ( "gopkg.in/validator.v2" ) -// DeploymentExperience - struct for DeploymentExperience -type DeploymentExperience struct { +// ExperienceNoteExperience - struct for ExperienceNoteExperience +type ExperienceNoteExperience struct { Experience *Experience String *string } -// ExperienceAsDeploymentExperience is a convenience function that returns Experience wrapped in DeploymentExperience -func ExperienceAsDeploymentExperience(v *Experience) DeploymentExperience { - return DeploymentExperience{ +// ExperienceAsExperienceNoteExperience is a convenience function that returns Experience wrapped in ExperienceNoteExperience +func ExperienceAsExperienceNoteExperience(v *Experience) ExperienceNoteExperience { + return ExperienceNoteExperience{ Experience: v, } } -// stringAsDeploymentExperience is a convenience function that returns string wrapped in DeploymentExperience -func StringAsDeploymentExperience(v *string) DeploymentExperience { - return DeploymentExperience{ +// stringAsExperienceNoteExperience is a convenience function that returns string wrapped in ExperienceNoteExperience +func StringAsExperienceNoteExperience(v *string) ExperienceNoteExperience { + return ExperienceNoteExperience{ String: v, } } // Unmarshal JSON data into one of the pointers in the struct -func (dst *DeploymentExperience) UnmarshalJSON(data []byte) error { +func (dst *ExperienceNoteExperience) UnmarshalJSON(data []byte) error { var err error match := 0 // try to unmarshal data into Experience @@ -79,16 +79,16 @@ func (dst *DeploymentExperience) UnmarshalJSON(data []byte) error { dst.Experience = nil dst.String = nil - return fmt.Errorf("data matches more than one schema in oneOf(DeploymentExperience)") + return fmt.Errorf("data matches more than one schema in oneOf(ExperienceNoteExperience)") } else if match == 1 { return nil // exactly one match } else { // no match - return fmt.Errorf("data failed to match schemas in oneOf(DeploymentExperience)") + return fmt.Errorf("data failed to match schemas in oneOf(ExperienceNoteExperience)") } } // Marshal data from the first non-nil pointers in the struct to JSON -func (src DeploymentExperience) MarshalJSON() ([]byte, error) { +func (src ExperienceNoteExperience) MarshalJSON() ([]byte, error) { if src.Experience != nil { return json.Marshal(&src.Experience) } @@ -101,7 +101,7 @@ func (src DeploymentExperience) MarshalJSON() ([]byte, error) { } // Get the actual instance -func (obj *DeploymentExperience) GetActualInstance() interface{} { +func (obj *ExperienceNoteExperience) GetActualInstance() interface{} { if obj == nil { return nil } @@ -117,38 +117,38 @@ func (obj *DeploymentExperience) GetActualInstance() interface{} { return nil } -type NullableDeploymentExperience struct { - value *DeploymentExperience +type NullableExperienceNoteExperience struct { + value *ExperienceNoteExperience isSet bool } -func (v NullableDeploymentExperience) Get() *DeploymentExperience { +func (v NullableExperienceNoteExperience) Get() *ExperienceNoteExperience { return v.value } -func (v *NullableDeploymentExperience) Set(val *DeploymentExperience) { +func (v *NullableExperienceNoteExperience) Set(val *ExperienceNoteExperience) { v.value = val v.isSet = true } -func (v NullableDeploymentExperience) IsSet() bool { +func (v NullableExperienceNoteExperience) IsSet() bool { return v.isSet } -func (v *NullableDeploymentExperience) Unset() { +func (v *NullableExperienceNoteExperience) Unset() { v.value = nil v.isSet = false } -func NewNullableDeploymentExperience(val *DeploymentExperience) *NullableDeploymentExperience { - return &NullableDeploymentExperience{value: val, isSet: true} +func NewNullableExperienceNoteExperience(val *ExperienceNoteExperience) *NullableExperienceNoteExperience { + return &NullableExperienceNoteExperience{value: val, isSet: true} } -func (v NullableDeploymentExperience) MarshalJSON() ([]byte, error) { +func (v NullableExperienceNoteExperience) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableDeploymentExperience) UnmarshalJSON(src []byte) error { +func (v *NullableExperienceNoteExperience) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/v1/providers/launchpad/gen/launchpad/model_fc_platform_enum.go b/v1/providers/launchpad/gen/launchpad/model_fc_platform_enum.go index d0f9e040..165a96a5 100644 --- a/v1/providers/launchpad/gen/launchpad/model_fc_platform_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_fc_platform_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_gpu.go b/v1/providers/launchpad/gen/launchpad/model_gpu.go index bccc2737..3156de42 100644 --- a/v1/providers/launchpad/gen/launchpad/model_gpu.go +++ b/v1/providers/launchpad/gen/launchpad/model_gpu.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_gpu_bulk_update.go b/v1/providers/launchpad/gen/launchpad/model_gpu_bulk_update.go index 4a31fe3b..90335664 100644 --- a/v1/providers/launchpad/gen/launchpad/model_gpu_bulk_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_gpu_bulk_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_gpu_os.go b/v1/providers/launchpad/gen/launchpad/model_gpu_os.go index 7b91671f..f23d060b 100644 --- a/v1/providers/launchpad/gen/launchpad/model_gpu_os.go +++ b/v1/providers/launchpad/gen/launchpad/model_gpu_os.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_gpu_os_choice.go b/v1/providers/launchpad/gen/launchpad/model_gpu_os_choice.go index c931a78b..5a44c63c 100644 --- a/v1/providers/launchpad/gen/launchpad/model_gpu_os_choice.go +++ b/v1/providers/launchpad/gen/launchpad/model_gpu_os_choice.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response.go b/v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response.go new file mode 100644 index 00000000..84c676eb --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response.go @@ -0,0 +1,190 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" +) + +// checks if the HealthRetrieve200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HealthRetrieve200Response{} + +// HealthRetrieve200Response struct for HealthRetrieve200Response +type HealthRetrieve200Response struct { + Status *string `json:"status,omitempty"` + Components *HealthRetrieve200ResponseComponents `json:"components,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _HealthRetrieve200Response HealthRetrieve200Response + +// NewHealthRetrieve200Response instantiates a new HealthRetrieve200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHealthRetrieve200Response() *HealthRetrieve200Response { + this := HealthRetrieve200Response{} + return &this +} + +// NewHealthRetrieve200ResponseWithDefaults instantiates a new HealthRetrieve200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHealthRetrieve200ResponseWithDefaults() *HealthRetrieve200Response { + this := HealthRetrieve200Response{} + return &this +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *HealthRetrieve200Response) GetStatus() string { + if o == nil || IsNil(o.Status) { + var ret string + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthRetrieve200Response) GetStatusOk() (*string, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *HealthRetrieve200Response) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given string and assigns it to the Status field. +func (o *HealthRetrieve200Response) SetStatus(v string) { + o.Status = &v +} + +// GetComponents returns the Components field value if set, zero value otherwise. +func (o *HealthRetrieve200Response) GetComponents() HealthRetrieve200ResponseComponents { + if o == nil || IsNil(o.Components) { + var ret HealthRetrieve200ResponseComponents + return ret + } + return *o.Components +} + +// GetComponentsOk returns a tuple with the Components field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthRetrieve200Response) GetComponentsOk() (*HealthRetrieve200ResponseComponents, bool) { + if o == nil || IsNil(o.Components) { + return nil, false + } + return o.Components, true +} + +// HasComponents returns a boolean if a field has been set. +func (o *HealthRetrieve200Response) HasComponents() bool { + if o != nil && !IsNil(o.Components) { + return true + } + + return false +} + +// SetComponents gets a reference to the given HealthRetrieve200ResponseComponents and assigns it to the Components field. +func (o *HealthRetrieve200Response) SetComponents(v HealthRetrieve200ResponseComponents) { + o.Components = &v +} + +func (o HealthRetrieve200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HealthRetrieve200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if !IsNil(o.Components) { + toSerialize["components"] = o.Components + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *HealthRetrieve200Response) UnmarshalJSON(data []byte) (err error) { + varHealthRetrieve200Response := _HealthRetrieve200Response{} + + err = json.Unmarshal(data, &varHealthRetrieve200Response) + + if err != nil { + return err + } + + *o = HealthRetrieve200Response(varHealthRetrieve200Response) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "status") + delete(additionalProperties, "components") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableHealthRetrieve200Response struct { + value *HealthRetrieve200Response + isSet bool +} + +func (v NullableHealthRetrieve200Response) Get() *HealthRetrieve200Response { + return v.value +} + +func (v *NullableHealthRetrieve200Response) Set(val *HealthRetrieve200Response) { + v.value = val + v.isSet = true +} + +func (v NullableHealthRetrieve200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableHealthRetrieve200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHealthRetrieve200Response(val *HealthRetrieve200Response) *NullableHealthRetrieve200Response { + return &NullableHealthRetrieve200Response{value: val, isSet: true} +} + +func (v NullableHealthRetrieve200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHealthRetrieve200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response_components.go b/v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response_components.go new file mode 100644 index 00000000..e9ffa9a6 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_health_retrieve_200_response_components.go @@ -0,0 +1,190 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" +) + +// checks if the HealthRetrieve200ResponseComponents type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &HealthRetrieve200ResponseComponents{} + +// HealthRetrieve200ResponseComponents struct for HealthRetrieve200ResponseComponents +type HealthRetrieve200ResponseComponents struct { + Application *string `json:"application,omitempty"` + Database *string `json:"database,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _HealthRetrieve200ResponseComponents HealthRetrieve200ResponseComponents + +// NewHealthRetrieve200ResponseComponents instantiates a new HealthRetrieve200ResponseComponents object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHealthRetrieve200ResponseComponents() *HealthRetrieve200ResponseComponents { + this := HealthRetrieve200ResponseComponents{} + return &this +} + +// NewHealthRetrieve200ResponseComponentsWithDefaults instantiates a new HealthRetrieve200ResponseComponents object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHealthRetrieve200ResponseComponentsWithDefaults() *HealthRetrieve200ResponseComponents { + this := HealthRetrieve200ResponseComponents{} + return &this +} + +// GetApplication returns the Application field value if set, zero value otherwise. +func (o *HealthRetrieve200ResponseComponents) GetApplication() string { + if o == nil || IsNil(o.Application) { + var ret string + return ret + } + return *o.Application +} + +// GetApplicationOk returns a tuple with the Application field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthRetrieve200ResponseComponents) GetApplicationOk() (*string, bool) { + if o == nil || IsNil(o.Application) { + return nil, false + } + return o.Application, true +} + +// HasApplication returns a boolean if a field has been set. +func (o *HealthRetrieve200ResponseComponents) HasApplication() bool { + if o != nil && !IsNil(o.Application) { + return true + } + + return false +} + +// SetApplication gets a reference to the given string and assigns it to the Application field. +func (o *HealthRetrieve200ResponseComponents) SetApplication(v string) { + o.Application = &v +} + +// GetDatabase returns the Database field value if set, zero value otherwise. +func (o *HealthRetrieve200ResponseComponents) GetDatabase() string { + if o == nil || IsNil(o.Database) { + var ret string + return ret + } + return *o.Database +} + +// GetDatabaseOk returns a tuple with the Database field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthRetrieve200ResponseComponents) GetDatabaseOk() (*string, bool) { + if o == nil || IsNil(o.Database) { + return nil, false + } + return o.Database, true +} + +// HasDatabase returns a boolean if a field has been set. +func (o *HealthRetrieve200ResponseComponents) HasDatabase() bool { + if o != nil && !IsNil(o.Database) { + return true + } + + return false +} + +// SetDatabase gets a reference to the given string and assigns it to the Database field. +func (o *HealthRetrieve200ResponseComponents) SetDatabase(v string) { + o.Database = &v +} + +func (o HealthRetrieve200ResponseComponents) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o HealthRetrieve200ResponseComponents) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Application) { + toSerialize["application"] = o.Application + } + if !IsNil(o.Database) { + toSerialize["database"] = o.Database + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *HealthRetrieve200ResponseComponents) UnmarshalJSON(data []byte) (err error) { + varHealthRetrieve200ResponseComponents := _HealthRetrieve200ResponseComponents{} + + err = json.Unmarshal(data, &varHealthRetrieve200ResponseComponents) + + if err != nil { + return err + } + + *o = HealthRetrieve200ResponseComponents(varHealthRetrieve200ResponseComponents) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "application") + delete(additionalProperties, "database") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableHealthRetrieve200ResponseComponents struct { + value *HealthRetrieve200ResponseComponents + isSet bool +} + +func (v NullableHealthRetrieve200ResponseComponents) Get() *HealthRetrieve200ResponseComponents { + return v.value +} + +func (v *NullableHealthRetrieve200ResponseComponents) Set(val *HealthRetrieve200ResponseComponents) { + v.value = val + v.isSet = true +} + +func (v NullableHealthRetrieve200ResponseComponents) IsSet() bool { + return v.isSet +} + +func (v *NullableHealthRetrieve200ResponseComponents) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHealthRetrieve200ResponseComponents(val *HealthRetrieve200ResponseComponents) *NullableHealthRetrieve200ResponseComponents { + return &NullableHealthRetrieve200ResponseComponents{value: val, isSet: true} +} + +func (v NullableHealthRetrieve200ResponseComponents) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHealthRetrieve200ResponseComponents) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_instance.go b/v1/providers/launchpad/gen/launchpad/model_instance.go index 6c703a55..fbdbed03 100644 --- a/v1/providers/launchpad/gen/launchpad/model_instance.go +++ b/v1/providers/launchpad/gen/launchpad/model_instance.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_instance_bulk_update.go b/v1/providers/launchpad/gen/launchpad/model_instance_bulk_update.go index 540b90b4..3feaea84 100644 --- a/v1/providers/launchpad/gen/launchpad/model_instance_bulk_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_instance_bulk_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_instance_state.go b/v1/providers/launchpad/gen/launchpad/model_instance_state.go index c2c79cba..ec2eefac 100644 --- a/v1/providers/launchpad/gen/launchpad/model_instance_state.go +++ b/v1/providers/launchpad/gen/launchpad/model_instance_state.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_instance_type.go b/v1/providers/launchpad/gen/launchpad/model_instance_type.go index f1bde782..f01c7192 100644 --- a/v1/providers/launchpad/gen/launchpad/model_instance_type.go +++ b/v1/providers/launchpad/gen/launchpad/model_instance_type.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_instance_type_gpu.go b/v1/providers/launchpad/gen/launchpad/model_instance_type_gpu.go index 16e964ec..a178d86a 100644 --- a/v1/providers/launchpad/gen/launchpad/model_instance_type_gpu.go +++ b/v1/providers/launchpad/gen/launchpad/model_instance_type_gpu.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_instance_type_price.go b/v1/providers/launchpad/gen/launchpad/model_instance_type_price.go index 6c286369..79bb4432 100644 --- a/v1/providers/launchpad/gen/launchpad/model_instance_type_price.go +++ b/v1/providers/launchpad/gen/launchpad/model_instance_type_price.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_instance_type_storage.go b/v1/providers/launchpad/gen/launchpad/model_instance_type_storage.go index 6bde915d..85610db3 100644 --- a/v1/providers/launchpad/gen/launchpad/model_instance_type_storage.go +++ b/v1/providers/launchpad/gen/launchpad/model_instance_type_storage.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_interconnection_type_enum.go b/v1/providers/launchpad/gen/launchpad/model_interconnection_type_enum.go index 7e5e31da..5058bb9c 100644 --- a/v1/providers/launchpad/gen/launchpad/model_interconnection_type_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_interconnection_type_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_location.go b/v1/providers/launchpad/gen/launchpad/model_location.go index e5d3ceb2..062eb17b 100644 --- a/v1/providers/launchpad/gen/launchpad/model_location.go +++ b/v1/providers/launchpad/gen/launchpad/model_location.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_location_provider.go b/v1/providers/launchpad/gen/launchpad/model_location_provider.go index 749c9bbd..ab6c80fa 100644 --- a/v1/providers/launchpad/gen/launchpad/model_location_provider.go +++ b/v1/providers/launchpad/gen/launchpad/model_location_provider.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_logout.go b/v1/providers/launchpad/gen/launchpad/model_logout.go index 0f040e56..f0b0de2a 100644 --- a/v1/providers/launchpad/gen/launchpad/model_logout.go +++ b/v1/providers/launchpad/gen/launchpad/model_logout.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_model_change.go b/v1/providers/launchpad/gen/launchpad/model_model_change.go index 69fda213..a7780ae8 100644 --- a/v1/providers/launchpad/gen/launchpad/model_model_change.go +++ b/v1/providers/launchpad/gen/launchpad/model_model_change.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner.go b/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner.go index 9daf2e20..c16fb192 100644 --- a/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner.go +++ b/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner_new_value.go b/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner_new_value.go index 5336d77e..f854d67a 100644 --- a/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner_new_value.go +++ b/v1/providers/launchpad/gen/launchpad/model_model_change_changes_inner_new_value.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_network_type_enum.go b/v1/providers/launchpad/gen/launchpad/model_network_type_enum.go index 24e2865b..a521e8d0 100644 --- a/v1/providers/launchpad/gen/launchpad/model_network_type_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_network_type_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_node.go b/v1/providers/launchpad/gen/launchpad/model_node.go index 901bf670..bf1c8b37 100644 --- a/v1/providers/launchpad/gen/launchpad/model_node.go +++ b/v1/providers/launchpad/gen/launchpad/model_node.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_node_bulk.go b/v1/providers/launchpad/gen/launchpad/model_node_bulk.go index 75637a81..1063d59d 100644 --- a/v1/providers/launchpad/gen/launchpad/model_node_bulk.go +++ b/v1/providers/launchpad/gen/launchpad/model_node_bulk.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_node_bulk_update.go b/v1/providers/launchpad/gen/launchpad/model_node_bulk_update.go index dcefec03..ed5a23b9 100644 --- a/v1/providers/launchpad/gen/launchpad/model_node_bulk_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_node_bulk_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_node_location.go b/v1/providers/launchpad/gen/launchpad/model_node_location.go index e3e1e5c6..9b8050b5 100644 --- a/v1/providers/launchpad/gen/launchpad/model_node_location.go +++ b/v1/providers/launchpad/gen/launchpad/model_node_location.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_node_storage.go b/v1/providers/launchpad/gen/launchpad/model_node_storage.go index 1a311c7e..adb76c89 100644 --- a/v1/providers/launchpad/gen/launchpad/model_node_storage.go +++ b/v1/providers/launchpad/gen/launchpad/model_node_storage.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_oem.go b/v1/providers/launchpad/gen/launchpad/model_oem.go index 07d75f81..84468f57 100644 --- a/v1/providers/launchpad/gen/launchpad/model_oem.go +++ b/v1/providers/launchpad/gen/launchpad/model_oem.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_on_demand_speed_enum.go b/v1/providers/launchpad/gen/launchpad/model_on_demand_speed_enum.go new file mode 100644 index 00000000..e020c3aa --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_on_demand_speed_enum.go @@ -0,0 +1,110 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" + "fmt" +) + +// OnDemandSpeedEnum * `fast` - fast * `slow` - slow +type OnDemandSpeedEnum string + +// List of OnDemandSpeedEnum +const ( + OnDemandSpeedFast OnDemandSpeedEnum = "fast" + OnDemandSpeedSlow OnDemandSpeedEnum = "slow" +) + +// All allowed values of OnDemandSpeedEnum enum +var AllowedOnDemandSpeedEnumEnumValues = []OnDemandSpeedEnum{ + "fast", + "slow", +} + +func (v *OnDemandSpeedEnum) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := OnDemandSpeedEnum(value) + for _, existing := range AllowedOnDemandSpeedEnumEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid OnDemandSpeedEnum", value) +} + +// NewOnDemandSpeedEnumFromValue returns a pointer to a valid OnDemandSpeedEnum +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewOnDemandSpeedEnumFromValue(v string) (*OnDemandSpeedEnum, error) { + ev := OnDemandSpeedEnum(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for OnDemandSpeedEnum: valid values are %v", v, AllowedOnDemandSpeedEnumEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v OnDemandSpeedEnum) IsValid() bool { + for _, existing := range AllowedOnDemandSpeedEnumEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to OnDemandSpeedEnum value +func (v OnDemandSpeedEnum) Ptr() *OnDemandSpeedEnum { + return &v +} + +type NullableOnDemandSpeedEnum struct { + value *OnDemandSpeedEnum + isSet bool +} + +func (v NullableOnDemandSpeedEnum) Get() *OnDemandSpeedEnum { + return v.value +} + +func (v *NullableOnDemandSpeedEnum) Set(val *OnDemandSpeedEnum) { + v.value = val + v.isSet = true +} + +func (v NullableOnDemandSpeedEnum) IsSet() bool { + return v.isSet +} + +func (v *NullableOnDemandSpeedEnum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOnDemandSpeedEnum(val *OnDemandSpeedEnum) *NullableOnDemandSpeedEnum { + return &NullableOnDemandSpeedEnum{value: val, isSet: true} +} + +func (v NullableOnDemandSpeedEnum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOnDemandSpeedEnum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_overrides.go b/v1/providers/launchpad/gen/launchpad/model_overrides.go new file mode 100644 index 00000000..dd09bac3 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_overrides.go @@ -0,0 +1,1884 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" +) + +// checks if the Overrides type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Overrides{} + +// Overrides struct for Overrides +type Overrides struct { + // Override bastion operating system provisioned and/or configured by Liftoff + BastionOperatingSystem NullableString `json:"bastion_operating_system,omitempty"` + // Target a specific cluster for provisioning + Cluster NullableString `json:"cluster,omitempty"` + // Override the Ansible collection branch initialized within the pipeline + CollectionBranch NullableString `json:"collection_branch,omitempty"` + // Override the experience branch + ExperienceBranch NullableString `json:"experience_branch,omitempty"` + // Override the image tag used for Flight Control + FlightcontrolRelease NullableString `json:"flightcontrol_release,omitempty"` + // Require a cluster with nodes in the given garage + GarageId NullableString `json:"garage_id,omitempty"` + // Override the default Ground Control branch + GcBranch NullableString `json:"gc_branch,omitempty"` + // Require a cluster with the given GPU alias + GpuAlias NullableString `json:"gpu_alias,omitempty"` + // Require a cluster with the given number of GPUs + GpuCount *int32 `json:"gpu_count,omitempty"` + // Require a cluster with the given GPU model + GpuModel NullableString `json:"gpu_model,omitempty"` + // Override the GPU node operating system name + GpuOsName NullableString `json:"gpu_os_name,omitempty"` + // Override the GPU node operating system release + GpuOsRelease NullableString `json:"gpu_os_release,omitempty"` + // Override the GPU node operating system version + GpuOsVersion NullableString `json:"gpu_os_version,omitempty"` + // Require a cluster whose GPU count is greater than or equal to the given number + MinGpuCount *int32 `json:"min_gpu_count,omitempty"` + // Require a cluster with the given number of nodes + NodeCount *int32 `json:"node_count,omitempty"` + // Require a cluster manufactured by the given OEM name + OemName NullableString `json:"oem_name,omitempty"` + // Override the default cleanup/destroy behavior when a provisioning failure occurs + PersistOnFailure NullableBool `json:"persist_on_failure,omitempty"` + // Override the defined persona in the experience + Persona NullableString `json:"persona,omitempty"` + // Override the pipeline ID that will be triggered for request fulfillment + Pipeline *int64 `json:"pipeline,omitempty"` + // Override the default pipeline branch ref used when triggering a Fuselage pipeline + PipelineBranch NullableString `json:"pipeline_branch,omitempty"` + Platform NullablePlatformEnum `json:"platform,omitempty"` + // Require a cluster from the given provider name + ProviderName NullableString `json:"provider_name,omitempty"` + // Require a cluster located in the given region + Region NullableString `json:"region,omitempty"` + // Use the presets of the given runtime when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` + // Override the runtime repository branch + RuntimeBranch NullableString `json:"runtime_branch,omitempty"` + // Override the runtime's CNS add-ons flag + RuntimeCnsAddonPack NullableBool `json:"runtime_cns_addon_pack,omitempty"` + // Override the runtime's Docker with CNS flag + RuntimeCnsDocker NullableBool `json:"runtime_cns_docker,omitempty"` + // Override the runtime's GPU driver version + RuntimeCnsDriverVersion NullableString `json:"runtime_cns_driver_version,omitempty"` + // Override the runtime's Kubernetes with CNS flag + RuntimeCnsK8s NullableBool `json:"runtime_cns_k8s,omitempty"` + // Override the runtime's NVIDIA driver with CNS flag + RuntimeCnsNvidiaDriver NullableBool `json:"runtime_cns_nvidia_driver,omitempty"` + // Override the runtime's Cloud Native Stack version + RuntimeCnsVersion NullableString `json:"runtime_cns_version,omitempty"` + // Override the runtime's MIG support with CNS flag + RuntimeMig NullableBool `json:"runtime_mig,omitempty"` + // Override the runtime's MIG profile name + RuntimeMigProfile NullableString `json:"runtime_mig_profile,omitempty"` + // Override the URL of the runtime repository + RuntimeUrl NullableString `json:"runtime_url,omitempty"` + // Require a cluster whose workshop flag is set + Workshop NullableBool `json:"workshop,omitempty"` + // Require a cluster with the given workshop ID + WorkshopId NullableString `json:"workshop_id,omitempty"` + // Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + WorkshopOverridePassword NullableString `json:"workshop_override_password,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _Overrides Overrides + +// NewOverrides instantiates a new Overrides object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewOverrides() *Overrides { + this := Overrides{} + return &this +} + +// NewOverridesWithDefaults instantiates a new Overrides object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOverridesWithDefaults() *Overrides { + this := Overrides{} + return &this +} + +// GetBastionOperatingSystem returns the BastionOperatingSystem field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetBastionOperatingSystem() string { + if o == nil || IsNil(o.BastionOperatingSystem.Get()) { + var ret string + return ret + } + return *o.BastionOperatingSystem.Get() +} + +// GetBastionOperatingSystemOk returns a tuple with the BastionOperatingSystem field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetBastionOperatingSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.BastionOperatingSystem.Get(), o.BastionOperatingSystem.IsSet() +} + +// HasBastionOperatingSystem returns a boolean if a field has been set. +func (o *Overrides) HasBastionOperatingSystem() bool { + if o != nil && o.BastionOperatingSystem.IsSet() { + return true + } + + return false +} + +// SetBastionOperatingSystem gets a reference to the given NullableString and assigns it to the BastionOperatingSystem field. +func (o *Overrides) SetBastionOperatingSystem(v string) { + o.BastionOperatingSystem.Set(&v) +} + +// SetBastionOperatingSystemNil sets the value for BastionOperatingSystem to be an explicit nil +func (o *Overrides) SetBastionOperatingSystemNil() { + o.BastionOperatingSystem.Set(nil) +} + +// UnsetBastionOperatingSystem ensures that no value is present for BastionOperatingSystem, not even an explicit nil +func (o *Overrides) UnsetBastionOperatingSystem() { + o.BastionOperatingSystem.Unset() +} + +// GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetCluster() string { + if o == nil || IsNil(o.Cluster.Get()) { + var ret string + return ret + } + return *o.Cluster.Get() +} + +// GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetClusterOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Cluster.Get(), o.Cluster.IsSet() +} + +// HasCluster returns a boolean if a field has been set. +func (o *Overrides) HasCluster() bool { + if o != nil && o.Cluster.IsSet() { + return true + } + + return false +} + +// SetCluster gets a reference to the given NullableString and assigns it to the Cluster field. +func (o *Overrides) SetCluster(v string) { + o.Cluster.Set(&v) +} + +// SetClusterNil sets the value for Cluster to be an explicit nil +func (o *Overrides) SetClusterNil() { + o.Cluster.Set(nil) +} + +// UnsetCluster ensures that no value is present for Cluster, not even an explicit nil +func (o *Overrides) UnsetCluster() { + o.Cluster.Unset() +} + +// GetCollectionBranch returns the CollectionBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetCollectionBranch() string { + if o == nil || IsNil(o.CollectionBranch.Get()) { + var ret string + return ret + } + return *o.CollectionBranch.Get() +} + +// GetCollectionBranchOk returns a tuple with the CollectionBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetCollectionBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CollectionBranch.Get(), o.CollectionBranch.IsSet() +} + +// HasCollectionBranch returns a boolean if a field has been set. +func (o *Overrides) HasCollectionBranch() bool { + if o != nil && o.CollectionBranch.IsSet() { + return true + } + + return false +} + +// SetCollectionBranch gets a reference to the given NullableString and assigns it to the CollectionBranch field. +func (o *Overrides) SetCollectionBranch(v string) { + o.CollectionBranch.Set(&v) +} + +// SetCollectionBranchNil sets the value for CollectionBranch to be an explicit nil +func (o *Overrides) SetCollectionBranchNil() { + o.CollectionBranch.Set(nil) +} + +// UnsetCollectionBranch ensures that no value is present for CollectionBranch, not even an explicit nil +func (o *Overrides) UnsetCollectionBranch() { + o.CollectionBranch.Unset() +} + +// GetExperienceBranch returns the ExperienceBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetExperienceBranch() string { + if o == nil || IsNil(o.ExperienceBranch.Get()) { + var ret string + return ret + } + return *o.ExperienceBranch.Get() +} + +// GetExperienceBranchOk returns a tuple with the ExperienceBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetExperienceBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExperienceBranch.Get(), o.ExperienceBranch.IsSet() +} + +// HasExperienceBranch returns a boolean if a field has been set. +func (o *Overrides) HasExperienceBranch() bool { + if o != nil && o.ExperienceBranch.IsSet() { + return true + } + + return false +} + +// SetExperienceBranch gets a reference to the given NullableString and assigns it to the ExperienceBranch field. +func (o *Overrides) SetExperienceBranch(v string) { + o.ExperienceBranch.Set(&v) +} + +// SetExperienceBranchNil sets the value for ExperienceBranch to be an explicit nil +func (o *Overrides) SetExperienceBranchNil() { + o.ExperienceBranch.Set(nil) +} + +// UnsetExperienceBranch ensures that no value is present for ExperienceBranch, not even an explicit nil +func (o *Overrides) UnsetExperienceBranch() { + o.ExperienceBranch.Unset() +} + +// GetFlightcontrolRelease returns the FlightcontrolRelease field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetFlightcontrolRelease() string { + if o == nil || IsNil(o.FlightcontrolRelease.Get()) { + var ret string + return ret + } + return *o.FlightcontrolRelease.Get() +} + +// GetFlightcontrolReleaseOk returns a tuple with the FlightcontrolRelease field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetFlightcontrolReleaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FlightcontrolRelease.Get(), o.FlightcontrolRelease.IsSet() +} + +// HasFlightcontrolRelease returns a boolean if a field has been set. +func (o *Overrides) HasFlightcontrolRelease() bool { + if o != nil && o.FlightcontrolRelease.IsSet() { + return true + } + + return false +} + +// SetFlightcontrolRelease gets a reference to the given NullableString and assigns it to the FlightcontrolRelease field. +func (o *Overrides) SetFlightcontrolRelease(v string) { + o.FlightcontrolRelease.Set(&v) +} + +// SetFlightcontrolReleaseNil sets the value for FlightcontrolRelease to be an explicit nil +func (o *Overrides) SetFlightcontrolReleaseNil() { + o.FlightcontrolRelease.Set(nil) +} + +// UnsetFlightcontrolRelease ensures that no value is present for FlightcontrolRelease, not even an explicit nil +func (o *Overrides) UnsetFlightcontrolRelease() { + o.FlightcontrolRelease.Unset() +} + +// GetGarageId returns the GarageId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetGarageId() string { + if o == nil || IsNil(o.GarageId.Get()) { + var ret string + return ret + } + return *o.GarageId.Get() +} + +// GetGarageIdOk returns a tuple with the GarageId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetGarageIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GarageId.Get(), o.GarageId.IsSet() +} + +// HasGarageId returns a boolean if a field has been set. +func (o *Overrides) HasGarageId() bool { + if o != nil && o.GarageId.IsSet() { + return true + } + + return false +} + +// SetGarageId gets a reference to the given NullableString and assigns it to the GarageId field. +func (o *Overrides) SetGarageId(v string) { + o.GarageId.Set(&v) +} + +// SetGarageIdNil sets the value for GarageId to be an explicit nil +func (o *Overrides) SetGarageIdNil() { + o.GarageId.Set(nil) +} + +// UnsetGarageId ensures that no value is present for GarageId, not even an explicit nil +func (o *Overrides) UnsetGarageId() { + o.GarageId.Unset() +} + +// GetGcBranch returns the GcBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetGcBranch() string { + if o == nil || IsNil(o.GcBranch.Get()) { + var ret string + return ret + } + return *o.GcBranch.Get() +} + +// GetGcBranchOk returns a tuple with the GcBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetGcBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GcBranch.Get(), o.GcBranch.IsSet() +} + +// HasGcBranch returns a boolean if a field has been set. +func (o *Overrides) HasGcBranch() bool { + if o != nil && o.GcBranch.IsSet() { + return true + } + + return false +} + +// SetGcBranch gets a reference to the given NullableString and assigns it to the GcBranch field. +func (o *Overrides) SetGcBranch(v string) { + o.GcBranch.Set(&v) +} + +// SetGcBranchNil sets the value for GcBranch to be an explicit nil +func (o *Overrides) SetGcBranchNil() { + o.GcBranch.Set(nil) +} + +// UnsetGcBranch ensures that no value is present for GcBranch, not even an explicit nil +func (o *Overrides) UnsetGcBranch() { + o.GcBranch.Unset() +} + +// GetGpuAlias returns the GpuAlias field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetGpuAlias() string { + if o == nil || IsNil(o.GpuAlias.Get()) { + var ret string + return ret + } + return *o.GpuAlias.Get() +} + +// GetGpuAliasOk returns a tuple with the GpuAlias field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetGpuAliasOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuAlias.Get(), o.GpuAlias.IsSet() +} + +// HasGpuAlias returns a boolean if a field has been set. +func (o *Overrides) HasGpuAlias() bool { + if o != nil && o.GpuAlias.IsSet() { + return true + } + + return false +} + +// SetGpuAlias gets a reference to the given NullableString and assigns it to the GpuAlias field. +func (o *Overrides) SetGpuAlias(v string) { + o.GpuAlias.Set(&v) +} + +// SetGpuAliasNil sets the value for GpuAlias to be an explicit nil +func (o *Overrides) SetGpuAliasNil() { + o.GpuAlias.Set(nil) +} + +// UnsetGpuAlias ensures that no value is present for GpuAlias, not even an explicit nil +func (o *Overrides) UnsetGpuAlias() { + o.GpuAlias.Unset() +} + +// GetGpuCount returns the GpuCount field value if set, zero value otherwise. +func (o *Overrides) GetGpuCount() int32 { + if o == nil || IsNil(o.GpuCount) { + var ret int32 + return ret + } + return *o.GpuCount +} + +// GetGpuCountOk returns a tuple with the GpuCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Overrides) GetGpuCountOk() (*int32, bool) { + if o == nil || IsNil(o.GpuCount) { + return nil, false + } + return o.GpuCount, true +} + +// HasGpuCount returns a boolean if a field has been set. +func (o *Overrides) HasGpuCount() bool { + if o != nil && !IsNil(o.GpuCount) { + return true + } + + return false +} + +// SetGpuCount gets a reference to the given int32 and assigns it to the GpuCount field. +func (o *Overrides) SetGpuCount(v int32) { + o.GpuCount = &v +} + +// GetGpuModel returns the GpuModel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetGpuModel() string { + if o == nil || IsNil(o.GpuModel.Get()) { + var ret string + return ret + } + return *o.GpuModel.Get() +} + +// GetGpuModelOk returns a tuple with the GpuModel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetGpuModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuModel.Get(), o.GpuModel.IsSet() +} + +// HasGpuModel returns a boolean if a field has been set. +func (o *Overrides) HasGpuModel() bool { + if o != nil && o.GpuModel.IsSet() { + return true + } + + return false +} + +// SetGpuModel gets a reference to the given NullableString and assigns it to the GpuModel field. +func (o *Overrides) SetGpuModel(v string) { + o.GpuModel.Set(&v) +} + +// SetGpuModelNil sets the value for GpuModel to be an explicit nil +func (o *Overrides) SetGpuModelNil() { + o.GpuModel.Set(nil) +} + +// UnsetGpuModel ensures that no value is present for GpuModel, not even an explicit nil +func (o *Overrides) UnsetGpuModel() { + o.GpuModel.Unset() +} + +// GetGpuOsName returns the GpuOsName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetGpuOsName() string { + if o == nil || IsNil(o.GpuOsName.Get()) { + var ret string + return ret + } + return *o.GpuOsName.Get() +} + +// GetGpuOsNameOk returns a tuple with the GpuOsName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetGpuOsNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuOsName.Get(), o.GpuOsName.IsSet() +} + +// HasGpuOsName returns a boolean if a field has been set. +func (o *Overrides) HasGpuOsName() bool { + if o != nil && o.GpuOsName.IsSet() { + return true + } + + return false +} + +// SetGpuOsName gets a reference to the given NullableString and assigns it to the GpuOsName field. +func (o *Overrides) SetGpuOsName(v string) { + o.GpuOsName.Set(&v) +} + +// SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil +func (o *Overrides) SetGpuOsNameNil() { + o.GpuOsName.Set(nil) +} + +// UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil +func (o *Overrides) UnsetGpuOsName() { + o.GpuOsName.Unset() +} + +// GetGpuOsRelease returns the GpuOsRelease field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetGpuOsRelease() string { + if o == nil || IsNil(o.GpuOsRelease.Get()) { + var ret string + return ret + } + return *o.GpuOsRelease.Get() +} + +// GetGpuOsReleaseOk returns a tuple with the GpuOsRelease field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetGpuOsReleaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuOsRelease.Get(), o.GpuOsRelease.IsSet() +} + +// HasGpuOsRelease returns a boolean if a field has been set. +func (o *Overrides) HasGpuOsRelease() bool { + if o != nil && o.GpuOsRelease.IsSet() { + return true + } + + return false +} + +// SetGpuOsRelease gets a reference to the given NullableString and assigns it to the GpuOsRelease field. +func (o *Overrides) SetGpuOsRelease(v string) { + o.GpuOsRelease.Set(&v) +} + +// SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil +func (o *Overrides) SetGpuOsReleaseNil() { + o.GpuOsRelease.Set(nil) +} + +// UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil +func (o *Overrides) UnsetGpuOsRelease() { + o.GpuOsRelease.Unset() +} + +// GetGpuOsVersion returns the GpuOsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetGpuOsVersion() string { + if o == nil || IsNil(o.GpuOsVersion.Get()) { + var ret string + return ret + } + return *o.GpuOsVersion.Get() +} + +// GetGpuOsVersionOk returns a tuple with the GpuOsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetGpuOsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuOsVersion.Get(), o.GpuOsVersion.IsSet() +} + +// HasGpuOsVersion returns a boolean if a field has been set. +func (o *Overrides) HasGpuOsVersion() bool { + if o != nil && o.GpuOsVersion.IsSet() { + return true + } + + return false +} + +// SetGpuOsVersion gets a reference to the given NullableString and assigns it to the GpuOsVersion field. +func (o *Overrides) SetGpuOsVersion(v string) { + o.GpuOsVersion.Set(&v) +} + +// SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil +func (o *Overrides) SetGpuOsVersionNil() { + o.GpuOsVersion.Set(nil) +} + +// UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil +func (o *Overrides) UnsetGpuOsVersion() { + o.GpuOsVersion.Unset() +} + +// GetMinGpuCount returns the MinGpuCount field value if set, zero value otherwise. +func (o *Overrides) GetMinGpuCount() int32 { + if o == nil || IsNil(o.MinGpuCount) { + var ret int32 + return ret + } + return *o.MinGpuCount +} + +// GetMinGpuCountOk returns a tuple with the MinGpuCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Overrides) GetMinGpuCountOk() (*int32, bool) { + if o == nil || IsNil(o.MinGpuCount) { + return nil, false + } + return o.MinGpuCount, true +} + +// HasMinGpuCount returns a boolean if a field has been set. +func (o *Overrides) HasMinGpuCount() bool { + if o != nil && !IsNil(o.MinGpuCount) { + return true + } + + return false +} + +// SetMinGpuCount gets a reference to the given int32 and assigns it to the MinGpuCount field. +func (o *Overrides) SetMinGpuCount(v int32) { + o.MinGpuCount = &v +} + +// GetNodeCount returns the NodeCount field value if set, zero value otherwise. +func (o *Overrides) GetNodeCount() int32 { + if o == nil || IsNil(o.NodeCount) { + var ret int32 + return ret + } + return *o.NodeCount +} + +// GetNodeCountOk returns a tuple with the NodeCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Overrides) GetNodeCountOk() (*int32, bool) { + if o == nil || IsNil(o.NodeCount) { + return nil, false + } + return o.NodeCount, true +} + +// HasNodeCount returns a boolean if a field has been set. +func (o *Overrides) HasNodeCount() bool { + if o != nil && !IsNil(o.NodeCount) { + return true + } + + return false +} + +// SetNodeCount gets a reference to the given int32 and assigns it to the NodeCount field. +func (o *Overrides) SetNodeCount(v int32) { + o.NodeCount = &v +} + +// GetOemName returns the OemName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetOemName() string { + if o == nil || IsNil(o.OemName.Get()) { + var ret string + return ret + } + return *o.OemName.Get() +} + +// GetOemNameOk returns a tuple with the OemName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetOemNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OemName.Get(), o.OemName.IsSet() +} + +// HasOemName returns a boolean if a field has been set. +func (o *Overrides) HasOemName() bool { + if o != nil && o.OemName.IsSet() { + return true + } + + return false +} + +// SetOemName gets a reference to the given NullableString and assigns it to the OemName field. +func (o *Overrides) SetOemName(v string) { + o.OemName.Set(&v) +} + +// SetOemNameNil sets the value for OemName to be an explicit nil +func (o *Overrides) SetOemNameNil() { + o.OemName.Set(nil) +} + +// UnsetOemName ensures that no value is present for OemName, not even an explicit nil +func (o *Overrides) UnsetOemName() { + o.OemName.Unset() +} + +// GetPersistOnFailure returns the PersistOnFailure field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetPersistOnFailure() bool { + if o == nil || IsNil(o.PersistOnFailure.Get()) { + var ret bool + return ret + } + return *o.PersistOnFailure.Get() +} + +// GetPersistOnFailureOk returns a tuple with the PersistOnFailure field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetPersistOnFailureOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.PersistOnFailure.Get(), o.PersistOnFailure.IsSet() +} + +// HasPersistOnFailure returns a boolean if a field has been set. +func (o *Overrides) HasPersistOnFailure() bool { + if o != nil && o.PersistOnFailure.IsSet() { + return true + } + + return false +} + +// SetPersistOnFailure gets a reference to the given NullableBool and assigns it to the PersistOnFailure field. +func (o *Overrides) SetPersistOnFailure(v bool) { + o.PersistOnFailure.Set(&v) +} + +// SetPersistOnFailureNil sets the value for PersistOnFailure to be an explicit nil +func (o *Overrides) SetPersistOnFailureNil() { + o.PersistOnFailure.Set(nil) +} + +// UnsetPersistOnFailure ensures that no value is present for PersistOnFailure, not even an explicit nil +func (o *Overrides) UnsetPersistOnFailure() { + o.PersistOnFailure.Unset() +} + +// GetPersona returns the Persona field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetPersona() string { + if o == nil || IsNil(o.Persona.Get()) { + var ret string + return ret + } + return *o.Persona.Get() +} + +// GetPersonaOk returns a tuple with the Persona field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetPersonaOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Persona.Get(), o.Persona.IsSet() +} + +// HasPersona returns a boolean if a field has been set. +func (o *Overrides) HasPersona() bool { + if o != nil && o.Persona.IsSet() { + return true + } + + return false +} + +// SetPersona gets a reference to the given NullableString and assigns it to the Persona field. +func (o *Overrides) SetPersona(v string) { + o.Persona.Set(&v) +} + +// SetPersonaNil sets the value for Persona to be an explicit nil +func (o *Overrides) SetPersonaNil() { + o.Persona.Set(nil) +} + +// UnsetPersona ensures that no value is present for Persona, not even an explicit nil +func (o *Overrides) UnsetPersona() { + o.Persona.Unset() +} + +// GetPipeline returns the Pipeline field value if set, zero value otherwise. +func (o *Overrides) GetPipeline() int64 { + if o == nil || IsNil(o.Pipeline) { + var ret int64 + return ret + } + return *o.Pipeline +} + +// GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Overrides) GetPipelineOk() (*int64, bool) { + if o == nil || IsNil(o.Pipeline) { + return nil, false + } + return o.Pipeline, true +} + +// HasPipeline returns a boolean if a field has been set. +func (o *Overrides) HasPipeline() bool { + if o != nil && !IsNil(o.Pipeline) { + return true + } + + return false +} + +// SetPipeline gets a reference to the given int64 and assigns it to the Pipeline field. +func (o *Overrides) SetPipeline(v int64) { + o.Pipeline = &v +} + +// GetPipelineBranch returns the PipelineBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetPipelineBranch() string { + if o == nil || IsNil(o.PipelineBranch.Get()) { + var ret string + return ret + } + return *o.PipelineBranch.Get() +} + +// GetPipelineBranchOk returns a tuple with the PipelineBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetPipelineBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PipelineBranch.Get(), o.PipelineBranch.IsSet() +} + +// HasPipelineBranch returns a boolean if a field has been set. +func (o *Overrides) HasPipelineBranch() bool { + if o != nil && o.PipelineBranch.IsSet() { + return true + } + + return false +} + +// SetPipelineBranch gets a reference to the given NullableString and assigns it to the PipelineBranch field. +func (o *Overrides) SetPipelineBranch(v string) { + o.PipelineBranch.Set(&v) +} + +// SetPipelineBranchNil sets the value for PipelineBranch to be an explicit nil +func (o *Overrides) SetPipelineBranchNil() { + o.PipelineBranch.Set(nil) +} + +// UnsetPipelineBranch ensures that no value is present for PipelineBranch, not even an explicit nil +func (o *Overrides) UnsetPipelineBranch() { + o.PipelineBranch.Unset() +} + +// GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetPlatform() PlatformEnum { + if o == nil || IsNil(o.Platform.Get()) { + var ret PlatformEnum + return ret + } + return *o.Platform.Get() +} + +// GetPlatformOk returns a tuple with the Platform field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetPlatformOk() (*PlatformEnum, bool) { + if o == nil { + return nil, false + } + return o.Platform.Get(), o.Platform.IsSet() +} + +// HasPlatform returns a boolean if a field has been set. +func (o *Overrides) HasPlatform() bool { + if o != nil && o.Platform.IsSet() { + return true + } + + return false +} + +// SetPlatform gets a reference to the given NullablePlatformEnum and assigns it to the Platform field. +func (o *Overrides) SetPlatform(v PlatformEnum) { + o.Platform.Set(&v) +} + +// SetPlatformNil sets the value for Platform to be an explicit nil +func (o *Overrides) SetPlatformNil() { + o.Platform.Set(nil) +} + +// UnsetPlatform ensures that no value is present for Platform, not even an explicit nil +func (o *Overrides) UnsetPlatform() { + o.Platform.Unset() +} + +// GetProviderName returns the ProviderName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetProviderName() string { + if o == nil || IsNil(o.ProviderName.Get()) { + var ret string + return ret + } + return *o.ProviderName.Get() +} + +// GetProviderNameOk returns a tuple with the ProviderName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetProviderNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProviderName.Get(), o.ProviderName.IsSet() +} + +// HasProviderName returns a boolean if a field has been set. +func (o *Overrides) HasProviderName() bool { + if o != nil && o.ProviderName.IsSet() { + return true + } + + return false +} + +// SetProviderName gets a reference to the given NullableString and assigns it to the ProviderName field. +func (o *Overrides) SetProviderName(v string) { + o.ProviderName.Set(&v) +} + +// SetProviderNameNil sets the value for ProviderName to be an explicit nil +func (o *Overrides) SetProviderNameNil() { + o.ProviderName.Set(nil) +} + +// UnsetProviderName ensures that no value is present for ProviderName, not even an explicit nil +func (o *Overrides) UnsetProviderName() { + o.ProviderName.Unset() +} + +// GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRegion() string { + if o == nil || IsNil(o.Region.Get()) { + var ret string + return ret + } + return *o.Region.Get() +} + +// GetRegionOk returns a tuple with the Region field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRegionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Region.Get(), o.Region.IsSet() +} + +// HasRegion returns a boolean if a field has been set. +func (o *Overrides) HasRegion() bool { + if o != nil && o.Region.IsSet() { + return true + } + + return false +} + +// SetRegion gets a reference to the given NullableString and assigns it to the Region field. +func (o *Overrides) SetRegion(v string) { + o.Region.Set(&v) +} + +// SetRegionNil sets the value for Region to be an explicit nil +func (o *Overrides) SetRegionNil() { + o.Region.Set(nil) +} + +// UnsetRegion ensures that no value is present for Region, not even an explicit nil +func (o *Overrides) UnsetRegion() { + o.Region.Unset() +} + +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *Overrides) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *Overrides) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *Overrides) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *Overrides) UnsetRuntime() { + o.Runtime.Unset() +} + +// GetRuntimeBranch returns the RuntimeBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeBranch() string { + if o == nil || IsNil(o.RuntimeBranch.Get()) { + var ret string + return ret + } + return *o.RuntimeBranch.Get() +} + +// GetRuntimeBranchOk returns a tuple with the RuntimeBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeBranch.Get(), o.RuntimeBranch.IsSet() +} + +// HasRuntimeBranch returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeBranch() bool { + if o != nil && o.RuntimeBranch.IsSet() { + return true + } + + return false +} + +// SetRuntimeBranch gets a reference to the given NullableString and assigns it to the RuntimeBranch field. +func (o *Overrides) SetRuntimeBranch(v string) { + o.RuntimeBranch.Set(&v) +} + +// SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil +func (o *Overrides) SetRuntimeBranchNil() { + o.RuntimeBranch.Set(nil) +} + +// UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +func (o *Overrides) UnsetRuntimeBranch() { + o.RuntimeBranch.Unset() +} + +// GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeCnsAddonPack() bool { + if o == nil || IsNil(o.RuntimeCnsAddonPack.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsAddonPack.Get() +} + +// GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeCnsAddonPackOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsAddonPack.Get(), o.RuntimeCnsAddonPack.IsSet() +} + +// HasRuntimeCnsAddonPack returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeCnsAddonPack() bool { + if o != nil && o.RuntimeCnsAddonPack.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsAddonPack gets a reference to the given NullableBool and assigns it to the RuntimeCnsAddonPack field. +func (o *Overrides) SetRuntimeCnsAddonPack(v bool) { + o.RuntimeCnsAddonPack.Set(&v) +} + +// SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil +func (o *Overrides) SetRuntimeCnsAddonPackNil() { + o.RuntimeCnsAddonPack.Set(nil) +} + +// UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +func (o *Overrides) UnsetRuntimeCnsAddonPack() { + o.RuntimeCnsAddonPack.Unset() +} + +// GetRuntimeCnsDocker returns the RuntimeCnsDocker field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeCnsDocker() bool { + if o == nil || IsNil(o.RuntimeCnsDocker.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsDocker.Get() +} + +// GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeCnsDockerOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDocker.Get(), o.RuntimeCnsDocker.IsSet() +} + +// HasRuntimeCnsDocker returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeCnsDocker() bool { + if o != nil && o.RuntimeCnsDocker.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDocker gets a reference to the given NullableBool and assigns it to the RuntimeCnsDocker field. +func (o *Overrides) SetRuntimeCnsDocker(v bool) { + o.RuntimeCnsDocker.Set(&v) +} + +// SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil +func (o *Overrides) SetRuntimeCnsDockerNil() { + o.RuntimeCnsDocker.Set(nil) +} + +// UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +func (o *Overrides) UnsetRuntimeCnsDocker() { + o.RuntimeCnsDocker.Unset() +} + +// GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeCnsDriverVersion() string { + if o == nil || IsNil(o.RuntimeCnsDriverVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsDriverVersion.Get() +} + +// GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeCnsDriverVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDriverVersion.Get(), o.RuntimeCnsDriverVersion.IsSet() +} + +// HasRuntimeCnsDriverVersion returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeCnsDriverVersion() bool { + if o != nil && o.RuntimeCnsDriverVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDriverVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsDriverVersion field. +func (o *Overrides) SetRuntimeCnsDriverVersion(v string) { + o.RuntimeCnsDriverVersion.Set(&v) +} + +// SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil +func (o *Overrides) SetRuntimeCnsDriverVersionNil() { + o.RuntimeCnsDriverVersion.Set(nil) +} + +// UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +func (o *Overrides) UnsetRuntimeCnsDriverVersion() { + o.RuntimeCnsDriverVersion.Unset() +} + +// GetRuntimeCnsK8s returns the RuntimeCnsK8s field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeCnsK8s() bool { + if o == nil || IsNil(o.RuntimeCnsK8s.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsK8s.Get() +} + +// GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeCnsK8sOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsK8s.Get(), o.RuntimeCnsK8s.IsSet() +} + +// HasRuntimeCnsK8s returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeCnsK8s() bool { + if o != nil && o.RuntimeCnsK8s.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsK8s gets a reference to the given NullableBool and assigns it to the RuntimeCnsK8s field. +func (o *Overrides) SetRuntimeCnsK8s(v bool) { + o.RuntimeCnsK8s.Set(&v) +} + +// SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil +func (o *Overrides) SetRuntimeCnsK8sNil() { + o.RuntimeCnsK8s.Set(nil) +} + +// UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +func (o *Overrides) UnsetRuntimeCnsK8s() { + o.RuntimeCnsK8s.Unset() +} + +// GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeCnsNvidiaDriver() bool { + if o == nil || IsNil(o.RuntimeCnsNvidiaDriver.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsNvidiaDriver.Get() +} + +// GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeCnsNvidiaDriverOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsNvidiaDriver.Get(), o.RuntimeCnsNvidiaDriver.IsSet() +} + +// HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeCnsNvidiaDriver() bool { + if o != nil && o.RuntimeCnsNvidiaDriver.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsNvidiaDriver gets a reference to the given NullableBool and assigns it to the RuntimeCnsNvidiaDriver field. +func (o *Overrides) SetRuntimeCnsNvidiaDriver(v bool) { + o.RuntimeCnsNvidiaDriver.Set(&v) +} + +// SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil +func (o *Overrides) SetRuntimeCnsNvidiaDriverNil() { + o.RuntimeCnsNvidiaDriver.Set(nil) +} + +// UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +func (o *Overrides) UnsetRuntimeCnsNvidiaDriver() { + o.RuntimeCnsNvidiaDriver.Unset() +} + +// GetRuntimeCnsVersion returns the RuntimeCnsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeCnsVersion() string { + if o == nil || IsNil(o.RuntimeCnsVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsVersion.Get() +} + +// GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeCnsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsVersion.Get(), o.RuntimeCnsVersion.IsSet() +} + +// HasRuntimeCnsVersion returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeCnsVersion() bool { + if o != nil && o.RuntimeCnsVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsVersion field. +func (o *Overrides) SetRuntimeCnsVersion(v string) { + o.RuntimeCnsVersion.Set(&v) +} + +// SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil +func (o *Overrides) SetRuntimeCnsVersionNil() { + o.RuntimeCnsVersion.Set(nil) +} + +// UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +func (o *Overrides) UnsetRuntimeCnsVersion() { + o.RuntimeCnsVersion.Unset() +} + +// GetRuntimeMig returns the RuntimeMig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeMig() bool { + if o == nil || IsNil(o.RuntimeMig.Get()) { + var ret bool + return ret + } + return *o.RuntimeMig.Get() +} + +// GetRuntimeMigOk returns a tuple with the RuntimeMig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeMigOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMig.Get(), o.RuntimeMig.IsSet() +} + +// HasRuntimeMig returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeMig() bool { + if o != nil && o.RuntimeMig.IsSet() { + return true + } + + return false +} + +// SetRuntimeMig gets a reference to the given NullableBool and assigns it to the RuntimeMig field. +func (o *Overrides) SetRuntimeMig(v bool) { + o.RuntimeMig.Set(&v) +} + +// SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil +func (o *Overrides) SetRuntimeMigNil() { + o.RuntimeMig.Set(nil) +} + +// UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +func (o *Overrides) UnsetRuntimeMig() { + o.RuntimeMig.Unset() +} + +// GetRuntimeMigProfile returns the RuntimeMigProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeMigProfile() string { + if o == nil || IsNil(o.RuntimeMigProfile.Get()) { + var ret string + return ret + } + return *o.RuntimeMigProfile.Get() +} + +// GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeMigProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMigProfile.Get(), o.RuntimeMigProfile.IsSet() +} + +// HasRuntimeMigProfile returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeMigProfile() bool { + if o != nil && o.RuntimeMigProfile.IsSet() { + return true + } + + return false +} + +// SetRuntimeMigProfile gets a reference to the given NullableString and assigns it to the RuntimeMigProfile field. +func (o *Overrides) SetRuntimeMigProfile(v string) { + o.RuntimeMigProfile.Set(&v) +} + +// SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil +func (o *Overrides) SetRuntimeMigProfileNil() { + o.RuntimeMigProfile.Set(nil) +} + +// UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +func (o *Overrides) UnsetRuntimeMigProfile() { + o.RuntimeMigProfile.Unset() +} + +// GetRuntimeUrl returns the RuntimeUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetRuntimeUrl() string { + if o == nil || IsNil(o.RuntimeUrl.Get()) { + var ret string + return ret + } + return *o.RuntimeUrl.Get() +} + +// GetRuntimeUrlOk returns a tuple with the RuntimeUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetRuntimeUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeUrl.Get(), o.RuntimeUrl.IsSet() +} + +// HasRuntimeUrl returns a boolean if a field has been set. +func (o *Overrides) HasRuntimeUrl() bool { + if o != nil && o.RuntimeUrl.IsSet() { + return true + } + + return false +} + +// SetRuntimeUrl gets a reference to the given NullableString and assigns it to the RuntimeUrl field. +func (o *Overrides) SetRuntimeUrl(v string) { + o.RuntimeUrl.Set(&v) +} + +// SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil +func (o *Overrides) SetRuntimeUrlNil() { + o.RuntimeUrl.Set(nil) +} + +// UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +func (o *Overrides) UnsetRuntimeUrl() { + o.RuntimeUrl.Unset() +} + +// GetWorkshop returns the Workshop field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetWorkshop() bool { + if o == nil || IsNil(o.Workshop.Get()) { + var ret bool + return ret + } + return *o.Workshop.Get() +} + +// GetWorkshopOk returns a tuple with the Workshop field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetWorkshopOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.Workshop.Get(), o.Workshop.IsSet() +} + +// HasWorkshop returns a boolean if a field has been set. +func (o *Overrides) HasWorkshop() bool { + if o != nil && o.Workshop.IsSet() { + return true + } + + return false +} + +// SetWorkshop gets a reference to the given NullableBool and assigns it to the Workshop field. +func (o *Overrides) SetWorkshop(v bool) { + o.Workshop.Set(&v) +} + +// SetWorkshopNil sets the value for Workshop to be an explicit nil +func (o *Overrides) SetWorkshopNil() { + o.Workshop.Set(nil) +} + +// UnsetWorkshop ensures that no value is present for Workshop, not even an explicit nil +func (o *Overrides) UnsetWorkshop() { + o.Workshop.Unset() +} + +// GetWorkshopId returns the WorkshopId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetWorkshopId() string { + if o == nil || IsNil(o.WorkshopId.Get()) { + var ret string + return ret + } + return *o.WorkshopId.Get() +} + +// GetWorkshopIdOk returns a tuple with the WorkshopId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetWorkshopIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.WorkshopId.Get(), o.WorkshopId.IsSet() +} + +// HasWorkshopId returns a boolean if a field has been set. +func (o *Overrides) HasWorkshopId() bool { + if o != nil && o.WorkshopId.IsSet() { + return true + } + + return false +} + +// SetWorkshopId gets a reference to the given NullableString and assigns it to the WorkshopId field. +func (o *Overrides) SetWorkshopId(v string) { + o.WorkshopId.Set(&v) +} + +// SetWorkshopIdNil sets the value for WorkshopId to be an explicit nil +func (o *Overrides) SetWorkshopIdNil() { + o.WorkshopId.Set(nil) +} + +// UnsetWorkshopId ensures that no value is present for WorkshopId, not even an explicit nil +func (o *Overrides) UnsetWorkshopId() { + o.WorkshopId.Unset() +} + +// GetWorkshopOverridePassword returns the WorkshopOverridePassword field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Overrides) GetWorkshopOverridePassword() string { + if o == nil || IsNil(o.WorkshopOverridePassword.Get()) { + var ret string + return ret + } + return *o.WorkshopOverridePassword.Get() +} + +// GetWorkshopOverridePasswordOk returns a tuple with the WorkshopOverridePassword field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Overrides) GetWorkshopOverridePasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.WorkshopOverridePassword.Get(), o.WorkshopOverridePassword.IsSet() +} + +// HasWorkshopOverridePassword returns a boolean if a field has been set. +func (o *Overrides) HasWorkshopOverridePassword() bool { + if o != nil && o.WorkshopOverridePassword.IsSet() { + return true + } + + return false +} + +// SetWorkshopOverridePassword gets a reference to the given NullableString and assigns it to the WorkshopOverridePassword field. +func (o *Overrides) SetWorkshopOverridePassword(v string) { + o.WorkshopOverridePassword.Set(&v) +} + +// SetWorkshopOverridePasswordNil sets the value for WorkshopOverridePassword to be an explicit nil +func (o *Overrides) SetWorkshopOverridePasswordNil() { + o.WorkshopOverridePassword.Set(nil) +} + +// UnsetWorkshopOverridePassword ensures that no value is present for WorkshopOverridePassword, not even an explicit nil +func (o *Overrides) UnsetWorkshopOverridePassword() { + o.WorkshopOverridePassword.Unset() +} + +func (o Overrides) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Overrides) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.BastionOperatingSystem.IsSet() { + toSerialize["bastion_operating_system"] = o.BastionOperatingSystem.Get() + } + if o.Cluster.IsSet() { + toSerialize["cluster"] = o.Cluster.Get() + } + if o.CollectionBranch.IsSet() { + toSerialize["collection_branch"] = o.CollectionBranch.Get() + } + if o.ExperienceBranch.IsSet() { + toSerialize["experience_branch"] = o.ExperienceBranch.Get() + } + if o.FlightcontrolRelease.IsSet() { + toSerialize["flightcontrol_release"] = o.FlightcontrolRelease.Get() + } + if o.GarageId.IsSet() { + toSerialize["garage_id"] = o.GarageId.Get() + } + if o.GcBranch.IsSet() { + toSerialize["gc_branch"] = o.GcBranch.Get() + } + if o.GpuAlias.IsSet() { + toSerialize["gpu_alias"] = o.GpuAlias.Get() + } + if !IsNil(o.GpuCount) { + toSerialize["gpu_count"] = o.GpuCount + } + if o.GpuModel.IsSet() { + toSerialize["gpu_model"] = o.GpuModel.Get() + } + if o.GpuOsName.IsSet() { + toSerialize["gpu_os_name"] = o.GpuOsName.Get() + } + if o.GpuOsRelease.IsSet() { + toSerialize["gpu_os_release"] = o.GpuOsRelease.Get() + } + if o.GpuOsVersion.IsSet() { + toSerialize["gpu_os_version"] = o.GpuOsVersion.Get() + } + if !IsNil(o.MinGpuCount) { + toSerialize["min_gpu_count"] = o.MinGpuCount + } + if !IsNil(o.NodeCount) { + toSerialize["node_count"] = o.NodeCount + } + if o.OemName.IsSet() { + toSerialize["oem_name"] = o.OemName.Get() + } + if o.PersistOnFailure.IsSet() { + toSerialize["persist_on_failure"] = o.PersistOnFailure.Get() + } + if o.Persona.IsSet() { + toSerialize["persona"] = o.Persona.Get() + } + if !IsNil(o.Pipeline) { + toSerialize["pipeline"] = o.Pipeline + } + if o.PipelineBranch.IsSet() { + toSerialize["pipeline_branch"] = o.PipelineBranch.Get() + } + if o.Platform.IsSet() { + toSerialize["platform"] = o.Platform.Get() + } + if o.ProviderName.IsSet() { + toSerialize["provider_name"] = o.ProviderName.Get() + } + if o.Region.IsSet() { + toSerialize["region"] = o.Region.Get() + } + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } + if o.RuntimeBranch.IsSet() { + toSerialize["runtime_branch"] = o.RuntimeBranch.Get() + } + if o.RuntimeCnsAddonPack.IsSet() { + toSerialize["runtime_cns_addon_pack"] = o.RuntimeCnsAddonPack.Get() + } + if o.RuntimeCnsDocker.IsSet() { + toSerialize["runtime_cns_docker"] = o.RuntimeCnsDocker.Get() + } + if o.RuntimeCnsDriverVersion.IsSet() { + toSerialize["runtime_cns_driver_version"] = o.RuntimeCnsDriverVersion.Get() + } + if o.RuntimeCnsK8s.IsSet() { + toSerialize["runtime_cns_k8s"] = o.RuntimeCnsK8s.Get() + } + if o.RuntimeCnsNvidiaDriver.IsSet() { + toSerialize["runtime_cns_nvidia_driver"] = o.RuntimeCnsNvidiaDriver.Get() + } + if o.RuntimeCnsVersion.IsSet() { + toSerialize["runtime_cns_version"] = o.RuntimeCnsVersion.Get() + } + if o.RuntimeMig.IsSet() { + toSerialize["runtime_mig"] = o.RuntimeMig.Get() + } + if o.RuntimeMigProfile.IsSet() { + toSerialize["runtime_mig_profile"] = o.RuntimeMigProfile.Get() + } + if o.RuntimeUrl.IsSet() { + toSerialize["runtime_url"] = o.RuntimeUrl.Get() + } + if o.Workshop.IsSet() { + toSerialize["workshop"] = o.Workshop.Get() + } + if o.WorkshopId.IsSet() { + toSerialize["workshop_id"] = o.WorkshopId.Get() + } + if o.WorkshopOverridePassword.IsSet() { + toSerialize["workshop_override_password"] = o.WorkshopOverridePassword.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Overrides) UnmarshalJSON(data []byte) (err error) { + varOverrides := _Overrides{} + + err = json.Unmarshal(data, &varOverrides) + + if err != nil { + return err + } + + *o = Overrides(varOverrides) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "bastion_operating_system") + delete(additionalProperties, "cluster") + delete(additionalProperties, "collection_branch") + delete(additionalProperties, "experience_branch") + delete(additionalProperties, "flightcontrol_release") + delete(additionalProperties, "garage_id") + delete(additionalProperties, "gc_branch") + delete(additionalProperties, "gpu_alias") + delete(additionalProperties, "gpu_count") + delete(additionalProperties, "gpu_model") + delete(additionalProperties, "gpu_os_name") + delete(additionalProperties, "gpu_os_release") + delete(additionalProperties, "gpu_os_version") + delete(additionalProperties, "min_gpu_count") + delete(additionalProperties, "node_count") + delete(additionalProperties, "oem_name") + delete(additionalProperties, "persist_on_failure") + delete(additionalProperties, "persona") + delete(additionalProperties, "pipeline") + delete(additionalProperties, "pipeline_branch") + delete(additionalProperties, "platform") + delete(additionalProperties, "provider_name") + delete(additionalProperties, "region") + delete(additionalProperties, "runtime") + delete(additionalProperties, "runtime_branch") + delete(additionalProperties, "runtime_cns_addon_pack") + delete(additionalProperties, "runtime_cns_docker") + delete(additionalProperties, "runtime_cns_driver_version") + delete(additionalProperties, "runtime_cns_k8s") + delete(additionalProperties, "runtime_cns_nvidia_driver") + delete(additionalProperties, "runtime_cns_version") + delete(additionalProperties, "runtime_mig") + delete(additionalProperties, "runtime_mig_profile") + delete(additionalProperties, "runtime_url") + delete(additionalProperties, "workshop") + delete(additionalProperties, "workshop_id") + delete(additionalProperties, "workshop_override_password") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableOverrides struct { + value *Overrides + isSet bool +} + +func (v NullableOverrides) Get() *Overrides { + return v.value +} + +func (v *NullableOverrides) Set(val *Overrides) { + v.value = val + v.isSet = true +} + +func (v NullableOverrides) IsSet() bool { + return v.isSet +} + +func (v *NullableOverrides) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOverrides(val *Overrides) *NullableOverrides { + return &NullableOverrides{value: val, isSet: true} +} + +func (v NullableOverrides) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOverrides) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_cluster_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_cluster_list.go index c1ee65a2..8e9eab98 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_cluster_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_cluster_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_instance_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_instance_list.go index c19222e7..49207193 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_instance_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_instance_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_key_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_key_list.go index 37d225a6..fe724311 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_key_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_key_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_list.go index 1d8bd07f..4f9d788d 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_note_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_note_list.go index 148a460a..7f4582b3 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_note_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_note_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_pipeline_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_pipeline_list.go index 693d3068..35649f60 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_pipeline_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_pipeline_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_service_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_service_list.go index 0667ff26..a53b1f7f 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_service_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_service_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_task_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_task_list.go index 7e7874cf..8055298c 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_task_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_deployment_task_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_experience_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_experience_list.go index 2def0482..7ac34bc8 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_experience_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_experience_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_experience_note_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_experience_note_list.go index 0d7454ad..fb4e46a0 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_experience_note_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_experience_note_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_list.go index 3dd5bf4e..e61f3193 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_os_choice_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_os_choice_list.go index a0e51114..897b7180 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_os_choice_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_gpu_os_choice_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_instance_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_instance_list.go index b119c8a6..2ec75718 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_instance_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_instance_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_instance_type_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_instance_type_list.go index aee1a0e3..e0ce800e 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_instance_type_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_instance_type_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_location_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_location_list.go index 93c8b5c9..809b1da6 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_location_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_location_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_model_change_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_model_change_list.go index 7a382558..2109abdb 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_model_change_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_model_change_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_node_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_node_list.go index 82bafaa0..dc8de3c9 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_node_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_node_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_oem_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_oem_list.go index 35863a00..81190607 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_oem_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_oem_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_persona_choice_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_persona_choice_list.go index 8071561c..843d781c 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_persona_choice_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_persona_choice_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_provider_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_provider_list.go index 20652750..7c32030b 100644 --- a/v1/providers/launchpad/gen/launchpad/model_paginated_provider_list.go +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_provider_list.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_paginated_runtime_list.go b/v1/providers/launchpad/gen/launchpad/model_paginated_runtime_list.go new file mode 100644 index 00000000..f3eb20f4 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_paginated_runtime_list.go @@ -0,0 +1,269 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" + "fmt" +) + +// checks if the PaginatedRuntimeList type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PaginatedRuntimeList{} + +// PaginatedRuntimeList struct for PaginatedRuntimeList +type PaginatedRuntimeList struct { + Count int32 `json:"count"` + Next *string `json:"next,omitempty"` + Previous *string `json:"previous,omitempty"` + Results []Runtime `json:"results"` + AdditionalProperties map[string]interface{} +} + +type _PaginatedRuntimeList PaginatedRuntimeList + +// NewPaginatedRuntimeList instantiates a new PaginatedRuntimeList object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedRuntimeList(count int32, results []Runtime) *PaginatedRuntimeList { + this := PaginatedRuntimeList{} + this.Count = count + this.Results = results + return &this +} + +// NewPaginatedRuntimeListWithDefaults instantiates a new PaginatedRuntimeList object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPaginatedRuntimeListWithDefaults() *PaginatedRuntimeList { + this := PaginatedRuntimeList{} + return &this +} + +// GetCount returns the Count field value +func (o *PaginatedRuntimeList) GetCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.Count +} + +// GetCountOk returns a tuple with the Count field value +// and a boolean to check if the value has been set. +func (o *PaginatedRuntimeList) GetCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.Count, true +} + +// SetCount sets field value +func (o *PaginatedRuntimeList) SetCount(v int32) { + o.Count = v +} + +// GetNext returns the Next field value if set, zero value otherwise. +func (o *PaginatedRuntimeList) GetNext() string { + if o == nil || IsNil(o.Next) { + var ret string + return ret + } + return *o.Next +} + +// GetNextOk returns a tuple with the Next field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaginatedRuntimeList) GetNextOk() (*string, bool) { + if o == nil || IsNil(o.Next) { + return nil, false + } + return o.Next, true +} + +// HasNext returns a boolean if a field has been set. +func (o *PaginatedRuntimeList) HasNext() bool { + if o != nil && !IsNil(o.Next) { + return true + } + + return false +} + +// SetNext gets a reference to the given string and assigns it to the Next field. +func (o *PaginatedRuntimeList) SetNext(v string) { + o.Next = &v +} + +// GetPrevious returns the Previous field value if set, zero value otherwise. +func (o *PaginatedRuntimeList) GetPrevious() string { + if o == nil || IsNil(o.Previous) { + var ret string + return ret + } + return *o.Previous +} + +// GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaginatedRuntimeList) GetPreviousOk() (*string, bool) { + if o == nil || IsNil(o.Previous) { + return nil, false + } + return o.Previous, true +} + +// HasPrevious returns a boolean if a field has been set. +func (o *PaginatedRuntimeList) HasPrevious() bool { + if o != nil && !IsNil(o.Previous) { + return true + } + + return false +} + +// SetPrevious gets a reference to the given string and assigns it to the Previous field. +func (o *PaginatedRuntimeList) SetPrevious(v string) { + o.Previous = &v +} + +// GetResults returns the Results field value +func (o *PaginatedRuntimeList) GetResults() []Runtime { + if o == nil { + var ret []Runtime + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *PaginatedRuntimeList) GetResultsOk() ([]Runtime, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *PaginatedRuntimeList) SetResults(v []Runtime) { + o.Results = v +} + +func (o PaginatedRuntimeList) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PaginatedRuntimeList) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["count"] = o.Count + if !IsNil(o.Next) { + toSerialize["next"] = o.Next + } + if !IsNil(o.Previous) { + toSerialize["previous"] = o.Previous + } + toSerialize["results"] = o.Results + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PaginatedRuntimeList) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "count", + "results", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varPaginatedRuntimeList := _PaginatedRuntimeList{} + + err = json.Unmarshal(data, &varPaginatedRuntimeList) + + if err != nil { + return err + } + + *o = PaginatedRuntimeList(varPaginatedRuntimeList) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "count") + delete(additionalProperties, "next") + delete(additionalProperties, "previous") + delete(additionalProperties, "results") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePaginatedRuntimeList struct { + value *PaginatedRuntimeList + isSet bool +} + +func (v NullablePaginatedRuntimeList) Get() *PaginatedRuntimeList { + return v.value +} + +func (v *NullablePaginatedRuntimeList) Set(val *PaginatedRuntimeList) { + v.value = val + v.isSet = true +} + +func (v NullablePaginatedRuntimeList) IsSet() bool { + return v.isSet +} + +func (v *NullablePaginatedRuntimeList) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePaginatedRuntimeList(val *PaginatedRuntimeList) *NullablePaginatedRuntimeList { + return &NullablePaginatedRuntimeList{value: val, isSet: true} +} + +func (v NullablePaginatedRuntimeList) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePaginatedRuntimeList) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_password_change.go b/v1/providers/launchpad/gen/launchpad/model_password_change.go index 53b5e0cc..b0215d4e 100644 --- a/v1/providers/launchpad/gen/launchpad/model_password_change.go +++ b/v1/providers/launchpad/gen/launchpad/model_password_change.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_persona_choice.go b/v1/providers/launchpad/gen/launchpad/model_persona_choice.go index ae4aaf91..7bd5ffd5 100644 --- a/v1/providers/launchpad/gen/launchpad/model_persona_choice.go +++ b/v1/providers/launchpad/gen/launchpad/model_persona_choice.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_pipeline_action.go b/v1/providers/launchpad/gen/launchpad/model_pipeline_action.go new file mode 100644 index 00000000..36d0c8b4 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_pipeline_action.go @@ -0,0 +1,112 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" + "fmt" +) + +// PipelineAction * `apply` - apply * `destroy` - destroy * `notify` - notify +type PipelineAction string + +// List of PipelineAction +const ( + PipelineActionApply PipelineAction = "apply" + PipelineActionDestroy PipelineAction = "destroy" + PipelineActionNotify PipelineAction = "notify" +) + +// All allowed values of PipelineAction enum +var AllowedPipelineActionEnumValues = []PipelineAction{ + "apply", + "destroy", + "notify", +} + +func (v *PipelineAction) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := PipelineAction(value) + for _, existing := range AllowedPipelineActionEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid PipelineAction", value) +} + +// NewPipelineActionFromValue returns a pointer to a valid PipelineAction +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewPipelineActionFromValue(v string) (*PipelineAction, error) { + ev := PipelineAction(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for PipelineAction: valid values are %v", v, AllowedPipelineActionEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v PipelineAction) IsValid() bool { + for _, existing := range AllowedPipelineActionEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to PipelineAction value +func (v PipelineAction) Ptr() *PipelineAction { + return &v +} + +type NullablePipelineAction struct { + value *PipelineAction + isSet bool +} + +func (v NullablePipelineAction) Get() *PipelineAction { + return v.value +} + +func (v *NullablePipelineAction) Set(val *PipelineAction) { + v.value = val + v.isSet = true +} + +func (v NullablePipelineAction) IsSet() bool { + return v.isSet +} + +func (v *NullablePipelineAction) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePipelineAction(val *PipelineAction) *NullablePipelineAction { + return &NullablePipelineAction{value: val, isSet: true} +} + +func (v NullablePipelineAction) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePipelineAction) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_platform_enum.go b/v1/providers/launchpad/gen/launchpad/model_platform_enum.go index 972f8708..ca75ed38 100644 --- a/v1/providers/launchpad/gen/launchpad/model_platform_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_platform_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_preferred_theme_enum.go b/v1/providers/launchpad/gen/launchpad/model_preferred_theme_enum.go index 18752c8b..6f08fc6f 100644 --- a/v1/providers/launchpad/gen/launchpad/model_preferred_theme_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_preferred_theme_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_priority_enum.go b/v1/providers/launchpad/gen/launchpad/model_priority_enum.go index 8bc1c84a..f9c1f0c8 100644 --- a/v1/providers/launchpad/gen/launchpad/model_priority_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_priority_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_profile.go b/v1/providers/launchpad/gen/launchpad/model_profile.go index d8c5201f..fccad4e8 100644 --- a/v1/providers/launchpad/gen/launchpad/model_profile.go +++ b/v1/providers/launchpad/gen/launchpad/model_profile.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_provider.go b/v1/providers/launchpad/gen/launchpad/model_provider.go index 5942ee43..26a68c02 100644 --- a/v1/providers/launchpad/gen/launchpad/model_provider.go +++ b/v1/providers/launchpad/gen/launchpad/model_provider.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -31,6 +31,8 @@ type Provider struct { // Timestamp of when the object was last modified Modified time.Time `json:"modified"` Name string `json:"name"` + // Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow + OnDemandSpeed *OnDemandSpeedEnum `json:"on_demand_speed,omitempty"` // Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. Priority *int32 `json:"priority,omitempty"` AdditionalProperties map[string]interface{} @@ -230,6 +232,38 @@ func (o *Provider) SetName(v string) { o.Name = v } +// GetOnDemandSpeed returns the OnDemandSpeed field value if set, zero value otherwise. +func (o *Provider) GetOnDemandSpeed() OnDemandSpeedEnum { + if o == nil || IsNil(o.OnDemandSpeed) { + var ret OnDemandSpeedEnum + return ret + } + return *o.OnDemandSpeed +} + +// GetOnDemandSpeedOk returns a tuple with the OnDemandSpeed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Provider) GetOnDemandSpeedOk() (*OnDemandSpeedEnum, bool) { + if o == nil || IsNil(o.OnDemandSpeed) { + return nil, false + } + return o.OnDemandSpeed, true +} + +// HasOnDemandSpeed returns a boolean if a field has been set. +func (o *Provider) HasOnDemandSpeed() bool { + if o != nil && !IsNil(o.OnDemandSpeed) { + return true + } + + return false +} + +// SetOnDemandSpeed gets a reference to the given OnDemandSpeedEnum and assigns it to the OnDemandSpeed field. +func (o *Provider) SetOnDemandSpeed(v OnDemandSpeedEnum) { + o.OnDemandSpeed = &v +} + // GetPriority returns the Priority field value if set, zero value otherwise. func (o *Provider) GetPriority() int32 { if o == nil || IsNil(o.Priority) { @@ -282,6 +316,9 @@ func (o Provider) ToMap() (map[string]interface{}, error) { } toSerialize["modified"] = o.Modified toSerialize["name"] = o.Name + if !IsNil(o.OnDemandSpeed) { + toSerialize["on_demand_speed"] = o.OnDemandSpeed + } if !IsNil(o.Priority) { toSerialize["priority"] = o.Priority } @@ -337,6 +374,7 @@ func (o *Provider) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "instance_limit") delete(additionalProperties, "modified") delete(additionalProperties, "name") + delete(additionalProperties, "on_demand_speed") delete(additionalProperties, "priority") o.AdditionalProperties = additionalProperties } diff --git a/v1/providers/launchpad/gen/launchpad/model_provider_bulk_update.go b/v1/providers/launchpad/gen/launchpad/model_provider_bulk_update.go index c9449562..5c5b18ca 100644 --- a/v1/providers/launchpad/gen/launchpad/model_provider_bulk_update.go +++ b/v1/providers/launchpad/gen/launchpad/model_provider_bulk_update.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -31,6 +31,8 @@ type ProviderBulkUpdate struct { // Timestamp of when the object was last modified Modified time.Time `json:"modified"` Name string `json:"name"` + // Speed of on-demand inventory provisioning * `fast` - fast * `slow` - slow + OnDemandSpeed *OnDemandSpeedEnum `json:"on_demand_speed,omitempty"` // Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. Priority *int32 `json:"priority,omitempty"` Count int32 `json:"count"` @@ -236,6 +238,38 @@ func (o *ProviderBulkUpdate) SetName(v string) { o.Name = v } +// GetOnDemandSpeed returns the OnDemandSpeed field value if set, zero value otherwise. +func (o *ProviderBulkUpdate) GetOnDemandSpeed() OnDemandSpeedEnum { + if o == nil || IsNil(o.OnDemandSpeed) { + var ret OnDemandSpeedEnum + return ret + } + return *o.OnDemandSpeed +} + +// GetOnDemandSpeedOk returns a tuple with the OnDemandSpeed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderBulkUpdate) GetOnDemandSpeedOk() (*OnDemandSpeedEnum, bool) { + if o == nil || IsNil(o.OnDemandSpeed) { + return nil, false + } + return o.OnDemandSpeed, true +} + +// HasOnDemandSpeed returns a boolean if a field has been set. +func (o *ProviderBulkUpdate) HasOnDemandSpeed() bool { + if o != nil && !IsNil(o.OnDemandSpeed) { + return true + } + + return false +} + +// SetOnDemandSpeed gets a reference to the given OnDemandSpeedEnum and assigns it to the OnDemandSpeed field. +func (o *ProviderBulkUpdate) SetOnDemandSpeed(v OnDemandSpeedEnum) { + o.OnDemandSpeed = &v +} + // GetPriority returns the Priority field value if set, zero value otherwise. func (o *ProviderBulkUpdate) GetPriority() int32 { if o == nil || IsNil(o.Priority) { @@ -360,6 +394,9 @@ func (o ProviderBulkUpdate) ToMap() (map[string]interface{}, error) { } toSerialize["modified"] = o.Modified toSerialize["name"] = o.Name + if !IsNil(o.OnDemandSpeed) { + toSerialize["on_demand_speed"] = o.OnDemandSpeed + } if !IsNil(o.Priority) { toSerialize["priority"] = o.Priority } @@ -421,6 +458,7 @@ func (o *ProviderBulkUpdate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "instance_limit") delete(additionalProperties, "modified") delete(additionalProperties, "name") + delete(additionalProperties, "on_demand_speed") delete(additionalProperties, "priority") delete(additionalProperties, "count") delete(additionalProperties, "ids") diff --git a/v1/providers/launchpad/gen/launchpad/model_provisioning_request.go b/v1/providers/launchpad/gen/launchpad/model_provisioning_request.go new file mode 100644 index 00000000..78b1c63f --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_provisioning_request.go @@ -0,0 +1,2081 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" + "fmt" +) + +// checks if the ProvisioningRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ProvisioningRequest{} + +// ProvisioningRequest struct for ProvisioningRequest +type ProvisioningRequest struct { + // Override bastion operating system provisioned and/or configured by Liftoff + BastionOperatingSystem NullableString `json:"bastion_operating_system,omitempty"` + // Catalog ID of the experience provisioned to the cluster + CatalogId *string `json:"catalog_id,omitempty"` + // Catalog ID alias of the experience provisioned to the cluster + CatalogIdAlias *string `json:"catalog_id_alias,omitempty"` + // Target a specific cluster for provisioning + Cluster NullableString `json:"cluster,omitempty"` + // Override the Ansible collection branch initialized within the pipeline + CollectionBranch NullableString `json:"collection_branch,omitempty"` + // The experience being deployed for use + Experience NullableString `json:"experience"` + // Override the experience branch + ExperienceBranch NullableString `json:"experience_branch,omitempty"` + // UUID of the experience provisioned to the cluster + ExperienceId *string `json:"experience_id,omitempty"` + // Override the image tag used for Flight Control + FlightcontrolRelease NullableString `json:"flightcontrol_release,omitempty"` + // Require a cluster with nodes in the given garage + GarageId NullableString `json:"garage_id,omitempty"` + // Override the default Ground Control branch + GcBranch NullableString `json:"gc_branch,omitempty"` + // Require a cluster with the given GPU alias + GpuAlias NullableString `json:"gpu_alias,omitempty"` + // Require a cluster with the given number of GPUs + GpuCount *int32 `json:"gpu_count,omitempty"` + // Require a cluster with the given GPU model + GpuModel NullableString `json:"gpu_model,omitempty"` + // Override the GPU node operating system name + GpuOsName NullableString `json:"gpu_os_name,omitempty"` + // Override the GPU node operating system release + GpuOsRelease NullableString `json:"gpu_os_release,omitempty"` + // Override the GPU node operating system version + GpuOsVersion NullableString `json:"gpu_os_version,omitempty"` + // Require a cluster whose GPU count is greater than or equal to the given number + MinGpuCount *int32 `json:"min_gpu_count,omitempty"` + // Require a cluster with the given number of nodes + NodeCount *int32 `json:"node_count,omitempty"` + // Require a cluster manufactured by the given OEM name + OemName NullableString `json:"oem_name,omitempty"` + // Override the default cleanup/destroy behavior when a provisioning failure occurs + PersistOnFailure NullableBool `json:"persist_on_failure,omitempty"` + // Override the defined persona in the experience + Persona NullableString `json:"persona,omitempty"` + // Override the pipeline ID that will be triggered for request fulfillment + Pipeline *int64 `json:"pipeline,omitempty"` + // Override the default pipeline branch ref used when triggering a Fuselage pipeline + PipelineBranch NullableString `json:"pipeline_branch,omitempty"` + Platform NullablePlatformEnum `json:"platform,omitempty"` + // Require a cluster from the given provider name + ProviderName NullableString `json:"provider_name,omitempty"` + // Require a cluster located in the given region + Region NullableString `json:"region,omitempty"` + // Trial request ID (ex: TRY-1234) + RequestId string `json:"request_id"` + // Use the presets of the given runtime when provisioning this experience + Runtime NullableString `json:"runtime,omitempty"` + // Override the runtime repository branch + RuntimeBranch NullableString `json:"runtime_branch,omitempty"` + // Override the runtime's CNS add-ons flag + RuntimeCnsAddonPack NullableBool `json:"runtime_cns_addon_pack,omitempty"` + // Override the runtime's Docker with CNS flag + RuntimeCnsDocker NullableBool `json:"runtime_cns_docker,omitempty"` + // Override the runtime's GPU driver version + RuntimeCnsDriverVersion NullableString `json:"runtime_cns_driver_version,omitempty"` + // Override the runtime's Kubernetes with CNS flag + RuntimeCnsK8s NullableBool `json:"runtime_cns_k8s,omitempty"` + // Override the runtime's NVIDIA driver with CNS flag + RuntimeCnsNvidiaDriver NullableBool `json:"runtime_cns_nvidia_driver,omitempty"` + // Override the runtime's Cloud Native Stack version + RuntimeCnsVersion NullableString `json:"runtime_cns_version,omitempty"` + // Override the runtime's MIG support with CNS flag + RuntimeMig NullableBool `json:"runtime_mig,omitempty"` + // Override the runtime's MIG profile name + RuntimeMigProfile NullableString `json:"runtime_mig_profile,omitempty"` + // Override the URL of the runtime repository + RuntimeUrl NullableString `json:"runtime_url,omitempty"` + // Require a cluster whose workshop flag is set + Workshop NullableBool `json:"workshop,omitempty"` + // Require a cluster with the given workshop ID + WorkshopId NullableString `json:"workshop_id,omitempty"` + // Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + WorkshopOverridePassword NullableString `json:"workshop_override_password,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ProvisioningRequest ProvisioningRequest + +// NewProvisioningRequest instantiates a new ProvisioningRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProvisioningRequest(experience NullableString, requestId string) *ProvisioningRequest { + this := ProvisioningRequest{} + this.Experience = experience + this.RequestId = requestId + return &this +} + +// NewProvisioningRequestWithDefaults instantiates a new ProvisioningRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProvisioningRequestWithDefaults() *ProvisioningRequest { + this := ProvisioningRequest{} + return &this +} + +// GetBastionOperatingSystem returns the BastionOperatingSystem field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetBastionOperatingSystem() string { + if o == nil || IsNil(o.BastionOperatingSystem.Get()) { + var ret string + return ret + } + return *o.BastionOperatingSystem.Get() +} + +// GetBastionOperatingSystemOk returns a tuple with the BastionOperatingSystem field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetBastionOperatingSystemOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.BastionOperatingSystem.Get(), o.BastionOperatingSystem.IsSet() +} + +// HasBastionOperatingSystem returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasBastionOperatingSystem() bool { + if o != nil && o.BastionOperatingSystem.IsSet() { + return true + } + + return false +} + +// SetBastionOperatingSystem gets a reference to the given NullableString and assigns it to the BastionOperatingSystem field. +func (o *ProvisioningRequest) SetBastionOperatingSystem(v string) { + o.BastionOperatingSystem.Set(&v) +} + +// SetBastionOperatingSystemNil sets the value for BastionOperatingSystem to be an explicit nil +func (o *ProvisioningRequest) SetBastionOperatingSystemNil() { + o.BastionOperatingSystem.Set(nil) +} + +// UnsetBastionOperatingSystem ensures that no value is present for BastionOperatingSystem, not even an explicit nil +func (o *ProvisioningRequest) UnsetBastionOperatingSystem() { + o.BastionOperatingSystem.Unset() +} + +// GetCatalogId returns the CatalogId field value if set, zero value otherwise. +func (o *ProvisioningRequest) GetCatalogId() string { + if o == nil || IsNil(o.CatalogId) { + var ret string + return ret + } + return *o.CatalogId +} + +// GetCatalogIdOk returns a tuple with the CatalogId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetCatalogIdOk() (*string, bool) { + if o == nil || IsNil(o.CatalogId) { + return nil, false + } + return o.CatalogId, true +} + +// HasCatalogId returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasCatalogId() bool { + if o != nil && !IsNil(o.CatalogId) { + return true + } + + return false +} + +// SetCatalogId gets a reference to the given string and assigns it to the CatalogId field. +func (o *ProvisioningRequest) SetCatalogId(v string) { + o.CatalogId = &v +} + +// GetCatalogIdAlias returns the CatalogIdAlias field value if set, zero value otherwise. +func (o *ProvisioningRequest) GetCatalogIdAlias() string { + if o == nil || IsNil(o.CatalogIdAlias) { + var ret string + return ret + } + return *o.CatalogIdAlias +} + +// GetCatalogIdAliasOk returns a tuple with the CatalogIdAlias field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetCatalogIdAliasOk() (*string, bool) { + if o == nil || IsNil(o.CatalogIdAlias) { + return nil, false + } + return o.CatalogIdAlias, true +} + +// HasCatalogIdAlias returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasCatalogIdAlias() bool { + if o != nil && !IsNil(o.CatalogIdAlias) { + return true + } + + return false +} + +// SetCatalogIdAlias gets a reference to the given string and assigns it to the CatalogIdAlias field. +func (o *ProvisioningRequest) SetCatalogIdAlias(v string) { + o.CatalogIdAlias = &v +} + +// GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetCluster() string { + if o == nil || IsNil(o.Cluster.Get()) { + var ret string + return ret + } + return *o.Cluster.Get() +} + +// GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetClusterOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Cluster.Get(), o.Cluster.IsSet() +} + +// HasCluster returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasCluster() bool { + if o != nil && o.Cluster.IsSet() { + return true + } + + return false +} + +// SetCluster gets a reference to the given NullableString and assigns it to the Cluster field. +func (o *ProvisioningRequest) SetCluster(v string) { + o.Cluster.Set(&v) +} + +// SetClusterNil sets the value for Cluster to be an explicit nil +func (o *ProvisioningRequest) SetClusterNil() { + o.Cluster.Set(nil) +} + +// UnsetCluster ensures that no value is present for Cluster, not even an explicit nil +func (o *ProvisioningRequest) UnsetCluster() { + o.Cluster.Unset() +} + +// GetCollectionBranch returns the CollectionBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetCollectionBranch() string { + if o == nil || IsNil(o.CollectionBranch.Get()) { + var ret string + return ret + } + return *o.CollectionBranch.Get() +} + +// GetCollectionBranchOk returns a tuple with the CollectionBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetCollectionBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CollectionBranch.Get(), o.CollectionBranch.IsSet() +} + +// HasCollectionBranch returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasCollectionBranch() bool { + if o != nil && o.CollectionBranch.IsSet() { + return true + } + + return false +} + +// SetCollectionBranch gets a reference to the given NullableString and assigns it to the CollectionBranch field. +func (o *ProvisioningRequest) SetCollectionBranch(v string) { + o.CollectionBranch.Set(&v) +} + +// SetCollectionBranchNil sets the value for CollectionBranch to be an explicit nil +func (o *ProvisioningRequest) SetCollectionBranchNil() { + o.CollectionBranch.Set(nil) +} + +// UnsetCollectionBranch ensures that no value is present for CollectionBranch, not even an explicit nil +func (o *ProvisioningRequest) UnsetCollectionBranch() { + o.CollectionBranch.Unset() +} + +// GetExperience returns the Experience field value +// If the value is explicit nil, the zero value for string will be returned +func (o *ProvisioningRequest) GetExperience() string { + if o == nil || o.Experience.Get() == nil { + var ret string + return ret + } + + return *o.Experience.Get() +} + +// GetExperienceOk returns a tuple with the Experience field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetExperienceOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Experience.Get(), o.Experience.IsSet() +} + +// SetExperience sets field value +func (o *ProvisioningRequest) SetExperience(v string) { + o.Experience.Set(&v) +} + +// GetExperienceBranch returns the ExperienceBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetExperienceBranch() string { + if o == nil || IsNil(o.ExperienceBranch.Get()) { + var ret string + return ret + } + return *o.ExperienceBranch.Get() +} + +// GetExperienceBranchOk returns a tuple with the ExperienceBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetExperienceBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExperienceBranch.Get(), o.ExperienceBranch.IsSet() +} + +// HasExperienceBranch returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasExperienceBranch() bool { + if o != nil && o.ExperienceBranch.IsSet() { + return true + } + + return false +} + +// SetExperienceBranch gets a reference to the given NullableString and assigns it to the ExperienceBranch field. +func (o *ProvisioningRequest) SetExperienceBranch(v string) { + o.ExperienceBranch.Set(&v) +} + +// SetExperienceBranchNil sets the value for ExperienceBranch to be an explicit nil +func (o *ProvisioningRequest) SetExperienceBranchNil() { + o.ExperienceBranch.Set(nil) +} + +// UnsetExperienceBranch ensures that no value is present for ExperienceBranch, not even an explicit nil +func (o *ProvisioningRequest) UnsetExperienceBranch() { + o.ExperienceBranch.Unset() +} + +// GetExperienceId returns the ExperienceId field value if set, zero value otherwise. +func (o *ProvisioningRequest) GetExperienceId() string { + if o == nil || IsNil(o.ExperienceId) { + var ret string + return ret + } + return *o.ExperienceId +} + +// GetExperienceIdOk returns a tuple with the ExperienceId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetExperienceIdOk() (*string, bool) { + if o == nil || IsNil(o.ExperienceId) { + return nil, false + } + return o.ExperienceId, true +} + +// HasExperienceId returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasExperienceId() bool { + if o != nil && !IsNil(o.ExperienceId) { + return true + } + + return false +} + +// SetExperienceId gets a reference to the given string and assigns it to the ExperienceId field. +func (o *ProvisioningRequest) SetExperienceId(v string) { + o.ExperienceId = &v +} + +// GetFlightcontrolRelease returns the FlightcontrolRelease field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetFlightcontrolRelease() string { + if o == nil || IsNil(o.FlightcontrolRelease.Get()) { + var ret string + return ret + } + return *o.FlightcontrolRelease.Get() +} + +// GetFlightcontrolReleaseOk returns a tuple with the FlightcontrolRelease field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetFlightcontrolReleaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FlightcontrolRelease.Get(), o.FlightcontrolRelease.IsSet() +} + +// HasFlightcontrolRelease returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasFlightcontrolRelease() bool { + if o != nil && o.FlightcontrolRelease.IsSet() { + return true + } + + return false +} + +// SetFlightcontrolRelease gets a reference to the given NullableString and assigns it to the FlightcontrolRelease field. +func (o *ProvisioningRequest) SetFlightcontrolRelease(v string) { + o.FlightcontrolRelease.Set(&v) +} + +// SetFlightcontrolReleaseNil sets the value for FlightcontrolRelease to be an explicit nil +func (o *ProvisioningRequest) SetFlightcontrolReleaseNil() { + o.FlightcontrolRelease.Set(nil) +} + +// UnsetFlightcontrolRelease ensures that no value is present for FlightcontrolRelease, not even an explicit nil +func (o *ProvisioningRequest) UnsetFlightcontrolRelease() { + o.FlightcontrolRelease.Unset() +} + +// GetGarageId returns the GarageId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetGarageId() string { + if o == nil || IsNil(o.GarageId.Get()) { + var ret string + return ret + } + return *o.GarageId.Get() +} + +// GetGarageIdOk returns a tuple with the GarageId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetGarageIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GarageId.Get(), o.GarageId.IsSet() +} + +// HasGarageId returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGarageId() bool { + if o != nil && o.GarageId.IsSet() { + return true + } + + return false +} + +// SetGarageId gets a reference to the given NullableString and assigns it to the GarageId field. +func (o *ProvisioningRequest) SetGarageId(v string) { + o.GarageId.Set(&v) +} + +// SetGarageIdNil sets the value for GarageId to be an explicit nil +func (o *ProvisioningRequest) SetGarageIdNil() { + o.GarageId.Set(nil) +} + +// UnsetGarageId ensures that no value is present for GarageId, not even an explicit nil +func (o *ProvisioningRequest) UnsetGarageId() { + o.GarageId.Unset() +} + +// GetGcBranch returns the GcBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetGcBranch() string { + if o == nil || IsNil(o.GcBranch.Get()) { + var ret string + return ret + } + return *o.GcBranch.Get() +} + +// GetGcBranchOk returns a tuple with the GcBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetGcBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GcBranch.Get(), o.GcBranch.IsSet() +} + +// HasGcBranch returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGcBranch() bool { + if o != nil && o.GcBranch.IsSet() { + return true + } + + return false +} + +// SetGcBranch gets a reference to the given NullableString and assigns it to the GcBranch field. +func (o *ProvisioningRequest) SetGcBranch(v string) { + o.GcBranch.Set(&v) +} + +// SetGcBranchNil sets the value for GcBranch to be an explicit nil +func (o *ProvisioningRequest) SetGcBranchNil() { + o.GcBranch.Set(nil) +} + +// UnsetGcBranch ensures that no value is present for GcBranch, not even an explicit nil +func (o *ProvisioningRequest) UnsetGcBranch() { + o.GcBranch.Unset() +} + +// GetGpuAlias returns the GpuAlias field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetGpuAlias() string { + if o == nil || IsNil(o.GpuAlias.Get()) { + var ret string + return ret + } + return *o.GpuAlias.Get() +} + +// GetGpuAliasOk returns a tuple with the GpuAlias field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetGpuAliasOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuAlias.Get(), o.GpuAlias.IsSet() +} + +// HasGpuAlias returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGpuAlias() bool { + if o != nil && o.GpuAlias.IsSet() { + return true + } + + return false +} + +// SetGpuAlias gets a reference to the given NullableString and assigns it to the GpuAlias field. +func (o *ProvisioningRequest) SetGpuAlias(v string) { + o.GpuAlias.Set(&v) +} + +// SetGpuAliasNil sets the value for GpuAlias to be an explicit nil +func (o *ProvisioningRequest) SetGpuAliasNil() { + o.GpuAlias.Set(nil) +} + +// UnsetGpuAlias ensures that no value is present for GpuAlias, not even an explicit nil +func (o *ProvisioningRequest) UnsetGpuAlias() { + o.GpuAlias.Unset() +} + +// GetGpuCount returns the GpuCount field value if set, zero value otherwise. +func (o *ProvisioningRequest) GetGpuCount() int32 { + if o == nil || IsNil(o.GpuCount) { + var ret int32 + return ret + } + return *o.GpuCount +} + +// GetGpuCountOk returns a tuple with the GpuCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetGpuCountOk() (*int32, bool) { + if o == nil || IsNil(o.GpuCount) { + return nil, false + } + return o.GpuCount, true +} + +// HasGpuCount returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGpuCount() bool { + if o != nil && !IsNil(o.GpuCount) { + return true + } + + return false +} + +// SetGpuCount gets a reference to the given int32 and assigns it to the GpuCount field. +func (o *ProvisioningRequest) SetGpuCount(v int32) { + o.GpuCount = &v +} + +// GetGpuModel returns the GpuModel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetGpuModel() string { + if o == nil || IsNil(o.GpuModel.Get()) { + var ret string + return ret + } + return *o.GpuModel.Get() +} + +// GetGpuModelOk returns a tuple with the GpuModel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetGpuModelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuModel.Get(), o.GpuModel.IsSet() +} + +// HasGpuModel returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGpuModel() bool { + if o != nil && o.GpuModel.IsSet() { + return true + } + + return false +} + +// SetGpuModel gets a reference to the given NullableString and assigns it to the GpuModel field. +func (o *ProvisioningRequest) SetGpuModel(v string) { + o.GpuModel.Set(&v) +} + +// SetGpuModelNil sets the value for GpuModel to be an explicit nil +func (o *ProvisioningRequest) SetGpuModelNil() { + o.GpuModel.Set(nil) +} + +// UnsetGpuModel ensures that no value is present for GpuModel, not even an explicit nil +func (o *ProvisioningRequest) UnsetGpuModel() { + o.GpuModel.Unset() +} + +// GetGpuOsName returns the GpuOsName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetGpuOsName() string { + if o == nil || IsNil(o.GpuOsName.Get()) { + var ret string + return ret + } + return *o.GpuOsName.Get() +} + +// GetGpuOsNameOk returns a tuple with the GpuOsName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetGpuOsNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuOsName.Get(), o.GpuOsName.IsSet() +} + +// HasGpuOsName returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGpuOsName() bool { + if o != nil && o.GpuOsName.IsSet() { + return true + } + + return false +} + +// SetGpuOsName gets a reference to the given NullableString and assigns it to the GpuOsName field. +func (o *ProvisioningRequest) SetGpuOsName(v string) { + o.GpuOsName.Set(&v) +} + +// SetGpuOsNameNil sets the value for GpuOsName to be an explicit nil +func (o *ProvisioningRequest) SetGpuOsNameNil() { + o.GpuOsName.Set(nil) +} + +// UnsetGpuOsName ensures that no value is present for GpuOsName, not even an explicit nil +func (o *ProvisioningRequest) UnsetGpuOsName() { + o.GpuOsName.Unset() +} + +// GetGpuOsRelease returns the GpuOsRelease field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetGpuOsRelease() string { + if o == nil || IsNil(o.GpuOsRelease.Get()) { + var ret string + return ret + } + return *o.GpuOsRelease.Get() +} + +// GetGpuOsReleaseOk returns a tuple with the GpuOsRelease field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetGpuOsReleaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuOsRelease.Get(), o.GpuOsRelease.IsSet() +} + +// HasGpuOsRelease returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGpuOsRelease() bool { + if o != nil && o.GpuOsRelease.IsSet() { + return true + } + + return false +} + +// SetGpuOsRelease gets a reference to the given NullableString and assigns it to the GpuOsRelease field. +func (o *ProvisioningRequest) SetGpuOsRelease(v string) { + o.GpuOsRelease.Set(&v) +} + +// SetGpuOsReleaseNil sets the value for GpuOsRelease to be an explicit nil +func (o *ProvisioningRequest) SetGpuOsReleaseNil() { + o.GpuOsRelease.Set(nil) +} + +// UnsetGpuOsRelease ensures that no value is present for GpuOsRelease, not even an explicit nil +func (o *ProvisioningRequest) UnsetGpuOsRelease() { + o.GpuOsRelease.Unset() +} + +// GetGpuOsVersion returns the GpuOsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetGpuOsVersion() string { + if o == nil || IsNil(o.GpuOsVersion.Get()) { + var ret string + return ret + } + return *o.GpuOsVersion.Get() +} + +// GetGpuOsVersionOk returns a tuple with the GpuOsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetGpuOsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GpuOsVersion.Get(), o.GpuOsVersion.IsSet() +} + +// HasGpuOsVersion returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasGpuOsVersion() bool { + if o != nil && o.GpuOsVersion.IsSet() { + return true + } + + return false +} + +// SetGpuOsVersion gets a reference to the given NullableString and assigns it to the GpuOsVersion field. +func (o *ProvisioningRequest) SetGpuOsVersion(v string) { + o.GpuOsVersion.Set(&v) +} + +// SetGpuOsVersionNil sets the value for GpuOsVersion to be an explicit nil +func (o *ProvisioningRequest) SetGpuOsVersionNil() { + o.GpuOsVersion.Set(nil) +} + +// UnsetGpuOsVersion ensures that no value is present for GpuOsVersion, not even an explicit nil +func (o *ProvisioningRequest) UnsetGpuOsVersion() { + o.GpuOsVersion.Unset() +} + +// GetMinGpuCount returns the MinGpuCount field value if set, zero value otherwise. +func (o *ProvisioningRequest) GetMinGpuCount() int32 { + if o == nil || IsNil(o.MinGpuCount) { + var ret int32 + return ret + } + return *o.MinGpuCount +} + +// GetMinGpuCountOk returns a tuple with the MinGpuCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetMinGpuCountOk() (*int32, bool) { + if o == nil || IsNil(o.MinGpuCount) { + return nil, false + } + return o.MinGpuCount, true +} + +// HasMinGpuCount returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasMinGpuCount() bool { + if o != nil && !IsNil(o.MinGpuCount) { + return true + } + + return false +} + +// SetMinGpuCount gets a reference to the given int32 and assigns it to the MinGpuCount field. +func (o *ProvisioningRequest) SetMinGpuCount(v int32) { + o.MinGpuCount = &v +} + +// GetNodeCount returns the NodeCount field value if set, zero value otherwise. +func (o *ProvisioningRequest) GetNodeCount() int32 { + if o == nil || IsNil(o.NodeCount) { + var ret int32 + return ret + } + return *o.NodeCount +} + +// GetNodeCountOk returns a tuple with the NodeCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetNodeCountOk() (*int32, bool) { + if o == nil || IsNil(o.NodeCount) { + return nil, false + } + return o.NodeCount, true +} + +// HasNodeCount returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasNodeCount() bool { + if o != nil && !IsNil(o.NodeCount) { + return true + } + + return false +} + +// SetNodeCount gets a reference to the given int32 and assigns it to the NodeCount field. +func (o *ProvisioningRequest) SetNodeCount(v int32) { + o.NodeCount = &v +} + +// GetOemName returns the OemName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetOemName() string { + if o == nil || IsNil(o.OemName.Get()) { + var ret string + return ret + } + return *o.OemName.Get() +} + +// GetOemNameOk returns a tuple with the OemName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetOemNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OemName.Get(), o.OemName.IsSet() +} + +// HasOemName returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasOemName() bool { + if o != nil && o.OemName.IsSet() { + return true + } + + return false +} + +// SetOemName gets a reference to the given NullableString and assigns it to the OemName field. +func (o *ProvisioningRequest) SetOemName(v string) { + o.OemName.Set(&v) +} + +// SetOemNameNil sets the value for OemName to be an explicit nil +func (o *ProvisioningRequest) SetOemNameNil() { + o.OemName.Set(nil) +} + +// UnsetOemName ensures that no value is present for OemName, not even an explicit nil +func (o *ProvisioningRequest) UnsetOemName() { + o.OemName.Unset() +} + +// GetPersistOnFailure returns the PersistOnFailure field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetPersistOnFailure() bool { + if o == nil || IsNil(o.PersistOnFailure.Get()) { + var ret bool + return ret + } + return *o.PersistOnFailure.Get() +} + +// GetPersistOnFailureOk returns a tuple with the PersistOnFailure field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetPersistOnFailureOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.PersistOnFailure.Get(), o.PersistOnFailure.IsSet() +} + +// HasPersistOnFailure returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasPersistOnFailure() bool { + if o != nil && o.PersistOnFailure.IsSet() { + return true + } + + return false +} + +// SetPersistOnFailure gets a reference to the given NullableBool and assigns it to the PersistOnFailure field. +func (o *ProvisioningRequest) SetPersistOnFailure(v bool) { + o.PersistOnFailure.Set(&v) +} + +// SetPersistOnFailureNil sets the value for PersistOnFailure to be an explicit nil +func (o *ProvisioningRequest) SetPersistOnFailureNil() { + o.PersistOnFailure.Set(nil) +} + +// UnsetPersistOnFailure ensures that no value is present for PersistOnFailure, not even an explicit nil +func (o *ProvisioningRequest) UnsetPersistOnFailure() { + o.PersistOnFailure.Unset() +} + +// GetPersona returns the Persona field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetPersona() string { + if o == nil || IsNil(o.Persona.Get()) { + var ret string + return ret + } + return *o.Persona.Get() +} + +// GetPersonaOk returns a tuple with the Persona field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetPersonaOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Persona.Get(), o.Persona.IsSet() +} + +// HasPersona returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasPersona() bool { + if o != nil && o.Persona.IsSet() { + return true + } + + return false +} + +// SetPersona gets a reference to the given NullableString and assigns it to the Persona field. +func (o *ProvisioningRequest) SetPersona(v string) { + o.Persona.Set(&v) +} + +// SetPersonaNil sets the value for Persona to be an explicit nil +func (o *ProvisioningRequest) SetPersonaNil() { + o.Persona.Set(nil) +} + +// UnsetPersona ensures that no value is present for Persona, not even an explicit nil +func (o *ProvisioningRequest) UnsetPersona() { + o.Persona.Unset() +} + +// GetPipeline returns the Pipeline field value if set, zero value otherwise. +func (o *ProvisioningRequest) GetPipeline() int64 { + if o == nil || IsNil(o.Pipeline) { + var ret int64 + return ret + } + return *o.Pipeline +} + +// GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetPipelineOk() (*int64, bool) { + if o == nil || IsNil(o.Pipeline) { + return nil, false + } + return o.Pipeline, true +} + +// HasPipeline returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasPipeline() bool { + if o != nil && !IsNil(o.Pipeline) { + return true + } + + return false +} + +// SetPipeline gets a reference to the given int64 and assigns it to the Pipeline field. +func (o *ProvisioningRequest) SetPipeline(v int64) { + o.Pipeline = &v +} + +// GetPipelineBranch returns the PipelineBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetPipelineBranch() string { + if o == nil || IsNil(o.PipelineBranch.Get()) { + var ret string + return ret + } + return *o.PipelineBranch.Get() +} + +// GetPipelineBranchOk returns a tuple with the PipelineBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetPipelineBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PipelineBranch.Get(), o.PipelineBranch.IsSet() +} + +// HasPipelineBranch returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasPipelineBranch() bool { + if o != nil && o.PipelineBranch.IsSet() { + return true + } + + return false +} + +// SetPipelineBranch gets a reference to the given NullableString and assigns it to the PipelineBranch field. +func (o *ProvisioningRequest) SetPipelineBranch(v string) { + o.PipelineBranch.Set(&v) +} + +// SetPipelineBranchNil sets the value for PipelineBranch to be an explicit nil +func (o *ProvisioningRequest) SetPipelineBranchNil() { + o.PipelineBranch.Set(nil) +} + +// UnsetPipelineBranch ensures that no value is present for PipelineBranch, not even an explicit nil +func (o *ProvisioningRequest) UnsetPipelineBranch() { + o.PipelineBranch.Unset() +} + +// GetPlatform returns the Platform field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetPlatform() PlatformEnum { + if o == nil || IsNil(o.Platform.Get()) { + var ret PlatformEnum + return ret + } + return *o.Platform.Get() +} + +// GetPlatformOk returns a tuple with the Platform field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetPlatformOk() (*PlatformEnum, bool) { + if o == nil { + return nil, false + } + return o.Platform.Get(), o.Platform.IsSet() +} + +// HasPlatform returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasPlatform() bool { + if o != nil && o.Platform.IsSet() { + return true + } + + return false +} + +// SetPlatform gets a reference to the given NullablePlatformEnum and assigns it to the Platform field. +func (o *ProvisioningRequest) SetPlatform(v PlatformEnum) { + o.Platform.Set(&v) +} + +// SetPlatformNil sets the value for Platform to be an explicit nil +func (o *ProvisioningRequest) SetPlatformNil() { + o.Platform.Set(nil) +} + +// UnsetPlatform ensures that no value is present for Platform, not even an explicit nil +func (o *ProvisioningRequest) UnsetPlatform() { + o.Platform.Unset() +} + +// GetProviderName returns the ProviderName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetProviderName() string { + if o == nil || IsNil(o.ProviderName.Get()) { + var ret string + return ret + } + return *o.ProviderName.Get() +} + +// GetProviderNameOk returns a tuple with the ProviderName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetProviderNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProviderName.Get(), o.ProviderName.IsSet() +} + +// HasProviderName returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasProviderName() bool { + if o != nil && o.ProviderName.IsSet() { + return true + } + + return false +} + +// SetProviderName gets a reference to the given NullableString and assigns it to the ProviderName field. +func (o *ProvisioningRequest) SetProviderName(v string) { + o.ProviderName.Set(&v) +} + +// SetProviderNameNil sets the value for ProviderName to be an explicit nil +func (o *ProvisioningRequest) SetProviderNameNil() { + o.ProviderName.Set(nil) +} + +// UnsetProviderName ensures that no value is present for ProviderName, not even an explicit nil +func (o *ProvisioningRequest) UnsetProviderName() { + o.ProviderName.Unset() +} + +// GetRegion returns the Region field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRegion() string { + if o == nil || IsNil(o.Region.Get()) { + var ret string + return ret + } + return *o.Region.Get() +} + +// GetRegionOk returns a tuple with the Region field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRegionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Region.Get(), o.Region.IsSet() +} + +// HasRegion returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRegion() bool { + if o != nil && o.Region.IsSet() { + return true + } + + return false +} + +// SetRegion gets a reference to the given NullableString and assigns it to the Region field. +func (o *ProvisioningRequest) SetRegion(v string) { + o.Region.Set(&v) +} + +// SetRegionNil sets the value for Region to be an explicit nil +func (o *ProvisioningRequest) SetRegionNil() { + o.Region.Set(nil) +} + +// UnsetRegion ensures that no value is present for Region, not even an explicit nil +func (o *ProvisioningRequest) UnsetRegion() { + o.Region.Unset() +} + +// GetRequestId returns the RequestId field value +func (o *ProvisioningRequest) GetRequestId() string { + if o == nil { + var ret string + return ret + } + + return o.RequestId +} + +// GetRequestIdOk returns a tuple with the RequestId field value +// and a boolean to check if the value has been set. +func (o *ProvisioningRequest) GetRequestIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.RequestId, true +} + +// SetRequestId sets field value +func (o *ProvisioningRequest) SetRequestId(v string) { + o.RequestId = v +} + +// GetRuntime returns the Runtime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntime() string { + if o == nil || IsNil(o.Runtime.Get()) { + var ret string + return ret + } + return *o.Runtime.Get() +} + +// GetRuntimeOk returns a tuple with the Runtime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Runtime.Get(), o.Runtime.IsSet() +} + +// HasRuntime returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntime() bool { + if o != nil && o.Runtime.IsSet() { + return true + } + + return false +} + +// SetRuntime gets a reference to the given NullableString and assigns it to the Runtime field. +func (o *ProvisioningRequest) SetRuntime(v string) { + o.Runtime.Set(&v) +} + +// SetRuntimeNil sets the value for Runtime to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeNil() { + o.Runtime.Set(nil) +} + +// UnsetRuntime ensures that no value is present for Runtime, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntime() { + o.Runtime.Unset() +} + +// GetRuntimeBranch returns the RuntimeBranch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeBranch() string { + if o == nil || IsNil(o.RuntimeBranch.Get()) { + var ret string + return ret + } + return *o.RuntimeBranch.Get() +} + +// GetRuntimeBranchOk returns a tuple with the RuntimeBranch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeBranch.Get(), o.RuntimeBranch.IsSet() +} + +// HasRuntimeBranch returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeBranch() bool { + if o != nil && o.RuntimeBranch.IsSet() { + return true + } + + return false +} + +// SetRuntimeBranch gets a reference to the given NullableString and assigns it to the RuntimeBranch field. +func (o *ProvisioningRequest) SetRuntimeBranch(v string) { + o.RuntimeBranch.Set(&v) +} + +// SetRuntimeBranchNil sets the value for RuntimeBranch to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeBranchNil() { + o.RuntimeBranch.Set(nil) +} + +// UnsetRuntimeBranch ensures that no value is present for RuntimeBranch, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeBranch() { + o.RuntimeBranch.Unset() +} + +// GetRuntimeCnsAddonPack returns the RuntimeCnsAddonPack field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeCnsAddonPack() bool { + if o == nil || IsNil(o.RuntimeCnsAddonPack.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsAddonPack.Get() +} + +// GetRuntimeCnsAddonPackOk returns a tuple with the RuntimeCnsAddonPack field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeCnsAddonPackOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsAddonPack.Get(), o.RuntimeCnsAddonPack.IsSet() +} + +// HasRuntimeCnsAddonPack returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeCnsAddonPack() bool { + if o != nil && o.RuntimeCnsAddonPack.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsAddonPack gets a reference to the given NullableBool and assigns it to the RuntimeCnsAddonPack field. +func (o *ProvisioningRequest) SetRuntimeCnsAddonPack(v bool) { + o.RuntimeCnsAddonPack.Set(&v) +} + +// SetRuntimeCnsAddonPackNil sets the value for RuntimeCnsAddonPack to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeCnsAddonPackNil() { + o.RuntimeCnsAddonPack.Set(nil) +} + +// UnsetRuntimeCnsAddonPack ensures that no value is present for RuntimeCnsAddonPack, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeCnsAddonPack() { + o.RuntimeCnsAddonPack.Unset() +} + +// GetRuntimeCnsDocker returns the RuntimeCnsDocker field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeCnsDocker() bool { + if o == nil || IsNil(o.RuntimeCnsDocker.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsDocker.Get() +} + +// GetRuntimeCnsDockerOk returns a tuple with the RuntimeCnsDocker field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeCnsDockerOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDocker.Get(), o.RuntimeCnsDocker.IsSet() +} + +// HasRuntimeCnsDocker returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeCnsDocker() bool { + if o != nil && o.RuntimeCnsDocker.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDocker gets a reference to the given NullableBool and assigns it to the RuntimeCnsDocker field. +func (o *ProvisioningRequest) SetRuntimeCnsDocker(v bool) { + o.RuntimeCnsDocker.Set(&v) +} + +// SetRuntimeCnsDockerNil sets the value for RuntimeCnsDocker to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeCnsDockerNil() { + o.RuntimeCnsDocker.Set(nil) +} + +// UnsetRuntimeCnsDocker ensures that no value is present for RuntimeCnsDocker, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeCnsDocker() { + o.RuntimeCnsDocker.Unset() +} + +// GetRuntimeCnsDriverVersion returns the RuntimeCnsDriverVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeCnsDriverVersion() string { + if o == nil || IsNil(o.RuntimeCnsDriverVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsDriverVersion.Get() +} + +// GetRuntimeCnsDriverVersionOk returns a tuple with the RuntimeCnsDriverVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeCnsDriverVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsDriverVersion.Get(), o.RuntimeCnsDriverVersion.IsSet() +} + +// HasRuntimeCnsDriverVersion returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeCnsDriverVersion() bool { + if o != nil && o.RuntimeCnsDriverVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsDriverVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsDriverVersion field. +func (o *ProvisioningRequest) SetRuntimeCnsDriverVersion(v string) { + o.RuntimeCnsDriverVersion.Set(&v) +} + +// SetRuntimeCnsDriverVersionNil sets the value for RuntimeCnsDriverVersion to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeCnsDriverVersionNil() { + o.RuntimeCnsDriverVersion.Set(nil) +} + +// UnsetRuntimeCnsDriverVersion ensures that no value is present for RuntimeCnsDriverVersion, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeCnsDriverVersion() { + o.RuntimeCnsDriverVersion.Unset() +} + +// GetRuntimeCnsK8s returns the RuntimeCnsK8s field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeCnsK8s() bool { + if o == nil || IsNil(o.RuntimeCnsK8s.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsK8s.Get() +} + +// GetRuntimeCnsK8sOk returns a tuple with the RuntimeCnsK8s field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeCnsK8sOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsK8s.Get(), o.RuntimeCnsK8s.IsSet() +} + +// HasRuntimeCnsK8s returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeCnsK8s() bool { + if o != nil && o.RuntimeCnsK8s.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsK8s gets a reference to the given NullableBool and assigns it to the RuntimeCnsK8s field. +func (o *ProvisioningRequest) SetRuntimeCnsK8s(v bool) { + o.RuntimeCnsK8s.Set(&v) +} + +// SetRuntimeCnsK8sNil sets the value for RuntimeCnsK8s to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeCnsK8sNil() { + o.RuntimeCnsK8s.Set(nil) +} + +// UnsetRuntimeCnsK8s ensures that no value is present for RuntimeCnsK8s, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeCnsK8s() { + o.RuntimeCnsK8s.Unset() +} + +// GetRuntimeCnsNvidiaDriver returns the RuntimeCnsNvidiaDriver field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeCnsNvidiaDriver() bool { + if o == nil || IsNil(o.RuntimeCnsNvidiaDriver.Get()) { + var ret bool + return ret + } + return *o.RuntimeCnsNvidiaDriver.Get() +} + +// GetRuntimeCnsNvidiaDriverOk returns a tuple with the RuntimeCnsNvidiaDriver field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeCnsNvidiaDriverOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsNvidiaDriver.Get(), o.RuntimeCnsNvidiaDriver.IsSet() +} + +// HasRuntimeCnsNvidiaDriver returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeCnsNvidiaDriver() bool { + if o != nil && o.RuntimeCnsNvidiaDriver.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsNvidiaDriver gets a reference to the given NullableBool and assigns it to the RuntimeCnsNvidiaDriver field. +func (o *ProvisioningRequest) SetRuntimeCnsNvidiaDriver(v bool) { + o.RuntimeCnsNvidiaDriver.Set(&v) +} + +// SetRuntimeCnsNvidiaDriverNil sets the value for RuntimeCnsNvidiaDriver to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeCnsNvidiaDriverNil() { + o.RuntimeCnsNvidiaDriver.Set(nil) +} + +// UnsetRuntimeCnsNvidiaDriver ensures that no value is present for RuntimeCnsNvidiaDriver, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeCnsNvidiaDriver() { + o.RuntimeCnsNvidiaDriver.Unset() +} + +// GetRuntimeCnsVersion returns the RuntimeCnsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeCnsVersion() string { + if o == nil || IsNil(o.RuntimeCnsVersion.Get()) { + var ret string + return ret + } + return *o.RuntimeCnsVersion.Get() +} + +// GetRuntimeCnsVersionOk returns a tuple with the RuntimeCnsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeCnsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeCnsVersion.Get(), o.RuntimeCnsVersion.IsSet() +} + +// HasRuntimeCnsVersion returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeCnsVersion() bool { + if o != nil && o.RuntimeCnsVersion.IsSet() { + return true + } + + return false +} + +// SetRuntimeCnsVersion gets a reference to the given NullableString and assigns it to the RuntimeCnsVersion field. +func (o *ProvisioningRequest) SetRuntimeCnsVersion(v string) { + o.RuntimeCnsVersion.Set(&v) +} + +// SetRuntimeCnsVersionNil sets the value for RuntimeCnsVersion to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeCnsVersionNil() { + o.RuntimeCnsVersion.Set(nil) +} + +// UnsetRuntimeCnsVersion ensures that no value is present for RuntimeCnsVersion, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeCnsVersion() { + o.RuntimeCnsVersion.Unset() +} + +// GetRuntimeMig returns the RuntimeMig field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeMig() bool { + if o == nil || IsNil(o.RuntimeMig.Get()) { + var ret bool + return ret + } + return *o.RuntimeMig.Get() +} + +// GetRuntimeMigOk returns a tuple with the RuntimeMig field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeMigOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMig.Get(), o.RuntimeMig.IsSet() +} + +// HasRuntimeMig returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeMig() bool { + if o != nil && o.RuntimeMig.IsSet() { + return true + } + + return false +} + +// SetRuntimeMig gets a reference to the given NullableBool and assigns it to the RuntimeMig field. +func (o *ProvisioningRequest) SetRuntimeMig(v bool) { + o.RuntimeMig.Set(&v) +} + +// SetRuntimeMigNil sets the value for RuntimeMig to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeMigNil() { + o.RuntimeMig.Set(nil) +} + +// UnsetRuntimeMig ensures that no value is present for RuntimeMig, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeMig() { + o.RuntimeMig.Unset() +} + +// GetRuntimeMigProfile returns the RuntimeMigProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeMigProfile() string { + if o == nil || IsNil(o.RuntimeMigProfile.Get()) { + var ret string + return ret + } + return *o.RuntimeMigProfile.Get() +} + +// GetRuntimeMigProfileOk returns a tuple with the RuntimeMigProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeMigProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeMigProfile.Get(), o.RuntimeMigProfile.IsSet() +} + +// HasRuntimeMigProfile returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeMigProfile() bool { + if o != nil && o.RuntimeMigProfile.IsSet() { + return true + } + + return false +} + +// SetRuntimeMigProfile gets a reference to the given NullableString and assigns it to the RuntimeMigProfile field. +func (o *ProvisioningRequest) SetRuntimeMigProfile(v string) { + o.RuntimeMigProfile.Set(&v) +} + +// SetRuntimeMigProfileNil sets the value for RuntimeMigProfile to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeMigProfileNil() { + o.RuntimeMigProfile.Set(nil) +} + +// UnsetRuntimeMigProfile ensures that no value is present for RuntimeMigProfile, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeMigProfile() { + o.RuntimeMigProfile.Unset() +} + +// GetRuntimeUrl returns the RuntimeUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetRuntimeUrl() string { + if o == nil || IsNil(o.RuntimeUrl.Get()) { + var ret string + return ret + } + return *o.RuntimeUrl.Get() +} + +// GetRuntimeUrlOk returns a tuple with the RuntimeUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetRuntimeUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RuntimeUrl.Get(), o.RuntimeUrl.IsSet() +} + +// HasRuntimeUrl returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasRuntimeUrl() bool { + if o != nil && o.RuntimeUrl.IsSet() { + return true + } + + return false +} + +// SetRuntimeUrl gets a reference to the given NullableString and assigns it to the RuntimeUrl field. +func (o *ProvisioningRequest) SetRuntimeUrl(v string) { + o.RuntimeUrl.Set(&v) +} + +// SetRuntimeUrlNil sets the value for RuntimeUrl to be an explicit nil +func (o *ProvisioningRequest) SetRuntimeUrlNil() { + o.RuntimeUrl.Set(nil) +} + +// UnsetRuntimeUrl ensures that no value is present for RuntimeUrl, not even an explicit nil +func (o *ProvisioningRequest) UnsetRuntimeUrl() { + o.RuntimeUrl.Unset() +} + +// GetWorkshop returns the Workshop field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetWorkshop() bool { + if o == nil || IsNil(o.Workshop.Get()) { + var ret bool + return ret + } + return *o.Workshop.Get() +} + +// GetWorkshopOk returns a tuple with the Workshop field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetWorkshopOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.Workshop.Get(), o.Workshop.IsSet() +} + +// HasWorkshop returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasWorkshop() bool { + if o != nil && o.Workshop.IsSet() { + return true + } + + return false +} + +// SetWorkshop gets a reference to the given NullableBool and assigns it to the Workshop field. +func (o *ProvisioningRequest) SetWorkshop(v bool) { + o.Workshop.Set(&v) +} + +// SetWorkshopNil sets the value for Workshop to be an explicit nil +func (o *ProvisioningRequest) SetWorkshopNil() { + o.Workshop.Set(nil) +} + +// UnsetWorkshop ensures that no value is present for Workshop, not even an explicit nil +func (o *ProvisioningRequest) UnsetWorkshop() { + o.Workshop.Unset() +} + +// GetWorkshopId returns the WorkshopId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetWorkshopId() string { + if o == nil || IsNil(o.WorkshopId.Get()) { + var ret string + return ret + } + return *o.WorkshopId.Get() +} + +// GetWorkshopIdOk returns a tuple with the WorkshopId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetWorkshopIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.WorkshopId.Get(), o.WorkshopId.IsSet() +} + +// HasWorkshopId returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasWorkshopId() bool { + if o != nil && o.WorkshopId.IsSet() { + return true + } + + return false +} + +// SetWorkshopId gets a reference to the given NullableString and assigns it to the WorkshopId field. +func (o *ProvisioningRequest) SetWorkshopId(v string) { + o.WorkshopId.Set(&v) +} + +// SetWorkshopIdNil sets the value for WorkshopId to be an explicit nil +func (o *ProvisioningRequest) SetWorkshopIdNil() { + o.WorkshopId.Set(nil) +} + +// UnsetWorkshopId ensures that no value is present for WorkshopId, not even an explicit nil +func (o *ProvisioningRequest) UnsetWorkshopId() { + o.WorkshopId.Unset() +} + +// GetWorkshopOverridePassword returns the WorkshopOverridePassword field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProvisioningRequest) GetWorkshopOverridePassword() string { + if o == nil || IsNil(o.WorkshopOverridePassword.Get()) { + var ret string + return ret + } + return *o.WorkshopOverridePassword.Get() +} + +// GetWorkshopOverridePasswordOk returns a tuple with the WorkshopOverridePassword field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProvisioningRequest) GetWorkshopOverridePasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.WorkshopOverridePassword.Get(), o.WorkshopOverridePassword.IsSet() +} + +// HasWorkshopOverridePassword returns a boolean if a field has been set. +func (o *ProvisioningRequest) HasWorkshopOverridePassword() bool { + if o != nil && o.WorkshopOverridePassword.IsSet() { + return true + } + + return false +} + +// SetWorkshopOverridePassword gets a reference to the given NullableString and assigns it to the WorkshopOverridePassword field. +func (o *ProvisioningRequest) SetWorkshopOverridePassword(v string) { + o.WorkshopOverridePassword.Set(&v) +} + +// SetWorkshopOverridePasswordNil sets the value for WorkshopOverridePassword to be an explicit nil +func (o *ProvisioningRequest) SetWorkshopOverridePasswordNil() { + o.WorkshopOverridePassword.Set(nil) +} + +// UnsetWorkshopOverridePassword ensures that no value is present for WorkshopOverridePassword, not even an explicit nil +func (o *ProvisioningRequest) UnsetWorkshopOverridePassword() { + o.WorkshopOverridePassword.Unset() +} + +func (o ProvisioningRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ProvisioningRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.BastionOperatingSystem.IsSet() { + toSerialize["bastion_operating_system"] = o.BastionOperatingSystem.Get() + } + if !IsNil(o.CatalogId) { + toSerialize["catalog_id"] = o.CatalogId + } + if !IsNil(o.CatalogIdAlias) { + toSerialize["catalog_id_alias"] = o.CatalogIdAlias + } + if o.Cluster.IsSet() { + toSerialize["cluster"] = o.Cluster.Get() + } + if o.CollectionBranch.IsSet() { + toSerialize["collection_branch"] = o.CollectionBranch.Get() + } + toSerialize["experience"] = o.Experience.Get() + if o.ExperienceBranch.IsSet() { + toSerialize["experience_branch"] = o.ExperienceBranch.Get() + } + if !IsNil(o.ExperienceId) { + toSerialize["experience_id"] = o.ExperienceId + } + if o.FlightcontrolRelease.IsSet() { + toSerialize["flightcontrol_release"] = o.FlightcontrolRelease.Get() + } + if o.GarageId.IsSet() { + toSerialize["garage_id"] = o.GarageId.Get() + } + if o.GcBranch.IsSet() { + toSerialize["gc_branch"] = o.GcBranch.Get() + } + if o.GpuAlias.IsSet() { + toSerialize["gpu_alias"] = o.GpuAlias.Get() + } + if !IsNil(o.GpuCount) { + toSerialize["gpu_count"] = o.GpuCount + } + if o.GpuModel.IsSet() { + toSerialize["gpu_model"] = o.GpuModel.Get() + } + if o.GpuOsName.IsSet() { + toSerialize["gpu_os_name"] = o.GpuOsName.Get() + } + if o.GpuOsRelease.IsSet() { + toSerialize["gpu_os_release"] = o.GpuOsRelease.Get() + } + if o.GpuOsVersion.IsSet() { + toSerialize["gpu_os_version"] = o.GpuOsVersion.Get() + } + if !IsNil(o.MinGpuCount) { + toSerialize["min_gpu_count"] = o.MinGpuCount + } + if !IsNil(o.NodeCount) { + toSerialize["node_count"] = o.NodeCount + } + if o.OemName.IsSet() { + toSerialize["oem_name"] = o.OemName.Get() + } + if o.PersistOnFailure.IsSet() { + toSerialize["persist_on_failure"] = o.PersistOnFailure.Get() + } + if o.Persona.IsSet() { + toSerialize["persona"] = o.Persona.Get() + } + if !IsNil(o.Pipeline) { + toSerialize["pipeline"] = o.Pipeline + } + if o.PipelineBranch.IsSet() { + toSerialize["pipeline_branch"] = o.PipelineBranch.Get() + } + if o.Platform.IsSet() { + toSerialize["platform"] = o.Platform.Get() + } + if o.ProviderName.IsSet() { + toSerialize["provider_name"] = o.ProviderName.Get() + } + if o.Region.IsSet() { + toSerialize["region"] = o.Region.Get() + } + toSerialize["request_id"] = o.RequestId + if o.Runtime.IsSet() { + toSerialize["runtime"] = o.Runtime.Get() + } + if o.RuntimeBranch.IsSet() { + toSerialize["runtime_branch"] = o.RuntimeBranch.Get() + } + if o.RuntimeCnsAddonPack.IsSet() { + toSerialize["runtime_cns_addon_pack"] = o.RuntimeCnsAddonPack.Get() + } + if o.RuntimeCnsDocker.IsSet() { + toSerialize["runtime_cns_docker"] = o.RuntimeCnsDocker.Get() + } + if o.RuntimeCnsDriverVersion.IsSet() { + toSerialize["runtime_cns_driver_version"] = o.RuntimeCnsDriverVersion.Get() + } + if o.RuntimeCnsK8s.IsSet() { + toSerialize["runtime_cns_k8s"] = o.RuntimeCnsK8s.Get() + } + if o.RuntimeCnsNvidiaDriver.IsSet() { + toSerialize["runtime_cns_nvidia_driver"] = o.RuntimeCnsNvidiaDriver.Get() + } + if o.RuntimeCnsVersion.IsSet() { + toSerialize["runtime_cns_version"] = o.RuntimeCnsVersion.Get() + } + if o.RuntimeMig.IsSet() { + toSerialize["runtime_mig"] = o.RuntimeMig.Get() + } + if o.RuntimeMigProfile.IsSet() { + toSerialize["runtime_mig_profile"] = o.RuntimeMigProfile.Get() + } + if o.RuntimeUrl.IsSet() { + toSerialize["runtime_url"] = o.RuntimeUrl.Get() + } + if o.Workshop.IsSet() { + toSerialize["workshop"] = o.Workshop.Get() + } + if o.WorkshopId.IsSet() { + toSerialize["workshop_id"] = o.WorkshopId.Get() + } + if o.WorkshopOverridePassword.IsSet() { + toSerialize["workshop_override_password"] = o.WorkshopOverridePassword.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ProvisioningRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "experience", + "request_id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varProvisioningRequest := _ProvisioningRequest{} + + err = json.Unmarshal(data, &varProvisioningRequest) + + if err != nil { + return err + } + + *o = ProvisioningRequest(varProvisioningRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "bastion_operating_system") + delete(additionalProperties, "catalog_id") + delete(additionalProperties, "catalog_id_alias") + delete(additionalProperties, "cluster") + delete(additionalProperties, "collection_branch") + delete(additionalProperties, "experience") + delete(additionalProperties, "experience_branch") + delete(additionalProperties, "experience_id") + delete(additionalProperties, "flightcontrol_release") + delete(additionalProperties, "garage_id") + delete(additionalProperties, "gc_branch") + delete(additionalProperties, "gpu_alias") + delete(additionalProperties, "gpu_count") + delete(additionalProperties, "gpu_model") + delete(additionalProperties, "gpu_os_name") + delete(additionalProperties, "gpu_os_release") + delete(additionalProperties, "gpu_os_version") + delete(additionalProperties, "min_gpu_count") + delete(additionalProperties, "node_count") + delete(additionalProperties, "oem_name") + delete(additionalProperties, "persist_on_failure") + delete(additionalProperties, "persona") + delete(additionalProperties, "pipeline") + delete(additionalProperties, "pipeline_branch") + delete(additionalProperties, "platform") + delete(additionalProperties, "provider_name") + delete(additionalProperties, "region") + delete(additionalProperties, "request_id") + delete(additionalProperties, "runtime") + delete(additionalProperties, "runtime_branch") + delete(additionalProperties, "runtime_cns_addon_pack") + delete(additionalProperties, "runtime_cns_docker") + delete(additionalProperties, "runtime_cns_driver_version") + delete(additionalProperties, "runtime_cns_k8s") + delete(additionalProperties, "runtime_cns_nvidia_driver") + delete(additionalProperties, "runtime_cns_version") + delete(additionalProperties, "runtime_mig") + delete(additionalProperties, "runtime_mig_profile") + delete(additionalProperties, "runtime_url") + delete(additionalProperties, "workshop") + delete(additionalProperties, "workshop_id") + delete(additionalProperties, "workshop_override_password") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableProvisioningRequest struct { + value *ProvisioningRequest + isSet bool +} + +func (v NullableProvisioningRequest) Get() *ProvisioningRequest { + return v.value +} + +func (v *NullableProvisioningRequest) Set(val *ProvisioningRequest) { + v.value = val + v.isSet = true +} + +func (v NullableProvisioningRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableProvisioningRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProvisioningRequest(val *ProvisioningRequest) *NullableProvisioningRequest { + return &NullableProvisioningRequest{value: val, isSet: true} +} + +func (v NullableProvisioningRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProvisioningRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_provisioning_state_enum.go b/v1/providers/launchpad/gen/launchpad/model_provisioning_state_enum.go index 4e0766e5..293ef358 100644 --- a/v1/providers/launchpad/gen/launchpad/model_provisioning_state_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_provisioning_state_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_published_enum.go b/v1/providers/launchpad/gen/launchpad/model_published_enum.go index a6e0fc8c..8ccdd5d7 100644 --- a/v1/providers/launchpad/gen/launchpad/model_published_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_published_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_runtime.go b/v1/providers/launchpad/gen/launchpad/model_runtime.go new file mode 100644 index 00000000..911dc9bb --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_runtime.go @@ -0,0 +1,662 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the Runtime type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Runtime{} + +// Runtime struct for Runtime +type Runtime struct { + // Runtime repository branch + Branch *string `json:"branch,omitempty"` + // Include CNS add-ons? + CnsAddonPack *bool `json:"cns_addon_pack,omitempty"` + // Include Docker with CNS? + CnsDocker *bool `json:"cns_docker,omitempty"` + // GPU driver version + CnsDriverVersion NullableString `json:"cns_driver_version,omitempty"` + // Include Kubernetes with CNS? + CnsK8s *bool `json:"cns_k8s,omitempty"` + // Include NVIDIA driver with CNS? + CnsNvidiaDriver *bool `json:"cns_nvidia_driver,omitempty"` + // NVIDIA Cloud Native Stack version + CnsVersion NullableString `json:"cns_version,omitempty"` + // Timestamp of when the object was created + Created time.Time `json:"created"` + Id string `json:"id"` + // Include MIG support with CNS? + Mig *bool `json:"mig,omitempty"` + // MIG profile name + MigProfile NullableString `json:"mig_profile,omitempty"` + // Timestamp of when the object was last modified + Modified time.Time `json:"modified"` + // Human-readable name of the runtime + Name string `json:"name"` + // URL of the runtime repository + Url string `json:"url"` + AdditionalProperties map[string]interface{} +} + +type _Runtime Runtime + +// NewRuntime instantiates a new Runtime object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRuntime(created time.Time, id string, modified time.Time, name string, url string) *Runtime { + this := Runtime{} + this.Created = created + this.Id = id + this.Modified = modified + this.Name = name + this.Url = url + return &this +} + +// NewRuntimeWithDefaults instantiates a new Runtime object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRuntimeWithDefaults() *Runtime { + this := Runtime{} + return &this +} + +// GetBranch returns the Branch field value if set, zero value otherwise. +func (o *Runtime) GetBranch() string { + if o == nil || IsNil(o.Branch) { + var ret string + return ret + } + return *o.Branch +} + +// GetBranchOk returns a tuple with the Branch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Runtime) GetBranchOk() (*string, bool) { + if o == nil || IsNil(o.Branch) { + return nil, false + } + return o.Branch, true +} + +// HasBranch returns a boolean if a field has been set. +func (o *Runtime) HasBranch() bool { + if o != nil && !IsNil(o.Branch) { + return true + } + + return false +} + +// SetBranch gets a reference to the given string and assigns it to the Branch field. +func (o *Runtime) SetBranch(v string) { + o.Branch = &v +} + +// GetCnsAddonPack returns the CnsAddonPack field value if set, zero value otherwise. +func (o *Runtime) GetCnsAddonPack() bool { + if o == nil || IsNil(o.CnsAddonPack) { + var ret bool + return ret + } + return *o.CnsAddonPack +} + +// GetCnsAddonPackOk returns a tuple with the CnsAddonPack field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Runtime) GetCnsAddonPackOk() (*bool, bool) { + if o == nil || IsNil(o.CnsAddonPack) { + return nil, false + } + return o.CnsAddonPack, true +} + +// HasCnsAddonPack returns a boolean if a field has been set. +func (o *Runtime) HasCnsAddonPack() bool { + if o != nil && !IsNil(o.CnsAddonPack) { + return true + } + + return false +} + +// SetCnsAddonPack gets a reference to the given bool and assigns it to the CnsAddonPack field. +func (o *Runtime) SetCnsAddonPack(v bool) { + o.CnsAddonPack = &v +} + +// GetCnsDocker returns the CnsDocker field value if set, zero value otherwise. +func (o *Runtime) GetCnsDocker() bool { + if o == nil || IsNil(o.CnsDocker) { + var ret bool + return ret + } + return *o.CnsDocker +} + +// GetCnsDockerOk returns a tuple with the CnsDocker field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Runtime) GetCnsDockerOk() (*bool, bool) { + if o == nil || IsNil(o.CnsDocker) { + return nil, false + } + return o.CnsDocker, true +} + +// HasCnsDocker returns a boolean if a field has been set. +func (o *Runtime) HasCnsDocker() bool { + if o != nil && !IsNil(o.CnsDocker) { + return true + } + + return false +} + +// SetCnsDocker gets a reference to the given bool and assigns it to the CnsDocker field. +func (o *Runtime) SetCnsDocker(v bool) { + o.CnsDocker = &v +} + +// GetCnsDriverVersion returns the CnsDriverVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Runtime) GetCnsDriverVersion() string { + if o == nil || IsNil(o.CnsDriverVersion.Get()) { + var ret string + return ret + } + return *o.CnsDriverVersion.Get() +} + +// GetCnsDriverVersionOk returns a tuple with the CnsDriverVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Runtime) GetCnsDriverVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CnsDriverVersion.Get(), o.CnsDriverVersion.IsSet() +} + +// HasCnsDriverVersion returns a boolean if a field has been set. +func (o *Runtime) HasCnsDriverVersion() bool { + if o != nil && o.CnsDriverVersion.IsSet() { + return true + } + + return false +} + +// SetCnsDriverVersion gets a reference to the given NullableString and assigns it to the CnsDriverVersion field. +func (o *Runtime) SetCnsDriverVersion(v string) { + o.CnsDriverVersion.Set(&v) +} + +// SetCnsDriverVersionNil sets the value for CnsDriverVersion to be an explicit nil +func (o *Runtime) SetCnsDriverVersionNil() { + o.CnsDriverVersion.Set(nil) +} + +// UnsetCnsDriverVersion ensures that no value is present for CnsDriverVersion, not even an explicit nil +func (o *Runtime) UnsetCnsDriverVersion() { + o.CnsDriverVersion.Unset() +} + +// GetCnsK8s returns the CnsK8s field value if set, zero value otherwise. +func (o *Runtime) GetCnsK8s() bool { + if o == nil || IsNil(o.CnsK8s) { + var ret bool + return ret + } + return *o.CnsK8s +} + +// GetCnsK8sOk returns a tuple with the CnsK8s field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Runtime) GetCnsK8sOk() (*bool, bool) { + if o == nil || IsNil(o.CnsK8s) { + return nil, false + } + return o.CnsK8s, true +} + +// HasCnsK8s returns a boolean if a field has been set. +func (o *Runtime) HasCnsK8s() bool { + if o != nil && !IsNil(o.CnsK8s) { + return true + } + + return false +} + +// SetCnsK8s gets a reference to the given bool and assigns it to the CnsK8s field. +func (o *Runtime) SetCnsK8s(v bool) { + o.CnsK8s = &v +} + +// GetCnsNvidiaDriver returns the CnsNvidiaDriver field value if set, zero value otherwise. +func (o *Runtime) GetCnsNvidiaDriver() bool { + if o == nil || IsNil(o.CnsNvidiaDriver) { + var ret bool + return ret + } + return *o.CnsNvidiaDriver +} + +// GetCnsNvidiaDriverOk returns a tuple with the CnsNvidiaDriver field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Runtime) GetCnsNvidiaDriverOk() (*bool, bool) { + if o == nil || IsNil(o.CnsNvidiaDriver) { + return nil, false + } + return o.CnsNvidiaDriver, true +} + +// HasCnsNvidiaDriver returns a boolean if a field has been set. +func (o *Runtime) HasCnsNvidiaDriver() bool { + if o != nil && !IsNil(o.CnsNvidiaDriver) { + return true + } + + return false +} + +// SetCnsNvidiaDriver gets a reference to the given bool and assigns it to the CnsNvidiaDriver field. +func (o *Runtime) SetCnsNvidiaDriver(v bool) { + o.CnsNvidiaDriver = &v +} + +// GetCnsVersion returns the CnsVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Runtime) GetCnsVersion() string { + if o == nil || IsNil(o.CnsVersion.Get()) { + var ret string + return ret + } + return *o.CnsVersion.Get() +} + +// GetCnsVersionOk returns a tuple with the CnsVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Runtime) GetCnsVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CnsVersion.Get(), o.CnsVersion.IsSet() +} + +// HasCnsVersion returns a boolean if a field has been set. +func (o *Runtime) HasCnsVersion() bool { + if o != nil && o.CnsVersion.IsSet() { + return true + } + + return false +} + +// SetCnsVersion gets a reference to the given NullableString and assigns it to the CnsVersion field. +func (o *Runtime) SetCnsVersion(v string) { + o.CnsVersion.Set(&v) +} + +// SetCnsVersionNil sets the value for CnsVersion to be an explicit nil +func (o *Runtime) SetCnsVersionNil() { + o.CnsVersion.Set(nil) +} + +// UnsetCnsVersion ensures that no value is present for CnsVersion, not even an explicit nil +func (o *Runtime) UnsetCnsVersion() { + o.CnsVersion.Unset() +} + +// GetCreated returns the Created field value +func (o *Runtime) GetCreated() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Created +} + +// GetCreatedOk returns a tuple with the Created field value +// and a boolean to check if the value has been set. +func (o *Runtime) GetCreatedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Created, true +} + +// SetCreated sets field value +func (o *Runtime) SetCreated(v time.Time) { + o.Created = v +} + +// GetId returns the Id field value +func (o *Runtime) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *Runtime) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *Runtime) SetId(v string) { + o.Id = v +} + +// GetMig returns the Mig field value if set, zero value otherwise. +func (o *Runtime) GetMig() bool { + if o == nil || IsNil(o.Mig) { + var ret bool + return ret + } + return *o.Mig +} + +// GetMigOk returns a tuple with the Mig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Runtime) GetMigOk() (*bool, bool) { + if o == nil || IsNil(o.Mig) { + return nil, false + } + return o.Mig, true +} + +// HasMig returns a boolean if a field has been set. +func (o *Runtime) HasMig() bool { + if o != nil && !IsNil(o.Mig) { + return true + } + + return false +} + +// SetMig gets a reference to the given bool and assigns it to the Mig field. +func (o *Runtime) SetMig(v bool) { + o.Mig = &v +} + +// GetMigProfile returns the MigProfile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Runtime) GetMigProfile() string { + if o == nil || IsNil(o.MigProfile.Get()) { + var ret string + return ret + } + return *o.MigProfile.Get() +} + +// GetMigProfileOk returns a tuple with the MigProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Runtime) GetMigProfileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.MigProfile.Get(), o.MigProfile.IsSet() +} + +// HasMigProfile returns a boolean if a field has been set. +func (o *Runtime) HasMigProfile() bool { + if o != nil && o.MigProfile.IsSet() { + return true + } + + return false +} + +// SetMigProfile gets a reference to the given NullableString and assigns it to the MigProfile field. +func (o *Runtime) SetMigProfile(v string) { + o.MigProfile.Set(&v) +} + +// SetMigProfileNil sets the value for MigProfile to be an explicit nil +func (o *Runtime) SetMigProfileNil() { + o.MigProfile.Set(nil) +} + +// UnsetMigProfile ensures that no value is present for MigProfile, not even an explicit nil +func (o *Runtime) UnsetMigProfile() { + o.MigProfile.Unset() +} + +// GetModified returns the Modified field value +func (o *Runtime) GetModified() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Modified +} + +// GetModifiedOk returns a tuple with the Modified field value +// and a boolean to check if the value has been set. +func (o *Runtime) GetModifiedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Modified, true +} + +// SetModified sets field value +func (o *Runtime) SetModified(v time.Time) { + o.Modified = v +} + +// GetName returns the Name field value +func (o *Runtime) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *Runtime) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *Runtime) SetName(v string) { + o.Name = v +} + +// GetUrl returns the Url field value +func (o *Runtime) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *Runtime) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *Runtime) SetUrl(v string) { + o.Url = v +} + +func (o Runtime) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Runtime) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Branch) { + toSerialize["branch"] = o.Branch + } + if !IsNil(o.CnsAddonPack) { + toSerialize["cns_addon_pack"] = o.CnsAddonPack + } + if !IsNil(o.CnsDocker) { + toSerialize["cns_docker"] = o.CnsDocker + } + if o.CnsDriverVersion.IsSet() { + toSerialize["cns_driver_version"] = o.CnsDriverVersion.Get() + } + if !IsNil(o.CnsK8s) { + toSerialize["cns_k8s"] = o.CnsK8s + } + if !IsNil(o.CnsNvidiaDriver) { + toSerialize["cns_nvidia_driver"] = o.CnsNvidiaDriver + } + if o.CnsVersion.IsSet() { + toSerialize["cns_version"] = o.CnsVersion.Get() + } + toSerialize["created"] = o.Created + toSerialize["id"] = o.Id + if !IsNil(o.Mig) { + toSerialize["mig"] = o.Mig + } + if o.MigProfile.IsSet() { + toSerialize["mig_profile"] = o.MigProfile.Get() + } + toSerialize["modified"] = o.Modified + toSerialize["name"] = o.Name + toSerialize["url"] = o.Url + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Runtime) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "created", + "id", + "modified", + "name", + "url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varRuntime := _Runtime{} + + err = json.Unmarshal(data, &varRuntime) + + if err != nil { + return err + } + + *o = Runtime(varRuntime) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "branch") + delete(additionalProperties, "cns_addon_pack") + delete(additionalProperties, "cns_docker") + delete(additionalProperties, "cns_driver_version") + delete(additionalProperties, "cns_k8s") + delete(additionalProperties, "cns_nvidia_driver") + delete(additionalProperties, "cns_version") + delete(additionalProperties, "created") + delete(additionalProperties, "id") + delete(additionalProperties, "mig") + delete(additionalProperties, "mig_profile") + delete(additionalProperties, "modified") + delete(additionalProperties, "name") + delete(additionalProperties, "url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRuntime struct { + value *Runtime + isSet bool +} + +func (v NullableRuntime) Get() *Runtime { + return v.value +} + +func (v *NullableRuntime) Set(val *Runtime) { + v.value = val + v.isSet = true +} + +func (v NullableRuntime) IsSet() bool { + return v.isSet +} + +func (v *NullableRuntime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRuntime(val *Runtime) *NullableRuntime { + return &NullableRuntime{value: val, isSet: true} +} + +func (v NullableRuntime) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRuntime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_status_enum.go b/v1/providers/launchpad/gen/launchpad/model_status_enum.go index 41629a3f..d2676d60 100644 --- a/v1/providers/launchpad/gen/launchpad/model_status_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_status_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_system_arch_enum.go b/v1/providers/launchpad/gen/launchpad/model_system_arch_enum.go index c272c06a..247ab7c5 100644 --- a/v1/providers/launchpad/gen/launchpad/model_system_arch_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_system_arch_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_tenant.go b/v1/providers/launchpad/gen/launchpad/model_tenant.go index 3615bf13..109bc046 100644 --- a/v1/providers/launchpad/gen/launchpad/model_tenant.go +++ b/v1/providers/launchpad/gen/launchpad/model_tenant.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_type_enum.go b/v1/providers/launchpad/gen/launchpad/model_type_enum.go index 710dc1df..f1f8d2a9 100644 --- a/v1/providers/launchpad/gen/launchpad/model_type_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_type_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/model_version_retrieve_200_response.go b/v1/providers/launchpad/gen/launchpad/model_version_retrieve_200_response.go new file mode 100644 index 00000000..6827109c --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/model_version_retrieve_200_response.go @@ -0,0 +1,153 @@ +/* +NVIDIA LaunchPad API + +RESTful API for interacting with the NVIDIA LaunchPad platform + +API version: 2.39.5 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package openapi + +import ( + "encoding/json" +) + +// checks if the VersionRetrieve200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &VersionRetrieve200Response{} + +// VersionRetrieve200Response struct for VersionRetrieve200Response +type VersionRetrieve200Response struct { + ApplicationVersion *string `json:"application_version,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _VersionRetrieve200Response VersionRetrieve200Response + +// NewVersionRetrieve200Response instantiates a new VersionRetrieve200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewVersionRetrieve200Response() *VersionRetrieve200Response { + this := VersionRetrieve200Response{} + return &this +} + +// NewVersionRetrieve200ResponseWithDefaults instantiates a new VersionRetrieve200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVersionRetrieve200ResponseWithDefaults() *VersionRetrieve200Response { + this := VersionRetrieve200Response{} + return &this +} + +// GetApplicationVersion returns the ApplicationVersion field value if set, zero value otherwise. +func (o *VersionRetrieve200Response) GetApplicationVersion() string { + if o == nil || IsNil(o.ApplicationVersion) { + var ret string + return ret + } + return *o.ApplicationVersion +} + +// GetApplicationVersionOk returns a tuple with the ApplicationVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VersionRetrieve200Response) GetApplicationVersionOk() (*string, bool) { + if o == nil || IsNil(o.ApplicationVersion) { + return nil, false + } + return o.ApplicationVersion, true +} + +// HasApplicationVersion returns a boolean if a field has been set. +func (o *VersionRetrieve200Response) HasApplicationVersion() bool { + if o != nil && !IsNil(o.ApplicationVersion) { + return true + } + + return false +} + +// SetApplicationVersion gets a reference to the given string and assigns it to the ApplicationVersion field. +func (o *VersionRetrieve200Response) SetApplicationVersion(v string) { + o.ApplicationVersion = &v +} + +func (o VersionRetrieve200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o VersionRetrieve200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.ApplicationVersion) { + toSerialize["application_version"] = o.ApplicationVersion + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *VersionRetrieve200Response) UnmarshalJSON(data []byte) (err error) { + varVersionRetrieve200Response := _VersionRetrieve200Response{} + + err = json.Unmarshal(data, &varVersionRetrieve200Response) + + if err != nil { + return err + } + + *o = VersionRetrieve200Response(varVersionRetrieve200Response) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "application_version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableVersionRetrieve200Response struct { + value *VersionRetrieve200Response + isSet bool +} + +func (v NullableVersionRetrieve200Response) Get() *VersionRetrieve200Response { + return v.value +} + +func (v *NullableVersionRetrieve200Response) Set(val *VersionRetrieve200Response) { + v.value = val + v.isSet = true +} + +func (v NullableVersionRetrieve200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableVersionRetrieve200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVersionRetrieve200Response(val *VersionRetrieve200Response) *NullableVersionRetrieve200Response { + return &NullableVersionRetrieve200Response{value: val, isSet: true} +} + +func (v NullableVersionRetrieve200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVersionRetrieve200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/v1/providers/launchpad/gen/launchpad/model_vgpu_profile_enum.go b/v1/providers/launchpad/gen/launchpad/model_vgpu_profile_enum.go index 640450e7..c0b3fe8c 100644 --- a/v1/providers/launchpad/gen/launchpad/model_vgpu_profile_enum.go +++ b/v1/providers/launchpad/gen/launchpad/model_vgpu_profile_enum.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/response.go b/v1/providers/launchpad/gen/launchpad/response.go index 53215788..23312ea1 100644 --- a/v1/providers/launchpad/gen/launchpad/response.go +++ b/v1/providers/launchpad/gen/launchpad/response.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go b/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go index cd1bc2af..f2db4fd2 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go @@ -11,54 +11,63 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_AuthAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test AuthAPIService AuthLoginCreate", func(t *testing.T) { + t.Run("Test AuthAPIService V1AuthLoginCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.AuthAPI.AuthLoginCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.AuthAPI.V1AuthLoginCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test AuthAPIService AuthLogoutCreate", func(t *testing.T) { + t.Run("Test AuthAPIService V1AuthLogoutCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.AuthAPI.AuthLogoutCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.AuthAPI.V1AuthLogoutCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test AuthAPIService AuthPasswordChangeCreate", func(t *testing.T) { + t.Run("Test AuthAPIService V1AuthPasswordChangeCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.AuthAPI.AuthPasswordChangeCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.AuthAPI.V1AuthPasswordChangeCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test AuthAPIService AuthRedirectRetrieve", func(t *testing.T) { + t.Run("Test AuthAPIService V1AuthRedirectRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.AuthAPI.AuthRedirectRetrieve(context.Background()).Execute() + resp, httpRes, err := apiClient.AuthAPI.V1AuthRedirectRetrieve(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go index 3a778836..699195d2 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go @@ -11,396 +11,461 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsBulkPartialUpdate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsBulkPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsCreate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsDestroy", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsDestroy(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsDestroy(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsHistoryList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsInstancesList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsInstancesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsInstancesList(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsInstancesList(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsList(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsNotesCreate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesCreate(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesCreate(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsNotesDestroy", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string var id string - httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesDestroy(context.Background(), deploymentId, id).Execute() + httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesDestroy(context.Background(), deploymentId, id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsNotesList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesList(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesList(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsNotesPartialUpdate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesPartialUpdate(context.Background(), deploymentId, id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesPartialUpdate(context.Background(), deploymentId, id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsNotesRetrieve", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesRetrieve(context.Background(), deploymentId, id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesRetrieve(context.Background(), deploymentId, id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsNotesUpdate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsNotesUpdate(context.Background(), deploymentId, id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsNotesUpdate(context.Background(), deploymentId, id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsPartialUpdate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsPipelinesCreate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsPipelinesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsPipelinesCreate(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesCreate(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsPipelinesList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsPipelinesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsPipelinesList(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsPipelinesList(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsRetrieve", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsServicesCreate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsServicesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsServicesCreate(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsServicesCreate(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsServicesList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsServicesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsServicesList(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsServicesList(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsSshKeysCreate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsSshKeysCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsSshKeysCreate(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysCreate(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsSshKeysDestroy", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsSshKeysDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string var id string - httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsSshKeysDestroy(context.Background(), deploymentId, id).Execute() + httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysDestroy(context.Background(), deploymentId, id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsSshKeysList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsSshKeysList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsSshKeysList(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsSshKeysList(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsStatsRetrieve", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsStatsRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test - httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsStatsRetrieve(context.Background()).Execute() + httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsTasksCreate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsTasksCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsTasksCreate(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsTasksCreate(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsTasksList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsTasksList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsTasksList(context.Background(), deploymentId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsTasksList(context.Background(), deploymentId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsTasksRetrieve", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsTasksRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var deploymentId string var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsTasksRetrieve(context.Background(), deploymentId, id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsTasksRetrieve(context.Background(), deploymentId, id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogDeploymentsUpdate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogDeploymentsUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogExperiencesNotesCreate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var experienceId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesCreate(context.Background(), experienceId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesCreate(context.Background(), experienceId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogExperiencesNotesDestroy", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var experienceId string var id string - httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesDestroy(context.Background(), experienceId, id).Execute() + httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesDestroy(context.Background(), experienceId, id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogExperiencesNotesList", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var experienceId string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesList(context.Background(), experienceId).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesList(context.Background(), experienceId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogExperiencesNotesPartialUpdate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var experienceId string var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesPartialUpdate(context.Background(), experienceId, id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesPartialUpdate(context.Background(), experienceId, id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogExperiencesNotesRetrieve", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var experienceId string var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesRetrieve(context.Background(), experienceId, id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesRetrieve(context.Background(), experienceId, id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogDeploymentsAPIService CatalogExperiencesNotesUpdate", func(t *testing.T) { + t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var experienceId string var id string - resp, httpRes, err := apiClient.CatalogDeploymentsAPI.CatalogExperiencesNotesUpdate(context.Background(), experienceId, id).Execute() + resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogExperiencesNotesUpdate(context.Background(), experienceId, id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go index f99a94cf..429ba10c 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go @@ -11,122 +11,143 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesBulkCreate", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesBulkCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesBulkCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesBulkCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesBulkPartialUpdate", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesBulkPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesCreate", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesDestroy", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesHistoryList", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesList", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesList(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesPartialUpdate", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesRetrieve", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesStatsRetrieve", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesStatsRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test - httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesStatsRetrieve(context.Background()).Execute() + httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogExperiencesAPIService CatalogExperiencesUpdate", func(t *testing.T) { + t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.CatalogExperiencesAPI.CatalogExperiencesUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go index 3f37b2d2..45859a9a 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go @@ -11,34 +11,39 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_CatalogGpuOsChoicesAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test CatalogGpuOsChoicesAPIService CatalogGpuOsChoicesCreate", func(t *testing.T) { + t.Run("Test CatalogGpuOsChoicesAPIService V1CatalogGpuOsChoicesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogGpuOsChoicesAPIService CatalogGpuOsChoicesList", func(t *testing.T) { + t.Run("Test CatalogGpuOsChoicesAPIService V1CatalogGpuOsChoicesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogGpuOsChoicesAPI.CatalogGpuOsChoicesList(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go index 31434ae7..de184339 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go @@ -11,24 +11,27 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_CatalogInstanceTypesAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test CatalogInstanceTypesAPIService CatalogInstanceTypesList", func(t *testing.T) { + t.Run("Test CatalogInstanceTypesAPIService V1CatalogInstanceTypesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogInstanceTypesAPI.CatalogInstanceTypesList(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogInstanceTypesAPI.V1CatalogInstanceTypesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go index 2eb684b2..2ed0af88 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go @@ -11,34 +11,39 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_CatalogPersonaChoicesAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test CatalogPersonaChoicesAPIService CatalogPersonaChoicesCreate", func(t *testing.T) { + t.Run("Test CatalogPersonaChoicesAPIService V1CatalogPersonaChoicesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogPersonaChoicesAPI.CatalogPersonaChoicesCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test CatalogPersonaChoicesAPIService CatalogPersonaChoicesList", func(t *testing.T) { + t.Run("Test CatalogPersonaChoicesAPIService V1CatalogPersonaChoicesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.CatalogPersonaChoicesAPI.CatalogPersonaChoicesList(context.Background()).Execute() + resp, httpRes, err := apiClient.CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go new file mode 100644 index 00000000..a2719672 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go @@ -0,0 +1,118 @@ +/* +NVIDIA LaunchPad API + +Testing CatalogRuntimesAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package openapi + +import ( + "context" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" +) + +func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesCreate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesCreate(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesHistoryList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesHistoryList(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesList", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesList(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/v1/providers/launchpad/gen/launchpad/test/api_health_test.go b/v1/providers/launchpad/gen/launchpad/test/api_health_test.go new file mode 100644 index 00000000..508bb941 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/test/api_health_test.go @@ -0,0 +1,37 @@ +/* +NVIDIA LaunchPad API + +Testing HealthAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package openapi + +import ( + "context" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" +) + +func Test_openapi_HealthAPIService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test HealthAPIService HealthRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.HealthAPI.HealthRetrieve(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go b/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go index c60c9114..d5ec9d2f 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go @@ -11,34 +11,39 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_IdentityProfileAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test IdentityProfileAPIService IdentityProfilePartialUpdate", func(t *testing.T) { + t.Run("Test IdentityProfileAPIService V1IdentityProfilePartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.IdentityProfileAPI.IdentityProfilePartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.IdentityProfileAPI.V1IdentityProfilePartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test IdentityProfileAPIService IdentityProfileRetrieve", func(t *testing.T) { + t.Run("Test IdentityProfileAPIService V1IdentityProfileRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.IdentityProfileAPI.IdentityProfileRetrieve(context.Background()).Execute() + resp, httpRes, err := apiClient.IdentityProfileAPI.V1IdentityProfileRetrieve(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go index 31bcd750..b7421c7b 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go @@ -11,136 +11,213 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_InventoryClustersAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test InventoryClustersAPIService InventoryClustersBulkPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersBulkPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersCreate", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersDestroy", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersHistoryList", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersList", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersList(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersRetrieve", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersPipelinesTriggerCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersPipelinesTriggerCreate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersStatsRetrieve", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersProvisionCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersStatsRetrieve(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersProvisionCreate(context.Background()).Execute() require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test InventoryClustersAPIService V1InventoryClustersProvisionDestroy", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersProvisionDestroy(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersTenantsCreate", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersProvisionPartialUpdate", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersProvisionPartialUpdate(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test InventoryClustersAPIService V1InventoryClustersRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var id string + + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersRetrieve(context.Background(), id).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test InventoryClustersAPIService V1InventoryClustersStatsRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersStatsRetrieve(context.Background()).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test InventoryClustersAPIService V1InventoryClustersTenantsCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var clusterId string - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersTenantsCreate(context.Background(), clusterId).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersTenantsCreate(context.Background(), clusterId).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersTenantsDestroy", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersTenantsDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var clusterId string var id string - httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersTenantsDestroy(context.Background(), clusterId, id).Execute() + httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersTenantsDestroy(context.Background(), clusterId, id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryClustersAPIService InventoryClustersUpdate", func(t *testing.T) { + t.Run("Test InventoryClustersAPIService V1InventoryClustersUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryClustersAPI.InventoryClustersUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go index 6e74d605..44748588 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go @@ -11,112 +11,131 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_InventoryGpusAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test InventoryGpusAPIService InventoryGpusBulkPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusBulkPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusCreate", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusDestroy", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusHistoryList", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusList", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusList(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusRetrieve", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusStatsRetrieve", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusStatsRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test - httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusStatsRetrieve(context.Background()).Execute() + httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryGpusAPIService InventoryGpusUpdate", func(t *testing.T) { + t.Run("Test InventoryGpusAPIService V1InventoryGpusUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryGpusAPI.InventoryGpusUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go index dbc46a90..078c4ad4 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go @@ -11,103 +11,120 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_InventoryInstancesAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test InventoryInstancesAPIService InventoryInstancesBulkPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesBulkPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryInstancesAPIService InventoryInstancesCreate", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryInstancesAPIService InventoryInstancesDestroy", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryInstancesAPIService InventoryInstancesHistoryList", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryInstancesAPIService InventoryInstancesList", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesList(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryInstancesAPIService InventoryInstancesPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryInstancesAPIService InventoryInstancesRetrieve", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryInstancesAPIService InventoryInstancesUpdate", func(t *testing.T) { + t.Run("Test InventoryInstancesAPIService V1InventoryInstancesUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryInstancesAPI.InventoryInstancesUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go index ba43f9fa..fa7658d8 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go @@ -11,93 +11,108 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_InventoryLocationsAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test InventoryLocationsAPIService InventoryLocationsCreate", func(t *testing.T) { + t.Run("Test InventoryLocationsAPIService V1InventoryLocationsCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryLocationsAPI.InventoryLocationsCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryLocationsAPIService InventoryLocationsDestroy", func(t *testing.T) { + t.Run("Test InventoryLocationsAPIService V1InventoryLocationsDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.InventoryLocationsAPI.InventoryLocationsDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryLocationsAPIService InventoryLocationsHistoryList", func(t *testing.T) { + t.Run("Test InventoryLocationsAPIService V1InventoryLocationsHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryLocationsAPI.InventoryLocationsHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryLocationsAPIService InventoryLocationsList", func(t *testing.T) { + t.Run("Test InventoryLocationsAPIService V1InventoryLocationsList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryLocationsAPI.InventoryLocationsList(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryLocationsAPIService InventoryLocationsPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryLocationsAPIService V1InventoryLocationsPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryLocationsAPI.InventoryLocationsPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryLocationsAPIService InventoryLocationsRetrieve", func(t *testing.T) { + t.Run("Test InventoryLocationsAPIService V1InventoryLocationsRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryLocationsAPI.InventoryLocationsRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryLocationsAPIService InventoryLocationsUpdate", func(t *testing.T) { + t.Run("Test InventoryLocationsAPIService V1InventoryLocationsUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryLocationsAPI.InventoryLocationsUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go index ee904f24..302b4e49 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go @@ -11,113 +11,132 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_InventoryNodesAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test InventoryNodesAPIService InventoryNodesBulkCreate", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesBulkCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesBulkCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesBulkCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesBulkPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesBulkPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesCreate", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesDestroy", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesHistoryList", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesList", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesList(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesRetrieve", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryNodesAPIService InventoryNodesUpdate", func(t *testing.T) { + t.Run("Test InventoryNodesAPIService V1InventoryNodesUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryNodesAPI.InventoryNodesUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go index 04aba8a9..3a8a11da 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go @@ -11,93 +11,108 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_InventoryOemsAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test InventoryOemsAPIService InventoryOemsCreate", func(t *testing.T) { + t.Run("Test InventoryOemsAPIService V1InventoryOemsCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryOemsAPI.InventoryOemsCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryOemsAPIService InventoryOemsDestroy", func(t *testing.T) { + t.Run("Test InventoryOemsAPIService V1InventoryOemsDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.InventoryOemsAPI.InventoryOemsDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryOemsAPIService InventoryOemsHistoryList", func(t *testing.T) { + t.Run("Test InventoryOemsAPIService V1InventoryOemsHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryOemsAPI.InventoryOemsHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryOemsAPIService InventoryOemsList", func(t *testing.T) { + t.Run("Test InventoryOemsAPIService V1InventoryOemsList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryOemsAPI.InventoryOemsList(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryOemsAPIService InventoryOemsPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryOemsAPIService V1InventoryOemsPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryOemsAPI.InventoryOemsPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryOemsAPIService InventoryOemsRetrieve", func(t *testing.T) { + t.Run("Test InventoryOemsAPIService V1InventoryOemsRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryOemsAPI.InventoryOemsRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryOemsAPIService InventoryOemsUpdate", func(t *testing.T) { + t.Run("Test InventoryOemsAPIService V1InventoryOemsUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryOemsAPI.InventoryOemsUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go index 456112bc..20da6146 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go @@ -11,112 +11,131 @@ package openapi import ( "context" - "testing" - openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" ) func Test_openapi_InventoryProvidersAPIService(t *testing.T) { + configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - t.Run("Test InventoryProvidersAPIService InventoryProvidersBulkPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersBulkPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersBulkPartialUpdate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersBulkPartialUpdate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersCreate", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersCreate", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersCreate(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersCreate(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersDestroy", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersDestroy", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersDestroy(context.Background(), id).Execute() + httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersDestroy(context.Background(), id).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersHistoryList", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersHistoryList", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersHistoryList(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersHistoryList(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersList", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersList", func(t *testing.T) { + t.Skip("skip test") // remove to run test - resp, httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersList(context.Background()).Execute() + resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersList(context.Background()).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersPartialUpdate", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersPartialUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersPartialUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersPartialUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersRetrieve", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersRetrieve(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersRetrieve(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersStatsRetrieve", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersStatsRetrieve", func(t *testing.T) { + t.Skip("skip test") // remove to run test - httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersStatsRetrieve(context.Background()).Execute() + httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) + }) - t.Run("Test InventoryProvidersAPIService InventoryProvidersUpdate", func(t *testing.T) { + t.Run("Test InventoryProvidersAPIService V1InventoryProvidersUpdate", func(t *testing.T) { + t.Skip("skip test") // remove to run test var id string - resp, httpRes, err := apiClient.InventoryProvidersAPI.InventoryProvidersUpdate(context.Background(), id).Execute() + resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersUpdate(context.Background(), id).Execute() require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) + }) + } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_version_test.go b/v1/providers/launchpad/gen/launchpad/test/api_version_test.go new file mode 100644 index 00000000..41a05bf5 --- /dev/null +++ b/v1/providers/launchpad/gen/launchpad/test/api_version_test.go @@ -0,0 +1,37 @@ +/* +NVIDIA LaunchPad API + +Testing VersionAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package openapi + +import ( + "context" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" +) + +func Test_openapi_VersionAPIService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test VersionAPIService VersionRetrieve", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.VersionAPI.VersionRetrieve(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/v1/providers/launchpad/gen/launchpad/utils.go b/v1/providers/launchpad/gen/launchpad/utils.go index cdad09ec..2927b329 100644 --- a/v1/providers/launchpad/gen/launchpad/utils.go +++ b/v1/providers/launchpad/gen/launchpad/utils.go @@ -3,7 +3,7 @@ NVIDIA LaunchPad API RESTful API for interacting with the NVIDIA LaunchPad platform -API version: 2.36.1 +API version: 2.39.5 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/v1/providers/launchpad/instance_create.go b/v1/providers/launchpad/instance_create.go index 7b017817..229dabdd 100644 --- a/v1/providers/launchpad/instance_create.go +++ b/v1/providers/launchpad/instance_create.go @@ -64,7 +64,7 @@ func (c *LaunchpadClient) CreateInstance(ctx context.Context, attrs v1.CreateIns deployment.WorkshopId = *openapi.NewNullableString(nil) } - createDeployment, resp, err := c.client.CatalogDeploymentsAPI.CatalogDeploymentsCreate(c.makeAuthContext(ctx)). + createDeployment, resp, err := c.client.CatalogDeploymentsAPI.V1CatalogDeploymentsCreate(c.makeAuthContext(ctx)). Deployment(deployment). Execute() if resp != nil { diff --git a/v1/providers/launchpad/instance_get.go b/v1/providers/launchpad/instance_get.go index 451ca8ed..fa190dac 100644 --- a/v1/providers/launchpad/instance_get.go +++ b/v1/providers/launchpad/instance_get.go @@ -15,7 +15,7 @@ const ( ) func (c *LaunchpadClient) GetInstance(ctx context.Context, id v1.CloudProviderInstanceID) (*v1.Instance, error) { - getDeployment, resp, err := c.client.CatalogDeploymentsAPI.CatalogDeploymentsRetrieve(c.makeAuthContext(ctx), string(id)). + getDeployment, resp, err := c.client.CatalogDeploymentsAPI.V1CatalogDeploymentsRetrieve(c.makeAuthContext(ctx), string(id)). Expand(clusterExpandParameter). Execute() if resp != nil { diff --git a/v1/providers/launchpad/instance_list.go b/v1/providers/launchpad/instance_list.go index 84cbf75c..2fdbc275 100644 --- a/v1/providers/launchpad/instance_list.go +++ b/v1/providers/launchpad/instance_list.go @@ -38,7 +38,7 @@ func (c *LaunchpadClient) paginateListDeployments(ctx context.Context, pageSize deployments := make([]openapi.Deployment, 0, pageSize) var page int32 = 1 for { - listRes, resp, err := c.client.CatalogDeploymentsAPI.CatalogDeploymentsList(c.makeAuthContext(ctx)). + listRes, resp, err := c.client.CatalogDeploymentsAPI.V1CatalogDeploymentsList(c.makeAuthContext(ctx)). Expand(clusterExpandParameter). PageSize(pageSize). Page(page). diff --git a/v1/providers/launchpad/instance_terminate.go b/v1/providers/launchpad/instance_terminate.go index 328a5585..741072a8 100644 --- a/v1/providers/launchpad/instance_terminate.go +++ b/v1/providers/launchpad/instance_terminate.go @@ -13,7 +13,7 @@ func (c *LaunchpadClient) TerminateInstance(ctx context.Context, instanceID v1.C if err != nil { return errors.WrapAndTrace(err) } - _, resp, err := c.client.CatalogDeploymentsAPI.CatalogDeploymentsDestroy(c.makeAuthContext(ctx), string(instanceID)). + _, resp, err := c.client.CatalogDeploymentsAPI.V1CatalogDeploymentsDestroy(c.makeAuthContext(ctx), string(instanceID)). Execute() if resp != nil { defer resp.Body.Close() //nolint:errcheck // handled in err check diff --git a/v1/providers/launchpad/instancetype.go b/v1/providers/launchpad/instancetype.go index d9e36af5..22c58266 100644 --- a/v1/providers/launchpad/instancetype.go +++ b/v1/providers/launchpad/instancetype.go @@ -89,7 +89,8 @@ func (c *LaunchpadClient) paginateInstanceTypes(ctx context.Context, pageSize in var page int32 = 1 for { // Fetch page - instanceTypesRes, resp, err := c.client.CatalogInstanceTypesAPI.CatalogInstanceTypesList(c.makeAuthContext(ctx)). + instanceTypesRes, resp, err := c.client.CatalogInstanceTypesAPI.V1CatalogInstanceTypesList(c.makeAuthContext(ctx)). + Delivery(string(openapi.OnDemandSpeedFast)). PageSize(pageSize). Page(page). Execute() diff --git a/v1/providers/launchpad/scripts/finalize-swagger/main.go b/v1/providers/launchpad/scripts/finalize-swagger/main.go new file mode 100644 index 00000000..baf2f9f8 --- /dev/null +++ b/v1/providers/launchpad/scripts/finalize-swagger/main.go @@ -0,0 +1,703 @@ +package main + +import ( + "errors" + "fmt" + "os" + "regexp" + "strings" + + "golang.org/x/text/cases" + "golang.org/x/text/language" + yaml "gopkg.in/yaml.v3" +) + +// Run with "go run ./scripts/finalize-swagger " +func main() { + if len(os.Args) != 3 { + fmt.Println("Usage: finalize-swagger ") + os.Exit(1) + } + + iFilename := os.Args[1] + oFilename := os.Args[2] + + yamlNode, err := ReadInputFileAsYaml(iFilename) + if err != nil { + fmt.Println("Error reading input file:", err) + os.Exit(1) + } + + if err := FinalizeYaml(yamlNode); err != nil { + fmt.Println("Error finalizing swagger file:", err) + os.Exit(1) + } + + if err := WriteYamlToFile(oFilename, yamlNode); err != nil { + fmt.Println("Error writing output file:", err) + os.Exit(1) + } + + fmt.Println("Swagger file finalized successfully") +} + +// FinalizeYaml finalizes the YAML file into the expected format. +func FinalizeYaml(yamlNode *yaml.Node) error { + if err := AddMissingEnumValues(yamlNode); err != nil { + return err + } + if err := AddOneOfEntries(yamlNode); err != nil { + return err + } + if err := FinalizeNullnessOption(yamlNode); err != nil { + return err + } + //nolint:revive // readability + if err := RemoveRequiredFields(yamlNode); err != nil { + return err + } + return nil +} + +// AddMissingEnumValues adds the missing enum values to the YAML file. For any given schema, if a property exists +// that is defined as an enum, we want to ensure that the enum data is also represented by a new attribute: "x-enum-varnames". +// This attribute is used by the OpenAPI generator to generate the correct Go code for the enum. +// +// Example input: +// +// components: +// schemas: +// Foo: +// enum: +// - BAR +// - BAZ +// +// Example output: +// +// components: +// schemas: +// Foo: +// enum: +// - BAR +// - BAZ +// x-enum-varnames: +// - FooBar +// - FooBaz +// +// Note that the names are generated by the newEnumName function, which is a combination of the schema name and the +// enum value. +func AddMissingEnumValues(yamlNode *yaml.Node) error { + // We are only concerned with the components.schemas nodes + schemasNode := GetYamlNode(yamlNode, "components.schemas") + if schemasNode == nil { + return errors.New("no components.schemas node found") + } + + // For each schema, we need to add the missing enum values + for schemaName, schemaNode := range GetYamlChildrenMap(schemasNode) { + // Get the the enum property of the schema. If the schema does not have an enum property, we can skip this schema + // altogether. + enumNode := GetYamlNode(schemaNode, "enum") + if enumNode == nil { + continue + } + + // Build the enum varnames node using the schema name and the enum node + enumNodes := buildEnumVarnames(schemaName, enumNode) + + // Add the "x-enum-varnames" mapping to the schema (the key is added as a scalar node, the value is added as a sequence node) + schemaNode.Content = append(schemaNode.Content, &yaml.Node{ + Kind: yaml.ScalarNode, + Value: "x-enum-varnames", + }) + schemaNode.Content = append(schemaNode.Content, &yaml.Node{ + Kind: yaml.SequenceNode, + Content: enumNodes, + }) + } + + return nil +} + +func buildEnumVarnames(nodeName string, enumNode *yaml.Node) []*yaml.Node { + // Get the raw string enum values from the enum node + enumValues := make([]string, 0, len(enumNode.Content)) + for _, child := range enumNode.Content { + enumValues = append(enumValues, child.Value) + } + + // Use the enum node name as the prefix for the enum values (removing the "Enum" suffix if it exists) + prefix := nodeName + if strings.HasSuffix(prefix, "Enum") { + prefix = prefix[:len(prefix)-4] + } + + // Create the enum nodes + enumNodes := make([]*yaml.Node, 0, len(enumValues)) + for _, enumValue := range enumValues { + // Create the enum name, using the prefix and the enum value + name := newEnumName(prefix, enumValue) + + // Create the enum node, using the name + enumNodes = append(enumNodes, &yaml.Node{ + Kind: yaml.ScalarNode, + Value: name, + }) + } + + return enumNodes +} + +func newEnumName(prefix string, enumValue string) string { + // Convert known abbreviations to upper case + suffix := abbreviationsToUpper(enumValue) + + // If the suffix contains a hyphen, append the suffix "Legacy" + if strings.Contains(suffix, "-") { + suffix += "Legacy" + } + // Convert the enum value to upper camel case + suffix = upperCamelCase(suffix) + + // Return the prefix and suffix combined + return fmt.Sprintf("%s%s", prefix, suffix) +} + +var abbreviationReplacers = []struct { + re *regexp.Regexp + replace string +}{ + {regexp.MustCompile(`(?i)arm`), "ARM"}, + {regexp.MustCompile(`(?i)amd`), "AMD"}, + {regexp.MustCompile(`(?i)ssd`), "SSD"}, + {regexp.MustCompile(`(?i)sxm`), "SXM"}, + {regexp.MustCompile(`(?i)pcie`), "PCIe"}, + {regexp.MustCompile(`(?i)nvme`), "NVMe"}, +} + +func abbreviationsToUpper(s string) string { + // Convert known abbreviations to upper case + for _, r := range abbreviationReplacers { + s = r.re.ReplaceAllString(s, r.replace) + } + return s +} + +// AddOneOfEntries adds the oneOf entries to the YAML file. For any given schema, if a property exists that is defined +// with a type of string and a format of uuid, or an array with items of type string and a format of uuid, we want to +// ensure that the property is converted to a oneOf entry. This allows us to use the OpenAPI generator to generate the +// correct Go code for the property if we request that the full property be fetched, rather than just its UUID. +// +// Example input (single value): +// +// components: +// schemas: +// Foo: +// properties: +// bar: +// type: string +// format: uuid +// +// Example output: +// +// components: +// schemas: +// Foo: +// properties: +// bar: +// oneOf: +// - type: +// - string +// format: uuid +// - $ref: "#/components/schemas/Bar" +// x-go-json-tag: "bar,omitempty" +// +// Example input (array): +// +// components: +// schemas: +// Foo: +// properties: +// bars: +// type: array +// items: +// type: string +// format: uuid +// +// Example output: +// +// components: +// schemas: +// Foo: +// properties: +// bars: +// oneOf: +// - type: +// - string +// format: uuid +// - $ref: "#/components/schemas/Bar" +// x-go-json-tag: "bar,omitempty" +// x-go-json-tag: "bars,omitempty" +func AddOneOfEntries(yamlNode *yaml.Node) error { //nolint:gocyclo // readability + // We are only concerned with the components.schemas nodes + schemasNode := GetYamlNode(yamlNode, "components.schemas") + if schemasNode == nil { + return errors.New("no components.schemas node found") + } + + // For each schema, we need to check its children for oneOf entries + for _, schemaNode := range GetYamlChildrenMap(schemasNode) { + // Get the properties node of the schema. If the schema does not have a properties node, we can skip this schema + // altogether. + propertiesNode := GetYamlNode(schemaNode, "properties") + if propertiesNode == nil { + continue + } + + // If the properties node is not a mapping node (e.g. it's a sequence node), we can skip this schema altogether. + if propertiesNode.Kind != yaml.MappingNode { + return nil + } + + // For each property defined on this schema, we need to check if it is a string or array of strings with a format of uuid. + for i := 0; i < len(propertiesNode.Content); i += 2 { + key := propertiesNode.Content[i] + val := propertiesNode.Content[i+1] + + // Special case: we don't want to convert these fields to a oneOf entry. These fields may be defined as + // a string, but they don't have corresponding schema nodes, so we can't convert them to a oneOf entry. + if key.Value == "id" || + key.Value == "ids" || + key.Value == "experience_id" || + key.Value == "tenant_ids" || + key.Value == "required_gpus" || + key.Value == "pipelines" || + key.Value == "services" || + key.Value == "experience_branch" { + continue + } + + // Get the defined type of the property so that we can determine if it is a string or array of strings. If + // the type attribute is missing, we can skip this property. + nodeType := GetYamlNode(val, "type") + if nodeType == nil { + continue + } + + var oneOfNode *yaml.Node + if nodeType.Value == "string" { + // If the node is a string, convert it to a oneOf entry + oneOfNode = convertStringToOneOf(key, val) + } else if nodeType.Value == "array" { + // If the node is an array, convert it to a oneOf entry + oneOfNode = convertArrayToOneOf(key, val) + } + + if oneOfNode != nil { + propertiesNode.Content[i+1] = oneOfNode + } + } + } + return nil +} + +// ConvertStringToOneOf converts a single value to a oneOf entry +// +// This is a single value, so we want to convert it from something like this: +// +// foo: +// type: string +// format: uuid +// +// to something like this: +// +// foo: +// oneOf: +// - type: +// - string +// format: uuid +// - $ref: "#/components/schemas/Foo" +// x-go-json-tag: foo,omitempty +func convertStringToOneOf(key *yaml.Node, node *yaml.Node) *yaml.Node { + nodeFormat := GetYamlNode(node, "format") + if nodeFormat == nil { + // If the node has no format, return early as we can't convert it to a oneOf entry + return nil + } + if nodeFormat.Value != "uuid" { + // If the node is not a string or uuid, return early as we can't convert it to a oneOf entry + return nil + } + + // Get the component name, which should be the singular form of the key value in upper camel case + var componentName, fieldName string + + //nolint:gocritic // readability + if strings.HasSuffix(key.Value, "ies") { + componentName = strings.TrimSuffix(key.Value, "ies") + "y" + componentName = upperCamelCase(componentName) + } else if strings.HasSuffix(key.Value, "s") { + componentName = strings.TrimSuffix(key.Value, "s") + componentName = upperCamelCase(componentName) + } else { + componentName = upperCamelCase(key.Value) + } + + // Get the field name, which should be the same as the component name, but lower camel case + fieldName = strings.ToLower(componentName[0:1]) + componentName[1:] + + //nolint:dupl //ok + return &yaml.Node{ + Kind: yaml.MappingNode, + Content: []*yaml.Node{ + // oneOf: + {Kind: yaml.ScalarNode, Value: "oneOf"}, + { + Kind: yaml.SequenceNode, + Content: []*yaml.Node{ + { + Kind: yaml.MappingNode, + Content: []*yaml.Node{ + // - type: + {Kind: yaml.ScalarNode, Value: "type"}, + { + Kind: yaml.SequenceNode, + // - string + Content: []*yaml.Node{{Kind: yaml.ScalarNode, Value: "string"}}, + }, + // - format: uuid + {Kind: yaml.ScalarNode, Value: "format"}, + {Kind: yaml.ScalarNode, Value: "uuid"}, + }, + }, + { + Kind: yaml.MappingNode, + Content: []*yaml.Node{ + // - $ref: "#/components/schemas/" + {Kind: yaml.ScalarNode, Value: "$ref"}, + {Kind: yaml.ScalarNode, Value: fmt.Sprintf("#/components/schemas/%s", componentName), Style: yaml.DoubleQuotedStyle}, + }, + }, + }, + }, + // x-go-json-tag: ",omitempty" + {Kind: yaml.ScalarNode, Value: "x-go-json-tag"}, + {Kind: yaml.ScalarNode, Value: fmt.Sprintf("%s,omitempty", fieldName), Style: yaml.DoubleQuotedStyle}, + }, + } +} + +// convertArrayToOneOf converts an array to a oneOf entry +// +// This is an array, so we want to convert it from something like this: +// +// foos: +// type: array +// items: +// type: string +// format: uuid +// +// to something like this: +// +// foos: +// type: array +// items: +// oneOf: +// - type: +// - string +// format: uuid +// - $ref: "#/components/schemas/Foo" +// x-go-json-tag: "foos,omitempty" +// x-go-json-tag: "foo,omitempty" +// +// Note that the x-go-json-tag is added to the original node, not the oneOf entry +func convertArrayToOneOf(key *yaml.Node, node *yaml.Node) *yaml.Node { + nodeItemType := GetYamlNode(node, "items.type") + if nodeItemType == nil { + // If the node has no items.type, return early as we can't convert it to a oneOf entry + return nil + } + + nodeItemFormat := GetYamlNode(node, "items.format") + if nodeItemFormat == nil { + // If the node has no items.format, return early as we can't convert it to a oneOf entry + return nil + } + + if nodeItemType.Value != "string" || nodeItemFormat.Value != "uuid" { + // If the node is not a string or uuid, return early as we can't convert it to a oneOf entry + return nil + } + + // Get the component name, which should be the singular form of the key value in upper camel case + var componentName string + + //nolint:gocritic // readability + if strings.HasSuffix(key.Value, "ies") { + componentName = strings.TrimSuffix(key.Value, "ies") + "y" + componentName = upperCamelCase(componentName) + } else if strings.HasSuffix(key.Value, "s") { + componentName = strings.TrimSuffix(key.Value, "s") + componentName = upperCamelCase(componentName) + } else { + componentName = upperCamelCase(key.Value) + } + + // Get the field name, which should be the same as the component name, but lower camel case + fieldName := strings.ToLower(componentName[0:1]) + componentName[1:] + + // Get the fields name, which should be the same as the field name, but plural + fieldsName := fieldName + "s" + + //nolint:dupl //ok + return &yaml.Node{ + Kind: yaml.MappingNode, + Content: []*yaml.Node{ + // type: array + {Kind: yaml.ScalarNode, Value: "type"}, + {Kind: yaml.ScalarNode, Value: "array"}, + // items: + {Kind: yaml.ScalarNode, Value: "items"}, + { + Kind: yaml.MappingNode, + Content: []*yaml.Node{ + // oneOf: + {Kind: yaml.ScalarNode, Value: "oneOf"}, + { + Kind: yaml.SequenceNode, + Content: []*yaml.Node{ + { + Kind: yaml.MappingNode, + Content: []*yaml.Node{ + // - type: + {Kind: yaml.ScalarNode, Value: "type"}, + { + Kind: yaml.SequenceNode, + // - string + Content: []*yaml.Node{{Kind: yaml.ScalarNode, Value: "string"}}, + }, + // - format: uuid + {Kind: yaml.ScalarNode, Value: "format"}, + {Kind: yaml.ScalarNode, Value: "uuid"}, + }, + }, + { + Kind: yaml.MappingNode, + Content: []*yaml.Node{ + // - $ref: "#/components/schemas/" + {Kind: yaml.ScalarNode, Value: "$ref"}, + {Kind: yaml.ScalarNode, Value: fmt.Sprintf("#/components/schemas/%s", componentName), Style: yaml.DoubleQuotedStyle}, + }, + }, + }, + }, + // x-go-json-tag: ",omitempty" + {Kind: yaml.ScalarNode, Value: "x-go-json-tag"}, + {Kind: yaml.ScalarNode, Value: fmt.Sprintf("%s,omitempty", fieldName), Style: yaml.DoubleQuotedStyle}, + }, + }, + // x-go-json-tag: ",omitempty" + {Kind: yaml.ScalarNode, Value: "x-go-json-tag"}, + {Kind: yaml.ScalarNode, Value: fmt.Sprintf("%s,omitempty", fieldsName), Style: yaml.DoubleQuotedStyle}, + }, + } +} + +// FinalizeNullnessOption alters "oneOf" property attributes where appropriate. If a "oneOf" property is found to be a sequence of options, +// with references to the "BlankEnum" or "NullEnum" schema, an alteration is made. "BlankEnum" is removed outright, and "NullEnum" is replaced +// with a simple reference to the "null" type. +// +// Example input: +// +// components: +// schemas: +// Foo: +// properties: +// bar: +// oneOf: +// - $ref: "#/components/schemas/Bar" +// - $ref: "#/components/schemas/NullEnum" +// - $ref: "#/components/schemas/BlankEnum" +// +// Example output: +// +// components: +// schemas: +// Foo: +// properties: +// bar: +// oneOf: +// - $ref: "#/components/schemas/Bar" +// - type: "null" +func FinalizeNullnessOption(yamlNode *yaml.Node) error { + // We are only concerned with the components.schemas nodes + schemasNode := GetYamlNode(yamlNode, "components.schemas") + if schemasNode == nil { + return errors.New("no components.schemas node found") + } + + // For each schema, we need to check its children for blank enum values + for _, schemaNode := range GetYamlChildrenMap(schemasNode) { + // Get the properties node of the schema. If the schema does not have a properties node, we can skip this schema + // altogether. + propertiesNode := GetYamlNode(schemaNode, "properties") + if propertiesNode == nil { + continue + } + + // If the properties node is not a mapping node (e.g. it's a sequence node), we can skip this schema altogether. + if propertiesNode.Kind != yaml.MappingNode { + return nil + } + + // For each property, we need to check its children for blank enum values + for i := 0; i < len(propertiesNode.Content); i += 2 { + propertyVal := propertiesNode.Content[i+1] + + // If the property is not a mapping node, skip it + if propertyVal.Kind != yaml.MappingNode { + continue + } + + // For each attribute, we need to check if it is the oneOf attribute + for i := 0; i < len(propertyVal.Content); i += 2 { + attributeKey := propertyVal.Content[i] + attributeVal := propertyVal.Content[i+1] + + // If the attribute is not the oneOf attribute, skip it + if attributeKey.Value != "oneOf" { + continue + } + + // Remove the blank enum values from the oneOf attribute + oneOfNodeEntries := removeBlankEnumValuesFromOneOf(attributeVal) + if oneOfNodeEntries != nil { + // Replace the oneOf attribute with the new oneOf attribute + propertyVal.Content[i+1] = &yaml.Node{ + Kind: yaml.SequenceNode, + Content: oneOfNodeEntries, + } + } + // We only want to remove the blank enum values from the oneOf attribute, so we can break out of the loop + break + } + } + } + + return nil +} + +func removeBlankEnumValuesFromOneOf(oneOfSequenceNode *yaml.Node) []*yaml.Node { + if oneOfSequenceNode.Kind != yaml.SequenceNode { + return nil + } + + oneOfNodes := make([]*yaml.Node, 0, len(oneOfSequenceNode.Content)) + + for _, oneOfNode := range oneOfSequenceNode.Content { + if oneOfNode.Kind != yaml.MappingNode { + // We want to keep the non-mapping nodes in the oneOf sequence + oneOfNodes = append(oneOfNodes, oneOfNode) + continue + } + + if len(oneOfNode.Content) != 2 { + // This is a mapping node, but it's not the expected "$ref: " format + oneOfNodes = append(oneOfNodes, oneOfNode) + continue + } + + key := oneOfNode.Content[0] + val := oneOfNode.Content[1] + + if key.Value == "$ref" && val.Value == "#/components/schemas/BlankEnum" { //nolint:gocritic // readability + // This is a blank enum value, so we want to remove it + continue + } else if key.Value == "$ref" && val.Value == "#/components/schemas/NullEnum" { + // This is a null enum value, so we want to replace it with the string "null" + key.Value = "type" + val.Value = "null" + oneOfNodes = append(oneOfNodes, oneOfNode) + } else { + // This is a valid oneOf entry, so we want to keep it + oneOfNodes = append(oneOfNodes, oneOfNode) + } + } + + return oneOfNodes +} + +// requiredFieldsToRemove maps component names to lists of required fields that should be removed +var requiredFieldsToRemove = map[string][]string{ + "Gpu": {"node_count"}, + "Cluster": {"gpu_alias", "gpu_count", "node_count"}, + "Deployment": {"experience"}, + // Add more component mappings as needed, e.g.: + // "OtherComponent": {"field1", "field2"}, +} + +func RemoveRequiredFields(yamlNode *yaml.Node) error { + schemasNode := GetYamlNode(yamlNode, "components.schemas") + if schemasNode == nil { + return errors.New("no components.schemas node found") + } + + // Iterate over all components that need required fields removed + for componentName, fieldsToRemove := range requiredFieldsToRemove { + // Get the component schema + componentNode := GetYamlNode(schemasNode, componentName) + if componentNode == nil { + // If the component doesn't exist, skip it + continue + } + + // Get the required field from the component schema + requiredNode := GetYamlNode(componentNode, "required") + if requiredNode == nil { + // If there's no required field, nothing to remove for this component + continue + } + + // The required field should be a sequence node + if requiredNode.Kind != yaml.SequenceNode { + continue + } + + // Filter out the specified fields from the required array + filteredContent := make([]*yaml.Node, 0, len(requiredNode.Content)) + for _, node := range requiredNode.Content { + shouldRemove := false + for _, fieldToRemove := range fieldsToRemove { + if node.Value == fieldToRemove { + shouldRemove = true + break + } + } + if !shouldRemove { + filteredContent = append(filteredContent, node) + } + } + + // Update the required node's content + requiredNode.Content = filteredContent + } + + return nil +} + +func upperCamelCase(s string) string { + // Remove all characters that are not alphanumeric or spaces or underscores or hyphens + s = regexp.MustCompile("[^a-zA-Z0-9_ -]+").ReplaceAllString(s, "") + + // Replace all underscores and hyphens with spaces + s = strings.ReplaceAll(s, "_", " ") + s = strings.ReplaceAll(s, "-", " ") + + // Title case s + s = cases.Title(language.AmericanEnglish, cases.NoLower).String(s) + + // Remove all spaces + s = strings.ReplaceAll(s, " ", "") + + return s +} diff --git a/v1/providers/launchpad/scripts/finalize-swagger/main_test.go b/v1/providers/launchpad/scripts/finalize-swagger/main_test.go new file mode 100644 index 00000000..1bea60b7 --- /dev/null +++ b/v1/providers/launchpad/scripts/finalize-swagger/main_test.go @@ -0,0 +1,223 @@ +package main + +import ( + "testing" + + yaml "gopkg.in/yaml.v3" +) + +func TestAddMissingEnumValues(t *testing.T) { + actual := stringToYamlNode(t, ` +components: + schemas: + CpuManufacturerEnum: + enum: + - amd + - arm + - intel +`) + // System under test + err := AddMissingEnumValues(actual) + if err != nil { + t.Fatalf("Error adding missing enum values: %v", err) + } + + expected := stringToYamlNode(t, ` +components: + schemas: + CpuManufacturerEnum: + enum: + - amd + - arm + - intel + x-enum-varnames: + - CpuManufacturerAMD + - CpuManufacturerARM + - CpuManufacturerIntel +`) + + aMarshaled, _ := yaml.Marshal(actual) + eMarshaled, _ := yaml.Marshal(expected) + if string(aMarshaled) != string(eMarshaled) { + t.Fatalf("Expected\n%s\nGot\n%s", string(eMarshaled), string(aMarshaled)) + } +} + +func TestConvertStringToOneOf(t *testing.T) { + actual := stringToYamlNode(t, ` +components: + schemas: + Foo: + properties: + bar: + type: string + format: uuid + baz: + type: number +`) + // System under test + err := AddOneOfEntries(actual) + if err != nil { + t.Fatalf("Error adding one of entries: %v", err) + } + + expected := stringToYamlNode(t, ` +components: + schemas: + Foo: + properties: + bar: + oneOf: + - type: + - string + format: uuid + - $ref: "#/components/schemas/Bar" + x-go-json-tag: "bar,omitempty" + baz: + type: number +`) + + aMarshaled, _ := yaml.Marshal(actual) + eMarshaled, _ := yaml.Marshal(expected) + if string(aMarshaled) != string(eMarshaled) { + t.Fatalf("Expected\n%s\nGot\n%s", string(eMarshaled), string(aMarshaled)) + } +} + +func TestConvertArrayToOneOf(t *testing.T) { + actual := stringToYamlNode(t, ` +components: + schemas: + Foo: + properties: + bars: + type: array + items: + type: string + format: uuid + bazes: + type: array + items: + type: number +`) + // System under test + err := AddOneOfEntries(actual) + if err != nil { + t.Fatalf("Error adding one of entries: %v", err) + } + + expected := stringToYamlNode(t, ` +components: + schemas: + Foo: + properties: + bars: + type: array + items: + oneOf: + - type: + - string + format: uuid + - $ref: "#/components/schemas/Bar" + x-go-json-tag: "bar,omitempty" + x-go-json-tag: "bars,omitempty" + bazes: + type: array + items: + type: number +`) + + aMarshaled, _ := yaml.Marshal(actual) + eMarshaled, _ := yaml.Marshal(expected) + if string(aMarshaled) != string(eMarshaled) { + t.Fatalf("Expected\n%s\nGot\n%s", string(eMarshaled), string(aMarshaled)) + } +} + +func TestRemoveBlankEnumValues(t *testing.T) { + actual := stringToYamlNode(t, ` +components: + schemas: + Foo: + properties: + platform: + oneOf: + - $ref: "#/components/schemas/PlatformEnum" + - $ref: "#/components/schemas/BlankEnum" + - $ref: "#/components/schemas/NullEnum" +`) + // System under test + err := FinalizeNullnessOption(actual) + if err != nil { + t.Fatalf("Error finalizing nullness option: %v", err) + } + + expected := stringToYamlNode(t, ` +components: + schemas: + Foo: + properties: + platform: + oneOf: + - $ref: "#/components/schemas/PlatformEnum" + - type: "null" +`) + + aMarshaled, _ := yaml.Marshal(actual) + eMarshaled, _ := yaml.Marshal(expected) + if string(aMarshaled) != string(eMarshaled) { + t.Fatalf("Expected\n%s\nGot\n%s", string(eMarshaled), string(aMarshaled)) + } +} + +func stringToYamlNode(t *testing.T, yamlContent string) *yaml.Node { + var yamlNode yaml.Node + if err := yaml.Unmarshal([]byte(yamlContent), &yamlNode); err != nil { + t.Fatalf("Error unmarshalling yaml: %v", err) + } + return &yamlNode +} + +func TestUpperCamelCase(t *testing.T) { + tests := []struct { + input string + expected string + }{ + {"cpu_manufacturer", "CpuManufacturer"}, + {"cpu-manufacturer", "CpuManufacturer"}, + {"cpu_manufacturer_arm", "CpuManufacturerArm"}, + } + + for _, test := range tests { + actual := upperCamelCase(test.input) + if actual != test.expected { + t.Fatalf("Expected %s, got %s", test.expected, actual) + } + } +} + +func TestNewEnumName(t *testing.T) { + tests := []struct { + prefix string + enumValue string + expected string + }{ + {"CpuManufacturer", "amd", "CpuManufacturerAMD"}, + {"CpuManufacturer", "arm", "CpuManufacturerARM"}, + {"CpuManufacturer", "intel", "CpuManufacturerIntel"}, + {"CpuManufacturer", "amd_foo", "CpuManufacturerAMDFoo"}, + {"CpuManufacturer", "arm_foo", "CpuManufacturerARMFoo"}, + {"CpuManufacturer", "intel_foo", "CpuManufacturerIntelFoo"}, + {"CpuManufacturer", "arm-foo", "CpuManufacturerARMFooLegacy"}, + {"CpuManufacturer", "amd-foo", "CpuManufacturerAMDFooLegacy"}, + {"CpuManufacturer", "intel-foo", "CpuManufacturerIntelFooLegacy"}, + {"CpuManufacturer", "nvme", "CpuManufacturerNVMe"}, + {"CpuManufacturer", "pcie", "CpuManufacturerPCIe"}, + } + for _, test := range tests { + actual := newEnumName(test.prefix, test.enumValue) + if actual != test.expected { + t.Fatalf("Expected %s, got %s", test.expected, actual) + } + } +} diff --git a/v1/providers/launchpad/scripts/finalize-swagger/yaml.go b/v1/providers/launchpad/scripts/finalize-swagger/yaml.go new file mode 100644 index 00000000..ea32aee8 --- /dev/null +++ b/v1/providers/launchpad/scripts/finalize-swagger/yaml.go @@ -0,0 +1,130 @@ +package main + +import ( + "bytes" + "fmt" + "os" + "strings" + + yaml "gopkg.in/yaml.v3" +) + +// ReadInputFileAsYaml reads a YAML file and returns a pointer to the root node +func ReadInputFileAsYaml(filename string) (*yaml.Node, error) { + iFile, err := os.ReadFile(filename) //nolint:gosec // internal tool + if err != nil { + fmt.Println("Error reading swagger file:", err) + return nil, err //nolint:wrapcheck // script + } + + var iYaml yaml.Node + if err := yaml.NewDecoder(bytes.NewReader(iFile)).Decode(&iYaml); err != nil { + fmt.Println("Error decoding swagger file:", err) + return nil, err + } + + return &iYaml, nil +} + +// WriteYamlToFile writes a YAML node to a file +func WriteYamlToFile(filename string, yamlNode *yaml.Node) error { + oFile, err := os.Create(filename) //nolint:gosec // internal tool + if err != nil { + fmt.Println("Error creating output file:", err) + return err //nolint:wrapcheck // script + } + defer func() { + if err := oFile.Close(); err != nil { + fmt.Println("Error closing output file:", err) + } + }() + + yamlEncoder := yaml.NewEncoder(oFile) + yamlEncoder.SetIndent(2) + + if err := yamlEncoder.Encode(yamlNode); err != nil { + fmt.Println("Error encoding swagger file:", err) + return err //nolint:wrapcheck // script + } + + return nil +} + +// GetYamlNode gets a node from a YAML file by dot-separated path. For example, in the following YAML: +// +// components: +// schemas: +// Foo: +// properties: +// bar: +// +// The path "components.schemas.Foo.properties.bar" would return the node for the "bar" property. +func GetYamlNode(yamlNode *yaml.Node, path string) *yaml.Node { + // Split the path into pathParts + pathParts := strings.Split(path, ".") + + var currentNode *yaml.Node + // As a special case, if the node is a document (root) node, we need to get its first child node to begin + // operating on the contents of the actual data. + if yamlNode.Kind == yaml.DocumentNode { + currentNode = yamlNode.Content[0] + } else { + currentNode = yamlNode + } + + // For each path part, find the child node with the same value + for _, pathPart := range pathParts { + // If the node is not a mapping node, return early as we can't find the child node. In the future we may + // want to support other node types (as in sequences), but for now we only support mapping nodes. + if currentNode.Kind != yaml.MappingNode { + return nil + } + + var found *yaml.Node + + // In the go YAML library, mapping nodes are represented as a slice of key-value pairs. In this slice, entries + // with even indices are keys, and entries with odd indices are values. + for i := 0; i < len(currentNode.Content); i += 2 { + key := currentNode.Content[i] + val := currentNode.Content[i+1] + + // If the key matches the path part, we found the node we're looking for. Break out of the loop to allow + // for the next path part to be searched. + if key.Value == pathPart { + found = val + break + } + } + + // At this point if the "found" node is nil, then we never found a node with a key that matches the path part. + // If the child node is not found, return early as we can't find the child node + if found == nil { + return nil + } + + // We found the node matching the path part, continue with the next part + currentNode = found + } + + return currentNode +} + +// GetYamlChildrenMap is a convenience function that returns a map of the children of a mapping node. +// In the go YAML library, mapping nodes are represented as a slice of key-value pairs. In this slice, entries +// with even indices are keys, and entries with odd indices are values. This function returns a map of the keys to +// the values. +func GetYamlChildrenMap(yamlNode *yaml.Node) map[string]*yaml.Node { + if yamlNode.Kind != yaml.MappingNode { + return nil + } + + // We know that the number of children is half the length of the content slice, so we can pre-allocate the map + // to the correct size. + children := make(map[string]*yaml.Node, len(yamlNode.Content)/2) + + for i := 0; i < len(yamlNode.Content); i += 2 { + children[yamlNode.Content[i].Value] = yamlNode.Content[i+1] + } + + return children +} diff --git a/v1/providers/launchpad/swagger-v2.34.2.yaml b/v1/providers/launchpad/swagger-v2.34.2.yaml deleted file mode 100644 index 4f796a33..00000000 --- a/v1/providers/launchpad/swagger-v2.34.2.yaml +++ /dev/null @@ -1,10912 +0,0 @@ -openapi: 3.1.0 -info: - title: NVIDIA LaunchPad API - version: 2.34.2 - description: RESTful API for interacting with the NVIDIA LaunchPad platform -paths: - /v1/auth/login/: - post: - operationId: auth_login_create - description: Login with either an authorization code or username and password (deprecated) to generate an API token that can be used with all other API endpoints. - tags: - - auth - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/AuthLogin" - multipart/form-data: - schema: - $ref: "#/components/schemas/AuthLogin" - application/json: - schema: - $ref: "#/components/schemas/AuthLogin" - examples: - AuthCode: - value: - auth_code: string - summary: Auth Code - Username&Password(deprecated): - value: - username: string - password: string - summary: Username & Password (deprecated) - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/AuthToken" - description: "" - /v1/auth/logout/: - post: - operationId: auth_logout_create - description: Logout from the current session. Your API token will no longer be usable and must be regenerated via the login API. - tags: - - auth - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Logout" - description: "" - /v1/auth/password-change/: - post: - operationId: auth_password_change_create - description: Change your current password - tags: - - auth - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/PasswordChange" - multipart/form-data: - schema: - $ref: "#/components/schemas/PasswordChange" - application/json: - schema: - $ref: "#/components/schemas/PasswordChange" - required: true - security: - - TokenAuthentication: [] - deprecated: true - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PasswordChange" - description: "" - /v1/auth/redirect/: - get: - operationId: auth_redirect_retrieve - description: Get an HTTP redirect to begin an OAuth login flow. - parameters: - - in: query - name: as_json - schema: - type: boolean - description: If "false" or unset, receive an HTTP 302 with the OAuth URL returned in the Location header. If "true", receive an HTTP 200 with the OAuth URL returned in the JSON payload. - tags: - - auth - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/AuthRedirect" - description: "" - "302": - description: No response body - /v1/catalog/deployments/: - get: - operationId: catalog_deployments_list - parameters: - - in: query - name: bastion_operating_system - schema: - type: string - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: collection_branch - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: experience - schema: - type: string - format: uuid - - in: query - name: experience_branch - schema: - type: string - - in: query - name: expired - schema: - type: boolean - - in: query - name: expires_at - schema: - type: string - format: date - - in: query - name: expiring - schema: - type: string - description: Include deployments whose expires_at value is within the given range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". Start and end times must be in ISO format. - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: flightcontrol_release - schema: - type: string - - in: query - name: garage_id - schema: - type: string - - in: query - name: gc_branch - schema: - type: string - - in: query - name: gpu_alias - schema: - type: string - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_model - schema: - type: string - - in: query - name: gpu_os_name - schema: - type: string - - in: query - name: gpu_os_release - schema: - type: string - - in: query - name: gpu_os_version - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: node_count - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: org_name - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persist_on_failure - schema: - type: boolean - - in: query - name: persona - schema: - type: string - - in: query - name: pipeline - schema: - type: integer - - in: query - name: pipeline_branch - schema: - type: string - - in: query - name: platform - schema: - type: - - string - - "null" - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - - in: query - name: priority - schema: - type: string - enum: - - p0 - - p1 - - p2 - - p3 - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - - in: query - name: provider_name - schema: - type: string - - in: query - name: region - schema: - type: string - - in: query - name: request_id - schema: - type: string - - in: query - name: requester_email - schema: - type: string - - in: query - name: requester_name - schema: - type: string - - in: query - name: sales_id - schema: - type: string - - in: query - name: sales_owner_email - schema: - type: string - - in: query - name: sales_owner_name - schema: - type: string - - name: search - required: false - in: query - description: Search for deployments by bastion_operating_system, collection_branch, experience_branch, experience catalog_id, experience catalog_id_alias, experience title, expires_at, flightcontrol_release, garage_id, gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version, id, org_name, persona, pipeline_branch, platform, provider_name, region, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags, workshop_id - schema: - type: string - - in: query - name: state - schema: - type: array - items: - type: string - enum: - - destroyed - - destroying - - error - - failed - - ready - - retrying - - starting - - stopped - - stopping - - waiting - description: |- - Multiple values may be separated by commas. - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - explode: false - style: form - - in: query - name: workshop - schema: - type: boolean - - in: query - name: workshop_id - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedDeploymentList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: "2024-04-01T06:14:32.602Z" - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Response - description: "" - post: - operationId: catalog_deployments_create - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Deployment" - examples: - DeploymentRequest(CatalogIDAlias): - value: - bastion_operating_system: ubuntu_22_04 - catalog_id_alias: LP-15 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - node_count: 1 - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Request (Catalog ID Alias) - DeploymentRequest(ExperienceID): - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - experience_branch: main - experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - node_count: 1 - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Request (Experience ID) - DeploymentRequest(CatalogID): - value: - bastion_operating_system: ubuntu_22_04 - catalog_id: aBY3Z000000xBL4NCO - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - node_count: 1 - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Request (Catalog ID) - DeploymentRequest(MinimumRequiredFields): - value: - experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - org_name: NVIDIA - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - summary: Deployment Request (Minimum Required Fields) - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Deployment" - multipart/form-data: - schema: - $ref: "#/components/schemas/Deployment" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Deployment" - examples: - SuccessfulResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: "2024-04-01T06:14:32.602Z" - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Response - description: "" - /v1/catalog/deployments/{deployment_id}/instances/: - get: - operationId: catalog_deployments_instances_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_id - schema: - type: string - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-instances by id, instance_id, name, state, tags - schema: - type: string - - in: query - name: state - schema: - type: string - enum: - - running - - starting - - stopped - - stopping - - unknown - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedDeploymentInstanceList" - examples: - DeploymentInstanceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: "2024-05-03T17:03:45.380Z" - name: My GPU Cluster - state: running - state_modified: "2024-05-03T17:03:45.380Z" - tags: - - gpu - summary: DeploymentInstance Response - description: "" - /v1/catalog/deployments/{deployment_id}/pipelines/: - get: - operationId: catalog_deployments_pipelines_list - parameters: - - in: query - name: action - schema: - type: string - enum: - - apply - - destroy - description: |- - Action for the pipeline to run - - * `apply` - apply - * `destroy` - destroy - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: pipeline_id - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-pipelines by action, id, pipeline_id, url - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedDeploymentPipelineList" - examples: - DeploymentPipelineResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - action: apply - created: "2024-04-01T06:14:32.602Z" - deployment: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - id: 4b9fab90-b441-4896-bb1f-c765fd846307 - modified: "2024-05-03T17:03:45.380Z" - pipeline_id: 5316124134 - url: https://gitlab.com/my-project/-/pipelines/5316124134 - summary: DeploymentPipeline Response - description: "" - post: - operationId: catalog_deployments_pipelines_create - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentPipeline" - examples: - DeploymentPipelineRequest: - value: - action: apply - pipeline_id: 5316124134 - url: https://gitlab.com/my-project/-/pipelines/5316124134 - summary: DeploymentPipeline Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/DeploymentPipeline" - multipart/form-data: - schema: - $ref: "#/components/schemas/DeploymentPipeline" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentPipeline" - examples: - DeploymentPipelineResponse: - value: - action: apply - created: "2024-04-01T06:14:32.602Z" - deployment: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - id: 4b9fab90-b441-4896-bb1f-c765fd846307 - modified: "2024-05-03T17:03:45.380Z" - pipeline_id: 5316124134 - url: https://gitlab.com/my-project/-/pipelines/5316124134 - summary: DeploymentPipeline Response - description: "" - /v1/catalog/deployments/{deployment_id}/services/: - get: - operationId: catalog_deployments_services_list - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-services by id, name, url - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedDeploymentServiceList" - examples: - DeploymentServiceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - id: deb28859-d04e-4976-88d2-9488d9616bcf - modified: "2024-05-03T17:03:45.380Z" - name: root - url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com - summary: DeploymentService Response - description: "" - post: - operationId: catalog_deployments_services_create - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentService" - examples: - DeploymentServiceRequest: - value: - name: root - url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com - summary: DeploymentService Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/DeploymentService" - multipart/form-data: - schema: - $ref: "#/components/schemas/DeploymentService" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentService" - examples: - DeploymentServiceResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: deb28859-d04e-4976-88d2-9488d9616bcf - modified: "2024-05-03T17:03:45.380Z" - name: root - url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com - summary: DeploymentService Response - description: "" - /v1/catalog/deployments/{deployment_id}/ssh-keys/: - get: - operationId: catalog_deployments_ssh_keys_list - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-keys by name - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedDeploymentKeyList" - examples: - DeploymentKeyResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - id: 597f6c78-6195-4bc7-9db2-f344f71e8b47 - modified: "2024-05-03T17:03:45.380Z" - name: My Key - summary: DeploymentKey Response - description: "" - post: - operationId: catalog_deployments_ssh_keys_create - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentKey" - examples: - DeploymentKeyRequest: - value: - name: My Key - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - summary: DeploymentKey Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/DeploymentKey" - multipart/form-data: - schema: - $ref: "#/components/schemas/DeploymentKey" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentKey" - examples: - DeploymentKeyResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: 597f6c78-6195-4bc7-9db2-f344f71e8b47 - modified: "2024-05-03T17:03:45.380Z" - name: My Key - summary: DeploymentKey Response - description: "" - /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/: - delete: - operationId: catalog_deployments_ssh_keys_destroy - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/catalog/deployments/{deployment_id}/tasks/: - get: - operationId: catalog_deployments_tasks_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: query - name: action - schema: - type: string - enum: - - start_instances - - stop_instances - description: |- - The action the task will perform - - * `start_instances` - Start all instances in the deployment - * `stop_instances` - Stop all instances in the deployment - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-tasks by action, id, status, status_text - schema: - type: string - - in: query - name: status - schema: - type: string - enum: - - completed - - failed - - pending - - processing - - retrying - description: |- - Current status of the task - - * `completed` - completed - * `failed` - failed - * `pending` - pending - * `processing` - processing - * `retrying` - retrying - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedDeploymentTaskList" - examples: - DeploymentTaskResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - action: start_instances - created: "2024-04-01T06:14:32.602Z" - id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 - modified: "2024-05-03T17:03:45.380Z" - retries: 0 - status: pending - status_text: "" - summary: DeploymentTask Response - description: "" - post: - operationId: catalog_deployments_tasks_create - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentTask" - examples: - DeploymentTaskRequest: - value: - action: start_instances - summary: DeploymentTask Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/DeploymentTask" - multipart/form-data: - schema: - $ref: "#/components/schemas/DeploymentTask" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentTask" - examples: - DeploymentTaskResponse: - value: - action: start_instances - created: "2024-04-01T06:14:32.602Z" - id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 - modified: "2024-05-03T17:03:45.380Z" - retries: 0 - status: pending - status_text: "" - summary: DeploymentTask Response - description: "" - /v1/catalog/deployments/{deployment_id}/tasks/{id}/: - get: - operationId: catalog_deployments_tasks_retrieve - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentTask" - examples: - DeploymentTaskResponse: - value: - action: start_instances - created: "2024-04-01T06:14:32.602Z" - id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 - modified: "2024-05-03T17:03:45.380Z" - retries: 0 - status: pending - status_text: "" - summary: DeploymentTask Response - description: "" - /v1/catalog/deployments/{id}/: - get: - operationId: catalog_deployments_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: expiring - schema: - type: string - description: Include deployments whose expires_at value is within the given range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". Start and end times must be in ISO format. - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Deployment" - examples: - SuccessfulResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: "2024-04-01T06:14:32.602Z" - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Response - description: "" - put: - operationId: catalog_deployments_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - examples: - DeploymentRequest: - value: - expires_at: 2025-07-06 18:17:17.615758+00:00 - ip_allowlist: - - 192.0.2.1 - state: retrying - summary: Deployment Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - multipart/form-data: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - examples: - DeploymentResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: "2024-04-01T06:14:32.602Z" - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Response - description: "" - patch: - operationId: catalog_deployments_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - examples: - DeploymentRequest: - value: - expires_at: 2025-07-06 18:17:17.615758+00:00 - ip_allowlist: - - 192.0.2.1 - state: retrying - summary: Deployment Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - multipart/form-data: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentUpdate" - examples: - DeploymentResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: "2024-04-01T06:14:32.602Z" - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Response - description: "" - delete: - operationId: catalog_deployments_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/DocDeploymentDelete" - examples: - SuccessfulDestroyingResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: "2024-04-01T06:14:32.602Z" - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-06-09 18:17:17.615573+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: "22.04" - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: "2025-04-10T15:08:47.381700Z" - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: destroying - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Destroying Response - description: "" - "204": - description: No response body - /v1/catalog/deployments/{id}/history/: - get: - operationId: catalog_deployments_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/catalog/deployments/bulk/: - patch: - operationId: catalog_deployments_bulk_partial_update - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentBulkUpdate" - examples: - DeploymentBulkUpdateRequest: - value: - expires_at: 2025-07-06 18:17:17.615758+00:00 - ids: - - 5330c898-f3e7-4972-bfd0-1d438e3774d7 - - b29d13e5-5894-4614-af2a-ea3f9be93fc5 - ip_allowlist: - - 192.0.2.1 - state: retrying - summary: Deployment Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/DeploymentBulkUpdate" - multipart/form-data: - schema: - $ref: "#/components/schemas/DeploymentBulkUpdate" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/DeploymentBulkUpdate" - examples: - DeploymentBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Deployment Bulk Update Response - description: "" - /v1/catalog/deployments/stats/: - get: - operationId: catalog_deployments_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - "200": - description: No response body - /v1/catalog/experiences/: - get: - operationId: catalog_experiences_list - parameters: - - in: query - name: assignee - schema: - type: string - - in: query - name: autoapprove - schema: - type: boolean - - in: query - name: autoprovision - schema: - type: boolean - - in: query - name: bootstrap - schema: - type: boolean - - in: query - name: catalog_id - schema: - type: string - - in: query - name: catalog_id_alias - schema: - type: string - - in: query - name: category - schema: - type: array - items: - type: string - enum: - - 3D Design Collaboration and Simulation - - AI - - Clara - - Data Science - - Developer - - Infrastructure Optimization - description: |- - Multiple values may be separated by commas. - - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - explode: false - style: form - - in: query - name: collection_branch - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "required_gpus").' - - in: query - name: experience - schema: - type: string - - in: query - name: experience_branch - schema: - type: string - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - - in: query - name: gc_branch - schema: - type: string - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_os_name - schema: - type: string - - in: query - name: gpu_os_release - schema: - type: string - - in: query - name: gpu_os_version - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: node_count - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persona - schema: - type: string - - in: query - name: pipeline - schema: - type: integer - - in: query - name: platform - schema: - type: string - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - description: |- - Base platform that the experience will be provisioned onto - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: published - schema: - type: array - items: - type: string - enum: - - draft - - "no" - - "yes" - description: |- - Multiple values may be separated by commas. - - * `draft` - draft - * `no` - no - * `yes` - yes - explode: false - style: form - - in: query - name: requires_gpu - schema: - type: string - description: Only include experiences that require a given GPU ID or model - - in: query - name: sa_lab - schema: - type: boolean - - name: search - required: false - in: query - description: Search for experiences by assignee, catalog_id, catalog_id_alias, category, collection_branch, description, experience, experience_branch, gc_branch, gpu_os_name, gpu_os_release, gpu_os_version, id, persona, pipeline, platform, provider name, required_gpus model, system_arch, title, vgpu_profile - schema: - type: string - - in: query - name: system_arch - schema: - type: string - enum: - - amd64 - - arm64 - description: |- - Required CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - - in: query - name: vgpu_profile - schema: - type: - - string - - "null" - enum: - - air - - bright-cluster - - bright_cluster - - flight-deck - - flight_deck - - nvidia-ai-enterprise - - nvidia_a40-48q - - nvidia_l40s-48q - - openshift - - platform_only - - vmware_itadmin - description: |- - vGPU profile name used by the experience - - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedExperienceList" - examples: - ExperienceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: "2024-04-01T06:14:32.602Z" - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: "" - post: - operationId: catalog_experiences_create - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Experience" - examples: - ExperienceRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Experience" - multipart/form-data: - schema: - $ref: "#/components/schemas/Experience" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Experience" - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: "2024-04-01T06:14:32.602Z" - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: "" - /v1/catalog/experiences/{id}/: - get: - operationId: catalog_experiences_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "required_gpus").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Experience" - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: "2024-04-01T06:14:32.602Z" - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: "" - put: - operationId: catalog_experiences_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Experience" - examples: - ExperienceRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Experience" - multipart/form-data: - schema: - $ref: "#/components/schemas/Experience" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Experience" - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: "2024-04-01T06:14:32.602Z" - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: "" - patch: - operationId: catalog_experiences_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Experience" - examples: - ExperienceRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Experience" - multipart/form-data: - schema: - $ref: "#/components/schemas/Experience" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Experience" - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: "2024-04-01T06:14:32.602Z" - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: "2024-05-03T17:03:45.380Z" - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: "" - delete: - operationId: catalog_experiences_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/catalog/experiences/{id}/history/: - get: - operationId: catalog_experiences_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/catalog/experiences/bulk/: - post: - operationId: catalog_experiences_bulk_create - description: Create experiences in bulk via CSV file upload - tags: - - catalog/experiences - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - csv_file: - type: string - format: binary - writeOnly: true - required: - - csv_file - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/ExperienceBulk" - description: "" - patch: - operationId: catalog_experiences_bulk_partial_update - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ExperienceBulkUpdate" - examples: - ExperienceBulkUpdateRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: "22.04" - ids: - - c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - - 3587f151-b02a-46c7-80a4-ac61db6633ed - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: "yes" - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Bulk Update Request - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ExperienceBulkUpdate" - examples: - ExperienceBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Experience Bulk Update Response - description: "" - /v1/catalog/experiences/stats/: - get: - operationId: catalog_experiences_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - "200": - description: No response body - /v1/catalog/gpu-os-choices/: - get: - operationId: catalog_gpu_os_choices_list - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for gpuoschoices by id, name, release, version - schema: - type: string - tags: - - catalog/gpu-os-choices - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedGpuOsChoiceList" - examples: - GPUOSChoiceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - id: 22 - modified: "2024-05-03T17:03:45.380Z" - name: ubuntu - release: jammy - version: "22.04" - summary: GPU OS Choice Response - description: "" - post: - operationId: catalog_gpu_os_choices_create - tags: - - catalog/gpu-os-choices - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GpuOsChoice" - examples: - GPUOSChoiceRequest: - value: - name: ubuntu - release: jammy - version: "22.04" - summary: GPU OS Choice Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/GpuOsChoice" - multipart/form-data: - schema: - $ref: "#/components/schemas/GpuOsChoice" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/GpuOsChoice" - examples: - GPUOSChoiceResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: 22 - modified: "2024-05-03T17:03:45.380Z" - name: ubuntu - release: jammy - version: "22.04" - summary: GPU OS Choice Response - description: "" - /v1/catalog/persona-choices/: - get: - operationId: catalog_persona_choices_list - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for personachoices by id, name - schema: - type: string - tags: - - catalog/persona-choices - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedPersonaChoiceList" - examples: - PersonaChoiceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - id: 15 - modified: "2024-05-03T17:03:45.380Z" - name: developer - summary: Persona Choice Response - description: "" - post: - operationId: catalog_persona_choices_create - tags: - - catalog/persona-choices - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/PersonaChoice" - examples: - PersonaChoiceRequest: - value: - name: developer - summary: Persona Choice Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/PersonaChoice" - multipart/form-data: - schema: - $ref: "#/components/schemas/PersonaChoice" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/PersonaChoice" - examples: - PersonaChoiceResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: 15 - modified: "2024-05-03T17:03:45.380Z" - name: developer - summary: Persona Choice Response - description: "" - /v1/identity/profile/: - get: - operationId: identity_profile_retrieve - tags: - - identity/profile - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Profile" - examples: - ProfileResponse: - value: - created: "2024-10-01T07:24:42.702Z" - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: "2024-11-03T18:04:55.480Z" - preferred_theme: dark - username: jdoe@nvidia.com - summary: Profile Response - description: "" - patch: - operationId: identity_profile_partial_update - tags: - - identity/profile - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Profile" - examples: - ProfileRequest: - value: - preferred_theme: dark - summary: Profile Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Profile" - multipart/form-data: - schema: - $ref: "#/components/schemas/Profile" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Profile" - examples: - ProfileResponse: - value: - created: "2024-10-01T07:24:42.702Z" - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: "2024-11-03T18:04:55.480Z" - preferred_theme: dark - username: jdoe@nvidia.com - summary: Profile Response - description: "" - /v1/inventory/clusters/: - get: - operationId: inventory_clusters_list - parameters: - - in: query - name: available - schema: - type: boolean - description: Is the cluster currently available for provisioning? - - in: query - name: bastion_name - schema: - type: string - - in: query - name: deployment - schema: - type: string - format: uuid - - in: query - name: enabled - schema: - type: boolean - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "nodes.location"). Separate multiple fields with a comma (ex: "gpus,nodes")' - - in: query - name: experience - schema: - type: string - format: uuid - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - description: Only include clusters whose nodes have the given garage ID - - in: query - name: gpu - schema: - type: array - items: - type: string - format: uuid - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: gpu_alias - schema: - type: string - description: Alias for GPU plan (i.e. installed GPU type and count) - - in: query - name: gpu_count - schema: - type: number - description: Only include clusters with a physical GPU count equal to this value - - in: query - name: gpu_model - schema: - type: string - description: Only include clusters with the given GPU model name - - in: query - name: has_deployment - schema: - type: boolean - - in: query - name: has_request_id - schema: - type: boolean - - in: query - name: has_workshop_id - schema: - type: boolean - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: location - schema: - type: string - format: uuid - - in: query - name: location_name - schema: - type: string - description: Only include clusters whose nodes are in the location with the given name - - in: query - name: location_region - schema: - type: string - description: Only include clusters whose nodes are in the location in the given region - - in: query - name: maintenance - schema: - type: boolean - - in: query - name: mgmt_ip - schema: - type: string - - in: query - name: mgmt_mac - schema: - type: string - - in: query - name: min_gpu_count - schema: - type: number - description: Only include clusters that have a gpu_count greater than or equal to this value - - in: query - name: min_node_count - schema: - type: number - description: Only include clusters that have a node_count greater than or equal to this value - - in: query - name: min_tenant_count - schema: - type: number - description: Only include clusters whose number of tenant_ids is greater than or equal to this value - - in: query - name: netmask - schema: - type: integer - - in: query - name: node_count - schema: - type: number - description: Only include clusters with a node count equal to this value - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persist - schema: - type: boolean - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: provider_capacity - schema: - type: boolean - - in: query - name: provider_name - schema: - type: string - description: Only include clusters whose nodes are from the provider with the given name - - in: query - name: provider_node_id - schema: - type: string - format: uuid - - in: query - name: provision_user - schema: - type: string - - in: query - name: provisioning_attempts - schema: - type: integer - - in: query - name: provisioning_state - schema: - type: array - items: - type: string - enum: - - deployed - - deploying - - destroying - - pending - - ready - - reserved - - unprovisioned - description: |- - Multiple values may be separated by commas. - - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - explode: false - style: form - - in: query - name: public_address - schema: - type: string - - in: query - name: rack - schema: - type: string - description: Only include clusters whose nodes are in the given rack - - in: query - name: request_id - schema: - type: string - - in: query - name: reservation - schema: - type: boolean - - name: search - required: false - in: query - description: Search for clusters by bastion_name, experience id, gpu_alias, gpus model, id, mgmt_ip, mgmt_mac, netmask, nodes garage_id, nodes location name, nodes location provider name, nodes provider_node_id, nodes rack, notes, provision_user, provisioning_state, public_address, request_id, tenant_ids, workshop_id - schema: - type: string - - in: query - name: system_arch - schema: - type: string - description: Only include clusters whose nodes have the given CPU architecture - - in: query - name: vlan_id - schema: - type: integer - - in: query - name: workshop - schema: - type: boolean - - in: query - name: workshop_id - schema: - type: string - - in: query - name: workshop_id_not - schema: - type: string - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedClusterList" - examples: - ClusterResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - available: true - bastion_name: jovial_bastion - created: "2024-04-01T06:14:32.602Z" - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: "2024-06-13T02:22:06.611Z" - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: "2024-05-03T15:04:44.410Z" - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: "" - post: - operationId: inventory_clusters_create - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Cluster" - multipart/form-data: - schema: - $ref: "#/components/schemas/Cluster" - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: "2024-04-01T06:14:32.602Z" - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: "2024-06-13T02:22:06.611Z" - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: "2024-05-03T15:04:44.410Z" - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: "" - /v1/inventory/clusters/{cluster_id}/tenants/: - post: - operationId: inventory_clusters_tenants_create - parameters: - - in: path - name: cluster_id - schema: - type: string - format: uuid - required: true - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Tenant" - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Tenant" - multipart/form-data: - schema: - $ref: "#/components/schemas/Tenant" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: "2024-04-01T06:14:32.602Z" - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: "2024-06-13T02:22:06.611Z" - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: "2024-05-03T15:04:44.410Z" - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: "" - /v1/inventory/clusters/{cluster_id}/tenants/{id}/: - delete: - operationId: inventory_clusters_tenants_destroy - parameters: - - in: path - name: cluster_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/clusters/{id}/: - get: - operationId: inventory_clusters_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "nodes.location"). Separate multiple fields with a comma (ex: "gpus,nodes")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: "2024-04-01T06:14:32.602Z" - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: "2024-06-13T02:22:06.611Z" - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: "2024-05-03T15:04:44.410Z" - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: "" - put: - operationId: inventory_clusters_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Cluster" - multipart/form-data: - schema: - $ref: "#/components/schemas/Cluster" - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: "2024-04-01T06:14:32.602Z" - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: "2024-06-13T02:22:06.611Z" - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: "2024-05-03T15:04:44.410Z" - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: "" - patch: - operationId: inventory_clusters_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Cluster" - multipart/form-data: - schema: - $ref: "#/components/schemas/Cluster" - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Cluster" - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: "2024-04-01T06:14:32.602Z" - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: "2024-06-13T02:22:06.611Z" - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: "2024-05-03T15:04:44.410Z" - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: "" - delete: - operationId: inventory_clusters_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/clusters/{id}/history/: - get: - operationId: inventory_clusters_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/inventory/clusters/bulk/: - patch: - operationId: inventory_clusters_bulk_partial_update - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ClusterBulkUpdate" - examples: - ClusterBulkUpdateRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - ids: - - 089324a5-708c-4386-9fdc-92dd9aa63d2b - - 3587f151-b02a-46c7-80a4-ac61db6633ed - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/ClusterBulkUpdate" - multipart/form-data: - schema: - $ref: "#/components/schemas/ClusterBulkUpdate" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ClusterBulkUpdate" - examples: - ClusterBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Cluster Bulk Update Response - description: "" - /v1/inventory/clusters/stats/: - get: - operationId: inventory_clusters_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - "200": - description: No response body - /v1/inventory/gpus/: - get: - operationId: inventory_gpus_list - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: form_factor - schema: - type: string - enum: - - pcie - - sxm - description: |- - GPU form factor - - * `pcie` - PCIe - * `sxm` - sxm - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: model - schema: - type: array - items: - type: string - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: priority - schema: - type: integer - - name: search - required: false - in: query - description: Search for gpus by form_factor, id, memory, model - schema: - type: string - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedGpuList" - examples: - GPUResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: "2024-05-03T17:03:45.380Z" - node_count: 22 - priority: 60 - summary: GPU Response - description: "" - post: - operationId: inventory_gpus_create - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Gpu" - examples: - GPURequest: - value: - form_factor: pcie - memory: 48 - model: l40s - priority: 60 - summary: GPU Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Gpu" - multipart/form-data: - schema: - $ref: "#/components/schemas/Gpu" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Gpu" - examples: - GPUResponse: - value: - created: "2024-04-01T06:14:32.602Z" - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: "2024-05-03T17:03:45.380Z" - node_count: 22 - priority: 60 - summary: GPU Response - description: "" - /v1/inventory/gpus/{id}/: - get: - operationId: inventory_gpus_retrieve - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Gpu" - examples: - GPUResponse: - value: - created: "2024-04-01T06:14:32.602Z" - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: "2024-05-03T17:03:45.380Z" - node_count: 22 - priority: 60 - summary: GPU Response - description: "" - put: - operationId: inventory_gpus_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Gpu" - examples: - GPURequest: - value: - form_factor: pcie - memory: 48 - model: l40s - priority: 60 - summary: GPU Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Gpu" - multipart/form-data: - schema: - $ref: "#/components/schemas/Gpu" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Gpu" - examples: - GPUResponse: - value: - created: "2024-04-01T06:14:32.602Z" - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: "2024-05-03T17:03:45.380Z" - node_count: 22 - priority: 60 - summary: GPU Response - description: "" - patch: - operationId: inventory_gpus_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Gpu" - examples: - GPURequest: - value: - form_factor: pcie - memory: 48 - model: l40s - priority: 60 - summary: GPU Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Gpu" - multipart/form-data: - schema: - $ref: "#/components/schemas/Gpu" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Gpu" - examples: - GPUResponse: - value: - created: "2024-04-01T06:14:32.602Z" - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: "2024-05-03T17:03:45.380Z" - node_count: 22 - priority: 60 - summary: GPU Response - description: "" - delete: - operationId: inventory_gpus_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/gpus/{id}/history/: - get: - operationId: inventory_gpus_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/inventory/gpus/bulk/: - patch: - operationId: inventory_gpus_bulk_partial_update - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GpuBulkUpdate" - examples: - GPUBulkUpdateRequest: - value: - form_factor: pcie - ids: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - - d63c8b0d-acb9-4c87-b4f7-656ecea5b02a - memory: 48 - priority: 60 - summary: GPU Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/GpuBulkUpdate" - multipart/form-data: - schema: - $ref: "#/components/schemas/GpuBulkUpdate" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/GpuBulkUpdate" - examples: - GPUBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: GPU Bulk Update Response - description: "" - /v1/inventory/gpus/stats/: - get: - operationId: inventory_gpus_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - "200": - description: No response body - /v1/inventory/instances/: - get: - operationId: inventory_instances_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_id - schema: - type: string - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for instances by cluster, id, instance_id, name, state, tags - schema: - type: string - - in: query - name: state - schema: - type: string - enum: - - running - - starting - - stopped - - stopping - - unknown - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedInstanceList" - examples: - InstanceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: "2024-04-01T06:14:32.602Z" - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: "2024-05-03T17:03:45.380Z" - name: My GPU Cluster - state: running - state_modified: "2024-05-03T17:03:45.380Z" - tags: - - gpu - summary: Instance Response - description: "" - post: - operationId: inventory_instances_create - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Instance" - examples: - InstanceRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - instance_id: instance-934ea164 - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Instance" - multipart/form-data: - schema: - $ref: "#/components/schemas/Instance" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Instance" - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: "2024-04-01T06:14:32.602Z" - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: "2024-05-03T17:03:45.380Z" - name: My GPU Cluster - state: running - state_modified: "2024-05-03T17:03:45.380Z" - tags: - - gpu - summary: Instance Response - description: "" - /v1/inventory/instances/{id}/: - get: - operationId: inventory_instances_retrieve - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Instance" - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: "2024-04-01T06:14:32.602Z" - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: "2024-05-03T17:03:45.380Z" - name: My GPU Cluster - state: running - state_modified: "2024-05-03T17:03:45.380Z" - tags: - - gpu - summary: Instance Response - description: "" - put: - operationId: inventory_instances_update - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Instance" - examples: - InstanceRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - instance_id: instance-934ea164 - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Instance" - multipart/form-data: - schema: - $ref: "#/components/schemas/Instance" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Instance" - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: "2024-04-01T06:14:32.602Z" - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: "2024-05-03T17:03:45.380Z" - name: My GPU Cluster - state: running - state_modified: "2024-05-03T17:03:45.380Z" - tags: - - gpu - summary: Instance Response - description: "" - patch: - operationId: inventory_instances_partial_update - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Instance" - examples: - InstanceRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - instance_id: instance-934ea164 - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Instance" - multipart/form-data: - schema: - $ref: "#/components/schemas/Instance" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Instance" - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: "2024-04-01T06:14:32.602Z" - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: "2024-05-03T17:03:45.380Z" - name: My GPU Cluster - state: running - state_modified: "2024-05-03T17:03:45.380Z" - tags: - - gpu - summary: Instance Response - description: "" - delete: - operationId: inventory_instances_destroy - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/instances/{id}/history/: - get: - operationId: inventory_instances_history_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/inventory/instances/bulk/: - patch: - operationId: inventory_instances_bulk_partial_update - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/InstanceBulkUpdate" - examples: - InstanceBulkUpdateRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - ids: - - 899d8680-454a-41f3-af99-9e0497ac955d - - 3280c16f-0e3e-4897-b8ba-7f66d40281bf - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/InstanceBulkUpdate" - multipart/form-data: - schema: - $ref: "#/components/schemas/InstanceBulkUpdate" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/InstanceBulkUpdate" - examples: - InstanceBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Instance Bulk Update Response - description: "" - /v1/inventory/locations/: - get: - operationId: inventory_locations_list - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "provider").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: region - schema: - type: string - - name: search - required: false - in: query - description: Search for locations by id, name, provider name, region - schema: - type: string - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedLocationList" - examples: - LocationResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: "2024-05-03T17:03:45.380Z" - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: "" - post: - operationId: inventory_locations_create - tags: - - inventory/locations - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Location" - examples: - LocationRequest: - value: - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Location" - multipart/form-data: - schema: - $ref: "#/components/schemas/Location" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Location" - examples: - LocationResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: "2024-05-03T17:03:45.380Z" - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: "" - /v1/inventory/locations/{id}/: - get: - operationId: inventory_locations_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "provider").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Location" - examples: - LocationResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: "2024-05-03T17:03:45.380Z" - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: "" - put: - operationId: inventory_locations_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - tags: - - inventory/locations - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Location" - examples: - LocationRequest: - value: - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Location" - multipart/form-data: - schema: - $ref: "#/components/schemas/Location" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Location" - examples: - LocationResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: "2024-05-03T17:03:45.380Z" - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: "" - patch: - operationId: inventory_locations_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - tags: - - inventory/locations - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Location" - examples: - LocationRequest: - value: - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Location" - multipart/form-data: - schema: - $ref: "#/components/schemas/Location" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Location" - examples: - LocationResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: "2024-05-03T17:03:45.380Z" - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: "" - delete: - operationId: inventory_locations_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/locations/{id}/history/: - get: - operationId: inventory_locations_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/inventory/nodes/: - get: - operationId: inventory_nodes_list - parameters: - - in: query - name: bmc_ip - schema: - type: string - - in: query - name: bmc_mac - schema: - type: string - - in: query - name: bmc_password - schema: - type: string - - in: query - name: bmc_user - schema: - type: string - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: cpu - schema: - type: integer - - in: query - name: cpu_manufacturer - schema: - type: - - string - - "null" - enum: - - amd - - arm - - intel - description: |- - Manufacturer of the node's CPU - - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - - in: query - name: cpu_model - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "location.provider"). Separate multiple fields with a comma (ex: "location,oem")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - - in: query - name: gpu - schema: - type: array - items: - type: string - format: uuid - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: gpu_alias - schema: - type: string - description: Alias for GPU plan (i.e. installed GPU type and count) - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_model - schema: - type: string - description: Model of GPU(s) installed - - in: query - name: gpu_vbios - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: location - schema: - type: string - format: uuid - - in: query - name: memory - schema: - type: integer - - in: query - name: mgmt_ip - schema: - type: string - - in: query - name: mgmt_mac - schema: - type: string - - in: query - name: min_gpu_count - schema: - type: integer - description: Only include nodes that have a gpu_count greater than or equal to this value - - in: query - name: network_type - schema: - type: string - enum: - - ethernet - - infiniband - description: |- - Type of networking technology used - - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - - in: query - name: oem - schema: - type: string - format: uuid - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: provider_node_id - schema: - type: string - - in: query - name: rack - schema: - type: string - - in: query - name: rack_unit - schema: - type: integer - - name: search - required: false - in: query - description: Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, storage, system_arch - schema: - type: string - - in: query - name: system_arch - schema: - type: string - enum: - - amd64 - - arm64 - description: |- - CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - - in: query - name: tee - schema: - type: boolean - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedNodeList" - examples: - NodeResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: "2024-04-01T06:14:32.602Z" - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: "" - post: - operationId: inventory_nodes_create - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Node" - examples: - NodeRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Node" - multipart/form-data: - schema: - $ref: "#/components/schemas/Node" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Node" - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: "2024-04-01T06:14:32.602Z" - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: "" - /v1/inventory/nodes/{id}/: - get: - operationId: inventory_nodes_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "location.provider"). Separate multiple fields with a comma (ex: "location,oem")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Node" - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: "2024-04-01T06:14:32.602Z" - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: "" - put: - operationId: inventory_nodes_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Node" - examples: - NodeRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Node" - multipart/form-data: - schema: - $ref: "#/components/schemas/Node" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Node" - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: "2024-04-01T06:14:32.602Z" - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: "" - patch: - operationId: inventory_nodes_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Node" - examples: - NodeRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Node" - multipart/form-data: - schema: - $ref: "#/components/schemas/Node" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Node" - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: "2024-04-01T06:14:32.602Z" - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: "2024-05-03T17:03:45.380Z" - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: "" - delete: - operationId: inventory_nodes_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/nodes/{id}/history/: - get: - operationId: inventory_nodes_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/inventory/nodes/bulk/: - post: - operationId: inventory_nodes_bulk_create - description: Create nodes in bulk via CSV file upload - tags: - - inventory/nodes - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - csv_file: - type: string - format: binary - writeOnly: true - required: - - csv_file - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/NodeBulk" - description: "" - patch: - operationId: inventory_nodes_bulk_partial_update - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/NodeBulkUpdate" - examples: - NodeBulkUpdateRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - ids: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - - 6fcf07f8-d821-48cf-b20e-b6eb65db9387 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Bulk Update Request - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/NodeBulkUpdate" - examples: - NodeBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Node Bulk Update Response - description: "" - /v1/inventory/oems/: - get: - operationId: inventory_oems_list - parameters: - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for oems by id, name - schema: - type: string - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedOEMList" - examples: - OEMResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: "2024-05-03T17:03:45.380Z" - name: My OEM - summary: OEM Response - description: "" - post: - operationId: inventory_oems_create - tags: - - inventory/oems - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/OEM" - examples: - OEMRequest: - value: - name: My OEM - summary: OEM Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/OEM" - multipart/form-data: - schema: - $ref: "#/components/schemas/OEM" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/OEM" - examples: - OEMResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: "2024-05-03T17:03:45.380Z" - name: My OEM - summary: OEM Response - description: "" - /v1/inventory/oems/{id}/: - get: - operationId: inventory_oems_retrieve - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/OEM" - examples: - OEMResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: "2024-05-03T17:03:45.380Z" - name: My OEM - summary: OEM Response - description: "" - put: - operationId: inventory_oems_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/OEM" - examples: - OEMRequest: - value: - name: My OEM - summary: OEM Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/OEM" - multipart/form-data: - schema: - $ref: "#/components/schemas/OEM" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/OEM" - examples: - OEMResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: "2024-05-03T17:03:45.380Z" - name: My OEM - summary: OEM Response - description: "" - patch: - operationId: inventory_oems_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/OEM" - examples: - OEMRequest: - value: - name: My OEM - summary: OEM Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/OEM" - multipart/form-data: - schema: - $ref: "#/components/schemas/OEM" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/OEM" - examples: - OEMResponse: - value: - created: "2024-04-01T06:14:32.602Z" - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: "2024-05-03T17:03:45.380Z" - name: My OEM - summary: OEM Response - description: "" - delete: - operationId: inventory_oems_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/oems/{id}/history/: - get: - operationId: inventory_oems_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/inventory/providers/: - get: - operationId: inventory_providers_list - parameters: - - in: query - name: display_name - schema: - type: string - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_limit - schema: - type: integer - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: priority - schema: - type: integer - - name: search - required: false - in: query - description: Search for providers by display_name, id, name - schema: - type: string - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedProviderList" - examples: - ProviderResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: "2024-04-01T06:14:32.602Z" - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: "2024-05-03T17:03:45.380Z" - name: my_provider - priority: 50 - summary: Provider Response - description: "" - post: - operationId: inventory_providers_create - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Provider" - examples: - ProviderRequest: - value: - display_name: My Provider - instance_limit: 250 - name: my_provider - priority: 50 - summary: Provider Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Provider" - multipart/form-data: - schema: - $ref: "#/components/schemas/Provider" - required: true - security: - - TokenAuthentication: [] - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/Provider" - examples: - ProviderResponse: - value: - created: "2024-04-01T06:14:32.602Z" - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: "2024-05-03T17:03:45.380Z" - name: my_provider - priority: 50 - summary: Provider Response - description: "" - /v1/inventory/providers/{id}/: - get: - operationId: inventory_providers_retrieve - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Provider" - examples: - ProviderResponse: - value: - created: "2024-04-01T06:14:32.602Z" - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: "2024-05-03T17:03:45.380Z" - name: my_provider - priority: 50 - summary: Provider Response - description: "" - put: - operationId: inventory_providers_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Provider" - examples: - ProviderRequest: - value: - display_name: My Provider - instance_limit: 250 - name: my_provider - priority: 50 - summary: Provider Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Provider" - multipart/form-data: - schema: - $ref: "#/components/schemas/Provider" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Provider" - examples: - ProviderResponse: - value: - created: "2024-04-01T06:14:32.602Z" - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: "2024-05-03T17:03:45.380Z" - name: my_provider - priority: 50 - summary: Provider Response - description: "" - patch: - operationId: inventory_providers_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Provider" - examples: - ProviderRequest: - value: - display_name: My Provider - instance_limit: 250 - name: my_provider - priority: 50 - summary: Provider Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/Provider" - multipart/form-data: - schema: - $ref: "#/components/schemas/Provider" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/Provider" - examples: - ProviderResponse: - value: - created: "2024-04-01T06:14:32.602Z" - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: "2024-05-03T17:03:45.380Z" - name: my_provider - priority: 50 - summary: Provider Response - description: "" - delete: - operationId: inventory_providers_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - "204": - description: No response body - /v1/inventory/providers/{id}/history/: - get: - operationId: inventory_providers_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PaginatedModelChangeList" - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: "2025-01-29T13:20:39.821Z" - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: "" - /v1/inventory/providers/bulk/: - patch: - operationId: inventory_providers_bulk_partial_update - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ProviderBulkUpdate" - examples: - ProviderBulkUpdateRequest: - value: - display_name: My Provider - ids: - - f8bd1b72-c213-43ec-82ad-a56a44757a11 - - 5b528083-ab61-42dd-a6a1-90aa9babb014 - instance_limit: 250 - priority: 50 - summary: Provider Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: "#/components/schemas/ProviderBulkUpdate" - multipart/form-data: - schema: - $ref: "#/components/schemas/ProviderBulkUpdate" - required: true - security: - - TokenAuthentication: [] - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ProviderBulkUpdate" - examples: - ProviderBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Provider Bulk Update Response - description: "" - /v1/inventory/providers/stats/: - get: - operationId: inventory_providers_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - "200": - description: No response body -components: - schemas: - AuthLogin: - type: object - properties: - auth_code: - type: string - password: - type: string - username: - type: string - AuthRedirect: - type: object - properties: - redirect: - type: string - format: uri - required: - - redirect - AuthToken: - type: object - properties: - token: - type: string - readOnly: true - username: - type: string - readOnly: true - required: - - token - - username - BlankEnum: - enum: - - "" - x-enum-varnames: - - Blank - CategoryEnum: - enum: - - AI - - Clara - - Data Science - - 3D Design Collaboration and Simulation - - Developer - - Infrastructure Optimization - type: string - description: |- - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - x-enum-varnames: - - CategoryAI - - CategoryClara - - CategoryDataScience - - Category3DDesignCollaborationAndSimulation - - CategoryDeveloper - - CategoryInfrastructureOptimization - Cluster: - type: object - properties: - available: - type: boolean - readOnly: true - description: Is the cluster currently available for provisioning? - bastion_name: - type: - - string - - "null" - description: Name of the bastion assigned to the cluster - maxLength: 32 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - enabled: - type: boolean - description: Is the cluster administratively enabled? - experience: - type: - - string - - "null" - format: uuid - description: Experience provisioned onto this cluster - free_by: - type: - - string - - "null" - format: date-time - description: Timestamp of when the cluster will next be available for use - gpus: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - x-go-json-tag: "gpus,omitempty" - gpu_alias: - type: string - readOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - readOnly: true - id: - type: string - format: uuid - readOnly: true - instances: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Instance" - x-go-json-tag: "instance,omitempty" - x-go-json-tag: "instances,omitempty" - last_used: - type: - - string - - "null" - format: date-time - readOnly: true - description: Timestamp of when the cluster was last in use - maintenance: - type: boolean - description: Is the cluster in maintenance mode? - mgmt_ip: - type: string - description: Management IP address - mgmt_mac: - type: - - string - - "null" - description: Management MAC address - maxLength: 17 - minLength: 17 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - netmask: - type: - - integer - - "null" - maximum: 32 - minimum: 0 - description: The subnet mask of the cluster's public IP address in CIDR notation - node_count: - type: integer - readOnly: true - nodes: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Node" - x-go-json-tag: "node,omitempty" - x-go-json-tag: "nodes,omitempty" - notes: - type: - - string - - "null" - description: Administrative comments about the cluster - persist: - type: boolean - description: Is the cluster exempt from provisioning_state timeouts? Can be used to ensure the cluster persists after a provisioning failure. - provider_capacity: - type: boolean - readOnly: true - description: Does the provider have capacity to provision this cluster? - provision_user: - type: - - string - - "null" - description: Username used for provisioning this cluster - maxLength: 64 - provisioning_attempts: - type: integer - maximum: 2147483647 - minimum: 0 - description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. - provisioning_state: - allOf: - - $ref: "#/components/schemas/ProvisioningStateEnum" - description: |- - Is the cluster currently provisioned? - - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - public_address: - type: - - string - - "null" - description: Public IP address or fully-qualified domain name of this cluster - maxLength: 255 - request_id: - type: - - string - - "null" - description: "The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234)" - maxLength: 32 - reservation: - type: boolean - description: Is the cluster a static reservation from its provider? - tenant_ids: - type: array - items: - type: string - format: uuid - readOnly: true - description: Tenant UUID(s) that have been generated for this cluster during provisioning - vlan_id: - type: integer - maximum: 4094 - minimum: 1 - description: VLAN number - workshop: - type: boolean - description: Is the cluster set aside for use in a workshop? - workshop_id: - type: - - string - - "null" - description: Identifier of the workshop this cluster is set aside for - maxLength: 64 - required: - - available - - created - - deployment - - gpus - - id - - instances - - last_used - - modified - - provider_capacity - - tenant_ids - ClusterBulkUpdate: - type: object - properties: - available: - type: boolean - readOnly: true - writeOnly: true - description: Is the cluster currently available for provisioning? - bastion_name: - type: - - string - - "null" - writeOnly: true - description: Name of the bastion assigned to the cluster - maxLength: 32 - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - enabled: - type: boolean - writeOnly: true - description: Is the cluster administratively enabled? - experience: - type: - - string - - "null" - format: uuid - writeOnly: true - description: Experience provisioned onto this cluster - free_by: - type: - - string - - "null" - format: date-time - writeOnly: true - description: Timestamp of when the cluster will next be available for use - gpus: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - x-go-json-tag: "gpus,omitempty" - gpu_alias: - type: string - readOnly: true - writeOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - readOnly: true - writeOnly: true - id: - type: string - format: uuid - readOnly: true - writeOnly: true - instances: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Instance" - x-go-json-tag: "instance,omitempty" - x-go-json-tag: "instances,omitempty" - last_used: - type: - - string - - "null" - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the cluster was last in use - maintenance: - type: boolean - writeOnly: true - description: Is the cluster in maintenance mode? - mgmt_ip: - type: string - writeOnly: true - description: Management IP address - mgmt_mac: - type: - - string - - "null" - writeOnly: true - description: Management MAC address - maxLength: 17 - minLength: 17 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - netmask: - type: - - integer - - "null" - maximum: 32 - minimum: 0 - writeOnly: true - description: The subnet mask of the cluster's public IP address in CIDR notation - node_count: - type: integer - readOnly: true - writeOnly: true - nodes: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Node" - x-go-json-tag: "node,omitempty" - x-go-json-tag: "nodes,omitempty" - notes: - type: - - string - - "null" - writeOnly: true - description: Administrative comments about the cluster - persist: - type: boolean - writeOnly: true - description: Is the cluster exempt from provisioning_state timeouts? Can be used to ensure the cluster persists after a provisioning failure. - provider_capacity: - type: boolean - readOnly: true - writeOnly: true - description: Does the provider have capacity to provision this cluster? - provision_user: - type: - - string - - "null" - writeOnly: true - description: Username used for provisioning this cluster - maxLength: 64 - provisioning_attempts: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. - provisioning_state: - allOf: - - $ref: "#/components/schemas/ProvisioningStateEnum" - writeOnly: true - description: |- - Is the cluster currently provisioned? - - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - public_address: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Public IP address or fully-qualified domain name of this cluster - maxLength: 255 - request_id: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: "The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234)" - maxLength: 32 - reservation: - type: boolean - writeOnly: true - description: Is the cluster a static reservation from its provider? - tenant_ids: - type: array - items: - type: string - format: uuid - readOnly: true - writeOnly: true - description: Tenant UUID(s) that have been generated for this cluster during provisioning - vlan_id: - type: integer - maximum: 4094 - minimum: 1 - writeOnly: true - description: VLAN number - workshop: - type: boolean - writeOnly: true - description: Is the cluster set aside for use in a workshop? - workshop_id: - type: - - string - - "null" - writeOnly: true - description: Identifier of the workshop this cluster is set aside for - maxLength: 64 - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - available - - count - - created - - deployment - - gpu_alias - - gpu_count - - gpus - - id - - ids - - instances - - last_used - - modified - - node_count - - provider_capacity - - public_address - - request_id - - result - - tenant_ids - CpuManufacturerEnum: - enum: - - amd - - arm - - intel - type: string - description: |- - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - x-enum-varnames: - - CpuManufacturerAMD - - CpuManufacturerARM - - CpuManufacturerIntel - Deployment: - type: object - properties: - bastion_operating_system: - type: - - string - - "null" - description: Override bastion operating system provisioned and/or configured by Liftoff - maxLength: 32 - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - collection_branch: - type: - - string - - "null" - description: Override the Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - "null" - description: Override the experience branch - maxLength: 255 - expires_at: - type: - - string - - "null" - format: date-time - description: Timestamp when the deployment will be destroyed - flightcontrol_release: - type: - - string - - "null" - description: Override the image tag used for Flight Control - maxLength: 64 - garage_id: - type: - - string - - "null" - description: Require a cluster with nodes in the given garage - maxLength: 128 - gc_branch: - type: - - string - - "null" - description: Override the default Ground Control branch - maxLength: 255 - gpu_alias: - type: - - string - - "null" - description: Require a cluster with the given GPU alias - maxLength: 64 - gpu_count: - type: - - integer - - "null" - maximum: 16 - minimum: 0 - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - "null" - description: Require a cluster with the given GPU model - maxLength: 32 - gpu_os_name: - type: string - gpu_os_release: - type: string - gpu_os_version: - type: string - id: - type: string - format: uuid - readOnly: true - ip_allowlist: - type: array - items: - type: string - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - "null" - maximum: 2147483647 - minimum: 0 - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - "null" - maximum: 16 - minimum: 0 - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - "null" - maximum: 2147483647 - minimum: 0 - description: Require a cluster with the given number of nodes - org_name: - type: string - description: Requester's organization name - overrides: - readOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - "null" - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: string - pipeline: - type: - - integer - - "null" - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - "null" - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - maxLength: 255 - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - platform: - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: "#/components/schemas/PlatformEnum" - - type: "null" - priority: - allOf: - - $ref: "#/components/schemas/PriorityEnum" - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - "null" - description: Require a cluster from the given provider name - maxLength: 64 - public_key: - type: - - string - - "null" - writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - "null" - description: Require a cluster located in the given region - maxLength: 64 - request_id: - type: string - description: "Trial request ID (ex: TRY-1234)" - requester_email: - type: string - format: email - description: Email address of the user requesting the experience - maxLength: 254 - requester_name: - type: string - description: Name of the user requesting the experience - maxLength: 255 - retry_count: - type: integer - readOnly: true - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - "null" - format: date-time - description: Timestamp when the requester's sales relationship was created - sales_id: - type: - - string - - "null" - description: Unique identifier for the requester's sales relationship - maxLength: 32 - sales_owner_email: - type: - - string - - "null" - format: email - description: Email address of the sales contact associated with the requester - maxLength: 254 - sales_owner_name: - type: - - string - - "null" - description: Name of the sales contact associated with the requester - maxLength: 255 - services: - type: array - items: - type: string - format: uuid - readOnly: true - state: - allOf: - - $ref: "#/components/schemas/DeploymentState" - readOnly: true - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - "null" - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - "null" - description: Require a cluster with the given workshop ID - maxLength: 64 - workshop_override_password: - type: - - string - - "null" - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - maxLength: 64 - catalog_id: - type: string - description: Unique ID for this experience in the sales catalog. Must be unique. - writeOnly: true - catalog_id_alias: - type: - - string - - "null" - description: "Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique." - writeOnly: true - experience_id: - type: string - format: uuid - writeOnly: true - required: - - created - - id - - modified - - org_name - - overrides - - pipelines - - requester_email - - requester_name - - retry_count - - services - - state - DeploymentBulkUpdate: - type: object - properties: - bastion_operating_system: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override bastion operating system provisioned and/or configured by Liftoff - cluster: - type: - - string - - "null" - format: uuid - readOnly: true - writeOnly: true - description: The cluster where the experience has been deployed - collection_branch: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the Ansible collection branch initialized within the pipeline - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the experience branch - expires_at: - type: - - string - - "null" - format: date-time - writeOnly: true - description: Timestamp when the deployment will be destroyed - flightcontrol_release: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the image tag used for Flight Control - garage_id: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Require a cluster with nodes in the given garage - gc_branch: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the default Ground Control branch - gpu_alias: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Require a cluster with the given GPU alias - gpu_count: - type: - - integer - - "null" - readOnly: true - writeOnly: true - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Require a cluster with the given GPU model - gpu_os_name: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the GPU node operating system name - gpu_os_release: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the GPU node operating system release - gpu_os_version: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the GPU node operating system version - id: - type: string - format: uuid - readOnly: true - writeOnly: true - ip_allowlist: - type: array - items: - type: string - writeOnly: true - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - "null" - readOnly: true - writeOnly: true - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - "null" - readOnly: true - writeOnly: true - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - "null" - readOnly: true - writeOnly: true - description: Require a cluster with the given number of nodes - org_name: - type: string - readOnly: true - writeOnly: true - description: Requester's organization name - overrides: - readOnly: true - writeOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - "null" - readOnly: true - writeOnly: true - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the defined persona in the experience - pipeline: - type: - - integer - - "null" - readOnly: true - writeOnly: true - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - writeOnly: true - platform: - readOnly: true - writeOnly: true - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: "#/components/schemas/PlatformEnum" - - type: "null" - priority: - allOf: - - $ref: "#/components/schemas/PriorityEnum" - readOnly: true - writeOnly: true - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Require a cluster from the given provider name - public_key: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Require a cluster located in the given region - request_id: - type: string - readOnly: true - writeOnly: true - description: "Trial request ID (ex: TRY-1234)" - requester_email: - type: string - format: email - readOnly: true - writeOnly: true - description: Email address of the user requesting the experience - requester_name: - type: string - readOnly: true - writeOnly: true - description: Name of the user requesting the experience - retry_count: - type: integer - readOnly: true - writeOnly: true - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - "null" - format: date-time - readOnly: true - writeOnly: true - description: Timestamp when the requester's sales relationship was created - sales_id: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Unique identifier for the requester's sales relationship - sales_owner_email: - type: - - string - - "null" - format: email - readOnly: true - writeOnly: true - description: Email address of the sales contact associated with the requester - sales_owner_name: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Name of the sales contact associated with the requester - services: - type: array - items: - type: string - format: uuid - readOnly: true - writeOnly: true - state: - allOf: - - $ref: "#/components/schemas/DeploymentState" - writeOnly: true - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - readOnly: true - writeOnly: true - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - "null" - readOnly: true - writeOnly: true - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Require a cluster with the given workshop ID - workshop_override_password: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - bastion_operating_system - - cluster - - collection_branch - - count - - created - - experience - - experience_branch - - flightcontrol_release - - garage_id - - gc_branch - - gpu_alias - - gpu_count - - gpu_model - - gpu_os_name - - gpu_os_release - - gpu_os_version - - id - - ids - - lifetime - - min_gpu_count - - modified - - node_count - - org_name - - overrides - - persist_on_failure - - persona - - pipeline - - pipeline_branch - - pipelines - - platform - - priority - - provider_name - - public_key - - region - - request_id - - requester_email - - requester_name - - result - - retry_count - - sales_created_date - - sales_id - - sales_owner_email - - sales_owner_name - - services - - tags - - workshop - - workshop_id - - workshop_override_password - DeploymentInstance: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - instance_id: - type: string - readOnly: true - description: Unique ID for this instance assigned by its provider - name: - type: - - string - - "null" - readOnly: true - description: User-friendly name of this instance - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - state: - allOf: - - $ref: "#/components/schemas/InstanceState" - readOnly: true - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - state_modified: - type: string - format: date-time - readOnly: true - tags: - type: array - items: - type: string - maxLength: 64 - readOnly: true - description: Tags associated with this instance - required: - - created - - id - - instance_id - - modified - - name - - state - - state_modified - - tags - DeploymentKey: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - description: Descriptive name for the SSH public key - maxLength: 64 - public_key: - type: string - writeOnly: true - description: An SSH public key that should be authorized to access the deployment - required: - - created - - deployment - - id - - modified - - name - - public_key - DeploymentPipeline: - type: object - properties: - action: - allOf: - - $ref: "#/components/schemas/DeploymentPipelineActionEnum" - description: |- - Action for the pipeline to run - - * `apply` - apply - * `destroy` - destroy - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - pipeline_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: GitLab pipeline ID - url: - type: string - format: uri - description: URL for the pipeline details - maxLength: 200 - required: - - action - - created - - deployment - - id - - modified - - pipeline_id - - url - DeploymentPipelineActionEnum: - enum: - - apply - - destroy - type: string - description: |- - * `apply` - apply - * `destroy` - destroy - x-enum-varnames: - - DeploymentPipelineActionApply - - DeploymentPipelineActionDestroy - DeploymentService: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - description: Name of the service - maxLength: 32 - url: - type: string - format: uri - description: URL used to reach the service - maxLength: 200 - required: - - created - - deployment - - id - - modified - - name - - url - DeploymentState: - enum: - - destroyed - - destroying - - error - - failed - - ready - - retrying - - starting - - stopped - - stopping - - waiting - type: string - description: |- - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - x-enum-varnames: - - DeploymentStateDestroyed - - DeploymentStateDestroying - - DeploymentStateError - - DeploymentStateFailed - - DeploymentStateReady - - DeploymentStateRetrying - - DeploymentStateStarting - - DeploymentStateStopped - - DeploymentStateStopping - - DeploymentStateWaiting - DeploymentTask: - type: object - properties: - action: - allOf: - - $ref: "#/components/schemas/DeploymentTaskActionEnum" - description: |- - The action the task will perform - - * `start_instances` - Start all instances in the deployment - * `stop_instances` - Stop all instances in the deployment - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - retries: - type: integer - readOnly: true - description: Number of times the task has been retried - status: - allOf: - - $ref: "#/components/schemas/StatusEnum" - readOnly: true - description: |- - Current status of the task - - * `completed` - completed - * `failed` - failed - * `pending` - pending - * `processing` - processing - * `retrying` - retrying - status_text: - type: string - readOnly: true - description: Messages related to the current task status - required: - - action - - created - - deployment - - id - - modified - - retries - - status - - status_text - DeploymentTaskActionEnum: - enum: - - start_instances - - stop_instances - type: string - description: |- - * `start_instances` - Start all instances in the deployment - * `stop_instances` - Stop all instances in the deployment - x-enum-varnames: - - DeploymentTaskActionStartInstances - - DeploymentTaskActionStopInstances - DeploymentUpdate: - type: object - properties: - bastion_operating_system: - type: - - string - - "null" - readOnly: true - description: Override bastion operating system provisioned and/or configured by Liftoff - cluster: - type: - - string - - "null" - format: uuid - readOnly: true - description: The cluster where the experience has been deployed - collection_branch: - type: - - string - - "null" - readOnly: true - description: Override the Ansible collection branch initialized within the pipeline - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - "null" - readOnly: true - description: Override the experience branch - expires_at: - type: - - string - - "null" - format: date-time - description: Timestamp when the deployment will be destroyed - flightcontrol_release: - type: - - string - - "null" - readOnly: true - description: Override the image tag used for Flight Control - garage_id: - type: - - string - - "null" - readOnly: true - description: Require a cluster with nodes in the given garage - gc_branch: - type: - - string - - "null" - readOnly: true - description: Override the default Ground Control branch - gpu_alias: - type: - - string - - "null" - readOnly: true - description: Require a cluster with the given GPU alias - gpu_count: - type: - - integer - - "null" - readOnly: true - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - "null" - readOnly: true - description: Require a cluster with the given GPU model - gpu_os_name: - type: - - string - - "null" - readOnly: true - description: Override the GPU node operating system name - gpu_os_release: - type: - - string - - "null" - readOnly: true - description: Override the GPU node operating system release - gpu_os_version: - type: - - string - - "null" - readOnly: true - description: Override the GPU node operating system version - id: - type: string - format: uuid - readOnly: true - ip_allowlist: - type: array - items: - type: string - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - "null" - readOnly: true - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - "null" - readOnly: true - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - "null" - readOnly: true - description: Require a cluster with the given number of nodes - org_name: - type: string - readOnly: true - description: Requester's organization name - overrides: - readOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - "null" - readOnly: true - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: - - string - - "null" - readOnly: true - description: Override the defined persona in the experience - pipeline: - type: - - integer - - "null" - readOnly: true - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - "null" - readOnly: true - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - platform: - readOnly: true - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: "#/components/schemas/PlatformEnum" - - type: "null" - priority: - allOf: - - $ref: "#/components/schemas/PriorityEnum" - readOnly: true - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - "null" - readOnly: true - description: Require a cluster from the given provider name - public_key: - type: - - string - - "null" - readOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - "null" - readOnly: true - description: Require a cluster located in the given region - request_id: - type: string - readOnly: true - description: "Trial request ID (ex: TRY-1234)" - requester_email: - type: string - format: email - readOnly: true - description: Email address of the user requesting the experience - requester_name: - type: string - readOnly: true - description: Name of the user requesting the experience - retry_count: - type: integer - readOnly: true - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - "null" - format: date-time - readOnly: true - description: Timestamp when the requester's sales relationship was created - sales_id: - type: - - string - - "null" - readOnly: true - description: Unique identifier for the requester's sales relationship - sales_owner_email: - type: - - string - - "null" - format: email - readOnly: true - description: Email address of the sales contact associated with the requester - sales_owner_name: - type: - - string - - "null" - readOnly: true - description: Name of the sales contact associated with the requester - services: - type: array - items: - type: string - format: uuid - readOnly: true - state: - allOf: - - $ref: "#/components/schemas/DeploymentState" - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - readOnly: true - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - "null" - readOnly: true - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - "null" - readOnly: true - description: Require a cluster with the given workshop ID - workshop_override_password: - type: - - string - - "null" - readOnly: true - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - required: - - bastion_operating_system - - cluster - - collection_branch - - created - - experience - - experience_branch - - flightcontrol_release - - garage_id - - gc_branch - - gpu_alias - - gpu_count - - gpu_model - - gpu_os_name - - gpu_os_release - - gpu_os_version - - id - - lifetime - - min_gpu_count - - modified - - node_count - - org_name - - overrides - - persist_on_failure - - persona - - pipeline - - pipeline_branch - - pipelines - - platform - - priority - - provider_name - - public_key - - region - - request_id - - requester_email - - requester_name - - retry_count - - sales_created_date - - sales_id - - sales_owner_email - - sales_owner_name - - services - - tags - - workshop - - workshop_id - - workshop_override_password - DocDeploymentDelete: - type: object - properties: - bastion_operating_system: - type: - - string - - "null" - description: Override bastion operating system provisioned and/or configured by Liftoff - maxLength: 32 - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - collection_branch: - type: - - string - - "null" - description: Override the Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - "null" - description: Override the experience branch - maxLength: 255 - expires_at: - type: - - string - - "null" - format: date-time - description: Timestamp when the deployment will be destroyed - flightcontrol_release: - type: - - string - - "null" - description: Override the image tag used for Flight Control - maxLength: 64 - garage_id: - type: - - string - - "null" - description: Require a cluster with nodes in the given garage - maxLength: 128 - gc_branch: - type: - - string - - "null" - description: Override the default Ground Control branch - maxLength: 255 - gpu_alias: - type: - - string - - "null" - description: Require a cluster with the given GPU alias - maxLength: 64 - gpu_count: - type: - - integer - - "null" - maximum: 16 - minimum: 0 - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - "null" - description: Require a cluster with the given GPU model - maxLength: 32 - gpu_os_name: - type: string - gpu_os_release: - type: string - gpu_os_version: - type: string - id: - type: string - format: uuid - readOnly: true - ip_allowlist: - type: array - items: - type: string - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - "null" - maximum: 2147483647 - minimum: 0 - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - "null" - maximum: 16 - minimum: 0 - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - "null" - maximum: 2147483647 - minimum: 0 - description: Require a cluster with the given number of nodes - org_name: - type: string - description: Requester's organization name - overrides: - readOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - "null" - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: string - pipeline: - type: - - integer - - "null" - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - "null" - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - maxLength: 255 - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - platform: - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: "#/components/schemas/PlatformEnum" - - type: "null" - priority: - allOf: - - $ref: "#/components/schemas/PriorityEnum" - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - "null" - description: Require a cluster from the given provider name - maxLength: 64 - public_key: - type: - - string - - "null" - writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - "null" - description: Require a cluster located in the given region - maxLength: 64 - request_id: - type: string - description: "Trial request ID (ex: TRY-1234)" - requester_email: - type: string - format: email - description: Email address of the user requesting the experience - maxLength: 254 - requester_name: - type: string - description: Name of the user requesting the experience - maxLength: 255 - retry_count: - type: integer - readOnly: true - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - "null" - format: date-time - description: Timestamp when the requester's sales relationship was created - sales_id: - type: - - string - - "null" - description: Unique identifier for the requester's sales relationship - maxLength: 32 - sales_owner_email: - type: - - string - - "null" - format: email - description: Email address of the sales contact associated with the requester - maxLength: 254 - sales_owner_name: - type: - - string - - "null" - description: Name of the sales contact associated with the requester - maxLength: 255 - services: - type: array - items: - type: string - format: uuid - readOnly: true - state: - allOf: - - $ref: "#/components/schemas/DeploymentState" - readOnly: true - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - "null" - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - "null" - description: Require a cluster with the given workshop ID - maxLength: 64 - workshop_override_password: - type: - - string - - "null" - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - maxLength: 64 - catalog_id: - type: string - description: Unique ID for this experience in the sales catalog. Must be unique. - writeOnly: true - catalog_id_alias: - type: - - string - - "null" - description: "Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique." - writeOnly: true - experience_id: - type: string - format: uuid - writeOnly: true - required: - - created - - experience - - id - - modified - - org_name - - overrides - - pipelines - - requester_email - - requester_name - - retry_count - - services - - state - Experience: - type: object - properties: - assignee: - type: - - string - - "null" - description: User ID who is responsible for manual provisioning - maxLength: 32 - autoapprove: - type: boolean - description: Can the experience be provisioned without human approval? - autoprovision: - type: boolean - description: Can the experience be provisioned without human intervention? - bootstrap: - type: boolean - description: Can this experience be used to bootstrap another compatible experience? - catalog_id: - type: string - description: Unique ID for this experience in the sales catalog. Must be unique. - maxLength: 32 - catalog_id_alias: - type: - - string - - "null" - description: "Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique." - maxLength: 8 - category: - allOf: - - $ref: "#/components/schemas/CategoryEnum" - description: |- - Functional group that this experience is targetting - - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - collection_branch: - type: string - description: Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - description: - type: - - string - - "null" - experience: - type: string - description: Experience name slug - maxLength: 64 - experience_branch: - type: string - description: "Experience branch name used during deployment (default: origin/main)" - maxLength: 255 - fc_platform: - writeOnly: true - description: |- - Fleet Command platform type - - * `docker` - docker - * `k8s` - k8s - oneOf: - - $ref: "#/components/schemas/FcPlatformEnum" - - type: "null" - fc_support: - type: boolean - writeOnly: true - description: Does the experience support Flight Control? - garage_id: - type: - - string - - "null" - description: ID of the garage where nodes for this experience should be selected from - maxLength: 64 - gc_branch: - type: string - description: "Ground Control branch name (default: main)" - maxLength: 255 - gpu_count: - type: integer - maximum: 16 - minimum: 0 - description: Number of GPUs used - gpu_os: - $ref: "#/components/schemas/GpuOs" - id: - type: string - format: uuid - readOnly: true - inactivity_max: - type: integer - maximum: 2147483647 - minimum: 0 - description: "Number of days without user interaction before the experience is torn down (default: 3)" - lifetime: - type: - - integer - - "null" - maximum: 2147483647 - minimum: 0 - description: "Default number of days a provisioned experience should remain active (default: 3). A null lifetime will cause a deployment to remain active indefinitely." - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - maximum: 2147483647 - minimum: 0 - description: Number of Nodes used - persona: - type: string - pipeline: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: Pipeline ID used for provisioning - platform: - allOf: - - $ref: "#/components/schemas/PlatformEnum" - description: |- - Base platform that the experience will be provisioned onto - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - provider: - type: - - string - - "null" - format: uuid - description: If set, the experience must be provisioned to the given provider - published: - allOf: - - $ref: "#/components/schemas/PublishedEnum" - description: |- - Is the experience published for use? - - * `draft` - draft - * `no` - no - * `yes` - yes - repo: - type: - - string - - "null" - format: uri - writeOnly: true - description: URL of the repository for provisioning automation - maxLength: 200 - required_gpus: - type: array - items: - type: string - format: uuid - description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' - sa_lab: - type: boolean - description: Is this a persistent experience for SAs? - system_arch: - allOf: - - $ref: "#/components/schemas/SystemArchEnum" - description: |- - Required CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - title: - type: string - vgpu_profile: - description: |- - vGPU profile name used by the experience - - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - oneOf: - - $ref: "#/components/schemas/VgpuProfileEnum" - - type: "null" - required: - - catalog_id - - category - - created - - experience - - gpu_os - - id - - modified - - persona - - pipeline - - platform - - system_arch - - title - ExperienceBulk: - type: object - properties: - csv_file: - type: string - format: uri - writeOnly: true - experiences: - type: array - items: - $ref: "#/components/schemas/Experience" - readOnly: true - required: - - csv_file - - experiences - ExperienceBulkUpdate: - type: object - properties: - assignee: - type: - - string - - "null" - writeOnly: true - description: User ID who is responsible for manual provisioning - maxLength: 32 - autoapprove: - type: boolean - writeOnly: true - description: Can the experience be provisioned without human approval? - autoprovision: - type: boolean - writeOnly: true - description: Can the experience be provisioned without human intervention? - bootstrap: - type: boolean - writeOnly: true - description: Can this experience be used to bootstrap another compatible experience? - catalog_id: - type: string - readOnly: true - writeOnly: true - description: Unique ID for this experience in the sales catalog. Must be unique. - maxLength: 32 - catalog_id_alias: - type: - - string - - "null" - readOnly: true - writeOnly: true - description: "Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique." - maxLength: 8 - category: - allOf: - - $ref: "#/components/schemas/CategoryEnum" - writeOnly: true - description: |- - Functional group that this experience is targetting - - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - collection_branch: - type: string - writeOnly: true - description: Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - description: - type: - - string - - "null" - writeOnly: true - experience: - type: string - writeOnly: true - description: Experience name slug - maxLength: 64 - experience_branch: - type: string - writeOnly: true - description: "Experience branch name used during deployment (default: origin/main)" - maxLength: 255 - fc_platform: - writeOnly: true - description: |- - Fleet Command platform type - - * `docker` - docker - * `k8s` - k8s - oneOf: - - $ref: "#/components/schemas/FcPlatformEnum" - - type: "null" - fc_support: - type: boolean - writeOnly: true - description: Does the experience support Flight Control? - garage_id: - type: - - string - - "null" - writeOnly: true - description: ID of the garage where nodes for this experience should be selected from - maxLength: 64 - gc_branch: - type: string - writeOnly: true - description: "Ground Control branch name (default: main)" - maxLength: 255 - gpu_count: - type: integer - maximum: 16 - minimum: 0 - writeOnly: true - description: Number of GPUs used - gpu_os: - allOf: - - $ref: "#/components/schemas/GpuOs" - writeOnly: true - id: - type: string - format: uuid - readOnly: true - writeOnly: true - inactivity_max: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: "Number of days without user interaction before the experience is torn down (default: 3)" - lifetime: - type: - - integer - - "null" - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: "Default number of days a provisioned experience should remain active (default: 3). A null lifetime will cause a deployment to remain active indefinitely." - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: Number of Nodes used - persona: - type: string - writeOnly: true - pipeline: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - writeOnly: true - description: Pipeline ID used for provisioning - platform: - allOf: - - $ref: "#/components/schemas/PlatformEnum" - writeOnly: true - description: |- - Base platform that the experience will be provisioned onto - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - provider: - type: - - string - - "null" - format: uuid - writeOnly: true - description: If set, the experience must be provisioned to the given provider - published: - allOf: - - $ref: "#/components/schemas/PublishedEnum" - writeOnly: true - description: |- - Is the experience published for use? - - * `draft` - draft - * `no` - no - * `yes` - yes - repo: - type: - - string - - "null" - format: uri - writeOnly: true - description: URL of the repository for provisioning automation - maxLength: 200 - required_gpus: - type: array - items: - type: string - format: uuid - writeOnly: true - description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' - sa_lab: - type: boolean - writeOnly: true - description: Is this a persistent experience for SAs? - system_arch: - allOf: - - $ref: "#/components/schemas/SystemArchEnum" - writeOnly: true - description: |- - Required CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - title: - type: string - writeOnly: true - vgpu_profile: - writeOnly: true - description: |- - vGPU profile name used by the experience - - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - oneOf: - - $ref: "#/components/schemas/VgpuProfileEnum" - - type: "null" - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - catalog_id - - catalog_id_alias - - category - - count - - created - - experience - - gpu_os - - id - - ids - - modified - - persona - - pipeline - - platform - - result - - system_arch - - title - FcPlatformEnum: - enum: - - docker - - k8s - type: string - description: |- - * `docker` - docker - * `k8s` - k8s - x-enum-varnames: - - FcPlatformDocker - - FcPlatformK8s - FormFactorEnum: - enum: - - pcie - - sxm - type: string - description: |- - * `pcie` - PCIe - * `sxm` - sxm - x-enum-varnames: - - FormFactorPCIe - - FormFactorSXM - Gpu: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - form_factor: - allOf: - - $ref: "#/components/schemas/FormFactorEnum" - default: pcie - description: |- - GPU form factor - - * `pcie` - PCIe - * `sxm` - sxm - id: - type: string - format: uuid - readOnly: true - memory: - type: integer - maximum: 32768 - minimum: 0 - default: 0 - description: Total GPU memory (in GB) - model: - type: string - description: GPU model name - maxLength: 32 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - readOnly: true - priority: - type: integer - maximum: 100 - minimum: 0 - description: Weighted preference to use in selecting a GPU for a deployment. A higher priority means the GPU is in higher demand. Lower priority values will be preferred over higher ones during cluster selection. - required: - - created - - id - - model - - modified - GpuBulkUpdate: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - form_factor: - allOf: - - $ref: "#/components/schemas/FormFactorEnum" - writeOnly: true - default: pcie - description: |- - GPU form factor - - * `pcie` - PCIe - * `sxm` - sxm - id: - type: string - format: uuid - readOnly: true - writeOnly: true - memory: - type: integer - maximum: 32768 - minimum: 0 - writeOnly: true - default: 0 - description: Total GPU memory (in GB) - model: - type: string - writeOnly: true - description: GPU model name - maxLength: 32 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - readOnly: true - writeOnly: true - priority: - type: integer - maximum: 100 - minimum: 0 - writeOnly: true - description: Weighted preference to use in selecting a GPU for a deployment. A higher priority means the GPU is in higher demand. Lower priority values will be preferred over higher ones during cluster selection. - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - count - - created - - id - - ids - - model - - modified - - node_count - - result - GpuOs: - type: object - properties: - name: - type: string - release: - type: string - version: - type: string - required: - - name - - release - - version - GpuOsChoice: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: integer - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - description: "Name of the OS to be provisioned onto GPU Node(s) (ex: ubuntu)" - maxLength: 16 - release: - type: string - description: "Release name of the OS to be provisioned onto GPU Node(s) (ex: jammy)" - maxLength: 16 - version: - type: string - description: "Version number of the OS to be provisioned onto GPU Node(s) (ex: 22.04)" - maxLength: 8 - required: - - created - - id - - modified - - name - - release - - version - Instance: - type: object - properties: - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - instance_id: - type: string - description: Unique ID for this instance assigned by its provider - maxLength: 64 - name: - type: - - string - - "null" - description: User-friendly name of this instance - maxLength: 64 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - state: - allOf: - - $ref: "#/components/schemas/InstanceState" - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - state_modified: - type: string - format: date-time - readOnly: true - tags: - type: array - items: - type: string - maxLength: 64 - description: Tags associated with this instance - required: - - cluster - - created - - id - - instance_id - - modified - - state_modified - InstanceBulkUpdate: - type: object - properties: - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - writeOnly: true - instance_id: - type: string - readOnly: true - writeOnly: true - description: Unique ID for this instance assigned by its provider - maxLength: 64 - name: - type: - - string - - "null" - writeOnly: true - description: User-friendly name of this instance - maxLength: 64 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - state: - allOf: - - $ref: "#/components/schemas/InstanceState" - writeOnly: true - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - state_modified: - type: string - format: date-time - readOnly: true - writeOnly: true - tags: - type: array - items: - type: string - maxLength: 64 - writeOnly: true - description: Tags associated with this instance - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - cluster - - count - - created - - id - - ids - - instance_id - - modified - - result - - state_modified - InstanceState: - enum: - - running - - starting - - stopped - - stopping - - unknown - type: string - description: |- - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - x-enum-varnames: - - InstanceStateRunning - - InstanceStateStarting - - InstanceStateStopped - - InstanceStateStopping - - InstanceStateUnknown - Location: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 64 - provider: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Provider" - x-go-json-tag: "provider,omitempty" - region: - type: - - string - - "null" - description: Name of the region the location is in - maxLength: 64 - required: - - created - - id - - modified - - name - - provider - Logout: - type: object - properties: - result: - type: string - readOnly: true - default: Successfully logged out. - required: - - result - ModelChange: - type: object - properties: - change_type: - type: string - readOnly: true - changes: - type: array - items: - type: object - properties: - field: - type: string - new_value: - oneOf: - - type: string - - type: boolean - - type: integer - nullable: true - old_value: - oneOf: - - type: string - - type: boolean - - type: integer - nullable: true - required: - - field - - new_value - - old_value - readOnly: true - created: - type: string - format: date-time - id: - type: integer - username: - type: string - required: - - change_type - - changes - - created - - id - - username - NetworkTypeEnum: - enum: - - ethernet - - infiniband - type: string - description: |- - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - x-enum-varnames: - - NetworkTypeEthernet - - NetworkTypeInfiniband - Node: - type: object - properties: - bmc_ip: - type: - - string - - "null" - description: IP address of the BMC - bmc_mac: - type: - - string - - "null" - description: MAC address of the BMC - maxLength: 17 - minLength: 17 - bmc_password: - type: - - string - - "null" - description: Password for the BMC - maxLength: 32 - bmc_user: - type: - - string - - "null" - description: Username for the BMC - maxLength: 64 - cluster: - type: - - string - - "null" - format: uuid - description: UUID of the node's parent cluster - cpu: - type: integer - maximum: 1024 - minimum: 0 - description: Number of CPU cores installed - cpu_manufacturer: - description: |- - Manufacturer of the node's CPU - - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - oneOf: - - $ref: "#/components/schemas/CpuManufacturerEnum" - - type: "null" - cpu_model: - type: - - string - - "null" - description: Model information for the node's CPU - maxLength: 64 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - garage_id: - type: - - string - - "null" - description: ID for the garage where a node is parked when unprovisioned - maxLength: 128 - gpu: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - gpu_alias: - type: string - readOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - maximum: 16 - minimum: 0 - description: Number of GPUs installed - gpu_model: - type: string - readOnly: true - description: Model of GPU(s) installed - gpu_vbios: - type: - - string - - "null" - description: VBIOS version used by installed GPU(s) - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - location: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Location" - x-go-json-tag: "location,omitempty" - memory: - type: integer - maximum: 32768 - minimum: 0 - description: Amount of RAM installed (in GB) - mgmt_ip: - type: string - description: Management IP address - mgmt_mac: - type: - - string - - "null" - description: Management MAC address - maxLength: 17 - minLength: 17 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - network_type: - allOf: - - $ref: "#/components/schemas/NetworkTypeEnum" - description: |- - Type of networking technology used - - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - nic_prefixes: - type: array - items: - type: string - maxLength: 15 - description: Prefixes for the node's network interface(s) - notes: - type: - - string - - "null" - description: Administrative comments about the node - oem: - type: - - string - - "null" - format: uuid - description: UUID of the node's OEM - provider_node_id: - type: - - string - - "null" - description: Unique ID for this node assigned by its provider - maxLength: 128 - rack: - type: - - string - - "null" - description: Physical rack identifier - maxLength: 32 - rack_unit: - type: - - integer - - "null" - maximum: 52 - minimum: 0 - description: The rack unit (RU) within the rack where the node is installed - storage: - type: array - items: - $ref: "#/components/schemas/NodeStorage" - minItems: 1 - system_arch: - allOf: - - $ref: "#/components/schemas/SystemArchEnum" - description: |- - CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - tee: - type: boolean - description: Does the node support Trusted Execution Environment (TEE)? - required: - - created - - gpu - - gpu_alias - - gpu_model - - id - - location - - modified - - storage - - system_arch - NodeBulk: - type: object - properties: - csv_file: - type: string - format: uri - writeOnly: true - nodes: - type: array - items: - $ref: "#/components/schemas/Node" - readOnly: true - required: - - csv_file - - nodes - NodeBulkUpdate: - type: object - properties: - bmc_ip: - type: - - string - - "null" - writeOnly: true - description: IP address of the BMC - bmc_mac: - type: - - string - - "null" - writeOnly: true - description: MAC address of the BMC - maxLength: 17 - minLength: 17 - bmc_password: - type: - - string - - "null" - writeOnly: true - description: Password for the BMC - maxLength: 32 - bmc_user: - type: - - string - - "null" - writeOnly: true - description: Username for the BMC - maxLength: 64 - cluster: - type: - - string - - "null" - format: uuid - writeOnly: true - description: UUID of the node's parent cluster - cpu: - type: integer - maximum: 1024 - minimum: 0 - writeOnly: true - description: Number of CPU cores installed - cpu_manufacturer: - writeOnly: true - description: |- - Manufacturer of the node's CPU - - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - oneOf: - - $ref: "#/components/schemas/CpuManufacturerEnum" - - type: "null" - cpu_model: - type: - - string - - "null" - writeOnly: true - description: Model information for the node's CPU - maxLength: 64 - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - garage_id: - type: - - string - - "null" - writeOnly: true - description: ID for the garage where a node is parked when unprovisioned - maxLength: 128 - gpu: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - gpu_alias: - type: string - readOnly: true - writeOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - maximum: 16 - minimum: 0 - writeOnly: true - description: Number of GPUs installed - gpu_model: - type: string - readOnly: true - writeOnly: true - description: Model of GPU(s) installed - gpu_vbios: - type: - - string - - "null" - writeOnly: true - description: VBIOS version used by installed GPU(s) - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - writeOnly: true - location: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Location" - x-go-json-tag: "location,omitempty" - memory: - type: integer - maximum: 32768 - minimum: 0 - writeOnly: true - description: Amount of RAM installed (in GB) - mgmt_ip: - type: string - writeOnly: true - description: Management IP address - mgmt_mac: - type: - - string - - "null" - writeOnly: true - description: Management MAC address - maxLength: 17 - minLength: 17 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - network_type: - allOf: - - $ref: "#/components/schemas/NetworkTypeEnum" - writeOnly: true - description: |- - Type of networking technology used - - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - nic_prefixes: - type: array - items: - type: string - maxLength: 15 - writeOnly: true - description: Prefixes for the node's network interface(s) - notes: - type: - - string - - "null" - writeOnly: true - description: Administrative comments about the node - oem: - type: - - string - - "null" - format: uuid - writeOnly: true - description: UUID of the node's OEM - provider_node_id: - type: - - string - - "null" - writeOnly: true - description: Unique ID for this node assigned by its provider - maxLength: 128 - rack: - type: - - string - - "null" - writeOnly: true - description: Physical rack identifier - maxLength: 32 - rack_unit: - type: - - integer - - "null" - maximum: 52 - minimum: 0 - writeOnly: true - description: The rack unit (RU) within the rack where the node is installed - storage: - type: array - items: - $ref: "#/components/schemas/NodeStorage" - writeOnly: true - minItems: 1 - system_arch: - allOf: - - $ref: "#/components/schemas/SystemArchEnum" - writeOnly: true - description: |- - CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - tee: - type: boolean - writeOnly: true - description: Does the node support Trusted Execution Environment (TEE)? - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - count - - created - - gpu - - gpu_alias - - gpu_model - - id - - ids - - location - - modified - - result - - storage - - system_arch - NodeStorage: - type: object - properties: - size: - type: integer - default: 0 - description: Disk size (in GB) - maximum: 1000000 - minimum: 0 - type: - allOf: - - $ref: "#/components/schemas/TypeEnum" - description: |- - Disk type - - * `nvme` - NVMe - * `ssd` - ssd - required: - - type - NullEnum: - type: "null" - OEM: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 64 - required: - - created - - id - - modified - - name - PaginatedClusterList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Cluster" - PaginatedDeploymentInstanceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/DeploymentInstance" - PaginatedDeploymentKeyList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/DeploymentKey" - PaginatedDeploymentList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Deployment" - PaginatedDeploymentPipelineList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/DeploymentPipeline" - PaginatedDeploymentServiceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/DeploymentService" - PaginatedDeploymentTaskList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/DeploymentTask" - PaginatedExperienceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Experience" - PaginatedGpuList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Gpu" - PaginatedGpuOsChoiceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/GpuOsChoice" - PaginatedInstanceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Instance" - PaginatedLocationList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Location" - PaginatedModelChangeList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/ModelChange" - PaginatedNodeList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Node" - PaginatedOEMList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/OEM" - PaginatedPersonaChoiceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/PersonaChoice" - PaginatedProviderList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: "#/components/schemas/Provider" - PasswordChange: - type: object - properties: - username: - type: string - writeOnly: true - password: - type: string - writeOnly: true - new_password: - type: string - writeOnly: true - result: - type: string - readOnly: true - default: Password changed successfully. - required: - - new_password - - password - - result - - username - PersonaChoice: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: integer - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 32 - required: - - created - - id - - modified - - name - PlatformEnum: - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere_horizon - - vsphere7 - - vsphere8 - type: string - description: |- - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - x-enum-varnames: - - PlatformAir - - PlatformFlightDeck - - PlatformKvmBastion - - PlatformLpVmwarePlatformLegacy - - PlatformMinimal - - PlatformOpenshift - - PlatformVsphere - - PlatformVsphereHorizon - - PlatformVsphere7 - - PlatformVsphere8 - PreferredThemeEnum: - enum: - - light - - dark - type: string - description: |- - * `light` - light - * `dark` - dark - x-enum-varnames: - - PreferredThemeLight - - PreferredThemeDark - PriorityEnum: - enum: - - p0 - - p1 - - p2 - - p3 - type: string - description: |- - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - x-enum-varnames: - - PriorityP0 - - PriorityP1 - - PriorityP2 - - PriorityP3 - Profile: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - preferred_theme: - description: |- - Preferred user interface theme - - * `light` - light - * `dark` - dark - oneOf: - - $ref: "#/components/schemas/PreferredThemeEnum" - - type: "null" - username: - type: string - required: - - created - - id - - modified - - username - Provider: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - display_name: - type: - - string - - "null" - description: Human-friendly version of name. Used for display purposes. - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - instance_limit: - type: integer - maximum: 2147483647 - minimum: 0 - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 64 - priority: - type: integer - maximum: 100 - minimum: 0 - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. - required: - - created - - id - - modified - - name - ProviderBulkUpdate: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - display_name: - type: - - string - - "null" - writeOnly: true - description: Human-friendly version of name. Used for display purposes. - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - writeOnly: true - instance_limit: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - name: - type: string - readOnly: true - writeOnly: true - maxLength: 64 - priority: - type: integer - maximum: 100 - minimum: 0 - writeOnly: true - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - count - - created - - id - - ids - - modified - - name - - result - ProvisioningStateEnum: - enum: - - deployed - - deploying - - destroying - - pending - - ready - - reserved - - unprovisioned - type: string - description: |- - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - x-enum-varnames: - - ProvisioningStateDeployed - - ProvisioningStateDeploying - - ProvisioningStateDestroying - - ProvisioningStatePending - - ProvisioningStateReady - - ProvisioningStateReserved - - ProvisioningStateUnprovisioned - PublishedEnum: - enum: - - draft - - "no" - - "yes" - type: string - description: |- - * `draft` - draft - * `no` - no - * `yes` - yes - x-enum-varnames: - - PublishedDraft - - PublishedNo - - PublishedYes - StatusEnum: - enum: - - completed - - failed - - pending - - processing - - retrying - type: string - description: |- - * `completed` - completed - * `failed` - failed - * `pending` - pending - * `processing` - processing - * `retrying` - retrying - x-enum-varnames: - - StatusCompleted - - StatusFailed - - StatusPending - - StatusProcessing - - StatusRetrying - SystemArchEnum: - enum: - - amd64 - - arm64 - type: string - description: |- - * `amd64` - amd64 - * `arm64` - arm64 - x-enum-varnames: - - SystemArchAMD64 - - SystemArchARM64 - Tenant: - type: object - properties: - id: - type: string - format: uuid - writeOnly: true - required: - - id - TypeEnum: - enum: - - nvme - - ssd - type: string - description: |- - * `nvme` - NVMe - * `ssd` - ssd - x-enum-varnames: - - TypeNVMe - - TypeSSD - VgpuProfileEnum: - enum: - - air - - bright_cluster - - bright-cluster - - flight_deck - - flight-deck - - nvidia_a40-48q - - nvidia_l40s-48q - - nvidia-ai-enterprise - - openshift - - platform_only - - vmware_itadmin - type: string - description: |- - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - x-enum-varnames: - - VgpuProfileAir - - VgpuProfileBrightCluster - - VgpuProfileBrightClusterLegacy - - VgpuProfileFlightDeck - - VgpuProfileFlightDeckLegacy - - VgpuProfileNvidiaA4048QLegacy - - VgpuProfileNvidiaL40s48QLegacy - - VgpuProfileNvidiaAiEnterpriseLegacy - - VgpuProfileOpenshift - - VgpuProfilePlatformOnly - - VgpuProfileVmwareItadmin - securitySchemes: - TokenAuthentication: - type: apiKey - in: header - name: Authorization - description: 'Authenticate with your user''s API token. Be sure to include a prefix of "Token" (ex: "Token xxxxx").' diff --git a/v1/providers/launchpad/swagger-v2.35.4.yaml b/v1/providers/launchpad/swagger-v2.35.4.yaml deleted file mode 100644 index 95d9f797..00000000 --- a/v1/providers/launchpad/swagger-v2.35.4.yaml +++ /dev/null @@ -1,12026 +0,0 @@ -openapi: 3.1.0 -info: - title: NVIDIA LaunchPad API - version: 2.35.4 - description: RESTful API for interacting with the NVIDIA LaunchPad platform -paths: - /v1/auth/login/: - post: - operationId: auth_login_create - description: Login with either an authorization code or username and password (deprecated) to generate an API token that can be used with all other API endpoints. - tags: - - auth - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/AuthLogin' - multipart/form-data: - schema: - $ref: '#/components/schemas/AuthLogin' - application/json: - schema: - $ref: '#/components/schemas/AuthLogin' - examples: - AuthCode: - value: - auth_code: string - summary: Auth Code - Username&Password(deprecated): - value: - username: string - password: string - summary: Username & Password (deprecated) - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/AuthToken' - description: '' - /v1/auth/logout/: - post: - operationId: auth_logout_create - description: Logout from the current session. Your API token will no longer be usable and must be regenerated via the login API. - tags: - - auth - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Logout' - description: '' - /v1/auth/password-change/: - post: - operationId: auth_password_change_create - description: Change your current password - tags: - - auth - requestBody: - content: - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/PasswordChange' - multipart/form-data: - schema: - $ref: '#/components/schemas/PasswordChange' - application/json: - schema: - $ref: '#/components/schemas/PasswordChange' - required: true - security: - - TokenAuthentication: [] - deprecated: true - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PasswordChange' - description: '' - /v1/auth/redirect/: - get: - operationId: auth_redirect_retrieve - description: Get an HTTP redirect to begin an OAuth login flow. - parameters: - - in: query - name: as_json - schema: - type: boolean - description: If "false" or unset, receive an HTTP 302 with the OAuth URL returned in the Location header. If "true", receive an HTTP 200 with the OAuth URL returned in the JSON payload. - tags: - - auth - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/AuthRedirect' - description: '' - '302': - description: No response body - /v1/catalog/deployments/: - get: - operationId: catalog_deployments_list - parameters: - - in: query - name: bastion_operating_system - schema: - type: string - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: cluster_gpus_model - schema: - type: array - items: - type: string - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: collection_branch - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: experience - schema: - type: string - format: uuid - - in: query - name: experience_branch - schema: - type: string - - in: query - name: expired - schema: - type: boolean - - in: query - name: expires_at - schema: - type: string - format: date - - in: query - name: expiring - schema: - type: string - description: Include deployments whose expires_at value is within the given range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". Start and end times must be in ISO format. - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: flightcontrol_release - schema: - type: string - - in: query - name: garage_id - schema: - type: string - - in: query - name: gc_branch - schema: - type: string - - in: query - name: gpu_alias - schema: - type: string - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_model - schema: - type: string - - in: query - name: gpu_os_name - schema: - type: string - - in: query - name: gpu_os_release - schema: - type: string - - in: query - name: gpu_os_version - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: node_count - schema: - type: integer - - in: query - name: oem_name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: org_name - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persist_on_failure - schema: - type: boolean - - in: query - name: persona - schema: - type: string - - in: query - name: pipeline - schema: - type: integer - - in: query - name: pipeline_branch - schema: - type: string - - in: query - name: platform - schema: - type: - - string - - 'null' - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - - in: query - name: priority - schema: - type: string - enum: - - p0 - - p1 - - p2 - - p3 - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - - in: query - name: provider_name - schema: - type: string - - in: query - name: region - schema: - type: string - - in: query - name: request_id - schema: - type: string - - in: query - name: requester_email - schema: - type: string - - in: query - name: requester_name - schema: - type: string - - in: query - name: sales_id - schema: - type: string - - in: query - name: sales_owner_email - schema: - type: string - - in: query - name: sales_owner_name - schema: - type: string - - name: search - required: false - in: query - description: Search for deployments by bastion_operating_system, collection_branch, experience_branch, experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, flightcontrol_release, garage_id, gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version, id, oem_name, org_name, persona, pipeline_branch, platform, provider_name, region, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags, workshop_id - schema: - type: string - - in: query - name: state - schema: - type: array - items: - type: string - enum: - - destroyed - - destroying - - error - - failed - - paused - - ready - - retrying - - starting - - stopped - - stopping - - waiting - description: |- - Multiple values may be separated by commas. - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `paused` - Deployment is paused but may be retried later - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - explode: false - style: form - - in: query - name: workshop - schema: - type: boolean - - in: query - name: workshop_id - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedDeploymentList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: '2024-04-01T06:14:32.602Z' - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Response - description: '' - post: - operationId: catalog_deployments_create - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Deployment' - examples: - DeploymentRequest(CatalogIDAlias): - value: - bastion_operating_system: ubuntu_22_04 - catalog_id_alias: LP-15 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Request (Catalog ID Alias) - DeploymentRequest(ExperienceID): - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - experience_branch: main - experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Request (Experience ID) - DeploymentRequest(CatalogID): - value: - bastion_operating_system: ubuntu_22_04 - catalog_id: aBY3Z000000xBL4NCO - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Request (Catalog ID) - DeploymentRequest(MinimumRequiredFields): - value: - experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - org_name: NVIDIA - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - summary: Deployment Request (Minimum Required Fields) - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Deployment' - multipart/form-data: - schema: - $ref: '#/components/schemas/Deployment' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Deployment' - examples: - SuccessfulResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: '2024-04-01T06:14:32.602Z' - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Response - description: '' - /v1/catalog/deployments/{deployment_id}/instances/: - get: - operationId: catalog_deployments_instances_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_id - schema: - type: string - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-instances by id, instance_id, name, state, tags - schema: - type: string - - in: query - name: state - schema: - type: string - enum: - - running - - starting - - stopped - - stopping - - unknown - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedDeploymentInstanceList' - examples: - DeploymentInstanceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu - summary: DeploymentInstance Response - description: '' - /v1/catalog/deployments/{deployment_id}/notes/: - get: - operationId: catalog_deployments_notes_list - parameters: - - in: query - name: created_by - schema: - type: integer - - in: query - name: deployment - schema: - type: string - format: uuid - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: modified_by - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-notes by content - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedDeploymentNoteList' - examples: - DeploymentNoteResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: bb3ade1b-dffa-46f2-bf1d-52dfc7b1c331 - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: DeploymentNote Response - description: '' - post: - operationId: catalog_deployments_notes_create - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentNote' - examples: - DeploymentNoteRequest: - value: - content: Hello world - summary: DeploymentNote Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentNote' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentNote' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentNote' - examples: - DeploymentNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: bb3ade1b-dffa-46f2-bf1d-52dfc7b1c331 - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: DeploymentNote Response - description: '' - /v1/catalog/deployments/{deployment_id}/notes/{id}/: - get: - operationId: catalog_deployments_notes_retrieve - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentNote' - examples: - DeploymentNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: bb3ade1b-dffa-46f2-bf1d-52dfc7b1c331 - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: DeploymentNote Response - description: '' - put: - operationId: catalog_deployments_notes_update - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentNote' - examples: - DeploymentNoteRequest: - value: - content: Hello world - summary: DeploymentNote Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentNote' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentNote' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentNote' - examples: - DeploymentNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: bb3ade1b-dffa-46f2-bf1d-52dfc7b1c331 - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: DeploymentNote Response - description: '' - patch: - operationId: catalog_deployments_notes_partial_update - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentNote' - examples: - DeploymentNoteRequest: - value: - content: Hello world - summary: DeploymentNote Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentNote' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentNote' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentNote' - examples: - DeploymentNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: bb3ade1b-dffa-46f2-bf1d-52dfc7b1c331 - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: DeploymentNote Response - description: '' - delete: - operationId: catalog_deployments_notes_destroy - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/catalog/deployments/{deployment_id}/pipelines/: - get: - operationId: catalog_deployments_pipelines_list - parameters: - - in: query - name: action - schema: - type: string - enum: - - apply - - destroy - description: |- - Action for the pipeline to run - - * `apply` - apply - * `destroy` - destroy - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: pipeline_id - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-pipelines by action, id, pipeline_id, url - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedDeploymentPipelineList' - examples: - DeploymentPipelineResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - action: apply - created: '2024-04-01T06:14:32.602Z' - deployment: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - id: 4b9fab90-b441-4896-bb1f-c765fd846307 - modified: '2024-05-03T17:03:45.380Z' - pipeline_id: 5316124134 - url: https://gitlab.com/my-project/-/pipelines/5316124134 - summary: DeploymentPipeline Response - description: '' - post: - operationId: catalog_deployments_pipelines_create - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentPipeline' - examples: - DeploymentPipelineRequest: - value: - action: apply - pipeline_id: 5316124134 - url: https://gitlab.com/my-project/-/pipelines/5316124134 - summary: DeploymentPipeline Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentPipeline' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentPipeline' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentPipeline' - examples: - DeploymentPipelineResponse: - value: - action: apply - created: '2024-04-01T06:14:32.602Z' - deployment: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - id: 4b9fab90-b441-4896-bb1f-c765fd846307 - modified: '2024-05-03T17:03:45.380Z' - pipeline_id: 5316124134 - url: https://gitlab.com/my-project/-/pipelines/5316124134 - summary: DeploymentPipeline Response - description: '' - /v1/catalog/deployments/{deployment_id}/services/: - get: - operationId: catalog_deployments_services_list - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-services by id, name, url - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedDeploymentServiceList' - examples: - DeploymentServiceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - id: deb28859-d04e-4976-88d2-9488d9616bcf - modified: '2024-05-03T17:03:45.380Z' - name: root - url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com - summary: DeploymentService Response - description: '' - post: - operationId: catalog_deployments_services_create - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentService' - examples: - DeploymentServiceRequest: - value: - name: root - url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com - summary: DeploymentService Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentService' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentService' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentService' - examples: - DeploymentServiceResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: deb28859-d04e-4976-88d2-9488d9616bcf - modified: '2024-05-03T17:03:45.380Z' - name: root - url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com - summary: DeploymentService Response - description: '' - /v1/catalog/deployments/{deployment_id}/ssh-keys/: - get: - operationId: catalog_deployments_ssh_keys_list - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-keys by name - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedDeploymentKeyList' - examples: - DeploymentKeyResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - id: 597f6c78-6195-4bc7-9db2-f344f71e8b47 - modified: '2024-05-03T17:03:45.380Z' - name: My Key - summary: DeploymentKey Response - description: '' - post: - operationId: catalog_deployments_ssh_keys_create - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentKey' - examples: - DeploymentKeyRequest: - value: - name: My Key - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - summary: DeploymentKey Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentKey' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentKey' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentKey' - examples: - DeploymentKeyResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: 597f6c78-6195-4bc7-9db2-f344f71e8b47 - modified: '2024-05-03T17:03:45.380Z' - name: My Key - summary: DeploymentKey Response - description: '' - /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/: - delete: - operationId: catalog_deployments_ssh_keys_destroy - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/catalog/deployments/{deployment_id}/tasks/: - get: - operationId: catalog_deployments_tasks_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: query - name: action - schema: - type: string - enum: - - start_instances - - stop_instances - description: |- - The action the task will perform - - * `start_instances` - Start all instances in the deployment - * `stop_instances` - Stop all instances in the deployment - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-tasks by action, id, status, status_text - schema: - type: string - - in: query - name: status - schema: - type: string - enum: - - completed - - failed - - pending - - processing - - retrying - description: |- - Current status of the task - - * `completed` - completed - * `failed` - failed - * `pending` - pending - * `processing` - processing - * `retrying` - retrying - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedDeploymentTaskList' - examples: - DeploymentTaskResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - action: start_instances - created: '2024-04-01T06:14:32.602Z' - id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 - modified: '2024-05-03T17:03:45.380Z' - retries: 0 - status: pending - status_text: '' - summary: DeploymentTask Response - description: '' - post: - operationId: catalog_deployments_tasks_create - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentTask' - examples: - DeploymentTaskRequest: - value: - action: start_instances - summary: DeploymentTask Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentTask' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentTask' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentTask' - examples: - DeploymentTaskResponse: - value: - action: start_instances - created: '2024-04-01T06:14:32.602Z' - id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 - modified: '2024-05-03T17:03:45.380Z' - retries: 0 - status: pending - status_text: '' - summary: DeploymentTask Response - description: '' - /v1/catalog/deployments/{deployment_id}/tasks/{id}/: - get: - operationId: catalog_deployments_tasks_retrieve - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentTask' - examples: - DeploymentTaskResponse: - value: - action: start_instances - created: '2024-04-01T06:14:32.602Z' - id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 - modified: '2024-05-03T17:03:45.380Z' - retries: 0 - status: pending - status_text: '' - summary: DeploymentTask Response - description: '' - /v1/catalog/deployments/{id}/: - get: - operationId: catalog_deployments_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: expiring - schema: - type: string - description: Include deployments whose expires_at value is within the given range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". Start and end times must be in ISO format. - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Deployment' - examples: - SuccessfulResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: '2024-04-01T06:14:32.602Z' - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Response - description: '' - put: - operationId: catalog_deployments_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - examples: - DeploymentRequest: - value: - collection_branch: my-branch - experience_branch: main - expires_at: 2025-10-17 20:20:10.739825+00:00 - flightcontrol_release: latest - gc_branch: main - ip_allowlist: - - 192.0.2.1 - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - state: retrying - tags: - sample: test - summary: Deployment Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - examples: - DeploymentResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: '2024-04-01T06:14:32.602Z' - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Response - description: '' - patch: - operationId: catalog_deployments_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - examples: - DeploymentRequest: - value: - collection_branch: my-branch - experience_branch: main - expires_at: 2025-10-17 20:20:10.739825+00:00 - flightcontrol_release: latest - gc_branch: main - ip_allowlist: - - 192.0.2.1 - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - state: retrying - tags: - sample: test - summary: Deployment Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentUpdate' - examples: - DeploymentResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: '2024-04-01T06:14:32.602Z' - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Deployment Response - description: '' - delete: - operationId: catalog_deployments_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DocDeploymentDelete' - examples: - SuccessfulDestroyingResponse: - value: - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - collection_branch: my-branch - created: '2024-04-01T06:14:32.602Z' - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-09-20 20:20:10.739632+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - state: destroying - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia - summary: Successful Destroying Response - description: '' - '204': - description: No response body - /v1/catalog/deployments/{id}/history/: - get: - operationId: catalog_deployments_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/catalog/deployments/bulk/: - patch: - operationId: catalog_deployments_bulk_partial_update - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentBulkUpdate' - examples: - DeploymentBulkUpdateRequest: - value: - collection_branch: my-branch - experience_branch: main - expires_at: 2025-10-17 20:20:10.739825+00:00 - flightcontrol_release: latest - gc_branch: main - ids: - - 5330c898-f3e7-4972-bfd0-1d438e3774d7 - - b29d13e5-5894-4614-af2a-ea3f9be93fc5 - ip_allowlist: - - 192.0.2.1 - org_name: NVIDIA - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - platform: flight_deck - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - state: retrying - tags: - sample: test - summary: Deployment Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/DeploymentBulkUpdate' - multipart/form-data: - schema: - $ref: '#/components/schemas/DeploymentBulkUpdate' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/DeploymentBulkUpdate' - examples: - DeploymentBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Deployment Bulk Update Response - description: '' - /v1/catalog/deployments/stats/: - get: - operationId: catalog_deployments_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - description: No response body - /v1/catalog/experiences/: - get: - operationId: catalog_experiences_list - parameters: - - in: query - name: assignee - schema: - type: string - - in: query - name: autoapprove - schema: - type: boolean - - in: query - name: autoprovision - schema: - type: boolean - - in: query - name: bootstrap - schema: - type: boolean - - in: query - name: catalog_id - schema: - type: string - - in: query - name: catalog_id_alias - schema: - type: string - - in: query - name: category - schema: - type: array - items: - type: string - enum: - - 3D Design Collaboration and Simulation - - AI - - Clara - - Data Science - - Developer - - Infrastructure Optimization - description: |- - Multiple values may be separated by commas. - - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - explode: false - style: form - - in: query - name: collection_branch - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "required_gpus").' - - in: query - name: experience - schema: - type: string - - in: query - name: experience_branch - schema: - type: string - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - - in: query - name: gc_branch - schema: - type: string - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_os_name - schema: - type: string - - in: query - name: gpu_os_release - schema: - type: string - - in: query - name: gpu_os_version - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: node_count - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persona - schema: - type: string - - in: query - name: pipeline - schema: - type: integer - - in: query - name: platform - schema: - type: string - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - description: |- - Base platform that the experience will be provisioned onto - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: published - schema: - type: array - items: - type: string - enum: - - draft - - 'no' - - 'yes' - description: |- - Multiple values may be separated by commas. - - * `draft` - draft - * `no` - no - * `yes` - yes - explode: false - style: form - - in: query - name: requires_gpu - schema: - type: string - description: Only include experiences that require a given GPU ID or model - - in: query - name: sa_lab - schema: - type: boolean - - name: search - required: false - in: query - description: Search for experiences by assignee, catalog_id, catalog_id_alias, category, collection_branch, description, experience, experience_branch, gc_branch, gpu_os_name, gpu_os_release, gpu_os_version, id, persona, pipeline, platform, provider name, required_gpus model, system_arch, title, vgpu_profile - schema: - type: string - - in: query - name: system_arch - schema: - type: string - enum: - - amd64 - - arm64 - description: |- - Required CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - - in: query - name: vgpu_profile - schema: - type: - - string - - 'null' - enum: - - air - - bright-cluster - - bright_cluster - - flight-deck - - flight_deck - - nvidia-ai-enterprise - - nvidia_a40-48q - - nvidia_l40s-48q - - nvidia_rtx_pro_6000_blackwell_dc-4-96q - - nvidia_rtx_pro_6000_blackwell_dc-96q - - openshift - - platform_only - - vmware_itadmin - description: |- - vGPU profile name used by the experience - - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia_rtx_pro_6000_blackwell_dc-4-96q` - nvidia_rtx_pro_6000_blackwell_dc-4-96q - * `nvidia_rtx_pro_6000_blackwell_dc-96q` - nvidia_rtx_pro_6000_blackwell_dc-96q - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedExperienceList' - examples: - ExperienceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: '2024-04-01T06:14:32.602Z' - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: '' - post: - operationId: catalog_experiences_create - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Experience' - examples: - ExperienceRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Experience' - multipart/form-data: - schema: - $ref: '#/components/schemas/Experience' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Experience' - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: '2024-04-01T06:14:32.602Z' - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: '' - /v1/catalog/experiences/{experience_id}/notes/: - get: - operationId: catalog_experiences_notes_list - parameters: - - in: query - name: created_by - schema: - type: integer - - in: query - name: experience - schema: - type: string - format: uuid - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: modified_by - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for experience-notes by content - schema: - type: string - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedExperienceNoteList' - examples: - ExperiencetNoteResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: de618bfc-17b6-4acd-a089-fbff9c3a8c3e - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: ExperiencetNote Response - description: '' - post: - operationId: catalog_experiences_notes_create - parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceNote' - examples: - ExperiencetNoteRequest: - value: - content: Hello world - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - summary: ExperiencetNote Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/ExperienceNote' - multipart/form-data: - schema: - $ref: '#/components/schemas/ExperienceNote' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceNote' - examples: - ExperiencetNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: de618bfc-17b6-4acd-a089-fbff9c3a8c3e - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: ExperiencetNote Response - description: '' - /v1/catalog/experiences/{experience_id}/notes/{id}/: - get: - operationId: catalog_experiences_notes_retrieve - parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceNote' - examples: - ExperiencetNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: de618bfc-17b6-4acd-a089-fbff9c3a8c3e - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: ExperiencetNote Response - description: '' - put: - operationId: catalog_experiences_notes_update - parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceNote' - examples: - ExperiencetNoteRequest: - value: - content: Hello world - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - summary: ExperiencetNote Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/ExperienceNote' - multipart/form-data: - schema: - $ref: '#/components/schemas/ExperienceNote' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceNote' - examples: - ExperiencetNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: de618bfc-17b6-4acd-a089-fbff9c3a8c3e - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: ExperiencetNote Response - description: '' - patch: - operationId: catalog_experiences_notes_partial_update - parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceNote' - examples: - ExperiencetNoteRequest: - value: - content: Hello world - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - summary: ExperiencetNote Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/ExperienceNote' - multipart/form-data: - schema: - $ref: '#/components/schemas/ExperienceNote' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceNote' - examples: - ExperiencetNoteResponse: - value: - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: de618bfc-17b6-4acd-a089-fbff9c3a8c3e - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com - summary: ExperiencetNote Response - description: '' - delete: - operationId: catalog_experiences_notes_destroy - parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/catalog/experiences/{id}/: - get: - operationId: catalog_experiences_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "required_gpus").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Experience' - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: '2024-04-01T06:14:32.602Z' - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: '' - put: - operationId: catalog_experiences_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Experience' - examples: - ExperienceRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Experience' - multipart/form-data: - schema: - $ref: '#/components/schemas/Experience' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Experience' - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: '2024-04-01T06:14:32.602Z' - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: '' - patch: - operationId: catalog_experiences_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Experience' - examples: - ExperienceRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Experience' - multipart/form-data: - schema: - $ref: '#/components/schemas/Experience' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Experience' - examples: - ExperienceResponse: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: '2024-04-01T06:14:32.602Z' - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Response - description: '' - delete: - operationId: catalog_experiences_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/catalog/experiences/{id}/history/: - get: - operationId: catalog_experiences_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/catalog/experiences/bulk/: - post: - operationId: catalog_experiences_bulk_create - description: Create experiences in bulk via CSV file upload - tags: - - catalog/experiences - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - csv_file: - type: string - format: binary - writeOnly: true - required: - - csv_file - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceBulk' - description: '' - patch: - operationId: catalog_experiences_bulk_partial_update - tags: - - catalog/experiences - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceBulkUpdate' - examples: - ExperienceBulkUpdateRequest: - value: - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - category: Developer - collection_branch: main - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - ids: - - c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - - 3587f151-b02a-46c7-80a4-ac61db6633ed - inactivity_max: 3 - lifetime: 3 - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q - summary: Experience Bulk Update Request - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ExperienceBulkUpdate' - examples: - ExperienceBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Experience Bulk Update Response - description: '' - /v1/catalog/experiences/stats/: - get: - operationId: catalog_experiences_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - catalog/experiences - security: - - TokenAuthentication: [] - responses: - '200': - description: No response body - /v1/catalog/gpu-os-choices/: - get: - operationId: catalog_gpu_os_choices_list - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for gpuoschoices by id, name, release, version - schema: - type: string - tags: - - catalog/gpu-os-choices - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedGpuOsChoiceList' - examples: - GPUOSChoiceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - id: 22 - modified: '2024-05-03T17:03:45.380Z' - name: ubuntu - release: jammy - version: '22.04' - summary: GPU OS Choice Response - description: '' - post: - operationId: catalog_gpu_os_choices_create - tags: - - catalog/gpu-os-choices - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GpuOsChoice' - examples: - GPUOSChoiceRequest: - value: - name: ubuntu - release: jammy - version: '22.04' - summary: GPU OS Choice Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/GpuOsChoice' - multipart/form-data: - schema: - $ref: '#/components/schemas/GpuOsChoice' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/GpuOsChoice' - examples: - GPUOSChoiceResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: 22 - modified: '2024-05-03T17:03:45.380Z' - name: ubuntu - release: jammy - version: '22.04' - summary: GPU OS Choice Response - description: '' - /v1/catalog/instance-types/: - get: - operationId: catalog_instance_types_list - parameters: - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - catalog/instance-types - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedInstanceTypeList' - examples: - InstanceTypeResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - capacity: - us-tx-1: 10 - cloud: oci - cpu: 16 - gpu: - count: 1 - family: A100 - interconnection_type: SXM - manufacturer: NVIDIA - memory_gb: 80 - model: A100-80GB - memory_gb: 120 - price: - currency: USD - on_demand_per_hour: 2.5 - regions: - - us-tx-1 - storage: - - size_gb: 1024 - type: ssd - - size_gb: 2048 - type: ssd - system_arch: amd64 - summary: Instance Type Response - description: '' - /v1/catalog/persona-choices/: - get: - operationId: catalog_persona_choices_list - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for personachoices by id, name - schema: - type: string - tags: - - catalog/persona-choices - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedPersonaChoiceList' - examples: - PersonaChoiceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - id: 15 - modified: '2024-05-03T17:03:45.380Z' - name: developer - summary: Persona Choice Response - description: '' - post: - operationId: catalog_persona_choices_create - tags: - - catalog/persona-choices - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PersonaChoice' - examples: - PersonaChoiceRequest: - value: - name: developer - summary: Persona Choice Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/PersonaChoice' - multipart/form-data: - schema: - $ref: '#/components/schemas/PersonaChoice' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/PersonaChoice' - examples: - PersonaChoiceResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: 15 - modified: '2024-05-03T17:03:45.380Z' - name: developer - summary: Persona Choice Response - description: '' - /v1/identity/profile/: - get: - operationId: identity_profile_retrieve - tags: - - identity/profile - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Profile' - examples: - ProfileResponse: - value: - created: '2024-10-01T07:24:42.702Z' - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: '2024-11-03T18:04:55.480Z' - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - summary: Profile Response - description: '' - patch: - operationId: identity_profile_partial_update - tags: - - identity/profile - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Profile' - examples: - ProfileRequest: - value: - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - summary: Profile Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Profile' - multipart/form-data: - schema: - $ref: '#/components/schemas/Profile' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Profile' - examples: - ProfileResponse: - value: - created: '2024-10-01T07:24:42.702Z' - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: '2024-11-03T18:04:55.480Z' - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - summary: Profile Response - description: '' - /v1/inventory/clusters/: - get: - operationId: inventory_clusters_list - parameters: - - in: query - name: available - schema: - type: boolean - description: Is the cluster currently available for provisioning? - - in: query - name: bastion_name - schema: - type: string - - in: query - name: deployment - schema: - type: string - format: uuid - - in: query - name: enabled - schema: - type: boolean - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "nodes.location"). Separate multiple fields with a comma (ex: "gpus,nodes")' - - in: query - name: experience - schema: - type: string - format: uuid - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - description: Only include clusters whose nodes have the given garage ID - - in: query - name: gpu - schema: - type: array - items: - type: string - format: uuid - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: gpu_alias - schema: - type: string - description: Alias for GPU plan (i.e. installed GPU type and count) - - in: query - name: gpu_count - schema: - type: number - description: Only include clusters with a physical GPU count equal to this value - - in: query - name: gpu_model - schema: - type: string - description: Only include clusters with the given GPU model name - - in: query - name: has_deployment - schema: - type: boolean - - in: query - name: has_request_id - schema: - type: boolean - - in: query - name: has_workshop_id - schema: - type: boolean - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: location - schema: - type: string - format: uuid - - in: query - name: location_name - schema: - type: string - description: Only include clusters whose nodes are in the location with the given name - - in: query - name: location_region - schema: - type: string - description: Only include clusters whose nodes are in the location in the given region - - in: query - name: maintenance - schema: - type: boolean - - in: query - name: mgmt_ip - schema: - type: string - - in: query - name: mgmt_mac - schema: - type: string - - in: query - name: min_gpu_count - schema: - type: number - description: Only include clusters that have a gpu_count greater than or equal to this value - - in: query - name: min_node_count - schema: - type: number - description: Only include clusters that have a node_count greater than or equal to this value - - in: query - name: min_provisioning_attempts - schema: - type: integer - description: Only include clusters that have a provisioning_attempts value greater than or equal to this value - - in: query - name: min_tenant_count - schema: - type: number - description: Only include clusters whose number of tenant_ids is greater than or equal to this value - - in: query - name: netmask - schema: - type: integer - - in: query - name: node_count - schema: - type: number - description: Only include clusters with a node count equal to this value - - in: query - name: oem - schema: - type: string - format: uuid - description: Only include clusters with nodes that have the given OEM ID - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persist - schema: - type: boolean - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: provider_capacity - schema: - type: boolean - - in: query - name: provider_name - schema: - type: string - description: Only include clusters whose nodes are from the provider with the given name - - in: query - name: provider_node_id - schema: - type: string - format: uuid - - in: query - name: provision_user - schema: - type: string - - in: query - name: provisioning_attempts - schema: - type: integer - - in: query - name: provisioning_state - schema: - type: array - items: - type: string - enum: - - deployed - - deploying - - destroying - - pending - - ready - - reserved - - unprovisioned - description: |- - Multiple values may be separated by commas. - - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - explode: false - style: form - - in: query - name: public_address - schema: - type: string - - in: query - name: rack - schema: - type: string - description: Only include clusters whose nodes are in the given rack - - in: query - name: request_id - schema: - type: string - - in: query - name: reservation - schema: - type: boolean - - name: search - required: false - in: query - description: Search for clusters by bastion_name, experience id, gpu_alias, gpus model, id, mgmt_ip, mgmt_mac, netmask, nodes garage_id, nodes location name, nodes location provider name, nodes oem name, nodes provider_node_id, nodes rack, notes, provision_user, provisioning_state, public_address, request_id, tenant_ids, workshop_id - schema: - type: string - - in: query - name: system_arch - schema: - type: string - description: Only include clusters whose nodes have the given CPU architecture - - in: query - name: vlan_id - schema: - type: integer - - in: query - name: workshop - schema: - type: boolean - - in: query - name: workshop_id - schema: - type: string - - in: query - name: workshop_id_not - schema: - type: string - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedClusterList' - examples: - ClusterResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: '' - post: - operationId: inventory_clusters_create - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Cluster' - multipart/form-data: - schema: - $ref: '#/components/schemas/Cluster' - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: '' - /v1/inventory/clusters/{cluster_id}/tenants/: - post: - operationId: inventory_clusters_tenants_create - parameters: - - in: path - name: cluster_id - schema: - type: string - format: uuid - required: true - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Tenant' - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Tenant' - multipart/form-data: - schema: - $ref: '#/components/schemas/Tenant' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: '' - /v1/inventory/clusters/{cluster_id}/tenants/{id}/: - delete: - operationId: inventory_clusters_tenants_destroy - parameters: - - in: path - name: cluster_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/clusters/{id}/: - get: - operationId: inventory_clusters_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "nodes.location"). Separate multiple fields with a comma (ex: "gpus,nodes")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: '' - put: - operationId: inventory_clusters_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Cluster' - multipart/form-data: - schema: - $ref: '#/components/schemas/Cluster' - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: '' - patch: - operationId: inventory_clusters_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Cluster' - multipart/form-data: - schema: - $ref: '#/components/schemas/Cluster' - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterResponse: - value: - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response - description: '' - delete: - operationId: inventory_clusters_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/clusters/{id}/history/: - get: - operationId: inventory_clusters_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/clusters/bulk/: - patch: - operationId: inventory_clusters_bulk_partial_update - tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ClusterBulkUpdate' - examples: - ClusterBulkUpdateRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - ids: - - 089324a5-708c-4386-9fdc-92dd9aa63d2b - - 3587f151-b02a-46c7-80a4-ac61db6633ed - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/ClusterBulkUpdate' - multipart/form-data: - schema: - $ref: '#/components/schemas/ClusterBulkUpdate' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ClusterBulkUpdate' - examples: - ClusterBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Cluster Bulk Update Response - description: '' - /v1/inventory/clusters/stats/: - get: - operationId: inventory_clusters_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '200': - description: No response body - /v1/inventory/gpus/: - get: - operationId: inventory_gpus_list - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: form_factor - schema: - type: string - enum: - - pcie - - sxm - description: |- - GPU form factor - - * `pcie` - PCIe - * `sxm` - SXM - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: model - schema: - type: array - items: - type: string - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: priority - schema: - type: integer - - name: search - required: false - in: query - description: Search for gpus by form_factor, id, memory, model - schema: - type: string - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedGpuList' - examples: - GPUResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: '2024-05-03T17:03:45.380Z' - node_count: 22 - priority: 60 - summary: GPU Response - description: '' - post: - operationId: inventory_gpus_create - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Gpu' - examples: - GPURequest: - value: - form_factor: pcie - memory: 48 - model: l40s - priority: 60 - summary: GPU Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Gpu' - multipart/form-data: - schema: - $ref: '#/components/schemas/Gpu' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Gpu' - examples: - GPUResponse: - value: - created: '2024-04-01T06:14:32.602Z' - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: '2024-05-03T17:03:45.380Z' - node_count: 22 - priority: 60 - summary: GPU Response - description: '' - /v1/inventory/gpus/{id}/: - get: - operationId: inventory_gpus_retrieve - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Gpu' - examples: - GPUResponse: - value: - created: '2024-04-01T06:14:32.602Z' - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: '2024-05-03T17:03:45.380Z' - node_count: 22 - priority: 60 - summary: GPU Response - description: '' - put: - operationId: inventory_gpus_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Gpu' - examples: - GPURequest: - value: - form_factor: pcie - memory: 48 - model: l40s - priority: 60 - summary: GPU Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Gpu' - multipart/form-data: - schema: - $ref: '#/components/schemas/Gpu' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Gpu' - examples: - GPUResponse: - value: - created: '2024-04-01T06:14:32.602Z' - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: '2024-05-03T17:03:45.380Z' - node_count: 22 - priority: 60 - summary: GPU Response - description: '' - patch: - operationId: inventory_gpus_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Gpu' - examples: - GPURequest: - value: - form_factor: pcie - memory: 48 - model: l40s - priority: 60 - summary: GPU Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Gpu' - multipart/form-data: - schema: - $ref: '#/components/schemas/Gpu' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Gpu' - examples: - GPUResponse: - value: - created: '2024-04-01T06:14:32.602Z' - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: '2024-05-03T17:03:45.380Z' - node_count: 22 - priority: 60 - summary: GPU Response - description: '' - delete: - operationId: inventory_gpus_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/gpus/{id}/history/: - get: - operationId: inventory_gpus_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/gpus/bulk/: - patch: - operationId: inventory_gpus_bulk_partial_update - tags: - - inventory/gpus - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GpuBulkUpdate' - examples: - GPUBulkUpdateRequest: - value: - form_factor: pcie - ids: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - - d63c8b0d-acb9-4c87-b4f7-656ecea5b02a - memory: 48 - priority: 60 - summary: GPU Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/GpuBulkUpdate' - multipart/form-data: - schema: - $ref: '#/components/schemas/GpuBulkUpdate' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/GpuBulkUpdate' - examples: - GPUBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: GPU Bulk Update Response - description: '' - /v1/inventory/gpus/stats/: - get: - operationId: inventory_gpus_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/gpus - security: - - TokenAuthentication: [] - responses: - '200': - description: No response body - /v1/inventory/instances/: - get: - operationId: inventory_instances_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_id - schema: - type: string - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for instances by cluster, id, instance_id, name, state, tags - schema: - type: string - - in: query - name: state - schema: - type: string - enum: - - running - - starting - - stopped - - stopping - - unknown - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedInstanceList' - examples: - InstanceResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu - summary: Instance Response - description: '' - post: - operationId: inventory_instances_create - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Instance' - examples: - InstanceRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - instance_id: instance-934ea164 - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Instance' - multipart/form-data: - schema: - $ref: '#/components/schemas/Instance' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Instance' - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu - summary: Instance Response - description: '' - /v1/inventory/instances/{id}/: - get: - operationId: inventory_instances_retrieve - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Instance' - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu - summary: Instance Response - description: '' - put: - operationId: inventory_instances_update - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Instance' - examples: - InstanceRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - instance_id: instance-934ea164 - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Instance' - multipart/form-data: - schema: - $ref: '#/components/schemas/Instance' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Instance' - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu - summary: Instance Response - description: '' - patch: - operationId: inventory_instances_partial_update - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Instance' - examples: - InstanceRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - instance_id: instance-934ea164 - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Instance' - multipart/form-data: - schema: - $ref: '#/components/schemas/Instance' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Instance' - examples: - InstanceResponse: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu - summary: Instance Response - description: '' - delete: - operationId: inventory_instances_destroy - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/instances/{id}/history/: - get: - operationId: inventory_instances_history_list - summary: "\U0001F6A7 [Beta Feature]" - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/instances - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/instances/bulk/: - patch: - operationId: inventory_instances_bulk_partial_update - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/instances - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InstanceBulkUpdate' - examples: - InstanceBulkUpdateRequest: - value: - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - ids: - - 899d8680-454a-41f3-af99-9e0497ac955d - - 3280c16f-0e3e-4897-b8ba-7f66d40281bf - name: My GPU Cluster - state: running - tags: - - gpu - summary: Instance Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/InstanceBulkUpdate' - multipart/form-data: - schema: - $ref: '#/components/schemas/InstanceBulkUpdate' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/InstanceBulkUpdate' - examples: - InstanceBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Instance Bulk Update Response - description: '' - /v1/inventory/locations/: - get: - operationId: inventory_locations_list - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "provider").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: region - schema: - type: string - - name: search - required: false - in: query - description: Search for locations by id, name, provider name, region - schema: - type: string - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedLocationList' - examples: - LocationResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: '2024-05-03T17:03:45.380Z' - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: '' - post: - operationId: inventory_locations_create - tags: - - inventory/locations - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - examples: - LocationRequest: - value: - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Location' - multipart/form-data: - schema: - $ref: '#/components/schemas/Location' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - examples: - LocationResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: '2024-05-03T17:03:45.380Z' - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: '' - /v1/inventory/locations/{id}/: - get: - operationId: inventory_locations_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "provider").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - examples: - LocationResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: '2024-05-03T17:03:45.380Z' - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: '' - put: - operationId: inventory_locations_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - tags: - - inventory/locations - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - examples: - LocationRequest: - value: - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Location' - multipart/form-data: - schema: - $ref: '#/components/schemas/Location' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - examples: - LocationResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: '2024-05-03T17:03:45.380Z' - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: '' - patch: - operationId: inventory_locations_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - tags: - - inventory/locations - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - examples: - LocationRequest: - value: - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Location' - multipart/form-data: - schema: - $ref: '#/components/schemas/Location' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Location' - examples: - LocationResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: '2024-05-03T17:03:45.380Z' - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East - summary: Location Response - description: '' - delete: - operationId: inventory_locations_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/locations/{id}/history/: - get: - operationId: inventory_locations_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/locations - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/nodes/: - get: - operationId: inventory_nodes_list - parameters: - - in: query - name: bmc_ip - schema: - type: string - - in: query - name: bmc_mac - schema: - type: string - - in: query - name: bmc_password - schema: - type: string - - in: query - name: bmc_user - schema: - type: string - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: cpu - schema: - type: integer - - in: query - name: cpu_manufacturer - schema: - type: - - string - - 'null' - enum: - - amd - - arm - - intel - description: |- - Manufacturer of the node's CPU - - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - - in: query - name: cpu_model - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "location.provider"). Separate multiple fields with a comma (ex: "location,oem")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - - in: query - name: gpu - schema: - type: array - items: - type: string - format: uuid - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: gpu_alias - schema: - type: string - description: Alias for GPU plan (i.e. installed GPU type and count) - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_model - schema: - type: string - description: Model of GPU(s) installed - - in: query - name: gpu_vbios - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: location - schema: - type: string - format: uuid - - in: query - name: memory - schema: - type: integer - - in: query - name: mgmt_ip - schema: - type: string - - in: query - name: mgmt_mac - schema: - type: string - - in: query - name: min_gpu_count - schema: - type: integer - description: Only include nodes that have a gpu_count greater than or equal to this value - - in: query - name: model - schema: - type: string - - in: query - name: network_type - schema: - type: string - enum: - - ethernet - - infiniband - description: |- - Type of networking technology used - - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - - in: query - name: oem - schema: - type: string - format: uuid - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: provider_node_id - schema: - type: string - - in: query - name: rack - schema: - type: string - - in: query - name: rack_unit - schema: - type: integer - - name: search - required: false - in: query - description: Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch - schema: - type: string - - in: query - name: serial_number - schema: - type: string - - in: query - name: system_arch - schema: - type: string - enum: - - amd64 - - arm64 - description: |- - CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - - in: query - name: tee - schema: - type: boolean - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedNodeList' - examples: - NodeResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: '2024-04-01T06:14:32.602Z' - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - modified: '2024-05-03T17:03:45.380Z' - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: '' - post: - operationId: inventory_nodes_create - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Node' - examples: - NodeRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Node' - multipart/form-data: - schema: - $ref: '#/components/schemas/Node' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Node' - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: '2024-04-01T06:14:32.602Z' - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - modified: '2024-05-03T17:03:45.380Z' - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: '' - /v1/inventory/nodes/{id}/: - get: - operationId: inventory_nodes_retrieve - parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "location.provider"). Separate multiple fields with a comma (ex: "location,oem")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Node' - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: '2024-04-01T06:14:32.602Z' - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - modified: '2024-05-03T17:03:45.380Z' - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: '' - put: - operationId: inventory_nodes_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Node' - examples: - NodeRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Node' - multipart/form-data: - schema: - $ref: '#/components/schemas/Node' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Node' - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: '2024-04-01T06:14:32.602Z' - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - modified: '2024-05-03T17:03:45.380Z' - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: '' - patch: - operationId: inventory_nodes_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Node' - examples: - NodeRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Node' - multipart/form-data: - schema: - $ref: '#/components/schemas/Node' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Node' - examples: - NodeResponse: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: '2024-04-01T06:14:32.602Z' - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - modified: '2024-05-03T17:03:45.380Z' - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Response - description: '' - delete: - operationId: inventory_nodes_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/nodes/{id}/history/: - get: - operationId: inventory_nodes_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/nodes - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/nodes/bulk/: - post: - operationId: inventory_nodes_bulk_create - description: Create nodes in bulk via CSV file upload - tags: - - inventory/nodes - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - csv_file: - type: string - format: binary - writeOnly: true - required: - - csv_file - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/NodeBulk' - description: '' - patch: - operationId: inventory_nodes_bulk_partial_update - tags: - - inventory/nodes - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/NodeBulkUpdate' - examples: - NodeBulkUpdateRequest: - value: - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_count: 2 - gpu_vbios: 92.00.81.00.01 - ids: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - - 6fcf07f8-d821-48cf-b20e-b6eb65db9387 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false - summary: Node Bulk Update Request - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/NodeBulkUpdate' - examples: - NodeBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Node Bulk Update Response - description: '' - /v1/inventory/oems/: - get: - operationId: inventory_oems_list - parameters: - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for oems by id, name - schema: - type: string - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedOEMList' - examples: - OEMResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: '2024-05-03T17:03:45.380Z' - name: My OEM - summary: OEM Response - description: '' - post: - operationId: inventory_oems_create - tags: - - inventory/oems - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OEM' - examples: - OEMRequest: - value: - name: My OEM - summary: OEM Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/OEM' - multipart/form-data: - schema: - $ref: '#/components/schemas/OEM' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/OEM' - examples: - OEMResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: '2024-05-03T17:03:45.380Z' - name: My OEM - summary: OEM Response - description: '' - /v1/inventory/oems/{id}/: - get: - operationId: inventory_oems_retrieve - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/OEM' - examples: - OEMResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: '2024-05-03T17:03:45.380Z' - name: My OEM - summary: OEM Response - description: '' - put: - operationId: inventory_oems_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OEM' - examples: - OEMRequest: - value: - name: My OEM - summary: OEM Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/OEM' - multipart/form-data: - schema: - $ref: '#/components/schemas/OEM' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/OEM' - examples: - OEMResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: '2024-05-03T17:03:45.380Z' - name: My OEM - summary: OEM Response - description: '' - patch: - operationId: inventory_oems_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/OEM' - examples: - OEMRequest: - value: - name: My OEM - summary: OEM Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/OEM' - multipart/form-data: - schema: - $ref: '#/components/schemas/OEM' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/OEM' - examples: - OEMResponse: - value: - created: '2024-04-01T06:14:32.602Z' - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: '2024-05-03T17:03:45.380Z' - name: My OEM - summary: OEM Response - description: '' - delete: - operationId: inventory_oems_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/oems/{id}/history/: - get: - operationId: inventory_oems_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/oems - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/providers/: - get: - operationId: inventory_providers_list - parameters: - - in: query - name: display_name - schema: - type: string - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_limit - schema: - type: integer - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: priority - schema: - type: integer - - name: search - required: false - in: query - description: Search for providers by display_name, id, name - schema: - type: string - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedProviderList' - examples: - ProviderResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - created: '2024-04-01T06:14:32.602Z' - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: '2024-05-03T17:03:45.380Z' - name: my_provider - priority: 50 - summary: Provider Response - description: '' - post: - operationId: inventory_providers_create - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Provider' - examples: - ProviderRequest: - value: - display_name: My Provider - instance_limit: 250 - name: my_provider - priority: 50 - summary: Provider Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Provider' - multipart/form-data: - schema: - $ref: '#/components/schemas/Provider' - required: true - security: - - TokenAuthentication: [] - responses: - '201': - content: - application/json: - schema: - $ref: '#/components/schemas/Provider' - examples: - ProviderResponse: - value: - created: '2024-04-01T06:14:32.602Z' - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: '2024-05-03T17:03:45.380Z' - name: my_provider - priority: 50 - summary: Provider Response - description: '' - /v1/inventory/providers/{id}/: - get: - operationId: inventory_providers_retrieve - parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Provider' - examples: - ProviderResponse: - value: - created: '2024-04-01T06:14:32.602Z' - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: '2024-05-03T17:03:45.380Z' - name: my_provider - priority: 50 - summary: Provider Response - description: '' - put: - operationId: inventory_providers_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Provider' - examples: - ProviderRequest: - value: - display_name: My Provider - instance_limit: 250 - name: my_provider - priority: 50 - summary: Provider Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Provider' - multipart/form-data: - schema: - $ref: '#/components/schemas/Provider' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Provider' - examples: - ProviderResponse: - value: - created: '2024-04-01T06:14:32.602Z' - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: '2024-05-03T17:03:45.380Z' - name: my_provider - priority: 50 - summary: Provider Response - description: '' - patch: - operationId: inventory_providers_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Provider' - examples: - ProviderRequest: - value: - display_name: My Provider - instance_limit: 250 - name: my_provider - priority: 50 - summary: Provider Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Provider' - multipart/form-data: - schema: - $ref: '#/components/schemas/Provider' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/Provider' - examples: - ProviderResponse: - value: - created: '2024-04-01T06:14:32.602Z' - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: '2024-05-03T17:03:45.380Z' - name: my_provider - priority: 50 - summary: Provider Response - description: '' - delete: - operationId: inventory_providers_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/providers/{id}/history/: - get: - operationId: inventory_providers_history_list - parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/providers/bulk/: - patch: - operationId: inventory_providers_bulk_partial_update - tags: - - inventory/providers - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderBulkUpdate' - examples: - ProviderBulkUpdateRequest: - value: - display_name: My Provider - ids: - - f8bd1b72-c213-43ec-82ad-a56a44757a11 - - 5b528083-ab61-42dd-a6a1-90aa9babb014 - instance_limit: 250 - priority: 50 - summary: Provider Bulk Update Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/ProviderBulkUpdate' - multipart/form-data: - schema: - $ref: '#/components/schemas/ProviderBulkUpdate' - required: true - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/ProviderBulkUpdate' - examples: - ProviderBulkUpdateResponse: - value: - count: 2 - result: Records updated successfully - summary: Provider Bulk Update Response - description: '' - /v1/inventory/providers/stats/: - get: - operationId: inventory_providers_stats_retrieve - summary: "\U0001F6A7 [Beta Feature]" - tags: - - inventory/providers - security: - - TokenAuthentication: [] - responses: - '200': - description: No response body -components: - schemas: - AuthLogin: - type: object - properties: - auth_code: - type: string - password: - type: string - username: - type: string - AuthRedirect: - type: object - properties: - redirect: - type: string - format: uri - required: - - redirect - AuthToken: - type: object - properties: - token: - type: string - readOnly: true - username: - type: string - readOnly: true - required: - - token - - username - BlankEnum: - enum: - - '' - x-enum-varnames: - - Blank - CategoryEnum: - enum: - - AI - - Clara - - Data Science - - 3D Design Collaboration and Simulation - - Developer - - Infrastructure Optimization - type: string - description: |- - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - x-enum-varnames: - - CategoryAI - - CategoryClara - - CategoryDataScience - - Category3DDesignCollaborationAndSimulation - - CategoryDeveloper - - CategoryInfrastructureOptimization - Cluster: - type: object - properties: - available: - type: boolean - readOnly: true - description: Is the cluster currently available for provisioning? - bastion_name: - type: - - string - - 'null' - description: Name of the bastion assigned to the cluster - maxLength: 32 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - enabled: - type: boolean - description: Is the cluster administratively enabled? - experience: - type: - - string - - 'null' - format: uuid - description: Experience provisioned onto this cluster - free_by: - type: - - string - - 'null' - format: date-time - gpus: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - x-go-json-tag: "gpus,omitempty" - gpu_alias: - type: string - readOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - readOnly: true - id: - type: string - format: uuid - readOnly: true - instances: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Instance" - x-go-json-tag: "instance,omitempty" - x-go-json-tag: "instances,omitempty" - last_used: - type: - - string - - 'null' - format: date-time - readOnly: true - description: Timestamp of when the cluster was last in use - maintenance: - type: boolean - description: Is the cluster in maintenance mode? - mgmt_ip: - type: string - description: Management IP address - mgmt_mac: - type: - - string - - 'null' - description: Management MAC address - maxLength: 17 - minLength: 17 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - netmask: - type: - - integer - - 'null' - maximum: 32 - minimum: 0 - description: The subnet mask of the cluster's public IP address in CIDR notation - node_count: - type: integer - readOnly: true - nodes: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Node" - x-go-json-tag: "node,omitempty" - x-go-json-tag: "nodes,omitempty" - notes: - type: - - string - - 'null' - description: Administrative comments about the cluster - persist: - type: boolean - description: Is the cluster exempt from provisioning_state timeouts? Can be used to ensure the cluster persists after a provisioning failure. - provider_capacity: - type: boolean - readOnly: true - description: Does the provider have capacity to provision this cluster? - provision_user: - type: - - string - - 'null' - description: Username used for provisioning this cluster - maxLength: 64 - provisioning_attempts: - type: integer - maximum: 2147483647 - minimum: 0 - description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. - provisioning_state: - allOf: - - $ref: '#/components/schemas/ProvisioningStateEnum' - description: |- - Is the cluster currently provisioned? - - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - public_address: - type: - - string - - 'null' - description: Public IP address or fully-qualified domain name of this cluster - maxLength: 255 - request_id: - type: - - string - - 'null' - description: 'The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234)' - maxLength: 32 - reservation: - type: boolean - description: Is the cluster a static reservation from its provider? - tenant_ids: - type: array - items: - type: string - format: uuid - readOnly: true - description: Tenant UUID(s) that have been generated for this cluster during provisioning - vlan_id: - type: integer - maximum: 4094 - minimum: 1 - description: VLAN number - workshop: - type: boolean - description: Is the cluster set aside for use in a workshop? - workshop_id: - type: - - string - - 'null' - description: Identifier of the workshop this cluster is set aside for - maxLength: 64 - required: - - available - - created - - deployment - - gpus - - id - - instances - - last_used - - modified - - provider_capacity - - tenant_ids - ClusterBulkUpdate: - type: object - properties: - available: - type: boolean - readOnly: true - writeOnly: true - description: Is the cluster currently available for provisioning? - bastion_name: - type: - - string - - 'null' - writeOnly: true - description: Name of the bastion assigned to the cluster - maxLength: 32 - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - enabled: - type: boolean - writeOnly: true - description: Is the cluster administratively enabled? - experience: - type: - - string - - 'null' - format: uuid - writeOnly: true - description: Experience provisioned onto this cluster - free_by: - type: - - string - - 'null' - format: date-time - writeOnly: true - gpus: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - x-go-json-tag: "gpus,omitempty" - gpu_alias: - type: string - readOnly: true - writeOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - readOnly: true - writeOnly: true - id: - type: string - format: uuid - readOnly: true - writeOnly: true - instances: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Instance" - x-go-json-tag: "instance,omitempty" - x-go-json-tag: "instances,omitempty" - last_used: - type: - - string - - 'null' - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the cluster was last in use - maintenance: - type: boolean - writeOnly: true - description: Is the cluster in maintenance mode? - mgmt_ip: - type: string - writeOnly: true - description: Management IP address - mgmt_mac: - type: - - string - - 'null' - writeOnly: true - description: Management MAC address - maxLength: 17 - minLength: 17 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - netmask: - type: - - integer - - 'null' - maximum: 32 - minimum: 0 - writeOnly: true - description: The subnet mask of the cluster's public IP address in CIDR notation - node_count: - type: integer - readOnly: true - writeOnly: true - nodes: - type: array - items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Node" - x-go-json-tag: "node,omitempty" - x-go-json-tag: "nodes,omitempty" - notes: - type: - - string - - 'null' - writeOnly: true - description: Administrative comments about the cluster - persist: - type: boolean - writeOnly: true - description: Is the cluster exempt from provisioning_state timeouts? Can be used to ensure the cluster persists after a provisioning failure. - provider_capacity: - type: boolean - readOnly: true - writeOnly: true - description: Does the provider have capacity to provision this cluster? - provision_user: - type: - - string - - 'null' - writeOnly: true - description: Username used for provisioning this cluster - maxLength: 64 - provisioning_attempts: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. - provisioning_state: - allOf: - - $ref: '#/components/schemas/ProvisioningStateEnum' - writeOnly: true - description: |- - Is the cluster currently provisioned? - - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - public_address: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Public IP address or fully-qualified domain name of this cluster - maxLength: 255 - request_id: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: 'The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234)' - maxLength: 32 - reservation: - type: boolean - writeOnly: true - description: Is the cluster a static reservation from its provider? - tenant_ids: - type: array - items: - type: string - format: uuid - readOnly: true - writeOnly: true - description: Tenant UUID(s) that have been generated for this cluster during provisioning - vlan_id: - type: integer - maximum: 4094 - minimum: 1 - writeOnly: true - description: VLAN number - workshop: - type: boolean - writeOnly: true - description: Is the cluster set aside for use in a workshop? - workshop_id: - type: - - string - - 'null' - writeOnly: true - description: Identifier of the workshop this cluster is set aside for - maxLength: 64 - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - available - - count - - created - - deployment - - gpu_alias - - gpu_count - - gpus - - id - - ids - - instances - - last_used - - modified - - node_count - - provider_capacity - - public_address - - request_id - - result - - tenant_ids - CpuManufacturerEnum: - enum: - - amd - - arm - - intel - type: string - description: |- - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - x-enum-varnames: - - CpuManufacturerAMD - - CpuManufacturerARM - - CpuManufacturerIntel - Deployment: - type: object - properties: - bastion_operating_system: - type: - - string - - 'null' - description: Override bastion operating system provisioned and/or configured by Liftoff - maxLength: 32 - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - collection_branch: - type: - - string - - 'null' - description: Override the Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - 'null' - description: Override the experience branch - maxLength: 255 - expires_at: - type: - - string - - 'null' - format: date-time - flightcontrol_release: - type: - - string - - 'null' - description: Override the image tag used for Flight Control - maxLength: 64 - garage_id: - type: - - string - - 'null' - description: Require a cluster with nodes in the given garage - maxLength: 128 - gc_branch: - type: - - string - - 'null' - description: Override the default Ground Control branch - maxLength: 255 - gpu_alias: - type: - - string - - 'null' - description: Require a cluster with the given GPU alias - maxLength: 64 - gpu_count: - type: - - integer - - 'null' - maximum: 16 - minimum: 0 - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - 'null' - description: Require a cluster with the given GPU model - maxLength: 32 - gpu_os_name: - type: string - gpu_os_release: - type: string - gpu_os_version: - type: string - id: - type: string - format: uuid - readOnly: true - ip_allowlist: - type: array - items: - type: string - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - 'null' - maximum: 16 - minimum: 0 - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 - description: Require a cluster with the given number of nodes - oem_name: - type: - - string - - 'null' - description: Require a cluster manufactured by the given OEM name - maxLength: 64 - org_name: - type: string - description: Requester's organization name - overrides: - readOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - 'null' - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: string - pipeline: - type: - - integer - - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - 'null' - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - maxLength: 255 - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - platform: - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' - priority: - allOf: - - $ref: '#/components/schemas/PriorityEnum' - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - 'null' - description: Require a cluster from the given provider name - maxLength: 64 - public_key: - type: - - string - - 'null' - writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - 'null' - description: Require a cluster located in the given region - maxLength: 64 - request_id: - type: string - description: 'Trial request ID (ex: TRY-1234)' - requester_email: - type: string - format: email - description: Email address of the user requesting the experience - maxLength: 254 - requester_name: - type: string - description: Name of the user requesting the experience - maxLength: 255 - retry_count: - type: integer - readOnly: true - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - 'null' - format: date-time - sales_id: - type: - - string - - 'null' - description: Unique identifier for the requester's sales relationship - maxLength: 32 - sales_owner_email: - type: - - string - - 'null' - format: email - description: Email address of the sales contact associated with the requester - maxLength: 254 - sales_owner_name: - type: - - string - - 'null' - description: Name of the sales contact associated with the requester - maxLength: 255 - services: - type: array - items: - type: string - format: uuid - readOnly: true - state: - allOf: - - $ref: '#/components/schemas/DeploymentState' - readOnly: true - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `paused` - Deployment is paused but may be retried later - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - 'null' - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - 'null' - description: Require a cluster with the given workshop ID - maxLength: 64 - workshop_override_password: - type: - - string - - 'null' - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - maxLength: 64 - catalog_id: - type: string - description: Unique ID for this experience in the sales catalog. Must be unique. - writeOnly: true - catalog_id_alias: - type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' - writeOnly: true - experience_id: - type: string - format: uuid - writeOnly: true - required: - - created - - id - - modified - - org_name - - overrides - - pipelines - - requester_email - - requester_name - - retry_count - - services - - state - DeploymentBulkUpdate: - type: object - properties: - bastion_operating_system: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Override bastion operating system provisioned and/or configured by Liftoff - cluster: - type: - - string - - 'null' - format: uuid - readOnly: true - writeOnly: true - description: The cluster where the experience has been deployed - collection_branch: - type: - - string - - 'null' - writeOnly: true - description: Override the Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - 'null' - writeOnly: true - description: Override the experience branch - maxLength: 255 - expires_at: - type: - - string - - 'null' - format: date-time - writeOnly: true - flightcontrol_release: - type: - - string - - 'null' - writeOnly: true - description: Override the image tag used for Flight Control - maxLength: 64 - garage_id: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster with nodes in the given garage - gc_branch: - type: - - string - - 'null' - writeOnly: true - description: Override the default Ground Control branch - maxLength: 255 - gpu_alias: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster with the given GPU alias - gpu_count: - type: - - integer - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster with the given GPU model - gpu_os_name: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Override the GPU node operating system name - gpu_os_release: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Override the GPU node operating system release - gpu_os_version: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Override the GPU node operating system version - id: - type: string - format: uuid - readOnly: true - writeOnly: true - ip_allowlist: - type: array - items: - type: string - writeOnly: true - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - 'null' - readOnly: true - writeOnly: true - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster with the given number of nodes - oem_name: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster manufactured by the given OEM name - org_name: - type: string - writeOnly: true - description: Requester's organization name - overrides: - readOnly: true - writeOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - 'null' - writeOnly: true - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: - - string - - 'null' - writeOnly: true - description: Override the defined persona in the experience - maxLength: 32 - pipeline: - type: - - integer - - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 - writeOnly: true - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - 'null' - writeOnly: true - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - maxLength: 255 - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - writeOnly: true - platform: - writeOnly: true - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' - priority: - allOf: - - $ref: '#/components/schemas/PriorityEnum' - readOnly: true - writeOnly: true - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster from the given provider name - public_key: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster located in the given region - request_id: - type: string - readOnly: true - writeOnly: true - description: 'Trial request ID (ex: TRY-1234)' - requester_email: - type: string - writeOnly: true - description: Email address of the user requesting the experience - requester_name: - type: string - writeOnly: true - description: Name of the user requesting the experience - retry_count: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - 'null' - format: date-time - readOnly: true - writeOnly: true - description: Timestamp when the requester's sales relationship was created - sales_id: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Unique identifier for the requester's sales relationship - sales_owner_email: - type: - - string - - 'null' - format: email - writeOnly: true - description: Email address of the sales contact associated with the requester - maxLength: 254 - sales_owner_name: - type: - - string - - 'null' - writeOnly: true - description: Name of the sales contact associated with the requester - maxLength: 255 - services: - type: array - items: - type: string - format: uuid - readOnly: true - writeOnly: true - state: - allOf: - - $ref: '#/components/schemas/DeploymentState' - writeOnly: true - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `paused` - Deployment is paused but may be retried later - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - writeOnly: true - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Require a cluster with the given workshop ID - workshop_override_password: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - bastion_operating_system - - cluster - - count - - created - - experience - - garage_id - - gpu_alias - - gpu_count - - gpu_model - - gpu_os_name - - gpu_os_release - - gpu_os_version - - id - - ids - - lifetime - - min_gpu_count - - modified - - node_count - - oem_name - - overrides - - pipelines - - priority - - provider_name - - public_key - - region - - request_id - - result - - sales_created_date - - sales_id - - services - - workshop - - workshop_id - - workshop_override_password - DeploymentInstance: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - instance_id: - type: string - readOnly: true - description: Unique ID for this instance assigned by its provider - name: - type: - - string - - 'null' - readOnly: true - description: User-friendly name of this instance - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - state: - allOf: - - $ref: '#/components/schemas/InstanceState' - readOnly: true - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - state_modified: - type: string - format: date-time - readOnly: true - tags: - type: array - items: - type: string - maxLength: 64 - readOnly: true - description: Tags associated with this instance - required: - - created - - id - - instance_id - - modified - - name - - state - - state_modified - - tags - DeploymentKey: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - description: Descriptive name for the SSH public key - maxLength: 64 - public_key: - type: string - writeOnly: true - description: An SSH public key that should be authorized to access the deployment - required: - - created - - deployment - - id - - modified - - name - - public_key - DeploymentNote: - type: object - properties: - content: - type: string - description: Text content of the note - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - created_by: - type: string - readOnly: true - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - modified_by: - type: string - readOnly: true - required: - - created - - created_by - - deployment - - id - - modified - - modified_by - DeploymentPipeline: - type: object - properties: - action: - allOf: - - $ref: '#/components/schemas/DeploymentPipelineActionEnum' - description: |- - Action for the pipeline to run - - * `apply` - apply - * `destroy` - destroy - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - pipeline_id: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: GitLab pipeline ID - url: - type: string - format: uri - description: URL for the pipeline details - maxLength: 200 - required: - - action - - created - - deployment - - id - - modified - - pipeline_id - - url - DeploymentPipelineActionEnum: - enum: - - apply - - destroy - type: string - description: |- - * `apply` - apply - * `destroy` - destroy - x-enum-varnames: - - DeploymentPipelineActionApply - - DeploymentPipelineActionDestroy - DeploymentService: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - description: Name of the service - maxLength: 32 - url: - type: string - format: uri - description: URL used to reach the service - maxLength: 200 - required: - - created - - deployment - - id - - modified - - name - - url - DeploymentState: - enum: - - destroyed - - destroying - - error - - failed - - paused - - ready - - retrying - - starting - - stopped - - stopping - - waiting - type: string - description: |- - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `paused` - Deployment is paused but may be retried later - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - x-enum-varnames: - - DeploymentStateDestroyed - - DeploymentStateDestroying - - DeploymentStateError - - DeploymentStateFailed - - DeploymentStatePaused - - DeploymentStateReady - - DeploymentStateRetrying - - DeploymentStateStarting - - DeploymentStateStopped - - DeploymentStateStopping - - DeploymentStateWaiting - DeploymentTask: - type: object - properties: - action: - allOf: - - $ref: '#/components/schemas/DeploymentTaskActionEnum' - description: |- - The action the task will perform - - * `start_instances` - Start all instances in the deployment - * `stop_instances` - Stop all instances in the deployment - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - retries: - type: integer - readOnly: true - description: Number of times the task has been retried - status: - allOf: - - $ref: '#/components/schemas/StatusEnum' - readOnly: true - description: |- - Current status of the task - - * `completed` - completed - * `failed` - failed - * `pending` - pending - * `processing` - processing - * `retrying` - retrying - status_text: - type: string - readOnly: true - description: Messages related to the current task status - required: - - action - - created - - deployment - - id - - modified - - retries - - status - - status_text - DeploymentTaskActionEnum: - enum: - - start_instances - - stop_instances - type: string - description: |- - * `start_instances` - Start all instances in the deployment - * `stop_instances` - Stop all instances in the deployment - x-enum-varnames: - - DeploymentTaskActionStartInstances - - DeploymentTaskActionStopInstances - DeploymentUpdate: - type: object - properties: - bastion_operating_system: - type: - - string - - 'null' - readOnly: true - description: Override bastion operating system provisioned and/or configured by Liftoff - cluster: - type: - - string - - 'null' - format: uuid - readOnly: true - description: The cluster where the experience has been deployed - collection_branch: - type: - - string - - 'null' - description: Override the Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - 'null' - description: Override the experience branch - maxLength: 255 - expires_at: - type: - - string - - 'null' - format: date-time - flightcontrol_release: - type: - - string - - 'null' - description: Override the image tag used for Flight Control - maxLength: 64 - garage_id: - type: - - string - - 'null' - readOnly: true - description: Require a cluster with nodes in the given garage - gc_branch: - type: - - string - - 'null' - description: Override the default Ground Control branch - maxLength: 255 - gpu_alias: - type: - - string - - 'null' - readOnly: true - description: Require a cluster with the given GPU alias - gpu_count: - type: - - integer - - 'null' - readOnly: true - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - 'null' - readOnly: true - description: Require a cluster with the given GPU model - gpu_os_name: - type: - - string - - 'null' - readOnly: true - description: Override the GPU node operating system name - gpu_os_release: - type: - - string - - 'null' - readOnly: true - description: Override the GPU node operating system release - gpu_os_version: - type: - - string - - 'null' - readOnly: true - description: Override the GPU node operating system version - id: - type: string - format: uuid - readOnly: true - ip_allowlist: - type: array - items: - type: string - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - 'null' - readOnly: true - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - 'null' - readOnly: true - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - 'null' - readOnly: true - description: Require a cluster with the given number of nodes - oem_name: - type: - - string - - 'null' - readOnly: true - description: Require a cluster manufactured by the given OEM name - org_name: - type: string - description: Requester's organization name - overrides: - readOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - 'null' - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: - - string - - 'null' - description: Override the defined persona in the experience - maxLength: 32 - pipeline: - type: - - integer - - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - 'null' - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - maxLength: 255 - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - platform: - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' - priority: - allOf: - - $ref: '#/components/schemas/PriorityEnum' - readOnly: true - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - 'null' - readOnly: true - description: Require a cluster from the given provider name - public_key: - type: - - string - - 'null' - readOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - 'null' - readOnly: true - description: Require a cluster located in the given region - request_id: - type: string - readOnly: true - description: 'Trial request ID (ex: TRY-1234)' - requester_email: - type: string - description: Email address of the user requesting the experience - requester_name: - type: string - description: Name of the user requesting the experience - retry_count: - type: integer - maximum: 2147483647 - minimum: 0 - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - 'null' - format: date-time - readOnly: true - description: Timestamp when the requester's sales relationship was created - sales_id: - type: - - string - - 'null' - readOnly: true - description: Unique identifier for the requester's sales relationship - sales_owner_email: - type: - - string - - 'null' - format: email - description: Email address of the sales contact associated with the requester - maxLength: 254 - sales_owner_name: - type: - - string - - 'null' - description: Name of the sales contact associated with the requester - maxLength: 255 - services: - type: array - items: - type: string - format: uuid - readOnly: true - state: - allOf: - - $ref: '#/components/schemas/DeploymentState' - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `paused` - Deployment is paused but may be retried later - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - 'null' - readOnly: true - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - 'null' - readOnly: true - description: Require a cluster with the given workshop ID - workshop_override_password: - type: - - string - - 'null' - readOnly: true - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - required: - - bastion_operating_system - - cluster - - created - - experience - - garage_id - - gpu_alias - - gpu_count - - gpu_model - - gpu_os_name - - gpu_os_release - - gpu_os_version - - id - - lifetime - - min_gpu_count - - modified - - node_count - - oem_name - - overrides - - pipelines - - priority - - provider_name - - public_key - - region - - request_id - - sales_created_date - - sales_id - - services - - workshop - - workshop_id - - workshop_override_password - DocDeploymentDelete: - type: object - properties: - bastion_operating_system: - type: - - string - - 'null' - description: Override bastion operating system provisioned and/or configured by Liftoff - maxLength: 32 - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - collection_branch: - type: - - string - - 'null' - description: Override the Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - experience_branch: - type: - - string - - 'null' - description: Override the experience branch - maxLength: 255 - expires_at: - type: - - string - - 'null' - format: date-time - flightcontrol_release: - type: - - string - - 'null' - description: Override the image tag used for Flight Control - maxLength: 64 - garage_id: - type: - - string - - 'null' - description: Require a cluster with nodes in the given garage - maxLength: 128 - gc_branch: - type: - - string - - 'null' - description: Override the default Ground Control branch - maxLength: 255 - gpu_alias: - type: - - string - - 'null' - description: Require a cluster with the given GPU alias - maxLength: 64 - gpu_count: - type: - - integer - - 'null' - maximum: 16 - minimum: 0 - description: Require a cluster with the given number of GPUs - gpu_model: - type: - - string - - 'null' - description: Require a cluster with the given GPU model - maxLength: 32 - gpu_os_name: - type: string - gpu_os_release: - type: string - gpu_os_version: - type: string - id: - type: string - format: uuid - readOnly: true - ip_allowlist: - type: array - items: - type: string - description: Host IP addresses that should be allowed to access the deployment - lifetime: - type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. - min_gpu_count: - type: - - integer - - 'null' - maximum: 16 - minimum: 0 - description: Require a cluster whose GPU count is greater than or equal to the given number - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 - description: Require a cluster with the given number of nodes - oem_name: - type: - - string - - 'null' - description: Require a cluster manufactured by the given OEM name - maxLength: 64 - org_name: - type: string - description: Requester's organization name - overrides: - readOnly: true - description: Overriden values from the original deployment request - persist_on_failure: - type: - - boolean - - 'null' - description: Override the default cleanup/destroy behavior when a provisioning failure occurs - persona: - type: string - pipeline: - type: - - integer - - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment - pipeline_branch: - type: - - string - - 'null' - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline - maxLength: 255 - pipelines: - type: array - items: - type: string - format: uuid - readOnly: true - platform: - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' - priority: - allOf: - - $ref: '#/components/schemas/PriorityEnum' - description: |- - Priority level for the request - - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - provider_name: - type: - - string - - 'null' - description: Require a cluster from the given provider name - maxLength: 64 - public_key: - type: - - string - - 'null' - writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. - region: - type: - - string - - 'null' - description: Require a cluster located in the given region - maxLength: 64 - request_id: - type: string - description: 'Trial request ID (ex: TRY-1234)' - requester_email: - type: string - format: email - description: Email address of the user requesting the experience - maxLength: 254 - requester_name: - type: string - description: Name of the user requesting the experience - maxLength: 255 - retry_count: - type: integer - readOnly: true - description: Number of times the deployment has been retried - sales_created_date: - type: - - string - - 'null' - format: date-time - sales_id: - type: - - string - - 'null' - description: Unique identifier for the requester's sales relationship - maxLength: 32 - sales_owner_email: - type: - - string - - 'null' - format: email - description: Email address of the sales contact associated with the requester - maxLength: 254 - sales_owner_name: - type: - - string - - 'null' - description: Name of the sales contact associated with the requester - maxLength: 255 - services: - type: array - items: - type: string - format: uuid - readOnly: true - state: - allOf: - - $ref: '#/components/schemas/DeploymentState' - readOnly: true - description: |- - Current state of the deployment - - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `paused` - Deployment is paused but may be retried later - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - tags: - description: User-defined tags as key/value pairs - workshop: - type: - - boolean - - 'null' - description: Require a cluster whose workshop flag is set - workshop_id: - type: - - string - - 'null' - description: Require a cluster with the given workshop ID - maxLength: 64 - workshop_override_password: - type: - - string - - 'null' - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) - maxLength: 64 - catalog_id: - type: string - description: Unique ID for this experience in the sales catalog. Must be unique. - writeOnly: true - catalog_id_alias: - type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' - writeOnly: true - experience_id: - type: string - format: uuid - writeOnly: true - required: - - created - - experience - - id - - modified - - org_name - - overrides - - pipelines - - requester_email - - requester_name - - retry_count - - services - - state - Experience: - type: object - properties: - assignee: - type: - - string - - 'null' - description: User ID who is responsible for manual provisioning - maxLength: 32 - autoapprove: - type: boolean - description: Can the experience be provisioned without human approval? - autoprovision: - type: boolean - description: Can the experience be provisioned without human intervention? - bootstrap: - type: boolean - description: Can this experience be used to bootstrap another compatible experience? - catalog_id: - type: string - description: Unique ID for this experience in the sales catalog. Must be unique. - maxLength: 32 - catalog_id_alias: - type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' - maxLength: 8 - category: - allOf: - - $ref: '#/components/schemas/CategoryEnum' - description: |- - Functional group that this experience is targetting - - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - collection_branch: - type: string - description: Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - description: - type: - - string - - 'null' - experience: - type: string - description: Experience name slug - maxLength: 64 - experience_branch: - type: string - description: 'Experience branch name used during deployment (default: origin/main)' - maxLength: 255 - fc_platform: - writeOnly: true - description: |- - Fleet Command platform type - - * `docker` - docker - * `k8s` - k8s - oneOf: - - $ref: '#/components/schemas/FcPlatformEnum' - - type: 'null' - fc_support: - type: boolean - writeOnly: true - description: Does the experience support Flight Control? - garage_id: - type: - - string - - 'null' - description: ID of the garage where nodes for this experience should be selected from - maxLength: 64 - gc_branch: - type: string - description: 'Ground Control branch name (default: main)' - maxLength: 255 - gpu_count: - type: integer - maximum: 16 - minimum: 0 - description: Number of GPUs used - gpu_os: - $ref: '#/components/schemas/GpuOs' - id: - type: string - format: uuid - readOnly: true - inactivity_max: - type: integer - maximum: 2147483647 - minimum: 0 - description: 'Number of days without user interaction before the experience is torn down (default: 3)' - lifetime: - type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 - description: 'Default number of days a provisioned experience should remain active (default: 3). A null lifetime will cause a deployment to remain active indefinitely.' - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - maximum: 2147483647 - minimum: 0 - description: Number of Nodes used - persona: - type: string - pipeline: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - description: Pipeline ID used for provisioning - platform: - allOf: - - $ref: '#/components/schemas/PlatformEnum' - description: |- - Base platform that the experience will be provisioned onto - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - provider: - type: - - string - - 'null' - format: uuid - description: If set, the experience must be provisioned to the given provider - published: - allOf: - - $ref: '#/components/schemas/PublishedEnum' - description: |- - Is the experience published for use? - - * `draft` - draft - * `no` - no - * `yes` - yes - repo: - type: - - string - - 'null' - format: uri - writeOnly: true - description: URL of the repository for provisioning automation - maxLength: 200 - required_gpus: - type: array - items: - type: string - format: uuid - description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' - sa_lab: - type: boolean - description: Is this a persistent experience for SAs? - system_arch: - allOf: - - $ref: '#/components/schemas/SystemArchEnum' - description: |- - Required CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - title: - type: string - vgpu_profile: - description: |- - vGPU profile name used by the experience - - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia_rtx_pro_6000_blackwell_dc-4-96q` - nvidia_rtx_pro_6000_blackwell_dc-4-96q - * `nvidia_rtx_pro_6000_blackwell_dc-96q` - nvidia_rtx_pro_6000_blackwell_dc-96q - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - oneOf: - - $ref: '#/components/schemas/VgpuProfileEnum' - - type: 'null' - required: - - catalog_id - - category - - created - - experience - - gpu_os - - id - - modified - - persona - - pipeline - - platform - - system_arch - - title - ExperienceBulk: - type: object - properties: - csv_file: - type: string - format: uri - writeOnly: true - experiences: - type: array - items: - $ref: '#/components/schemas/Experience' - readOnly: true - required: - - csv_file - - experiences - ExperienceBulkUpdate: - type: object - properties: - assignee: - type: - - string - - 'null' - writeOnly: true - description: User ID who is responsible for manual provisioning - maxLength: 32 - autoapprove: - type: boolean - writeOnly: true - description: Can the experience be provisioned without human approval? - autoprovision: - type: boolean - writeOnly: true - description: Can the experience be provisioned without human intervention? - bootstrap: - type: boolean - writeOnly: true - description: Can this experience be used to bootstrap another compatible experience? - catalog_id: - type: string - readOnly: true - writeOnly: true - description: Unique ID for this experience in the sales catalog. Must be unique. - maxLength: 32 - catalog_id_alias: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' - maxLength: 8 - category: - allOf: - - $ref: '#/components/schemas/CategoryEnum' - writeOnly: true - description: |- - Functional group that this experience is targetting - - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - collection_branch: - type: string - writeOnly: true - description: Ansible collection branch initialized within the pipeline - maxLength: 255 - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - description: - type: - - string - - 'null' - writeOnly: true - experience: - type: string - writeOnly: true - description: Experience name slug - maxLength: 64 - experience_branch: - type: string - writeOnly: true - description: 'Experience branch name used during deployment (default: origin/main)' - maxLength: 255 - fc_platform: - writeOnly: true - description: |- - Fleet Command platform type - - * `docker` - docker - * `k8s` - k8s - oneOf: - - $ref: '#/components/schemas/FcPlatformEnum' - - type: 'null' - fc_support: - type: boolean - writeOnly: true - description: Does the experience support Flight Control? - garage_id: - type: - - string - - 'null' - writeOnly: true - description: ID of the garage where nodes for this experience should be selected from - maxLength: 64 - gc_branch: - type: string - writeOnly: true - description: 'Ground Control branch name (default: main)' - maxLength: 255 - gpu_count: - type: integer - maximum: 16 - minimum: 0 - writeOnly: true - description: Number of GPUs used - gpu_os: - allOf: - - $ref: '#/components/schemas/GpuOs' - writeOnly: true - id: - type: string - format: uuid - readOnly: true - writeOnly: true - inactivity_max: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: 'Number of days without user interaction before the experience is torn down (default: 3)' - lifetime: - type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: 'Default number of days a provisioned experience should remain active (default: 3). A null lifetime will cause a deployment to remain active indefinitely.' - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: Number of Nodes used - persona: - type: string - writeOnly: true - pipeline: - type: integer - maximum: 9223372036854775807 - minimum: 0 - format: int64 - writeOnly: true - description: Pipeline ID used for provisioning - platform: - allOf: - - $ref: '#/components/schemas/PlatformEnum' - writeOnly: true - description: |- - Base platform that the experience will be provisioned onto - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - provider: - type: - - string - - 'null' - format: uuid - writeOnly: true - description: If set, the experience must be provisioned to the given provider - published: - allOf: - - $ref: '#/components/schemas/PublishedEnum' - writeOnly: true - description: |- - Is the experience published for use? - - * `draft` - draft - * `no` - no - * `yes` - yes - repo: - type: - - string - - 'null' - format: uri - writeOnly: true - description: URL of the repository for provisioning automation - maxLength: 200 - required_gpus: - type: array - items: - type: string - format: uuid - writeOnly: true - description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' - sa_lab: - type: boolean - writeOnly: true - description: Is this a persistent experience for SAs? - system_arch: - allOf: - - $ref: '#/components/schemas/SystemArchEnum' - writeOnly: true - description: |- - Required CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - title: - type: string - writeOnly: true - vgpu_profile: - writeOnly: true - description: |- - vGPU profile name used by the experience - - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia_rtx_pro_6000_blackwell_dc-4-96q` - nvidia_rtx_pro_6000_blackwell_dc-4-96q - * `nvidia_rtx_pro_6000_blackwell_dc-96q` - nvidia_rtx_pro_6000_blackwell_dc-96q - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - oneOf: - - $ref: '#/components/schemas/VgpuProfileEnum' - - type: 'null' - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - catalog_id - - catalog_id_alias - - category - - count - - created - - experience - - gpu_os - - id - - ids - - modified - - persona - - pipeline - - platform - - result - - system_arch - - title - ExperienceNote: - type: object - properties: - content: - type: string - description: Text content of the note - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - created_by: - type: string - readOnly: true - experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - modified_by: - type: string - readOnly: true - required: - - created - - created_by - - experience - - id - - modified - - modified_by - FcPlatformEnum: - enum: - - docker - - k8s - type: string - description: |- - * `docker` - docker - * `k8s` - k8s - x-enum-varnames: - - FcPlatformDocker - - FcPlatformK8s - FormFactorEnum: - enum: - - pcie - - sxm - type: string - description: |- - * `pcie` - PCIe - * `sxm` - SXM - x-enum-varnames: - - FormFactorPCIe - - FormFactorSXM - Gpu: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - form_factor: - allOf: - - $ref: '#/components/schemas/FormFactorEnum' - default: pcie - description: |- - GPU form factor - - * `pcie` - PCIe - * `sxm` - SXM - id: - type: string - format: uuid - readOnly: true - memory: - type: integer - maximum: 32768 - minimum: 0 - default: 0 - description: Total GPU memory (in GB) - model: - type: string - description: GPU model name - maxLength: 32 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - readOnly: true - priority: - type: integer - maximum: 100 - minimum: 0 - description: Weighted preference to use in selecting a GPU for a deployment. A higher priority means the GPU is in higher demand. Lower priority values will be preferred over higher ones during cluster selection. - required: - - created - - id - - model - - modified - GpuBulkUpdate: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - form_factor: - allOf: - - $ref: '#/components/schemas/FormFactorEnum' - writeOnly: true - default: pcie - description: |- - GPU form factor - - * `pcie` - PCIe - * `sxm` - SXM - id: - type: string - format: uuid - readOnly: true - writeOnly: true - memory: - type: integer - maximum: 32768 - minimum: 0 - writeOnly: true - default: 0 - description: Total GPU memory (in GB) - model: - type: string - writeOnly: true - description: GPU model name - maxLength: 32 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - node_count: - type: integer - readOnly: true - writeOnly: true - priority: - type: integer - maximum: 100 - minimum: 0 - writeOnly: true - description: Weighted preference to use in selecting a GPU for a deployment. A higher priority means the GPU is in higher demand. Lower priority values will be preferred over higher ones during cluster selection. - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - count - - created - - id - - ids - - model - - modified - - node_count - - result - GpuOs: - type: object - properties: - name: - type: string - release: - type: string - version: - type: string - required: - - name - - release - - version - GpuOsChoice: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: integer - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - description: 'Name of the OS to be provisioned onto GPU Node(s) (ex: ubuntu)' - maxLength: 16 - release: - type: string - description: 'Release name of the OS to be provisioned onto GPU Node(s) (ex: jammy)' - maxLength: 16 - version: - type: string - description: 'Version number of the OS to be provisioned onto GPU Node(s) (ex: 22.04)' - maxLength: 8 - required: - - created - - id - - modified - - name - - release - - version - Instance: - type: object - properties: - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - instance_id: - type: string - description: Unique ID for this instance assigned by its provider - maxLength: 128 - name: - type: - - string - - 'null' - description: User-friendly name of this instance - maxLength: 64 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - state: - allOf: - - $ref: '#/components/schemas/InstanceState' - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - state_modified: - type: string - format: date-time - readOnly: true - tags: - type: array - items: - type: string - maxLength: 64 - description: Tags associated with this instance - required: - - cluster - - created - - id - - instance_id - - modified - - state_modified - InstanceBulkUpdate: - type: object - properties: - cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - writeOnly: true - instance_id: - type: string - readOnly: true - writeOnly: true - description: Unique ID for this instance assigned by its provider - maxLength: 128 - name: - type: - - string - - 'null' - writeOnly: true - description: User-friendly name of this instance - maxLength: 64 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - state: - allOf: - - $ref: '#/components/schemas/InstanceState' - writeOnly: true - description: |- - Current lifecycle state of this instance - - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - state_modified: - type: string - format: date-time - readOnly: true - writeOnly: true - tags: - type: array - items: - type: string - maxLength: 64 - writeOnly: true - description: Tags associated with this instance - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - cluster - - count - - created - - id - - ids - - instance_id - - modified - - result - - state_modified - InstanceState: - enum: - - running - - starting - - stopped - - stopping - - unknown - type: string - description: |- - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown - x-enum-varnames: - - InstanceStateRunning - - InstanceStateStarting - - InstanceStateStopped - - InstanceStateStopping - - InstanceStateUnknown - InstanceType: - type: object - properties: - capacity: - type: object - additionalProperties: - type: integer - description: Key/value pairs of region name and total available capacity for the instance type - cloud: - type: string - description: Cloud provider name - cpu: - type: integer - description: Total number of CPUs/vCPUs available - gpu: - $ref: '#/components/schemas/InstanceTypeGpu' - memory_gb: - type: integer - description: Total system memory (in GB) - price: - $ref: '#/components/schemas/InstanceTypePrice' - regions: - type: array - items: - type: string - description: List of regions names that have available capacity for the instance type - storage: - type: array - items: - $ref: '#/components/schemas/InstanceTypeStorage' - system_arch: - allOf: - - $ref: '#/components/schemas/SystemArchEnum' - description: |- - CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - required: - - capacity - - cloud - - cpu - - gpu - - memory_gb - - price - - regions - - storage - - system_arch - InstanceTypeGpu: - type: object - properties: - count: - type: integer - description: Total number of GPUs - family: - type: string - description: GPU family name - interconnection_type: - allOf: - - $ref: '#/components/schemas/InterconnectionTypeEnum' - description: |- - GPU form factor - - * `pcie` - PCIe - * `sxm` - SXM - manufacturer: - type: string - description: GPU manufacturer name - memory_gb: - type: integer - description: Total GPU memory (in GB) - model: - type: string - description: GPU model name - required: - - count - - family - - interconnection_type - - manufacturer - - memory_gb - - model - InstanceTypePrice: - type: object - properties: - currency: - type: string - description: Currency code - on_demand_per_hour: - type: number - format: double - description: Price per hour - required: - - currency - - on_demand_per_hour - InstanceTypeStorage: - type: object - properties: - size_gb: - type: integer - description: System storage size (in GB) - type: - allOf: - - $ref: '#/components/schemas/TypeEnum' - description: |- - Disk type - - * `nvme` - NVMe - * `ssd` - ssd - required: - - size_gb - - type - InterconnectionTypeEnum: - enum: - - pcie - - sxm - type: string - description: |- - * `pcie` - PCIe - * `sxm` - SXM - x-enum-varnames: - - InterconnectionTypePCIe - - InterconnectionTypeSXM - Location: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 64 - provider: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Provider" - x-go-json-tag: "provider,omitempty" - region: - type: - - string - - 'null' - description: Name of the region the location is in - maxLength: 64 - required: - - created - - id - - modified - - name - - provider - Logout: - type: object - properties: - result: - type: string - readOnly: true - default: Successfully logged out. - required: - - result - ModelChange: - type: object - properties: - change_type: - type: string - readOnly: true - changes: - type: array - items: - type: object - properties: - field: - type: string - new_value: - oneOf: - - type: string - - type: boolean - - type: integer - nullable: true - old_value: - oneOf: - - type: string - - type: boolean - - type: integer - nullable: true - required: - - field - - new_value - - old_value - readOnly: true - created: - type: string - format: date-time - id: - type: integer - username: - type: string - required: - - change_type - - changes - - created - - id - - username - NetworkTypeEnum: - enum: - - ethernet - - infiniband - type: string - description: |- - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - x-enum-varnames: - - NetworkTypeEthernet - - NetworkTypeInfiniband - Node: - type: object - properties: - bmc_ip: - type: - - string - - 'null' - description: IP address of the BMC - bmc_mac: - type: - - string - - 'null' - description: MAC address of the BMC - maxLength: 17 - minLength: 17 - bmc_password: - type: - - string - - 'null' - description: Password for the BMC - maxLength: 32 - bmc_user: - type: - - string - - 'null' - description: Username for the BMC - maxLength: 64 - cluster: - type: - - string - - 'null' - format: uuid - description: UUID of the node's parent cluster - cpu: - type: integer - maximum: 1024 - minimum: 0 - description: Number of CPU cores installed - cpu_manufacturer: - description: |- - Manufacturer of the node's CPU - - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - oneOf: - - $ref: '#/components/schemas/CpuManufacturerEnum' - - type: 'null' - cpu_model: - type: - - string - - 'null' - description: Model information for the node's CPU - maxLength: 64 - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - garage_id: - type: - - string - - 'null' - description: ID for the garage where a node is parked when unprovisioned - maxLength: 128 - gpu: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - gpu_alias: - type: string - readOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - maximum: 16 - minimum: 0 - description: Number of GPUs installed - gpu_model: - type: string - readOnly: true - description: Model of GPU(s) installed - gpu_vbios: - type: - - string - - 'null' - description: VBIOS version used by installed GPU(s) - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - location: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Location" - x-go-json-tag: "location,omitempty" - memory: - type: integer - maximum: 32768 - minimum: 0 - description: Amount of RAM installed (in GB) - mgmt_ip: - type: string - description: Management IP address - mgmt_mac: - type: - - string - - 'null' - description: Management MAC address - maxLength: 17 - minLength: 17 - model: - type: - - string - - 'null' - description: Hardware model of the node - maxLength: 64 - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - network_type: - allOf: - - $ref: '#/components/schemas/NetworkTypeEnum' - description: |- - Type of networking technology used - - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - nic_prefixes: - type: array - items: - type: string - maxLength: 15 - description: Prefixes for the node's network interface(s) - notes: - type: - - string - - 'null' - description: Administrative comments about the node - oem: - type: - - string - - 'null' - format: uuid - description: UUID of the node's OEM - provider_node_id: - type: - - string - - 'null' - description: Unique ID for this node assigned by its provider - maxLength: 128 - rack: - type: - - string - - 'null' - description: Physical rack identifier - maxLength: 32 - rack_unit: - type: - - integer - - 'null' - maximum: 52 - minimum: 0 - description: The rack unit (RU) within the rack where the node is installed - serial_number: - type: - - string - - 'null' - description: Serial number of the node - maxLength: 32 - storage: - type: array - items: - $ref: '#/components/schemas/NodeStorage' - minItems: 1 - system_arch: - allOf: - - $ref: '#/components/schemas/SystemArchEnum' - description: |- - CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - tee: - type: boolean - description: Does the node support Trusted Execution Environment (TEE)? - required: - - created - - gpu - - gpu_alias - - gpu_model - - id - - location - - modified - - storage - - system_arch - NodeBulk: - type: object - properties: - csv_file: - type: string - format: uri - writeOnly: true - nodes: - type: array - items: - $ref: '#/components/schemas/Node' - readOnly: true - required: - - csv_file - - nodes - NodeBulkUpdate: - type: object - properties: - bmc_ip: - type: - - string - - 'null' - writeOnly: true - description: IP address of the BMC - bmc_mac: - type: - - string - - 'null' - writeOnly: true - description: MAC address of the BMC - maxLength: 17 - minLength: 17 - bmc_password: - type: - - string - - 'null' - writeOnly: true - description: Password for the BMC - maxLength: 32 - bmc_user: - type: - - string - - 'null' - writeOnly: true - description: Username for the BMC - maxLength: 64 - cluster: - type: - - string - - 'null' - format: uuid - writeOnly: true - description: UUID of the node's parent cluster - cpu: - type: integer - maximum: 1024 - minimum: 0 - writeOnly: true - description: Number of CPU cores installed - cpu_manufacturer: - writeOnly: true - description: |- - Manufacturer of the node's CPU - - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - oneOf: - - $ref: '#/components/schemas/CpuManufacturerEnum' - - type: 'null' - cpu_model: - type: - - string - - 'null' - writeOnly: true - description: Model information for the node's CPU - maxLength: 64 - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - garage_id: - type: - - string - - 'null' - writeOnly: true - description: ID for the garage where a node is parked when unprovisioned - maxLength: 128 - gpu: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - gpu_alias: - type: string - readOnly: true - writeOnly: true - description: Alias for GPU plan (i.e. installed GPU type and count) - gpu_count: - type: integer - maximum: 16 - minimum: 0 - writeOnly: true - description: Number of GPUs installed - gpu_model: - type: string - readOnly: true - writeOnly: true - description: Model of GPU(s) installed - gpu_vbios: - type: - - string - - 'null' - writeOnly: true - description: VBIOS version used by installed GPU(s) - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - writeOnly: true - location: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Location" - x-go-json-tag: "location,omitempty" - memory: - type: integer - maximum: 32768 - minimum: 0 - writeOnly: true - description: Amount of RAM installed (in GB) - mgmt_ip: - type: string - writeOnly: true - description: Management IP address - mgmt_mac: - type: - - string - - 'null' - writeOnly: true - description: Management MAC address - maxLength: 17 - minLength: 17 - model: - type: - - string - - 'null' - writeOnly: true - description: Hardware model of the node - maxLength: 64 - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - network_type: - allOf: - - $ref: '#/components/schemas/NetworkTypeEnum' - writeOnly: true - description: |- - Type of networking technology used - - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - nic_prefixes: - type: array - items: - type: string - maxLength: 15 - writeOnly: true - description: Prefixes for the node's network interface(s) - notes: - type: - - string - - 'null' - writeOnly: true - description: Administrative comments about the node - oem: - type: - - string - - 'null' - format: uuid - writeOnly: true - description: UUID of the node's OEM - provider_node_id: - type: - - string - - 'null' - writeOnly: true - description: Unique ID for this node assigned by its provider - maxLength: 128 - rack: - type: - - string - - 'null' - writeOnly: true - description: Physical rack identifier - maxLength: 32 - rack_unit: - type: - - integer - - 'null' - maximum: 52 - minimum: 0 - writeOnly: true - description: The rack unit (RU) within the rack where the node is installed - serial_number: - type: - - string - - 'null' - readOnly: true - writeOnly: true - description: Serial number of the node - maxLength: 32 - storage: - type: array - items: - $ref: '#/components/schemas/NodeStorage' - writeOnly: true - minItems: 1 - system_arch: - allOf: - - $ref: '#/components/schemas/SystemArchEnum' - writeOnly: true - description: |- - CPU architecture - - * `amd64` - amd64 - * `arm64` - arm64 - tee: - type: boolean - writeOnly: true - description: Does the node support Trusted Execution Environment (TEE)? - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - count - - created - - gpu - - gpu_alias - - gpu_model - - id - - ids - - location - - modified - - result - - serial_number - - storage - - system_arch - NodeStorage: - type: object - properties: - size: - type: integer - default: 0 - description: Disk size (in GB) - maximum: 1000000 - minimum: 0 - type: - allOf: - - $ref: '#/components/schemas/TypeEnum' - description: |- - Disk type - - * `nvme` - NVMe - * `ssd` - ssd - required: - - type - NullEnum: - type: 'null' - OEM: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 64 - required: - - created - - id - - modified - - name - PaginatedClusterList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Cluster' - PaginatedDeploymentInstanceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/DeploymentInstance' - PaginatedDeploymentKeyList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/DeploymentKey' - PaginatedDeploymentList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Deployment' - PaginatedDeploymentNoteList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/DeploymentNote' - PaginatedDeploymentPipelineList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/DeploymentPipeline' - PaginatedDeploymentServiceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/DeploymentService' - PaginatedDeploymentTaskList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/DeploymentTask' - PaginatedExperienceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Experience' - PaginatedExperienceNoteList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/ExperienceNote' - PaginatedGpuList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Gpu' - PaginatedGpuOsChoiceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/GpuOsChoice' - PaginatedInstanceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Instance' - PaginatedInstanceTypeList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/InstanceType' - PaginatedLocationList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Location' - PaginatedModelChangeList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/ModelChange' - PaginatedNodeList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Node' - PaginatedOEMList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/OEM' - PaginatedPersonaChoiceList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/PersonaChoice' - PaginatedProviderList: - type: object - required: - - count - - results - properties: - count: - type: integer - example: 123 - next: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=4 - previous: - type: string - nullable: true - format: uri - example: https://launchpad.api.nvidia.com/example/?page=2 - results: - type: array - items: - $ref: '#/components/schemas/Provider' - PasswordChange: - type: object - properties: - username: - type: string - writeOnly: true - password: - type: string - writeOnly: true - new_password: - type: string - writeOnly: true - result: - type: string - readOnly: true - default: Password changed successfully. - required: - - new_password - - password - - result - - username - PersonaChoice: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - id: - type: integer - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 32 - required: - - created - - id - - modified - - name - PlatformEnum: - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere_horizon - - vsphere7 - - vsphere8 - type: string - description: |- - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - x-enum-varnames: - - PlatformAir - - PlatformFlightDeck - - PlatformKvmBastion - - PlatformLpVmwarePlatformLegacy - - PlatformMinimal - - PlatformOpenshift - - PlatformVsphere - - PlatformVsphereHorizon - - PlatformVsphere7 - - PlatformVsphere8 - PreferredThemeEnum: - enum: - - light - - dark - type: string - description: |- - * `light` - light - * `dark` - dark - x-enum-varnames: - - PreferredThemeLight - - PreferredThemeDark - PriorityEnum: - enum: - - p0 - - p1 - - p2 - - p3 - type: string - description: |- - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - x-enum-varnames: - - PriorityP0 - - PriorityP1 - - PriorityP2 - - PriorityP3 - Profile: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - groups: - type: array - items: - type: string - readOnly: true - id: - type: string - format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - preferred_theme: - description: |- - Preferred user interface theme - - * `light` - light - * `dark` - dark - oneOf: - - $ref: '#/components/schemas/PreferredThemeEnum' - - type: 'null' - preferred_view_settings: - description: Preferred user view settings - username: - type: string - required: - - created - - groups - - id - - modified - - username - Provider: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was created - display_name: - type: - - string - - 'null' - description: Human-friendly version of name. Used for display purposes. - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - instance_limit: - type: integer - maximum: 2147483647 - minimum: 0 - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string - maxLength: 64 - priority: - type: integer - maximum: 100 - minimum: 0 - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. - required: - - created - - id - - modified - - name - ProviderBulkUpdate: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - display_name: - type: - - string - - 'null' - writeOnly: true - description: Human-friendly version of name. Used for display purposes. - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - writeOnly: true - instance_limit: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - name: - type: string - readOnly: true - writeOnly: true - maxLength: 64 - priority: - type: integer - maximum: 100 - minimum: 0 - writeOnly: true - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true - required: - - count - - created - - id - - ids - - modified - - name - - result - ProvisioningStateEnum: - enum: - - deployed - - deploying - - destroying - - pending - - ready - - reserved - - unprovisioned - type: string - description: |- - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - x-enum-varnames: - - ProvisioningStateDeployed - - ProvisioningStateDeploying - - ProvisioningStateDestroying - - ProvisioningStatePending - - ProvisioningStateReady - - ProvisioningStateReserved - - ProvisioningStateUnprovisioned - PublishedEnum: - enum: - - draft - - 'no' - - 'yes' - type: string - description: |- - * `draft` - draft - * `no` - no - * `yes` - yes - x-enum-varnames: - - PublishedDraft - - PublishedNo - - PublishedYes - StatusEnum: - enum: - - completed - - failed - - pending - - processing - - retrying - type: string - description: |- - * `completed` - completed - * `failed` - failed - * `pending` - pending - * `processing` - processing - * `retrying` - retrying - x-enum-varnames: - - StatusCompleted - - StatusFailed - - StatusPending - - StatusProcessing - - StatusRetrying - SystemArchEnum: - enum: - - amd64 - - arm64 - type: string - description: |- - * `amd64` - amd64 - * `arm64` - arm64 - x-enum-varnames: - - SystemArchAMD64 - - SystemArchARM64 - Tenant: - type: object - properties: - id: - type: string - format: uuid - writeOnly: true - required: - - id - TypeEnum: - enum: - - nvme - - ssd - type: string - description: |- - * `nvme` - NVMe - * `ssd` - ssd - x-enum-varnames: - - TypeNVMe - - TypeSSD - VgpuProfileEnum: - enum: - - air - - bright_cluster - - bright-cluster - - flight_deck - - flight-deck - - nvidia_a40-48q - - nvidia-ai-enterprise - - nvidia_l40s-48q - - nvidia_rtx_pro_6000_blackwell_dc-4-96q - - nvidia_rtx_pro_6000_blackwell_dc-96q - - openshift - - platform_only - - vmware_itadmin - type: string - description: |- - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia_rtx_pro_6000_blackwell_dc-4-96q` - nvidia_rtx_pro_6000_blackwell_dc-4-96q - * `nvidia_rtx_pro_6000_blackwell_dc-96q` - nvidia_rtx_pro_6000_blackwell_dc-96q - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin - x-enum-varnames: - - VgpuProfileAir - - VgpuProfileBrightCluster - - VgpuProfileBrightClusterLegacy - - VgpuProfileFlightDeck - - VgpuProfileFlightDeckLegacy - - VgpuProfileNvidiaA4048QLegacy - - VgpuProfileNvidiaAiEnterpriseLegacy - - VgpuProfileNvidiaL40s48QLegacy - - VgpuProfileNvidiaRtxPro6000BlackwellDc496QLegacy - - VgpuProfileNvidiaRtxPro6000BlackwellDc96QLegacy - - VgpuProfileOpenshift - - VgpuProfilePlatformOnly - - VgpuProfileVmwareItadmin - securitySchemes: - TokenAuthentication: - type: apiKey - in: header - name: Authorization - description: 'Authenticate with your user''s API token. Be sure to include a prefix of "Token" (ex: "Token xxxxx").' diff --git a/v1/providers/launchpad/swagger-v2.36.0.yaml b/v1/providers/launchpad/swagger-v2.39.5.yaml similarity index 54% rename from v1/providers/launchpad/swagger-v2.36.0.yaml rename to v1/providers/launchpad/swagger-v2.39.5.yaml index 5b57a1e0..c3392906 100644 --- a/v1/providers/launchpad/swagger-v2.36.0.yaml +++ b/v1/providers/launchpad/swagger-v2.39.5.yaml @@ -1,15 +1,74 @@ openapi: 3.1.0 info: title: NVIDIA LaunchPad API - version: 2.36.0 + version: 2.39.5 description: RESTful API for interacting with the NVIDIA LaunchPad platform paths: + /health/: + get: + operationId: health_retrieve + tags: + - health + security: + - TokenAuthentication: [] + - {} + responses: + '200': + content: + application/json: + schema: + type: object + properties: + status: + type: string + components: + type: object + properties: + application: + type: string + database: + type: string + examples: + HealthyResponse: + value: + status: healthy + components: + application: ok + database: ok + summary: Healthy Response + description: '' + '503': + content: + application/json: + schema: + type: object + properties: + status: + type: string + components: + type: object + properties: + application: + type: string + database: + type: string + examples: + UnhealthyResponse: + value: + status: unhealthy + components: + application: ok + database: connection failure + summary: Unhealthy Response + description: '' /v1/auth/login/: post: - operationId: auth_login_create - description: Login with either an authorization code or username and password (deprecated) to generate an API token that can be used with all other API endpoints. + operationId: v1_auth_login_create + description: Login with either an authorization code or username and password + (deprecated) to generate an API token that can be used with all other API + endpoints. tags: - - auth + - auth requestBody: content: application/x-www-form-urlencoded: @@ -32,7 +91,7 @@ paths: password: string summary: Username & Password (deprecated) security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -42,12 +101,13 @@ paths: description: '' /v1/auth/logout/: post: - operationId: auth_logout_create - description: Logout from the current session. Your API token will no longer be usable and must be regenerated via the login API. + operationId: v1_auth_logout_create + description: Logout from the current session. Your API token will no longer + be usable and must be regenerated via the login API. tags: - - auth + - auth security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -57,10 +117,10 @@ paths: description: '' /v1/auth/password-change/: post: - operationId: auth_password_change_create + operationId: v1_auth_password_change_create description: Change your current password tags: - - auth + - auth requestBody: content: application/x-www-form-urlencoded: @@ -74,7 +134,7 @@ paths: $ref: '#/components/schemas/PasswordChange' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] deprecated: true responses: '200': @@ -85,18 +145,20 @@ paths: description: '' /v1/auth/redirect/: get: - operationId: auth_redirect_retrieve + operationId: v1_auth_redirect_retrieve description: Get an HTTP redirect to begin an OAuth login flow. parameters: - - in: query - name: as_json - schema: - type: boolean - description: If "false" or unset, receive an HTTP 302 with the OAuth URL returned in the Location header. If "true", receive an HTTP 200 with the OAuth URL returned in the JSON payload. + - in: query + name: as_json + schema: + type: boolean + description: If "false" or unset, receive an HTTP 302 with the OAuth URL returned + in the Location header. If "true", receive an HTTP 200 with the OAuth URL + returned in the JSON payload. tags: - - auth + - auth security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -108,285 +170,355 @@ paths: description: No response body /v1/catalog/deployments/: get: - operationId: catalog_deployments_list + operationId: v1_catalog_deployments_list parameters: - - in: query - name: bastion_operating_system - schema: - type: string - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: cluster_gpus_model - schema: - type: array - items: - type: string - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: collection_branch - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: experience - schema: - type: string - format: uuid - - in: query - name: experience_branch - schema: - type: string - - in: query - name: expired - schema: - type: boolean - - in: query - name: expires_at - schema: - type: string - format: date - - in: query - name: expiring - schema: - type: string - description: Include deployments whose expires_at value is within the given range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". Start and end times must be in ISO format. - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: flightcontrol_release - schema: - type: string - - in: query - name: garage_id - schema: - type: string - - in: query - name: gc_branch - schema: - type: string - - in: query - name: gpu_alias - schema: - type: string - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_model - schema: - type: string - - in: query - name: gpu_os_name - schema: - type: string - - in: query - name: gpu_os_release - schema: - type: string - - in: query - name: gpu_os_version - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: node_count - schema: - type: integer - - in: query - name: oem_name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - in: query - name: org_name - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persist_on_failure - schema: - type: boolean - - in: query - name: persona - schema: - type: string - - in: query - name: pipeline - schema: - type: integer - - in: query - name: pipeline_branch - schema: + - in: query + name: bastion_operating_system + schema: + type: string + - in: query + name: cluster + schema: + type: string + format: uuid + - in: query + name: cluster_gpus_model + schema: + type: array + items: type: string - - in: query - name: platform - schema: - type: - - string - - 'null' - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - description: |- - Override the default platform selection + description: Multiple values may be separated by commas. + explode: false + style: form + - in: query + name: collection_branch + schema: + type: string + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "cluster").' + - in: query + name: experience + schema: + type: string + format: uuid + - in: query + name: experience_branch + schema: + type: string + - in: query + name: expired + schema: + type: boolean + - in: query + name: expires_at + schema: + type: string + format: date + - in: query + name: expiring + schema: + type: string + description: Include deployments whose expires_at value is within the given + range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". + Start and end times must be in ISO format. + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: flightcontrol_release + schema: + type: string + - in: query + name: garage_id + schema: + type: string + - in: query + name: gc_branch + schema: + type: string + - in: query + name: gpu_alias + schema: + type: string + - in: query + name: gpu_count + schema: + type: integer + - in: query + name: gpu_model + schema: + type: string + - in: query + name: gpu_os_name + schema: + type: string + - in: query + name: gpu_os_release + schema: + type: string + - in: query + name: gpu_os_version + schema: + type: string + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: node_count + schema: + type: integer + - in: query + name: oem_name + schema: + type: string + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - in: query + name: org_name + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: persist_on_failure + schema: + type: boolean + - in: query + name: persona + schema: + type: string + - in: query + name: pipeline + schema: + type: integer + - in: query + name: pipeline_branch + schema: + type: string + - in: query + name: platform + schema: + type: string + - in: query + name: priority + schema: + type: string + enum: + - p0 + - p1 + - p2 + - p3 + description: |- + Priority level for the request - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - - in: query - name: priority - schema: + * `p0` - p0 + * `p1` - p1 + * `p2` - p2 + * `p3` - p3 + - in: query + name: provider_name + schema: + type: string + - in: query + name: region + schema: + type: string + - in: query + name: request_id + schema: + type: string + - in: query + name: requester_email + schema: + type: string + - in: query + name: requester_name + schema: + type: string + - in: query + name: runtime_branch + schema: + type: string + - in: query + name: runtime_cns_addon_pack + schema: + type: boolean + - in: query + name: runtime_cns_docker + schema: + type: boolean + - in: query + name: runtime_cns_driver_version + schema: + type: string + - in: query + name: runtime_cns_k8s + schema: + type: boolean + - in: query + name: runtime_cns_nvidia_driver + schema: + type: boolean + - in: query + name: runtime_cns_version + schema: + type: string + - in: query + name: runtime_mig + schema: + type: boolean + - in: query + name: runtime_mig_profile + schema: + type: string + - in: query + name: sales_id + schema: + type: string + - in: query + name: sales_owner_email + schema: + type: string + - in: query + name: sales_owner_name + schema: + type: string + - name: search + required: false + in: query + description: Search for deployments by experience catalog_id, experience catalog_id_alias, + experience id, experience title, expires_at, id, org_name, provisioning_config + bastion_operating_system, provisioning_config collection_branch, provisioning_config + experience_branch, provisioning_config flightcontrol_release, provisioning_config + garage_id, provisioning_config gc_branch, provisioning_config gpu_alias, + provisioning_config gpu_model, provisioning_config gpu_os_name, provisioning_config + gpu_os_release, provisioning_config gpu_os_version, provisioning_config + oem_name, provisioning_config persona, provisioning_config pipeline_branch, + provisioning_config platform, provisioning_config provider_name, provisioning_config + region, provisioning_config runtime_branch, provisioning_config runtime_cns_driver_version, + provisioning_config runtime_cns_version, provisioning_config runtime_mig_profile, + provisioning_config runtime_url, provisioning_config workshop_id, provisioning_request + bastion_operating_system, provisioning_request collection_branch, provisioning_request + experience_branch, provisioning_request flightcontrol_release, provisioning_request + garage_id, provisioning_request gc_branch, provisioning_request gpu_alias, + provisioning_request gpu_model, provisioning_request gpu_os_name, provisioning_request + gpu_os_release, provisioning_request gpu_os_version, provisioning_request + oem_name, provisioning_request persona, provisioning_request pipeline_branch, + provisioning_request platform, provisioning_request provider_name, provisioning_request + region, provisioning_request runtime_branch, provisioning_request runtime_cns_driver_version, + provisioning_request runtime_cns_version, provisioning_request runtime_mig_profile, + provisioning_request runtime_url, provisioning_request workshop_id, request_id, + requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, + services url, state, tags + schema: + type: string + - in: query + name: state + schema: + type: array + items: type: string enum: - - p0 - - p1 - - p2 - - p3 - description: |- - Priority level for the request + - destroyed + - destroying + - error + - failed + - paused + - ready + - retrying + - starting + - stopped + - stopping + - waiting + description: |- + Multiple values may be separated by commas. - * `p0` - p0 - * `p1` - p1 - * `p2` - p2 - * `p3` - p3 - - in: query - name: provider_name - schema: - type: string - - in: query - name: region - schema: - type: string - - in: query - name: request_id - schema: - type: string - - in: query - name: requester_email - schema: - type: string - - in: query - name: requester_name - schema: - type: string - - in: query - name: sales_id - schema: - type: string - - in: query - name: sales_owner_email - schema: - type: string - - in: query - name: sales_owner_name - schema: - type: string - - name: search - required: false - in: query - description: Search for deployments by bastion_operating_system, collection_branch, experience_branch, experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, flightcontrol_release, garage_id, gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version, id, oem_name, org_name, persona, pipeline_branch, platform, provider_name, region, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags, workshop_id - schema: + * `destroyed` - Deployment has been fully destroyed + * `destroying` - Deployment is being destroyed + * `error` - Deployment has encountered a fatal error and will not be retried + * `failed` - Deployment has failed but may be retried + * `paused` - Deployment is paused but may be retried later + * `ready` - Deployment is ready and all instances are running + * `retrying` - Deployment is retrying + * `starting` - Deployment instances are starting + * `stopped` - Deployment instances are stopped + * `stopping` - Deployment instances are stopping + * `waiting` - Waiting for deployment to be ready + explode: false + style: form + - in: query + name: state_not + schema: + type: array + items: type: string - - in: query - name: state - schema: - type: array - items: - type: string - enum: - - destroyed - - destroying - - error - - failed - - paused - - ready - - retrying - - starting - - stopped - - stopping - - waiting - description: |- - Multiple values may be separated by commas. + enum: + - destroyed + - destroying + - error + - failed + - paused + - ready + - retrying + - starting + - stopped + - stopping + - waiting + description: |- + Multiple values may be separated by commas. - * `destroyed` - Deployment has been fully destroyed - * `destroying` - Deployment is being destroyed - * `error` - Deployment has encountered a fatal error and will not be retried - * `failed` - Deployment has failed but may be retried - * `paused` - Deployment is paused but may be retried later - * `ready` - Deployment is ready and all instances are running - * `retrying` - Deployment is retrying - * `starting` - Deployment instances are starting - * `stopped` - Deployment instances are stopped - * `stopping` - Deployment instances are stopping - * `waiting` - Waiting for deployment to be ready - explode: false - style: form - - in: query - name: workshop - schema: - type: boolean - - in: query - name: workshop_id - schema: - type: string + * `destroyed` - Deployment has been fully destroyed + * `destroying` - Deployment is being destroyed + * `error` - Deployment has encountered a fatal error and will not be retried + * `failed` - Deployment has failed but may be retried + * `paused` - Deployment is paused but may be retried later + * `ready` - Deployment is ready and all instances are running + * `retrying` - Deployment is retrying + * `starting` - Deployment instances are starting + * `stopped` - Deployment instances are stopped + * `stopping` - Deployment instances are stopping + * `waiting` - Waiting for deployment to be ready + explode: false + style: form + - in: query + name: workshop + schema: + type: boolean + - in: query + name: workshop_id + schema: + type: string tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -400,74 +532,85 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - bastion_operating_system: ubuntu_22_04 - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + - bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + created: '2024-04-01T06:14:32.602Z' + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + experience_branch: main + expires_at: 2025-11-07 14:20:24.717454+00:00 + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 + ip_allowlist: + - 192.0.2.1 + lifetime: 3 + min_gpu_count: 2 + modified: '2024-05-03T17:03:45.380Z' + node_count: 1 + oem_name: NVIDIA + org_name: NVIDIA + overrides: collection_branch: my-branch - created: '2024-04-01T06:14:32.602Z' - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 - flightcontrol_release: latest - garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd - gc_branch: main - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 4 - gpu_model: l40s - gpu_os_name: ubuntu - gpu_os_release: jammy - gpu_os_version: '22.04' - id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - ip_allowlist: - - 192.0.2.1 - lifetime: 3 - min_gpu_count: 2 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - oem_name: NVIDIA - org_name: NVIDIA - overrides: - collection_branch: my-branch - persist_on_failure: false - persona: developer - pipeline: 5443221 - pipeline_branch: main - pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 - platform: flight_deck - priority: p3 - provider_name: dmz - public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE - region: pdx - request_id: TRY-123 - requester_email: jane.doe@nvidia.com - requester_name: Jane Doe - retry_count: 0 - sales_created_date: '2025-04-10T15:08:47.381700Z' - sales_id: a6ZYx000001234 - sales_owner_email: john.smith@nvidia.com - sales_owner_name: John Smith - services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 - ssh_port: 2222 - ssh_user: nvidia - state: waiting - tags: - sample: test - workshop: false - workshop_id: January training - workshop_override_password: nvidia + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + pipelines: + - 4b9fab90-b441-4896-bb1f-c765fd846307 + platform: flight_deck + priority: p3 + provider_name: dmz + public_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBdptDTzJ2cOmdyryG1B7yb1YssiCQs6SWu4HlbZXGE + region: pdx + request_id: TRY-123 + requester_email: jane.doe@nvidia.com + requester_name: Jane Doe + retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + sales_created_date: '2025-04-10T15:08:47.381700Z' + sales_id: a6ZYx000001234 + sales_owner_email: john.smith@nvidia.com + sales_owner_name: John Smith + services: + - ae85193a-2927-4a6e-84dc-f954b9c03f73 + ssh_port: 2222 + ssh_user: nvidia + state: waiting + tags: + sample: test + workshop: false + workshop_id: January training + workshop_override_password: nvidia summary: Successful Response description: '' post: - operationId: catalog_deployments_create + operationId: v1_catalog_deployments_create parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "cluster").' tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -481,7 +624,7 @@ paths: cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b collection_branch: my-branch experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -492,7 +635,7 @@ paths: gpu_os_release: jammy gpu_os_version: '22.04' ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 node_count: 1 @@ -510,10 +653,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -527,7 +681,7 @@ paths: collection_branch: my-branch experience_branch: main experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -538,7 +692,7 @@ paths: gpu_os_release: jammy gpu_os_version: '22.04' ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 node_count: 1 @@ -556,10 +710,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -573,7 +738,7 @@ paths: cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b collection_branch: my-branch experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -584,7 +749,7 @@ paths: gpu_os_release: jammy gpu_os_version: '22.04' ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 node_count: 1 @@ -602,10 +767,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -620,6 +796,23 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe summary: Deployment Request (Minimum Required Fields) + DeploymentRequest(MinimumRequiredFieldsW/CatalogID): + value: + catalog_id: aBY3Z000000xBL4NCO + org_name: NVIDIA + request_id: TRY-123 + requester_email: jane.doe@nvidia.com + requester_name: Jane Doe + summary: Deployment Request (Minimum Required Fields w/ Catalog ID) + DeploymentRequest(MinimumRequiredFieldsW/CatalogIDAlias): + value: + catalog_id_alias: LP-15 + org_name: NVIDIA + request_id: TRY-123 + requester_email: jane.doe@nvidia.com + requester_name: Jane Doe + summary: Deployment Request (Minimum Required Fields w/ Catalog ID + Alias) application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Deployment' @@ -628,7 +821,7 @@ paths: $ref: '#/components/schemas/Deployment' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -644,7 +837,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -656,7 +849,7 @@ paths: gpu_os_version: '22.04' id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 modified: '2024-05-03T17:03:45.380Z' @@ -670,7 +863,7 @@ paths: pipeline: 5443221 pipeline_branch: main pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 + - 4b9fab90-b441-4896-bb1f-c765fd846307 platform: flight_deck priority: p3 provider_name: dmz @@ -680,12 +873,22 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 + - ae85193a-2927-4a6e-84dc-f954b9c03f73 ssh_port: 2222 ssh_user: nvidia state: waiting @@ -698,84 +901,85 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/instances/: get: - operationId: catalog_deployments_instances_list + operationId: v1_catalog_deployments_instances_list summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_id - schema: - type: string - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-instances by id, instance_id, name, state, tags - schema: - type: string - - in: query - name: state - schema: - type: string - enum: - - running - - starting - - stopped - - stopping - - unknown - description: |- - Current lifecycle state of this instance + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: instance_id + schema: + type: string + - in: query + name: name + schema: + type: string + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for deployment-instances by id, instance_id, name, state, + tags + schema: + type: string + - in: query + name: state + schema: + type: string + enum: + - running + - starting + - stopped + - stopping + - unknown + description: |- + Current lifecycle state of this instance - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown + * `running` - Instance is running + * `starting` - Instance is starting + * `stopped` - Instance is stopped + * `stopping` - Instance is stopping + * `unknown` - Instance state is currently unknown tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -789,83 +993,83 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu + - created: '2024-04-01T06:14:32.602Z' + id: 899d8680-454a-41f3-af99-9e0497ac955d + instance_id: instance-934ea164 + modified: '2024-05-03T17:03:45.380Z' + name: My GPU Cluster + state: running + state_modified: '2024-05-03T17:03:45.380Z' + tags: + - gpu summary: DeploymentInstance Response description: '' /v1/catalog/deployments/{deployment_id}/notes/: get: - operationId: catalog_deployments_notes_list + operationId: v1_catalog_deployments_notes_list parameters: - - in: query - name: created_by - schema: - type: integer - - in: query - name: deployment - schema: - type: string - format: uuid - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: modified_by - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-notes by content - schema: - type: string + - in: query + name: created_by + schema: + type: integer + - in: query + name: deployment + schema: + type: string + format: uuid + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: modified_by + schema: + type: integer + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for deployment-notes by content + schema: + type: string tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -879,25 +1083,25 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: bb3ade1b-dffa-46f2-bf1d-52dfc7b1c331 - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com + - content: Hello world + created: '2024-04-01T06:14:32.602Z' + created_by: john.smith@nvidia.com + id: bb3ade1b-dffa-46f2-bf1d-52dfc7b1c331 + modified: '2024-05-03T17:03:45.380Z' + modified_by: jane.doe@nvidia.com summary: DeploymentNote Response description: '' post: - operationId: catalog_deployments_notes_create + operationId: v1_catalog_deployments_notes_create parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -916,7 +1120,7 @@ paths: $ref: '#/components/schemas/DeploymentNote' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -936,34 +1140,34 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/notes/{id}/: get: - operationId: catalog_deployments_notes_retrieve + operationId: v1_catalog_deployments_notes_retrieve parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -982,22 +1186,22 @@ paths: summary: DeploymentNote Response description: '' put: - operationId: catalog_deployments_notes_update + operationId: v1_catalog_deployments_notes_update parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1016,7 +1220,7 @@ paths: $ref: '#/components/schemas/DeploymentNote' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1035,22 +1239,22 @@ paths: summary: DeploymentNote Response description: '' patch: - operationId: catalog_deployments_notes_partial_update + operationId: v1_catalog_deployments_notes_partial_update parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1069,7 +1273,7 @@ paths: $ref: '#/components/schemas/DeploymentNote' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1088,86 +1292,88 @@ paths: summary: DeploymentNote Response description: '' delete: - operationId: catalog_deployments_notes_destroy + operationId: v1_catalog_deployments_notes_destroy parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true - tags: - - catalog/deployments - security: - - TokenAuthentication: [] - responses: - '204': + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true + tags: + - catalog/deployments + security: + - TokenAuthentication: [] + responses: + '204': description: No response body /v1/catalog/deployments/{deployment_id}/pipelines/: get: - operationId: catalog_deployments_pipelines_list + operationId: v1_catalog_deployments_pipelines_list parameters: - - in: query - name: action - schema: - type: string - enum: - - apply - - destroy - description: |- - Action for the pipeline to run + - in: query + name: action + schema: + type: string + enum: + - apply + - destroy + - notify + description: |- + Action for the pipeline to run - * `apply` - apply - * `destroy` - destroy - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: pipeline_id - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-pipelines by action, id, pipeline_id, url - schema: - type: string + * `apply` - apply + * `destroy` - destroy + * `notify` - notify + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: query + name: id + schema: + type: string + format: uuid + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: pipeline_id + schema: + type: integer + - name: search + required: false + in: query + description: Search for deployment-pipelines by action, id, pipeline_id, url + schema: + type: string tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1181,26 +1387,26 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - action: apply - created: '2024-04-01T06:14:32.602Z' - deployment: 5330c898-f3e7-4972-bfd0-1d438e3774d7 - id: 4b9fab90-b441-4896-bb1f-c765fd846307 - modified: '2024-05-03T17:03:45.380Z' - pipeline_id: 5316124134 - url: https://gitlab.com/my-project/-/pipelines/5316124134 + - action: apply + created: '2024-04-01T06:14:32.602Z' + deployment: 5330c898-f3e7-4972-bfd0-1d438e3774d7 + id: 4b9fab90-b441-4896-bb1f-c765fd846307 + modified: '2024-05-03T17:03:45.380Z' + pipeline_id: 5316124134 + url: https://gitlab.com/my-project/-/pipelines/5316124134 summary: DeploymentPipeline Response description: '' post: - operationId: catalog_deployments_pipelines_create + operationId: v1_catalog_deployments_pipelines_create parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1221,7 +1427,7 @@ paths: $ref: '#/components/schemas/DeploymentPipeline' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -1242,51 +1448,51 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/services/: get: - operationId: catalog_deployments_services_list + operationId: v1_catalog_deployments_services_list parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-services by id, name, url - schema: - type: string + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: string + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for deployment-services by id, name, url + schema: + type: string tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1300,24 +1506,24 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - id: deb28859-d04e-4976-88d2-9488d9616bcf - modified: '2024-05-03T17:03:45.380Z' - name: root - url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com + - created: '2024-04-01T06:14:32.602Z' + id: deb28859-d04e-4976-88d2-9488d9616bcf + modified: '2024-05-03T17:03:45.380Z' + name: root + url: https://a169edac-202c-46b9-8c61-47191000aca6.nvidialaunchpad.com summary: DeploymentService Response description: '' post: - operationId: catalog_deployments_services_create + operationId: v1_catalog_deployments_services_create parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1337,7 +1543,7 @@ paths: $ref: '#/components/schemas/DeploymentService' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -1356,51 +1562,51 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/ssh-keys/: get: - operationId: catalog_deployments_ssh_keys_list + operationId: v1_catalog_deployments_ssh_keys_list parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-keys by name - schema: - type: string + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: string + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for deployment-keys by name + schema: + type: string tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1414,23 +1620,23 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - id: 597f6c78-6195-4bc7-9db2-f344f71e8b47 - modified: '2024-05-03T17:03:45.380Z' - name: My Key + - created: '2024-04-01T06:14:32.602Z' + id: 597f6c78-6195-4bc7-9db2-f344f71e8b47 + modified: '2024-05-03T17:03:45.380Z' + name: My Key summary: DeploymentKey Response description: '' post: - operationId: catalog_deployments_ssh_keys_create + operationId: v1_catalog_deployments_ssh_keys_create parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1450,7 +1656,7 @@ paths: $ref: '#/components/schemas/DeploymentKey' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -1468,101 +1674,101 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/: delete: - operationId: catalog_deployments_ssh_keys_destroy + operationId: v1_catalog_deployments_ssh_keys_destroy parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/catalog/deployments/{deployment_id}/tasks/: get: - operationId: catalog_deployments_tasks_list + operationId: v1_catalog_deployments_tasks_list summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: query - name: action - schema: - type: string - enum: - - start_instances - - stop_instances - description: |- - The action the task will perform + - in: query + name: action + schema: + type: string + enum: + - start_instances + - stop_instances + description: |- + The action the task will perform - * `start_instances` - Start all instances in the deployment - * `stop_instances` - Stop all instances in the deployment - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: query - name: id - schema: - type: string - format: uuid - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for deployment-tasks by action, id, status, status_text - schema: - type: string - - in: query - name: status - schema: - type: string - enum: - - completed - - failed - - pending - - processing - - retrying - description: |- - Current status of the task + * `start_instances` - Start all instances in the deployment + * `stop_instances` - Stop all instances in the deployment + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: query + name: id + schema: + type: string + format: uuid + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for deployment-tasks by action, id, status, status_text + schema: + type: string + - in: query + name: status + schema: + type: string + enum: + - completed + - failed + - pending + - processing + - retrying + description: |- + Current status of the task - * `completed` - completed - * `failed` - failed - * `pending` - pending - * `processing` - processing - * `retrying` - retrying + * `completed` - completed + * `failed` - failed + * `pending` - pending + * `processing` - processing + * `retrying` - retrying tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1576,27 +1782,27 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - action: start_instances - created: '2024-04-01T06:14:32.602Z' - id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 - modified: '2024-05-03T17:03:45.380Z' - retries: 0 - status: pending - status_text: '' + - action: start_instances + created: '2024-04-01T06:14:32.602Z' + id: 1001d637-f16a-4b42-b540-ef58fcfaaef8 + modified: '2024-05-03T17:03:45.380Z' + retries: 0 + status: pending + status_text: '' summary: DeploymentTask Response description: '' post: - operationId: catalog_deployments_tasks_create + operationId: v1_catalog_deployments_tasks_create summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1615,7 +1821,7 @@ paths: $ref: '#/components/schemas/DeploymentTask' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -1636,25 +1842,25 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/tasks/{id}/: get: - operationId: catalog_deployments_tasks_retrieve + operationId: v1_catalog_deployments_tasks_retrieve summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: path - name: deployment_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: deployment_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1675,39 +1881,42 @@ paths: description: '' /v1/catalog/deployments/{id}/: get: - operationId: catalog_deployments_retrieve + operationId: v1_catalog_deployments_retrieve parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: expiring - schema: - type: string - description: Include deployments whose expires_at value is within the given range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". Start and end times must be in ISO format. - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "cluster").' + - in: query + name: expiring + schema: + type: string + description: Include deployments whose expires_at value is within the given + range (inclusive), specified as "today", "tomorrow", or "{start}[,end]". + Start and end times must be in ISO format. + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this deployment. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1723,7 +1932,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -1735,7 +1944,7 @@ paths: gpu_os_version: '22.04' id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 modified: '2024-05-03T17:03:45.380Z' @@ -1749,7 +1958,7 @@ paths: pipeline: 5443221 pipeline_branch: main pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 + - 4b9fab90-b441-4896-bb1f-c765fd846307 platform: flight_deck priority: p3 provider_name: dmz @@ -1759,12 +1968,22 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 + - ae85193a-2927-4a6e-84dc-f954b9c03f73 ssh_port: 2222 ssh_user: nvidia state: waiting @@ -1776,17 +1995,17 @@ paths: summary: Successful Response description: '' put: - operationId: catalog_deployments_update + operationId: v1_catalog_deployments_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this deployment. + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1797,11 +2016,11 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-17 23:33:33.329062+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 org_name: NVIDIA persist_on_failure: false persona: developer @@ -1824,7 +2043,7 @@ paths: schema: $ref: '#/components/schemas/DeploymentUpdate' security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1840,7 +2059,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -1852,7 +2071,7 @@ paths: gpu_os_version: '22.04' id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 modified: '2024-05-03T17:03:45.380Z' @@ -1866,7 +2085,7 @@ paths: pipeline: 5443221 pipeline_branch: main pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 + - 4b9fab90-b441-4896-bb1f-c765fd846307 platform: flight_deck priority: p3 provider_name: dmz @@ -1876,12 +2095,22 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 + - ae85193a-2927-4a6e-84dc-f954b9c03f73 ssh_port: 2222 ssh_user: nvidia state: waiting @@ -1893,17 +2122,17 @@ paths: summary: Deployment Response description: '' patch: - operationId: catalog_deployments_partial_update + operationId: v1_catalog_deployments_partial_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this deployment. + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -1914,11 +2143,11 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-17 23:33:33.329062+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 org_name: NVIDIA persist_on_failure: false persona: developer @@ -1941,7 +2170,7 @@ paths: schema: $ref: '#/components/schemas/DeploymentUpdate' security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -1957,7 +2186,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -1969,7 +2198,7 @@ paths: gpu_os_version: '22.04' id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 modified: '2024-05-03T17:03:45.380Z' @@ -1983,7 +2212,7 @@ paths: pipeline: 5443221 pipeline_branch: main pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 + - 4b9fab90-b441-4896-bb1f-c765fd846307 platform: flight_deck priority: p3 provider_name: dmz @@ -1993,12 +2222,22 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 + - ae85193a-2927-4a6e-84dc-f954b9c03f73 ssh_port: 2222 ssh_user: nvidia state: waiting @@ -2010,19 +2249,19 @@ paths: summary: Deployment Response description: '' delete: - operationId: catalog_deployments_destroy + operationId: v1_catalog_deployments_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this deployment. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this deployment. + required: true tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2038,7 +2277,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-20 23:33:33.328914+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -2050,7 +2289,7 @@ paths: gpu_os_version: '22.04' id: 5330c898-f3e7-4972-bfd0-1d438e3774d7 ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 lifetime: 3 min_gpu_count: 2 modified: '2024-05-03T17:03:45.380Z' @@ -2064,7 +2303,7 @@ paths: pipeline: 5443221 pipeline_branch: main pipelines: - - 4b9fab90-b441-4896-bb1f-c765fd846307 + - 4b9fab90-b441-4896-bb1f-c765fd846307 platform: flight_deck priority: p3 provider_name: dmz @@ -2074,12 +2313,22 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith services: - - ae85193a-2927-4a6e-84dc-f954b9c03f73 + - ae85193a-2927-4a6e-84dc-f954b9c03f73 ssh_port: 2222 ssh_user: nvidia state: destroying @@ -2094,30 +2343,30 @@ paths: description: No response body /v1/catalog/deployments/{id}/history/: get: - operationId: catalog_deployments_history_list + operationId: v1_catalog_deployments_history_list parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2131,21 +2380,21 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com summary: Successful Response description: '' /v1/catalog/deployments/bulk/: patch: - operationId: catalog_deployments_bulk_partial_update + operationId: v1_catalog_deployments_bulk_partial_update tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -2156,14 +2405,14 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-17 23:33:33.329062+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ids: - - 5330c898-f3e7-4972-bfd0-1d438e3774d7 - - b29d13e5-5894-4614-af2a-ea3f9be93fc5 + - 5330c898-f3e7-4972-bfd0-1d438e3774d7 + - b29d13e5-5894-4614-af2a-ea3f9be93fc5 ip_allowlist: - - 192.0.2.1 + - 192.0.2.1 org_name: NVIDIA persist_on_failure: false persona: developer @@ -2187,7 +2436,7 @@ paths: $ref: '#/components/schemas/DeploymentBulkUpdate' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2203,271 +2452,275 @@ paths: description: '' /v1/catalog/deployments/stats/: get: - operationId: catalog_deployments_stats_retrieve + operationId: v1_catalog_deployments_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': description: No response body /v1/catalog/experiences/: get: - operationId: catalog_experiences_list + operationId: v1_catalog_experiences_list parameters: - - in: query - name: assignee - schema: - type: string - - in: query - name: autoapprove - schema: - type: boolean - - in: query - name: autoprovision - schema: - type: boolean - - in: query - name: bootstrap - schema: - type: boolean - - in: query - name: catalog_id - schema: - type: string - - in: query - name: catalog_id_alias - schema: + - in: query + name: assignee + schema: + type: string + - in: query + name: autoapprove + schema: + type: boolean + - in: query + name: autoprovision + schema: + type: boolean + - in: query + name: bootstrap + schema: + type: boolean + - in: query + name: catalog_id + schema: + type: string + - in: query + name: catalog_id_alias + schema: + type: string + - in: query + name: category + schema: + type: array + items: type: string - - in: query - name: category - schema: - type: array - items: - type: string - enum: - - 3D Design Collaboration and Simulation - - AI - - Clara - - Data Science - - Developer - - Infrastructure Optimization - description: |- - Multiple values may be separated by commas. + enum: + - 3D Design Collaboration and Simulation + - AI + - Clara + - Data Science + - Developer + - Infrastructure Optimization + description: |- + Multiple values may be separated by commas. - * `AI` - AI - * `Clara` - Clara - * `Data Science` - Data Science - * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation - * `Developer` - Developer - * `Infrastructure Optimization` - Infrastructure Optimization - explode: false - style: form - - in: query - name: collection_branch - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "required_gpus").' - - in: query - name: experience - schema: - type: string - - in: query - name: experience_branch - schema: - type: string - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - - in: query - name: gc_branch - schema: - type: string - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_os_name - schema: - type: string - - in: query - name: gpu_os_release - schema: - type: string - - in: query - name: gpu_os_version - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: node_count - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persona - schema: - type: string - - in: query - name: pipeline - schema: - type: integer - - in: query - name: platform - schema: + * `AI` - AI + * `Clara` - Clara + * `Data Science` - Data Science + * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation + * `Developer` - Developer + * `Infrastructure Optimization` - Infrastructure Optimization + explode: false + style: form + - in: query + name: collection_branch + schema: + type: string + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "required_gpus").' + - in: query + name: experience + schema: + type: string + - in: query + name: experience_branch + schema: + type: string + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: garage_id + schema: + type: string + - in: query + name: gc_branch + schema: + type: string + - in: query + name: gpu_count + schema: + type: integer + - in: query + name: gpu_os_name + schema: + type: string + - in: query + name: gpu_os_release + schema: + type: string + - in: query + name: gpu_os_version + schema: + type: string + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: node_count + schema: + type: integer + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: persona + schema: + type: string + - in: query + name: pipeline + schema: + type: integer + - in: query + name: platform + schema: + type: string + enum: + - air + - flight_deck + - kvm_bastion + - lp-vmware-platform + - minimal + - openshift + - vsphere + - vsphere7 + - vsphere8 + - vsphere_horizon + description: |- + Base platform that the experience will be provisioned onto + + * `air` - NVIDIA Air + * `flight_deck` - Flight Deck + * `kvm_bastion` - KVM Bastion + * `lp-vmware-platform` - lp-vmware-platform + * `minimal` - minimal + * `openshift` - OpenShift + * `vsphere` - vSphere + * `vsphere_horizon` - VMware Horizon + * `vsphere7` - vSphere 7 + * `vsphere8` - vSphere 8 + - in: query + name: provider + schema: + type: string + format: uuid + - in: query + name: published + schema: + type: array + items: type: string enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - description: |- - Base platform that the experience will be provisioned onto + - draft + - 'no' + - 'yes' + description: |- + Multiple values may be separated by commas. - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: published - schema: - type: array - items: - type: string - enum: - - draft - - 'no' - - 'yes' - description: |- - Multiple values may be separated by commas. - - * `draft` - draft - * `no` - no - * `yes` - yes - explode: false - style: form - - in: query - name: requires_gpu - schema: - type: string - description: Only include experiences that require a given GPU ID or model - - in: query - name: sa_lab - schema: - type: boolean - - name: search - required: false - in: query - description: Search for experiences by assignee, catalog_id, catalog_id_alias, category, collection_branch, description, experience, experience_branch, gc_branch, gpu_os_name, gpu_os_release, gpu_os_version, id, persona, pipeline, platform, provider name, required_gpus model, system_arch, title, vgpu_profile - schema: - type: string - - in: query - name: system_arch - schema: - type: string - enum: - - amd64 - - arm64 - description: |- - Required CPU architecture + * `draft` - draft + * `no` - no + * `yes` - yes + explode: false + style: form + - in: query + name: requires_gpu + schema: + type: string + description: Only include experiences that require a given GPU ID or model + - in: query + name: sa_lab + schema: + type: boolean + - name: search + required: false + in: query + description: Search for experiences by assignee, catalog_id, catalog_id_alias, + category, collection_branch, description, experience, experience_branch, + gc_branch, gpu_os_name, gpu_os_release, gpu_os_version, id, persona, pipeline, + platform, provider name, required_gpus model, system_arch, title, vgpu_profile + schema: + type: string + - in: query + name: system_arch + schema: + type: string + enum: + - amd64 + - arm64 + description: |- + Required CPU architecture - * `amd64` - amd64 - * `arm64` - arm64 - - in: query - name: vgpu_profile - schema: - type: - - string - - 'null' - enum: - - air - - bright-cluster - - bright_cluster - - flight-deck - - flight_deck - - nvidia-ai-enterprise - - nvidia_a40-48q - - nvidia_l40s-48q - - nvidia_rtx_pro_6000_blackwell_dc-4-96q - - nvidia_rtx_pro_6000_blackwell_dc-96q - - openshift - - platform_only - - vmware_itadmin - description: |- - vGPU profile name used by the experience + * `amd64` - amd64 + * `arm64` - arm64 + - in: query + name: vgpu_profile + schema: + type: + - string + - 'null' + enum: + - air + - bright-cluster + - bright_cluster + - flight-deck + - flight_deck + - nvidia-ai-enterprise + - nvidia_a40-48q + - nvidia_l40s-48q + - nvidia_rtx_pro_6000_blackwell_dc-4-96q + - nvidia_rtx_pro_6000_blackwell_dc-96q + - openshift + - platform_only + - vmware_itadmin + description: |- + vGPU profile name used by the experience - * `air` - NVIDIA Air - * `bright_cluster` - Bright Cluster - * `bright-cluster` - Bright Cluster (legacy option) - * `flight_deck` - Flight Deck - * `flight-deck` - Flight Deck (legacy option) - * `nvidia_a40-48q` - nvidia_a40-48q - * `nvidia-ai-enterprise` - NVIDIA AI Enterprise - * `nvidia_l40s-48q` - nvidia_l40s-48q - * `nvidia_rtx_pro_6000_blackwell_dc-4-96q` - nvidia_rtx_pro_6000_blackwell_dc-4-96q - * `nvidia_rtx_pro_6000_blackwell_dc-96q` - nvidia_rtx_pro_6000_blackwell_dc-96q - * `openshift` - OpenShift - * `platform_only` - platform_only - * `vmware_itadmin` - VMware IT admin + * `air` - NVIDIA Air + * `bright_cluster` - Bright Cluster + * `bright-cluster` - Bright Cluster (legacy option) + * `flight_deck` - Flight Deck + * `flight-deck` - Flight Deck (legacy option) + * `nvidia_a40-48q` - nvidia_a40-48q + * `nvidia-ai-enterprise` - NVIDIA AI Enterprise + * `nvidia_l40s-48q` - nvidia_l40s-48q + * `nvidia_rtx_pro_6000_blackwell_dc-4-96q` - nvidia_rtx_pro_6000_blackwell_dc-4-96q + * `nvidia_rtx_pro_6000_blackwell_dc-96q` - nvidia_rtx_pro_6000_blackwell_dc-96q + * `openshift` - OpenShift + * `platform_only` - platform_only + * `vmware_itadmin` - VMware IT admin tags: - - catalog/experiences + - catalog/experiences security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2481,47 +2734,48 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - assignee: janedoe - autoapprove: true - autoprovision: true - bootstrap: false - catalog_id: aBY3Z000000xBL4NCO - catalog_id_alias: LP-15 - category: Developer - collection_branch: main - created: '2024-04-01T06:14:32.602Z' - description: An NVIDIA LaunchPad Experience - experience: example-exp - experience_branch: origin/main - garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b - gc_branch: main - gpu_count: 1 - gpu_os: - name: ubuntu - release: jammy - version: '22.04' - id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - inactivity_max: 3 - lifetime: 3 - modified: '2024-05-03T17:03:45.380Z' - node_count: 1 - persona: developer - pipeline: 5443221 - platform: flight_deck - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - published: 'yes' - required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - sa_lab: false - system_arch: amd64 - title: My Experience - vgpu_profile: nvidia_a40-48q + - assignee: janedoe + autoapprove: true + autoprovision: true + bootstrap: false + catalog_id: aBY3Z000000xBL4NCO + catalog_id_alias: LP-15 + category: Developer + collection_branch: main + created: '2024-04-01T06:14:32.602Z' + description: An NVIDIA LaunchPad Experience + experience: example-exp + experience_branch: origin/main + garage_id: f97ab5af-266c-445f-a19a-9fbee6f7162b + gc_branch: main + gpu_count: 1 + gpu_os: + name: ubuntu + release: jammy + version: '22.04' + id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + inactivity_max: 3 + lifetime: 3 + modified: '2024-05-03T17:03:45.380Z' + node_count: 1 + persona: developer + pipeline: 5443221 + platform: flight_deck + provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 + published: 'yes' + required_gpus: + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + sa_lab: false + system_arch: amd64 + title: My Experience + vgpu_profile: nvidia_a40-48q summary: Experience Response description: '' post: - operationId: catalog_experiences_create + operationId: v1_catalog_experiences_create tags: - - catalog/experiences + - catalog/experiences requestBody: content: application/json: @@ -2557,7 +2811,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -2571,7 +2826,7 @@ paths: $ref: '#/components/schemas/Experience' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -2611,7 +2866,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -2620,70 +2876,70 @@ paths: description: '' /v1/catalog/experiences/{experience_id}/notes/: get: - operationId: catalog_experiences_notes_list + operationId: v1_catalog_experiences_notes_list parameters: - - in: query - name: created_by - schema: - type: integer - - in: query - name: experience - schema: - type: string - format: uuid - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: modified_by - schema: - type: integer - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for experience-notes by content - schema: - type: string + - in: query + name: created_by + schema: + type: integer + - in: query + name: experience + schema: + type: string + format: uuid + - in: path + name: experience_id + schema: + type: string + format: uuid + required: true + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: modified_by + schema: + type: integer + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for experience-notes by content + schema: + type: string tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2697,25 +2953,25 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - content: Hello world - created: '2024-04-01T06:14:32.602Z' - created_by: john.smith@nvidia.com - id: de618bfc-17b6-4acd-a089-fbff9c3a8c3e - modified: '2024-05-03T17:03:45.380Z' - modified_by: jane.doe@nvidia.com + - content: Hello world + created: '2024-04-01T06:14:32.602Z' + created_by: john.smith@nvidia.com + id: de618bfc-17b6-4acd-a089-fbff9c3a8c3e + modified: '2024-05-03T17:03:45.380Z' + modified_by: jane.doe@nvidia.com summary: ExperiencetNote Response description: '' post: - operationId: catalog_experiences_notes_create + operationId: v1_catalog_experiences_notes_create parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true + - in: path + name: experience_id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -2735,7 +2991,7 @@ paths: $ref: '#/components/schemas/ExperienceNote' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -2755,34 +3011,34 @@ paths: description: '' /v1/catalog/experiences/{experience_id}/notes/{id}/: get: - operationId: catalog_experiences_notes_retrieve + operationId: v1_catalog_experiences_notes_retrieve parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: path + name: experience_id + schema: + type: string + format: uuid + required: true + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2801,22 +3057,22 @@ paths: summary: ExperiencetNote Response description: '' put: - operationId: catalog_experiences_notes_update + operationId: v1_catalog_experiences_notes_update parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: experience_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -2836,7 +3092,7 @@ paths: $ref: '#/components/schemas/ExperienceNote' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2855,22 +3111,22 @@ paths: summary: ExperiencetNote Response description: '' patch: - operationId: catalog_experiences_notes_partial_update + operationId: v1_catalog_experiences_notes_partial_update parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: experience_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments requestBody: content: application/json: @@ -2890,7 +3146,7 @@ paths: $ref: '#/components/schemas/ExperienceNote' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2909,57 +3165,58 @@ paths: summary: ExperiencetNote Response description: '' delete: - operationId: catalog_experiences_notes_destroy + operationId: v1_catalog_experiences_notes_destroy parameters: - - in: path - name: experience_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: experience_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - catalog/deployments + - catalog/deployments security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/catalog/experiences/{id}/: get: - operationId: catalog_experiences_retrieve + operationId: v1_catalog_experiences_retrieve parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "required_gpus").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "required_gpus").' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this experience. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - catalog/experiences + - catalog/experiences security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -2999,7 +3256,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3007,17 +3265,17 @@ paths: summary: Experience Response description: '' put: - operationId: catalog_experiences_update + operationId: v1_catalog_experiences_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this experience. + required: true tags: - - catalog/experiences + - catalog/experiences requestBody: content: application/json: @@ -3053,7 +3311,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3067,7 +3326,7 @@ paths: $ref: '#/components/schemas/Experience' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -3107,7 +3366,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3115,17 +3375,17 @@ paths: summary: Experience Response description: '' patch: - operationId: catalog_experiences_partial_update + operationId: v1_catalog_experiences_partial_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this experience. + required: true tags: - - catalog/experiences + - catalog/experiences requestBody: content: application/json: @@ -3161,7 +3421,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3175,7 +3436,7 @@ paths: $ref: '#/components/schemas/Experience' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -3215,7 +3476,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3223,48 +3485,48 @@ paths: summary: Experience Response description: '' delete: - operationId: catalog_experiences_destroy + operationId: v1_catalog_experiences_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this experience. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this experience. + required: true tags: - - catalog/experiences + - catalog/experiences security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/catalog/experiences/{id}/history/: get: - operationId: catalog_experiences_history_list + operationId: v1_catalog_experiences_history_list parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - catalog/experiences + - catalog/experiences security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -3278,22 +3540,22 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com summary: Successful Response description: '' /v1/catalog/experiences/bulk/: post: - operationId: catalog_experiences_bulk_create + operationId: v1_catalog_experiences_bulk_create description: Create experiences in bulk via CSV file upload tags: - - catalog/experiences + - catalog/experiences requestBody: content: multipart/form-data: @@ -3305,9 +3567,9 @@ paths: format: binary writeOnly: true required: - - csv_file + - csv_file security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -3316,9 +3578,9 @@ paths: $ref: '#/components/schemas/ExperienceBulk' description: '' patch: - operationId: catalog_experiences_bulk_partial_update + operationId: v1_catalog_experiences_bulk_partial_update tags: - - catalog/experiences + - catalog/experiences requestBody: content: application/json: @@ -3344,8 +3606,8 @@ paths: release: jammy version: '22.04' ids: - - c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - - 3587f151-b02a-46c7-80a4-ac61db6633ed + - c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + - 3587f151-b02a-46c7-80a4-ac61db6633ed inactivity_max: 3 lifetime: 3 node_count: 1 @@ -3355,7 +3617,8 @@ paths: provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 published: 'yes' required_gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3363,7 +3626,7 @@ paths: summary: Experience Bulk Update Request required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -3379,57 +3642,57 @@ paths: description: '' /v1/catalog/experiences/stats/: get: - operationId: catalog_experiences_stats_retrieve + operationId: v1_catalog_experiences_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - - catalog/experiences + - catalog/experiences security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': description: No response body /v1/catalog/gpu-os-choices/: get: - operationId: catalog_gpu_os_choices_list + operationId: v1_catalog_gpu_os_choices_list parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for gpuoschoices by id, name, release, version - schema: - type: string + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for gpuoschoices by id, name, release, version + schema: + type: string tags: - - catalog/gpu-os-choices + - catalog/gpu-os-choices security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -3443,18 +3706,18 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - id: 22 - modified: '2024-05-03T17:03:45.380Z' - name: ubuntu - release: jammy - version: '22.04' + - created: '2024-04-01T06:14:32.602Z' + id: 22 + modified: '2024-05-03T17:03:45.380Z' + name: ubuntu + release: jammy + version: '22.04' summary: GPU OS Choice Response description: '' post: - operationId: catalog_gpu_os_choices_create + operationId: v1_catalog_gpu_os_choices_create tags: - - catalog/gpu-os-choices + - catalog/gpu-os-choices requestBody: content: application/json: @@ -3475,7 +3738,7 @@ paths: $ref: '#/components/schemas/GpuOsChoice' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -3495,24 +3758,33 @@ paths: description: '' /v1/catalog/instance-types/: get: - operationId: catalog_instance_types_list + operationId: v1_catalog_instance_types_list parameters: - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: query + name: delivery + schema: + type: string + enum: + - fast + - slow + description: Limit results to instance types that can meet the given delivery + timelines. + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - catalog/instance-types + - catalog/instance-types security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -3526,73 +3798,74 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - capacity: - us-tx-1: 10 - cloud: oci - cpu: 16 - gpu: - count: 1 - family: A100 - interconnection_type: SXM - manufacturer: NVIDIA - memory_gb: 80 - model: A100-80GB - memory_gb: 120 - price: - currency: USD - on_demand_per_hour: 2.5 - regions: - - us-tx-1 - storage: - - size_gb: 1024 - type: ssd - - size_gb: 2048 - type: ssd - system_arch: amd64 + - capacity: + us-tx-1: 10 + cloud: oci + cpu: 16 + gpu: + count: 1 + family: A100 + interconnection_type: SXM + manufacturer: NVIDIA + memory_gb: 80 + model: A100-80GB + memory_gb: 120 + price: + currency: USD + on_demand_per_hour: 2.5 + regions: + - us-tx-1 + storage: + - size_gb: 1024 + type: ssd + - size_gb: 2048 + type: ssd + system_arch: amd64 + workshop_id: January training summary: Instance Type Response description: '' /v1/catalog/persona-choices/: get: - operationId: catalog_persona_choices_list + operationId: v1_catalog_persona_choices_list parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for personachoices by id, name - schema: - type: string + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for personachoices by id, name + schema: + type: string tags: - - catalog/persona-choices + - catalog/persona-choices security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -3606,16 +3879,16 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - id: 15 - modified: '2024-05-03T17:03:45.380Z' - name: developer + - created: '2024-04-01T06:14:32.602Z' + id: 15 + modified: '2024-05-03T17:03:45.380Z' + name: developer summary: Persona Choice Response description: '' post: - operationId: catalog_persona_choices_create + operationId: v1_catalog_persona_choices_create tags: - - catalog/persona-choices + - catalog/persona-choices requestBody: content: application/json: @@ -3634,7 +3907,7 @@ paths: $ref: '#/components/schemas/PersonaChoice' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -3650,358 +3923,791 @@ paths: name: developer summary: Persona Choice Response description: '' - /v1/identity/profile/: + /v1/catalog/runtimes/: get: - operationId: identity_profile_retrieve + operationId: v1_catalog_runtimes_list + parameters: + - in: query + name: branch + schema: + type: string + - in: query + name: cns_addon_pack + schema: + type: boolean + - in: query + name: cns_docker + schema: + type: boolean + - in: query + name: cns_driver_version + schema: + type: string + - in: query + name: cns_k8s + schema: + type: boolean + - in: query + name: cns_nvidia_driver + schema: + type: boolean + - in: query + name: cns_version + schema: + type: string + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: mig + schema: + type: boolean + - in: query + name: mig_profile + schema: + type: string + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for runtimes by branch, cns_driver_version, cns_version, + mig_profile, id, name, url + schema: + type: string tags: - - identity/profile + - catalog/runtimes security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: application/json: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/PaginatedRuntimeList' examples: - ProfileResponse: + RuntimeResponse: value: - created: '2024-10-01T07:24:42.702Z' - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: '2024-11-03T18:04:55.480Z' - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - summary: Profile Response + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response description: '' - patch: - operationId: identity_profile_partial_update + post: + operationId: v1_catalog_runtimes_create tags: - - identity/profile + - catalog/runtimes requestBody: content: application/json: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' examples: - ProfileRequest: + RuntimeRequest: value: - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - summary: Profile Request + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Request application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' multipart/form-data: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: - '200': + '201': content: application/json: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' examples: - ProfileResponse: + RuntimeResponse: value: - created: '2024-10-01T07:24:42.702Z' - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: '2024-11-03T18:04:55.480Z' - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - summary: Profile Response + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response description: '' - /v1/inventory/clusters/: + /v1/catalog/runtimes/{id}/: get: - operationId: inventory_clusters_list + operationId: v1_catalog_runtimes_retrieve parameters: - - in: query - name: available - schema: - type: boolean - description: Is the cluster currently available for provisioning? - - in: query - name: bastion_name - schema: - type: string - - in: query - name: deployment - schema: - type: string - format: uuid - - in: query - name: enabled - schema: - type: boolean - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "nodes.location"). Separate multiple fields with a comma (ex: "gpus,nodes")' - - in: query - name: experience - schema: - type: string - format: uuid - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - description: Only include clusters whose nodes have the given garage ID - - in: query - name: gpu - schema: - type: array - items: - type: string - format: uuid - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: gpu_alias - schema: - type: string - description: Alias for GPU plan (i.e. installed GPU type and count) - - in: query - name: gpu_count - schema: - type: number - description: Only include clusters with a physical GPU count equal to this value - - in: query - name: gpu_model - schema: - type: string - description: Only include clusters with the given GPU model name - - in: query - name: has_deployment - schema: - type: boolean - - in: query - name: has_request_id - schema: - type: boolean - - in: query - name: has_workshop_id - schema: - type: boolean - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: location - schema: - type: string - format: uuid - - in: query - name: location_name - schema: - type: string - description: Only include clusters whose nodes are in the location with the given name - - in: query - name: location_region - schema: - type: string - description: Only include clusters whose nodes are in the location in the given region - - in: query - name: maintenance - schema: - type: boolean - - in: query - name: mgmt_ip - schema: - type: string - - in: query - name: mgmt_mac - schema: - type: string - - in: query - name: min_gpu_count - schema: - type: number - description: Only include clusters that have a gpu_count greater than or equal to this value - - in: query - name: min_node_count - schema: - type: number - description: Only include clusters that have a node_count greater than or equal to this value - - in: query - name: min_provisioning_attempts - schema: - type: integer - description: Only include clusters that have a provisioning_attempts value greater than or equal to this value - - in: query - name: min_tenant_count - schema: - type: number - description: Only include clusters whose number of tenant_ids is greater than or equal to this value - - in: query - name: netmask - schema: - type: integer - - in: query - name: node_count - schema: - type: number - description: Only include clusters with a node count equal to this value - - in: query - name: oem - schema: - type: string - format: uuid - description: Only include clusters with nodes that have the given OEM ID - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: persist - schema: - type: boolean - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: provider_capacity - schema: - type: boolean - - in: query - name: provider_name - schema: - type: string - description: Only include clusters whose nodes are from the provider with the given name - - in: query - name: provider_node_id - schema: + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this runtime. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + tags: + - catalog/runtimes + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeResponse: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response + description: '' + put: + operationId: v1_catalog_runtimes_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this runtime. + required: true + tags: + - catalog/runtimes + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeRequest: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Runtime' + multipart/form-data: + schema: + $ref: '#/components/schemas/Runtime' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeResponse: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response + description: '' + patch: + operationId: v1_catalog_runtimes_partial_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this runtime. + required: true + tags: + - catalog/runtimes + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeRequest: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Runtime' + multipart/form-data: + schema: + $ref: '#/components/schemas/Runtime' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeResponse: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response + description: '' + delete: + operationId: v1_catalog_runtimes_destroy + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this runtime. + required: true + tags: + - catalog/runtimes + security: + - TokenAuthentication: [] + responses: + '204': + description: No response body + /v1/catalog/runtimes/{id}/history/: + get: + operationId: v1_catalog_runtimes_history_list + parameters: + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + tags: + - catalog/runtimes + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedModelChangeList' + examples: + SuccessfulResponse: + value: + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com + summary: Successful Response + description: '' + /v1/identity/profile/: + get: + operationId: v1_identity_profile_retrieve + tags: + - identity/profile + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Profile' + examples: + ProfileResponse: + value: + created: '2024-10-01T07:24:42.702Z' + groups: + - Reporters + id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + modified: '2024-11-03T18:04:55.480Z' + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + username: jdoe@nvidia.com + summary: Profile Response + description: '' + patch: + operationId: v1_identity_profile_partial_update + tags: + - identity/profile + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Profile' + examples: + ProfileRequest: + value: + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + summary: Profile Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Profile' + multipart/form-data: + schema: + $ref: '#/components/schemas/Profile' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Profile' + examples: + ProfileResponse: + value: + created: '2024-10-01T07:24:42.702Z' + groups: + - Reporters + id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + modified: '2024-11-03T18:04:55.480Z' + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + username: jdoe@nvidia.com + summary: Profile Response + description: '' + /v1/inventory/clusters/: + get: + operationId: v1_inventory_clusters_list + parameters: + - in: query + name: available + schema: + type: boolean + description: Is the cluster currently available for provisioning? + - in: query + name: bastion_name + schema: + type: string + - in: query + name: deployment + schema: + type: string + format: uuid + - in: query + name: enabled + schema: + type: boolean + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID. Separate + nested relationships with a period (ex: "nodes.location"). Separate multiple + fields with a comma (ex: "gpus,nodes")' + - in: query + name: experience + schema: + type: string + format: uuid + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: garage_id + schema: + type: string + description: Only include clusters whose nodes have the given garage ID + - in: query + name: gpu + schema: + type: array + items: type: string format: uuid - - in: query - name: provision_user - schema: + description: Multiple values may be separated by commas. + explode: false + style: form + - in: query + name: gpu_alias + schema: + type: string + description: Alias for GPU plan (i.e. installed GPU type and count) + - in: query + name: gpu_count + schema: + type: number + description: Only include clusters with a physical GPU count equal to this + value + - in: query + name: gpu_model + schema: + type: string + description: Only include clusters with the given GPU model name + - in: query + name: has_deployment + schema: + type: boolean + - in: query + name: has_request_id + schema: + type: boolean + - in: query + name: has_workshop_id + schema: + type: boolean + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: location + schema: + type: string + format: uuid + - in: query + name: location_name + schema: + type: string + description: Only include clusters whose nodes are in the location with the + given name + - in: query + name: location_region + schema: + type: string + description: Only include clusters whose nodes are in the location in the + given region + - in: query + name: maintenance + schema: + type: boolean + - in: query + name: mgmt_ip + schema: + type: string + - in: query + name: mgmt_mac + schema: + type: string + - in: query + name: min_gpu_count + schema: + type: number + description: Only include clusters that have a gpu_count greater than or equal + to this value + - in: query + name: min_node_count + schema: + type: number + description: Only include clusters that have a node_count greater than or + equal to this value + - in: query + name: min_provisioning_attempts + schema: + type: integer + description: Only include clusters that have a provisioning_attempts value + greater than or equal to this value + - in: query + name: min_tenant_count + schema: + type: number + description: Only include clusters whose number of tenant_ids is greater than + or equal to this value + - in: query + name: netmask + schema: + type: integer + - in: query + name: node_count + schema: + type: number + description: Only include clusters with a node count equal to this value + - in: query + name: oem + schema: + type: string + format: uuid + description: Only include clusters with nodes that have the given OEM ID + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: persist + schema: + type: boolean + - in: query + name: provider + schema: + type: string + format: uuid + - in: query + name: provider_capacity + schema: + type: boolean + - in: query + name: provider_name + schema: + type: string + description: Only include clusters whose nodes are from the provider with + the given name + - in: query + name: provider_node_id + schema: + type: string + format: uuid + - in: query + name: provision_user + schema: + type: string + - in: query + name: provisioning_attempts + schema: + type: integer + - in: query + name: provisioning_state + schema: + type: array + items: type: string - - in: query - name: provisioning_attempts - schema: - type: integer - - in: query - name: provisioning_state - schema: - type: array - items: - type: string - enum: - - deployed - - deploying - - destroying - - pending - - ready - - reserved - - unprovisioned - description: |- - Multiple values may be separated by commas. + enum: + - deployed + - deploying + - destroying + - pending + - ready + - reserved + - unprovisioned + description: |- + Multiple values may be separated by commas. - * `deployed` - Cluster is in use by a deployment - * `deploying` - Provisioning is in progress - * `destroying` - Cluster is being destroyed - * `pending` - Provisioning will begin soon - * `ready` - Provisioning has completed and is ready for a deployment - * `reserved` - Cluster is unprovisioned but reserved for later use - * `unprovisioned` - Cluster has not yet been provisioned - explode: false - style: form - - in: query - name: public_address - schema: - type: string - - in: query - name: rack - schema: - type: string - description: Only include clusters whose nodes are in the given rack - - in: query - name: request_id - schema: - type: string - - in: query - name: reservation - schema: - type: boolean - - name: search - required: false - in: query - description: Search for clusters by bastion_name, experience id, gpu_alias, gpus model, id, mgmt_ip, mgmt_mac, netmask, nodes garage_id, nodes location name, nodes location provider name, nodes oem name, nodes provider_node_id, nodes rack, notes, provision_user, provisioning_state, public_address, request_id, tenant_ids, workshop_id - schema: - type: string - - in: query - name: system_arch - schema: - type: string - description: Only include clusters whose nodes have the given CPU architecture - - in: query - name: vlan_id - schema: - type: integer - - in: query - name: workshop - schema: - type: boolean - - in: query - name: workshop_id - schema: - type: string - - in: query - name: workshop_id_not - schema: - type: string + * `deployed` - Cluster is in use by a deployment + * `deploying` - Provisioning is in progress + * `destroying` - Cluster is being destroyed + * `pending` - Provisioning will begin soon + * `ready` - Provisioning has completed and is ready for a deployment + * `reserved` - Cluster is unprovisioned but reserved for later use + * `unprovisioned` - Cluster has not yet been provisioned + explode: false + style: form + - in: query + name: public_address + schema: + type: string + - in: query + name: rack + schema: + type: string + description: Only include clusters whose nodes are in the given rack + - in: query + name: request_id + schema: + type: string + - in: query + name: reservation + schema: + type: boolean + - name: search + required: false + in: query + description: Search for clusters by bastion_name, experience id, gpu_alias, + gpus model, id, mgmt_ip, mgmt_mac, netmask, nodes garage_id, nodes location + name, nodes location provider name, nodes oem name, nodes provider_node_id, + nodes rack, notes, provision_user, provisioning_state, public_address, request_id, + tenant_ids, workshop_id + schema: + type: string + - in: query + name: system_arch + schema: + type: string + description: Only include clusters whose nodes have the given CPU architecture + - in: query + name: vlan_id + schema: + type: integer + - in: query + name: workshop + schema: + type: boolean + - in: query + name: workshop_id + schema: + type: string + - in: query + name: workshop_id_not + schema: + type: string tags: - - inventory/clusters + - inventory/clusters security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -4015,47 +4721,323 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training + - available: true + bastion_name: jovial_bastion + created: '2024-04-01T06:14:32.602Z' + deployment: null + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + free_by: '2024-06-13T02:22:06.611Z' + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 2 + gpus: + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + id: 089324a5-708c-4386-9fdc-92dd9aa63d2b + last_used: '2024-05-03T15:04:44.410Z' + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + modified: '2024-05-03T17:03:45.380Z' + netmask: 24 + node_count: 1 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + persist: false + provider_capacity: true + provision_user: nvidia + provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + tenant_ids: + - faf0669c-eec2-47a4-a881-5c568be65597 + vlan_id: 1 + workshop: false + workshop_id: January training + summary: Cluster Response + description: '' + post: + operationId: v1_inventory_clusters_create + tags: + - inventory/clusters + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Cluster' + examples: + ClusterRequest: + value: + bastion_name: jovial_bastion + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + netmask: 24 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + persist: false + provision_user: nvidia + provisioning_attempts: 1 + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + vlan_id: 1 + workshop: false + workshop_id: January training + summary: Cluster Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Cluster' + multipart/form-data: + schema: + $ref: '#/components/schemas/Cluster' + security: + - TokenAuthentication: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Cluster' + examples: + ClusterResponse: + value: + available: true + bastion_name: jovial_bastion + created: '2024-04-01T06:14:32.602Z' + deployment: null + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + free_by: '2024-06-13T02:22:06.611Z' + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 2 + gpus: + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + id: 089324a5-708c-4386-9fdc-92dd9aa63d2b + last_used: '2024-05-03T15:04:44.410Z' + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + modified: '2024-05-03T17:03:45.380Z' + netmask: 24 + node_count: 1 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + persist: false + provider_capacity: true + provision_user: nvidia + provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + tenant_ids: + - faf0669c-eec2-47a4-a881-5c568be65597 + vlan_id: 1 + workshop: false + workshop_id: January training + summary: Cluster Response + description: '' + /v1/inventory/clusters/{cluster_id}/tenants/: + post: + operationId: v1_inventory_clusters_tenants_create + parameters: + - in: path + name: cluster_id + schema: + type: string + format: uuid + required: true + tags: + - inventory/clusters + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Tenant' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Tenant' + multipart/form-data: + schema: + $ref: '#/components/schemas/Tenant' + required: true + security: + - TokenAuthentication: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/Cluster' + examples: + ClusterResponse: + value: + available: true + bastion_name: jovial_bastion + created: '2024-04-01T06:14:32.602Z' + deployment: null + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + free_by: '2024-06-13T02:22:06.611Z' + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 2 + gpus: + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + id: 089324a5-708c-4386-9fdc-92dd9aa63d2b + last_used: '2024-05-03T15:04:44.410Z' + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + modified: '2024-05-03T17:03:45.380Z' + netmask: 24 + node_count: 1 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + persist: false + provider_capacity: true + provision_user: nvidia + provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + tenant_ids: + - faf0669c-eec2-47a4-a881-5c568be65597 + vlan_id: 1 + workshop: false + workshop_id: January training + summary: Cluster Response + description: '' + /v1/inventory/clusters/{cluster_id}/tenants/{id}/: + delete: + operationId: v1_inventory_clusters_tenants_destroy + parameters: + - in: path + name: cluster_id + schema: + type: string + format: uuid + required: true + - in: path + name: id + schema: + type: string + format: uuid + required: true + tags: + - inventory/clusters + security: + - TokenAuthentication: [] + responses: + '204': + description: No response body + /v1/inventory/clusters/{id}/: + get: + operationId: v1_inventory_clusters_retrieve + parameters: + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID. Separate + nested relationships with a period (ex: "nodes.location"). Separate multiple + fields with a comma (ex: "gpus,nodes")' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + tags: + - inventory/clusters + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Cluster' + examples: + ClusterResponse: + value: + available: true + bastion_name: jovial_bastion + created: '2024-04-01T06:14:32.602Z' + deployment: null + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + free_by: '2024-06-13T02:22:06.611Z' + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 2 + gpus: + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + id: 089324a5-708c-4386-9fdc-92dd9aa63d2b + last_used: '2024-05-03T15:04:44.410Z' + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + modified: '2024-05-03T17:03:45.380Z' + netmask: 24 + node_count: 1 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + persist: false + provider_capacity: true + provision_user: nvidia + provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + tenant_ids: + - faf0669c-eec2-47a4-a881-5c568be65597 + vlan_id: 1 + workshop: false + workshop_id: January training summary: Cluster Response description: '' - post: - operationId: inventory_clusters_create + put: + operationId: v1_inventory_clusters_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true tags: - - inventory/clusters + - inventory/clusters requestBody: content: application/json: @@ -4072,7 +5054,7 @@ paths: mgmt_mac: 00:53:FF:00:00:01 netmask: 24 nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 + - d66f5cc1-c861-4c79-8d36-d156e050cb07 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. persist: false provision_user: nvidia @@ -4092,9 +5074,9 @@ paths: schema: $ref: '#/components/schemas/Cluster' security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: - '201': + '200': content: application/json: schema: @@ -4112,7 +5094,7 @@ paths: gpu_alias: nvidia3.l40sx2.medium gpu_count: 2 gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc id: 089324a5-708c-4386-9fdc-92dd9aa63d2b last_used: '2024-05-03T15:04:44.410Z' maintenance: false @@ -4122,51 +5104,76 @@ paths: netmask: 24 node_count: 1 nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 + - d66f5cc1-c861-4c79-8d36-d156e050cb07 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. persist: false provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 reservation: false tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 + - faf0669c-eec2-47a4-a881-5c568be65597 vlan_id: 1 workshop: false workshop_id: January training summary: Cluster Response description: '' - /v1/inventory/clusters/{cluster_id}/tenants/: - post: - operationId: inventory_clusters_tenants_create + patch: + operationId: v1_inventory_clusters_partial_update parameters: - - in: path - name: cluster_id - schema: - type: string - format: uuid - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true tags: - - inventory/clusters + - inventory/clusters requestBody: content: application/json: schema: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Cluster' + examples: + ClusterRequest: + value: + bastion_name: jovial_bastion + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + netmask: 24 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + persist: false + provision_user: nvidia + provisioning_attempts: 1 + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + vlan_id: 1 + workshop: false + workshop_id: January training + summary: Cluster Request application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/Tenant' + $ref: '#/components/schemas/Cluster' multipart/form-data: schema: - $ref: '#/components/schemas/Tenant' - required: true + $ref: '#/components/schemas/Cluster' security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: - '201': + '200': content: application/json: schema: @@ -4184,7 +5191,7 @@ paths: gpu_alias: nvidia3.l40sx2.medium gpu_count: 2 gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc id: 089324a5-708c-4386-9fdc-92dd9aa63d2b last_used: '2024-05-03T15:04:44.410Z' maintenance: false @@ -4194,171 +5201,374 @@ paths: netmask: 24 node_count: 1 nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 + - d66f5cc1-c861-4c79-8d36-d156e050cb07 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. persist: false provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 reservation: false tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 + - faf0669c-eec2-47a4-a881-5c568be65597 vlan_id: 1 workshop: false workshop_id: January training summary: Cluster Response description: '' - /v1/inventory/clusters/{cluster_id}/tenants/{id}/: delete: - operationId: inventory_clusters_tenants_destroy + operationId: v1_inventory_clusters_destroy parameters: - - in: path - name: cluster_id - schema: - type: string - format: uuid - required: true - - in: path - name: id - schema: - type: string - format: uuid - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this cluster. + required: true tags: - - inventory/clusters + - inventory/clusters security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body - /v1/inventory/clusters/{id}/: + /v1/inventory/clusters/{id}/history/: get: - operationId: inventory_clusters_retrieve + operationId: v1_inventory_clusters_history_list parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "nodes.location"). Separate multiple fields with a comma (ex: "gpus,nodes")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - inventory/clusters + - inventory/clusters security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: application/json: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/PaginatedModelChangeList' examples: - ClusterResponse: + SuccessfulResponse: value: - available: true - bastion_name: jovial_bastion + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com + summary: Successful Response + description: '' + /v1/inventory/clusters/{id}/pipelines/trigger/: + post: + operationId: v1_inventory_clusters_pipelines_trigger_create + parameters: + - in: path + name: id + schema: + type: string + format: uuid + required: true + tags: + - inventory/clusters + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + examples: + ClusterPipelineTriggerRequest: + value: + action: apply + summary: ClusterPipelineTrigger Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + required: true + security: + - TokenAuthentication: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + examples: + ClusterPipelineTriggerResponse: + value: + action: apply created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' + id: 84d750af-fa43-4ff1-9198-39535584f83e + modified: '2024-05-03T17:03:45.380Z' + pipeline_id: 2101675388 + request_id: TRY-1234 + url: https://gitlab.com/my-project/-/pipelines/2101675388 + summary: ClusterPipelineTrigger Response + description: '' + /v1/inventory/clusters/{id}/provision/: + patch: + operationId: v1_inventory_clusters_provision_partial_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + required: true + tags: + - inventory/clusters + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + examples: + ProvisioningRequest(CatalogIDAlias): + value: + bastion_operating_system: ubuntu_22_04 + catalog_id_alias: LP-15 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID Alias) + ProvisioningRequest(ExperienceID): + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Experience ID) + ProvisioningRequest(CatalogID): + value: + bastion_operating_system: ubuntu_22_04 + catalog_id: aBY3Z000000xBL4NCO + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID) + ProvisioningRequest(MinimumRequiredFields): + value: + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogID): + value: + catalog_id: aBY3Z000000xBL4NCO + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogIDAlias): + value: + catalog_id_alias: LP-15 + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID Alias) + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + examples: + SuccessfulResponse: + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb workshop: false workshop_id: January training - summary: Cluster Response + workshop_override_password: nvidia + summary: Successful Response description: '' - put: - operationId: inventory_clusters_update + delete: + operationId: v1_inventory_clusters_provision_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "cluster,experience").' + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - - inventory/clusters - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Cluster' - examples: - ClusterRequest: - value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Request - application/x-www-form-urlencoded: - schema: - $ref: '#/components/schemas/Cluster' - multipart/form-data: - schema: - $ref: '#/components/schemas/Cluster' + - inventory/clusters security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -4378,7 +5588,7 @@ paths: gpu_alias: nvidia3.l40sx2.medium gpu_count: 2 gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc id: 089324a5-708c-4386-9fdc-92dd9aa63d2b last_used: '2024-05-03T15:04:44.410Z' maintenance: false @@ -4388,324 +5598,380 @@ paths: netmask: 24 node_count: 1 nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 + - d66f5cc1-c861-4c79-8d36-d156e050cb07 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. persist: false provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 reservation: false tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 + - faf0669c-eec2-47a4-a881-5c568be65597 vlan_id: 1 workshop: false workshop_id: January training summary: Cluster Response description: '' + /v1/inventory/clusters/bulk/: patch: - operationId: inventory_clusters_partial_update - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true + operationId: v1_inventory_clusters_bulk_partial_update tags: - - inventory/clusters + - inventory/clusters requestBody: content: application/json: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/ClusterBulkUpdate' examples: - ClusterRequest: + ClusterBulkUpdateRequest: value: bastion_name: jovial_bastion enabled: true experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + ids: + - 089324a5-708c-4386-9fdc-92dd9aa63d2b + - 3587f151-b02a-46c7-80a4-ac61db6633ed maintenance: false mgmt_ip: 172.16.0.11 mgmt_mac: 00:53:FF:00:00:01 netmask: 24 nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 + - d66f5cc1-c861-4c79-8d36-d156e050cb07 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. persist: false provision_user: nvidia provisioning_attempts: 1 provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 reservation: false vlan_id: 1 workshop: false workshop_id: January training - summary: Cluster Request + summary: Cluster Bulk Update Request application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/ClusterBulkUpdate' multipart/form-data: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/ClusterBulkUpdate' + required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: application/json: schema: - $ref: '#/components/schemas/Cluster' + $ref: '#/components/schemas/ClusterBulkUpdate' examples: - ClusterResponse: + ClusterBulkUpdateResponse: value: - available: true - bastion_name: jovial_bastion - created: '2024-04-01T06:14:32.602Z' - deployment: null - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - free_by: '2024-06-13T02:22:06.611Z' - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpus: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - id: 089324a5-708c-4386-9fdc-92dd9aa63d2b - last_used: '2024-05-03T15:04:44.410Z' - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - modified: '2024-05-03T17:03:45.380Z' - netmask: 24 - node_count: 1 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provider_capacity: true - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - public_address: 203.0.113.1 - request_id: TRY-1234 - reservation: false - tenant_ids: - - faf0669c-eec2-47a4-a881-5c568be65597 - vlan_id: 1 - workshop: false - workshop_id: January training - summary: Cluster Response + count: 2 + result: Records updated successfully + summary: Cluster Bulk Update Response description: '' - delete: - operationId: inventory_clusters_destroy - parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this cluster. - required: true - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '204': - description: No response body - /v1/inventory/clusters/{id}/history/: - get: - operationId: inventory_clusters_history_list + /v1/inventory/clusters/provision/: + post: + operationId: v1_inventory_clusters_provision_create parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - tags: - - inventory/clusters - security: - - TokenAuthentication: [] - responses: - '200': - content: - application/json: - schema: - $ref: '#/components/schemas/PaginatedModelChangeList' - examples: - SuccessfulResponse: - value: - count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/clusters/bulk/: - patch: - operationId: inventory_clusters_bulk_partial_update + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "cluster,experience").' tags: - - inventory/clusters + - inventory/clusters requestBody: content: application/json: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' examples: - ClusterBulkUpdateRequest: + ProvisioningRequest(CatalogIDAlias): value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - ids: - - 089324a5-708c-4386-9fdc-92dd9aa63d2b - - 3587f151-b02a-46c7-80a4-ac61db6633ed - maintenance: false - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - netmask: 24 - nodes: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - persist: false - provision_user: nvidia - provisioning_attempts: 1 - provisioning_state: pending - reservation: false - vlan_id: 1 + bastion_operating_system: ubuntu_22_04 + catalog_id_alias: LP-15 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID Alias) + ProvisioningRequest(ExperienceID): + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb workshop: false workshop_id: January training - summary: Cluster Bulk Update Request + workshop_override_password: nvidia + summary: Provisioning Request (Experience ID) + ProvisioningRequest(CatalogID): + value: + bastion_operating_system: ubuntu_22_04 + catalog_id: aBY3Z000000xBL4NCO + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID) + ProvisioningRequest(MinimumRequiredFields): + value: + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogID): + value: + catalog_id: aBY3Z000000xBL4NCO + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogIDAlias): + value: + catalog_id_alias: LP-15 + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog + ID Alias) application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: - '200': + '201': content: application/json: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' examples: - ClusterBulkUpdateResponse: + SuccessfulResponse: value: - count: 2 - result: Records updated successfully - summary: Cluster Bulk Update Response + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Successful Response description: '' /v1/inventory/clusters/stats/: get: - operationId: inventory_clusters_stats_retrieve + operationId: v1_inventory_clusters_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - - inventory/clusters + - inventory/clusters security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': description: No response body /v1/inventory/gpus/: get: - operationId: inventory_gpus_list + operationId: v1_inventory_gpus_list parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: form_factor - schema: - type: string - enum: - - pcie - - sxm - description: |- - GPU form factor + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: form_factor + schema: + type: string + enum: + - pcie + - sxm + description: |- + GPU form factor - * `pcie` - PCIe - * `sxm` - SXM - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: model - schema: - type: array - items: - type: string - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: priority - schema: - type: integer - - name: search - required: false - in: query - description: Search for gpus by form_factor, id, memory, model - schema: + * `pcie` - PCIe + * `sxm` - SXM + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: model + schema: + type: array + items: type: string + description: Multiple values may be separated by commas. + explode: false + style: form + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: priority + schema: + type: integer + - name: search + required: false + in: query + description: Search for gpus by form_factor, id, memory, model + schema: + type: string tags: - - inventory/gpus + - inventory/gpus security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -4719,20 +5985,20 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - form_factor: pcie - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - memory: 48 - model: l40s - modified: '2024-05-03T17:03:45.380Z' - node_count: 22 - priority: 60 + - created: '2024-04-01T06:14:32.602Z' + form_factor: pcie + id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + memory: 48 + model: l40s + modified: '2024-05-03T17:03:45.380Z' + node_count: 22 + priority: 60 summary: GPU Response description: '' post: - operationId: inventory_gpus_create + operationId: v1_inventory_gpus_create tags: - - inventory/gpus + - inventory/gpus requestBody: content: application/json: @@ -4754,7 +6020,7 @@ paths: $ref: '#/components/schemas/Gpu' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -4776,29 +6042,29 @@ paths: description: '' /v1/inventory/gpus/{id}/: get: - operationId: inventory_gpus_retrieve + operationId: v1_inventory_gpus_retrieve parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this gpu. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - inventory/gpus + - inventory/gpus security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -4819,17 +6085,17 @@ paths: summary: GPU Response description: '' put: - operationId: inventory_gpus_update + operationId: v1_inventory_gpus_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this gpu. + required: true tags: - - inventory/gpus + - inventory/gpus requestBody: content: application/json: @@ -4851,7 +6117,7 @@ paths: $ref: '#/components/schemas/Gpu' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -4872,17 +6138,17 @@ paths: summary: GPU Response description: '' patch: - operationId: inventory_gpus_partial_update + operationId: v1_inventory_gpus_partial_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this gpu. + required: true tags: - - inventory/gpus + - inventory/gpus requestBody: content: application/json: @@ -4904,7 +6170,7 @@ paths: $ref: '#/components/schemas/Gpu' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -4925,48 +6191,48 @@ paths: summary: GPU Response description: '' delete: - operationId: inventory_gpus_destroy + operationId: v1_inventory_gpus_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this gpu. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this gpu. + required: true tags: - - inventory/gpus + - inventory/gpus security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/inventory/gpus/{id}/history/: get: - operationId: inventory_gpus_history_list + operationId: v1_inventory_gpus_history_list parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - inventory/gpus + - inventory/gpus security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -4980,21 +6246,21 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com summary: Successful Response description: '' /v1/inventory/gpus/bulk/: patch: - operationId: inventory_gpus_bulk_partial_update + operationId: v1_inventory_gpus_bulk_partial_update tags: - - inventory/gpus + - inventory/gpus requestBody: content: application/json: @@ -5005,8 +6271,8 @@ paths: value: form_factor: pcie ids: - - c77f399a-8f69-4a07-b1f5-e35f8654cdfc - - d63c8b0d-acb9-4c87-b4f7-656ecea5b02a + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + - d63c8b0d-acb9-4c87-b4f7-656ecea5b02a memory: 48 priority: 60 summary: GPU Bulk Update Request @@ -5018,7 +6284,7 @@ paths: $ref: '#/components/schemas/GpuBulkUpdate' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5034,99 +6300,101 @@ paths: description: '' /v1/inventory/gpus/stats/: get: - operationId: inventory_gpus_stats_retrieve + operationId: v1_inventory_gpus_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - - inventory/gpus + - inventory/gpus security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': description: No response body /v1/inventory/instances/: get: - operationId: inventory_instances_list + operationId: v1_inventory_instances_list summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_id - schema: - type: string - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for instances by cluster, id, instance_id, name, state, tags - schema: - type: string - - in: query - name: state - schema: - type: string - enum: - - running - - starting - - stopped - - stopping - - unknown - description: |- - Current lifecycle state of this instance + - in: query + name: cluster + schema: + type: string + format: uuid + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "cluster").' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: instance_id + schema: + type: string + - in: query + name: name + schema: + type: string + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for instances by cluster, id, instance_id, name, state, + tags + schema: + type: string + - in: query + name: state + schema: + type: string + enum: + - running + - starting + - stopped + - stopping + - unknown + description: |- + Current lifecycle state of this instance - * `running` - Instance is running - * `starting` - Instance is starting - * `stopped` - Instance is stopped - * `stopping` - Instance is stopping - * `unknown` - Instance state is currently unknown + * `running` - Instance is running + * `starting` - Instance is starting + * `stopped` - Instance is stopped + * `stopping` - Instance is stopping + * `unknown` - Instance state is currently unknown tags: - - inventory/instances + - inventory/instances security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5140,23 +6408,23 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - created: '2024-04-01T06:14:32.602Z' - id: 899d8680-454a-41f3-af99-9e0497ac955d - instance_id: instance-934ea164 - modified: '2024-05-03T17:03:45.380Z' - name: My GPU Cluster - state: running - state_modified: '2024-05-03T17:03:45.380Z' - tags: - - gpu + - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + created: '2024-04-01T06:14:32.602Z' + id: 899d8680-454a-41f3-af99-9e0497ac955d + instance_id: instance-934ea164 + modified: '2024-05-03T17:03:45.380Z' + name: My GPU Cluster + state: running + state_modified: '2024-05-03T17:03:45.380Z' + tags: + - gpu summary: Instance Response description: '' post: - operationId: inventory_instances_create + operationId: v1_inventory_instances_create summary: "\U0001F6A7 [Beta Feature]" tags: - - inventory/instances + - inventory/instances requestBody: content: application/json: @@ -5170,7 +6438,7 @@ paths: name: My GPU Cluster state: running tags: - - gpu + - gpu summary: Instance Request application/x-www-form-urlencoded: schema: @@ -5180,7 +6448,7 @@ paths: $ref: '#/components/schemas/Instance' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -5199,40 +6467,41 @@ paths: state: running state_modified: '2024-05-03T17:03:45.380Z' tags: - - gpu + - gpu summary: Instance Response description: '' /v1/inventory/instances/{id}/: get: - operationId: inventory_instances_retrieve + operationId: v1_inventory_instances_retrieve summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "cluster").' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this instance. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - inventory/instances + - inventory/instances security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5251,22 +6520,22 @@ paths: state: running state_modified: '2024-05-03T17:03:45.380Z' tags: - - gpu + - gpu summary: Instance Response description: '' put: - operationId: inventory_instances_update + operationId: v1_inventory_instances_update summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this instance. + required: true tags: - - inventory/instances + - inventory/instances requestBody: content: application/json: @@ -5280,7 +6549,7 @@ paths: name: My GPU Cluster state: running tags: - - gpu + - gpu summary: Instance Request application/x-www-form-urlencoded: schema: @@ -5290,7 +6559,7 @@ paths: $ref: '#/components/schemas/Instance' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5309,22 +6578,22 @@ paths: state: running state_modified: '2024-05-03T17:03:45.380Z' tags: - - gpu + - gpu summary: Instance Response description: '' patch: - operationId: inventory_instances_partial_update + operationId: v1_inventory_instances_partial_update summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this instance. + required: true tags: - - inventory/instances + - inventory/instances requestBody: content: application/json: @@ -5338,7 +6607,7 @@ paths: name: My GPU Cluster state: running tags: - - gpu + - gpu summary: Instance Request application/x-www-form-urlencoded: schema: @@ -5348,7 +6617,7 @@ paths: $ref: '#/components/schemas/Instance' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5367,54 +6636,54 @@ paths: state: running state_modified: '2024-05-03T17:03:45.380Z' tags: - - gpu + - gpu summary: Instance Response description: '' delete: - operationId: inventory_instances_destroy + operationId: v1_inventory_instances_destroy summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this instance. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this instance. + required: true tags: - - inventory/instances + - inventory/instances security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/inventory/instances/{id}/history/: get: - operationId: inventory_instances_history_list + operationId: v1_inventory_instances_history_list summary: "\U0001F6A7 [Beta Feature]" parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - inventory/instances + - inventory/instances security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5428,22 +6697,22 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com summary: Successful Response description: '' /v1/inventory/instances/bulk/: patch: - operationId: inventory_instances_bulk_partial_update + operationId: v1_inventory_instances_bulk_partial_update summary: "\U0001F6A7 [Beta Feature]" tags: - - inventory/instances + - inventory/instances requestBody: content: application/json: @@ -5454,12 +6723,12 @@ paths: value: cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b ids: - - 899d8680-454a-41f3-af99-9e0497ac955d - - 3280c16f-0e3e-4897-b8ba-7f66d40281bf + - 899d8680-454a-41f3-af99-9e0497ac955d + - 3280c16f-0e3e-4897-b8ba-7f66d40281bf name: My GPU Cluster state: running tags: - - gpu + - gpu summary: Instance Bulk Update Request application/x-www-form-urlencoded: schema: @@ -5469,7 +6738,7 @@ paths: $ref: '#/components/schemas/InstanceBulkUpdate' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5485,69 +6754,70 @@ paths: description: '' /v1/inventory/locations/: get: - operationId: inventory_locations_list + operationId: v1_inventory_locations_list parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "provider").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: region - schema: - type: string - - name: search - required: false - in: query - description: Search for locations by id, name, provider name, region - schema: - type: string + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "provider").' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: string + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: provider + schema: + type: string + format: uuid + - in: query + name: region + schema: + type: string + - name: search + required: false + in: query + description: Search for locations by id, name, provider name, region + schema: + type: string tags: - - inventory/locations + - inventory/locations security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5561,18 +6831,18 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - id: c325baef-d37f-4aca-a933-e35d68c0ce2b - modified: '2024-05-03T17:03:45.380Z' - name: Raleigh - provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 - region: East + - created: '2024-04-01T06:14:32.602Z' + id: c325baef-d37f-4aca-a933-e35d68c0ce2b + modified: '2024-05-03T17:03:45.380Z' + name: Raleigh + provider: f8bd1b72-c213-43ec-82ad-a56a44757a11 + region: East summary: Location Response description: '' post: - operationId: inventory_locations_create + operationId: v1_inventory_locations_create tags: - - inventory/locations + - inventory/locations requestBody: content: application/json: @@ -5593,7 +6863,7 @@ paths: $ref: '#/components/schemas/Location' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -5613,34 +6883,35 @@ paths: description: '' /v1/inventory/locations/{id}/: get: - operationId: inventory_locations_retrieve + operationId: v1_inventory_locations_retrieve parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID (ex: "provider").' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: + "provider").' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this location. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - inventory/locations + - inventory/locations security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5659,17 +6930,17 @@ paths: summary: Location Response description: '' put: - operationId: inventory_locations_update + operationId: v1_inventory_locations_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this location. + required: true tags: - - inventory/locations + - inventory/locations requestBody: content: application/json: @@ -5690,7 +6961,7 @@ paths: $ref: '#/components/schemas/Location' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5709,17 +6980,17 @@ paths: summary: Location Response description: '' patch: - operationId: inventory_locations_partial_update + operationId: v1_inventory_locations_partial_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this location. + required: true tags: - - inventory/locations + - inventory/locations requestBody: content: application/json: @@ -5740,7 +7011,7 @@ paths: $ref: '#/components/schemas/Location' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5759,48 +7030,48 @@ paths: summary: Location Response description: '' delete: - operationId: inventory_locations_destroy + operationId: v1_inventory_locations_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this location. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this location. + required: true tags: - - inventory/locations + - inventory/locations security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/inventory/locations/{id}/history/: get: - operationId: inventory_locations_history_list + operationId: v1_inventory_locations_history_list parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - inventory/locations + - inventory/locations security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -5814,225 +7085,224 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com summary: Successful Response description: '' /v1/inventory/nodes/: get: - operationId: inventory_nodes_list + operationId: v1_inventory_nodes_list parameters: - - in: query - name: bmc_ip - schema: - type: string - - in: query - name: bmc_mac - schema: - type: string - - in: query - name: bmc_password - schema: - type: string - - in: query - name: bmc_user - schema: - type: string - - in: query - name: cluster - schema: - type: string - format: uuid - - in: query - name: cpu - schema: - type: integer - - in: query - name: cpu_manufacturer - schema: - type: - - string - - 'null' - enum: - - amd - - arm - - intel - description: |- - Manufacturer of the node's CPU + - in: query + name: bmc_ip + schema: + type: string + - in: query + name: bmc_mac + schema: + type: string + - in: query + name: cluster + schema: + type: string + format: uuid + - in: query + name: cpu + schema: + type: integer + - in: query + name: cpu_manufacturer + schema: + type: + - string + - 'null' + enum: + - amd + - arm + - intel + description: |- + Manufacturer of the node's CPU - * `amd` - AMD - * `arm` - ARM - * `intel` - Intel - - in: query - name: cpu_model - schema: - type: string - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "location.provider"). Separate multiple fields with a comma (ex: "location,oem")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: garage_id - schema: - type: string - - in: query - name: gpu - schema: - type: array - items: - type: string - format: uuid - description: Multiple values may be separated by commas. - explode: false - style: form - - in: query - name: gpu_alias - schema: - type: string - description: Alias for GPU plan (i.e. installed GPU type and count) - - in: query - name: gpu_count - schema: - type: integer - - in: query - name: gpu_model - schema: - type: string - description: Model of GPU(s) installed - - in: query - name: gpu_vbios - schema: - type: string - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: location - schema: + * `amd` - AMD + * `arm` - ARM + * `intel` - Intel + - in: query + name: cpu_model + schema: + type: string + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID. Separate + nested relationships with a period (ex: "location.provider"). Separate multiple + fields with a comma (ex: "location,oem")' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: garage_id + schema: + type: string + - in: query + name: gpu + schema: + type: array + items: type: string format: uuid - - in: query - name: memory - schema: - type: integer - - in: query - name: mgmt_ip - schema: - type: string - - in: query - name: mgmt_mac - schema: - type: string - - in: query - name: min_gpu_count - schema: - type: integer - description: Only include nodes that have a gpu_count greater than or equal to this value - - in: query - name: model - schema: - type: string - - in: query - name: network_type - schema: - type: string - enum: - - ethernet - - infiniband - description: |- - Type of networking technology used + description: Multiple values may be separated by commas. + explode: false + style: form + - in: query + name: gpu_alias + schema: + type: string + description: Alias for GPU plan (i.e. installed GPU type and count) + - in: query + name: gpu_count + schema: + type: integer + - in: query + name: gpu_model + schema: + type: string + description: Model of GPU(s) installed + - in: query + name: gpu_vbios + schema: + type: string + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: location + schema: + type: string + format: uuid + - in: query + name: memory + schema: + type: integer + - in: query + name: mgmt_ip + schema: + type: string + - in: query + name: mgmt_mac + schema: + type: string + - in: query + name: min_gpu_count + schema: + type: integer + description: Only include nodes that have a gpu_count greater than or equal + to this value + - in: query + name: model + schema: + type: string + - in: query + name: network_type + schema: + type: string + enum: + - ethernet + - infiniband + description: |- + Type of networking technology used - * `ethernet` - Ethernet - * `infiniband` - InfiniBand - - in: query - name: oem - schema: - type: string - format: uuid - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: provider - schema: - type: string - format: uuid - - in: query - name: provider_node_id - schema: - type: string - - in: query - name: rack - schema: - type: string - - in: query - name: rack_unit - schema: - type: integer - - name: search - required: false - in: query - description: Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch - schema: - type: string - - in: query - name: serial_number - schema: - type: string - - in: query - name: system_arch - schema: - type: string - enum: - - amd64 - - arm64 - description: |- - CPU architecture + * `ethernet` - Ethernet + * `infiniband` - InfiniBand + - in: query + name: oem + schema: + type: string + format: uuid + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: provider + schema: + type: string + format: uuid + - in: query + name: provider_node_id + schema: + type: string + - in: query + name: rack + schema: + type: string + - in: query + name: rack_unit + schema: + type: integer + - name: search + required: false + in: query + description: Search for nodes by bmc_ip, bmc_mac, cpu_manufacturer, cpu_model, + garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location + provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, + notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, + system_arch + schema: + type: string + - in: query + name: serial_number + schema: + type: string + - in: query + name: system_arch + schema: + type: string + enum: + - amd64 + - arm64 + description: |- + CPU architecture - * `amd64` - amd64 - * `arm64` - arm64 - - in: query - name: tee - schema: - type: boolean + * `amd64` - amd64 + * `arm64` - arm64 + - in: query + name: tee + schema: + type: boolean tags: - - inventory/nodes + - inventory/nodes security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6046,47 +7316,47 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - bmc_ip: 192.0.2.1 - bmc_mac: 00:53:00:00:00:01 - bmc_password: password - bmc_user: username - cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b - cpu: 1 - cpu_manufacturer: amd - cpu_model: EPYC 7571 - created: '2024-04-01T06:14:32.602Z' - gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - gpu_alias: nvidia3.l40sx2.medium - gpu_count: 2 - gpu_model: l40s - gpu_vbios: 92.00.81.00.01 - id: d66f5cc1-c861-4c79-8d36-d156e050cb07 - location: c325baef-d37f-4aca-a933-e35d68c0ce2b - memory: 256 - mgmt_ip: 172.16.0.11 - mgmt_mac: 00:53:FF:00:00:01 - model: DGX H100 - modified: '2024-05-03T17:03:45.380Z' - network_type: ethernet - nic_prefixes: - - enp43 - - enp44 - notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. - oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - rack: j01 - rack_unit: 8 - serial_number: S1234567890 - storage: - - size: 56000 - type: nvme - system_arch: amd64 - tee: false + - bmc_ip: 192.0.2.1 + bmc_mac: 00:53:00:00:00:01 + bmc_password: password + bmc_user: username + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + cpu: 1 + cpu_manufacturer: amd + cpu_model: EPYC 7571 + created: '2024-04-01T06:14:32.602Z' + gpu: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 2 + gpu_model: l40s + gpu_vbios: 92.00.81.00.01 + id: d66f5cc1-c861-4c79-8d36-d156e050cb07 + location: c325baef-d37f-4aca-a933-e35d68c0ce2b + memory: 256 + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + model: DGX H100 + modified: '2024-05-03T17:03:45.380Z' + network_type: ethernet + nic_prefixes: + - enp43 + - enp44 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e + rack: j01 + rack_unit: 8 + serial_number: S1234567890 + storage: + - size: 56000 + type: nvme + system_arch: amd64 + tee: false summary: Node Response description: '' post: - operationId: inventory_nodes_create + operationId: v1_inventory_nodes_create tags: - - inventory/nodes + - inventory/nodes requestBody: content: application/json: @@ -6113,16 +7383,16 @@ paths: model: DGX H100 network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Request @@ -6134,7 +7404,7 @@ paths: $ref: '#/components/schemas/Node' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -6167,50 +7437,52 @@ paths: modified: '2024-05-03T17:03:45.380Z' network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Response description: '' /v1/inventory/nodes/{id}/: get: - operationId: inventory_nodes_retrieve + operationId: v1_inventory_nodes_retrieve parameters: - - in: query - name: expand - schema: - type: string - description: 'Expand related field(s) instead of only showing a UUID. Separate nested relationships with a period (ex: "location.provider"). Separate multiple fields with a comma (ex: "location,oem")' - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID. Separate + nested relationships with a period (ex: "location.provider"). Separate multiple + fields with a comma (ex: "location,oem")' + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this node. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - inventory/nodes + - inventory/nodes security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6243,32 +7515,32 @@ paths: modified: '2024-05-03T17:03:45.380Z' network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Response description: '' put: - operationId: inventory_nodes_update + operationId: v1_inventory_nodes_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this node. + required: true tags: - - inventory/nodes + - inventory/nodes requestBody: content: application/json: @@ -6295,16 +7567,16 @@ paths: model: DGX H100 network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Request @@ -6316,7 +7588,7 @@ paths: $ref: '#/components/schemas/Node' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6349,32 +7621,32 @@ paths: modified: '2024-05-03T17:03:45.380Z' network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Response description: '' patch: - operationId: inventory_nodes_partial_update + operationId: v1_inventory_nodes_partial_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this node. + required: true tags: - - inventory/nodes + - inventory/nodes requestBody: content: application/json: @@ -6401,16 +7673,16 @@ paths: model: DGX H100 network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Request @@ -6422,7 +7694,7 @@ paths: $ref: '#/components/schemas/Node' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6455,63 +7727,63 @@ paths: modified: '2024-05-03T17:03:45.380Z' network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Response description: '' delete: - operationId: inventory_nodes_destroy + operationId: v1_inventory_nodes_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this node. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this node. + required: true tags: - - inventory/nodes + - inventory/nodes security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/inventory/nodes/{id}/history/: get: - operationId: inventory_nodes_history_list + operationId: v1_inventory_nodes_history_list parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - inventory/nodes + - inventory/nodes security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6525,22 +7797,22 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com summary: Successful Response description: '' /v1/inventory/nodes/bulk/: post: - operationId: inventory_nodes_bulk_create + operationId: v1_inventory_nodes_bulk_create description: Create nodes in bulk via CSV file upload tags: - - inventory/nodes + - inventory/nodes requestBody: content: multipart/form-data: @@ -6552,9 +7824,9 @@ paths: format: binary writeOnly: true required: - - csv_file + - csv_file security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -6563,9 +7835,9 @@ paths: $ref: '#/components/schemas/NodeBulk' description: '' patch: - operationId: inventory_nodes_bulk_partial_update + operationId: v1_inventory_nodes_bulk_partial_update tags: - - inventory/nodes + - inventory/nodes requestBody: content: application/json: @@ -6586,8 +7858,8 @@ paths: gpu_count: 2 gpu_vbios: 92.00.81.00.01 ids: - - d66f5cc1-c861-4c79-8d36-d156e050cb07 - - 6fcf07f8-d821-48cf-b20e-b6eb65db9387 + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + - 6fcf07f8-d821-48cf-b20e-b6eb65db9387 location: c325baef-d37f-4aca-a933-e35d68c0ce2b memory: 256 mgmt_ip: 172.16.0.11 @@ -6595,22 +7867,22 @@ paths: model: DGX H100 network_type: ethernet nic_prefixes: - - enp43 - - enp44 + - enp43 + - enp44 notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. oem: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e rack: j01 rack_unit: 8 serial_number: S1234567890 storage: - - size: 56000 - type: nvme + - size: 56000 + type: nvme system_arch: amd64 tee: false summary: Node Bulk Update Request required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6626,45 +7898,45 @@ paths: description: '' /v1/inventory/oems/: get: - operationId: inventory_oems_list + operationId: v1_inventory_oems_list parameters: - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: name - schema: - type: string - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - name: search - required: false - in: query - description: Search for oems by id, name - schema: - type: string + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: name + schema: + type: string + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for oems by id, name + schema: + type: string tags: - - inventory/oems + - inventory/oems security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6678,16 +7950,16 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e - modified: '2024-05-03T17:03:45.380Z' - name: My OEM + - created: '2024-04-01T06:14:32.602Z' + id: 45ca2da7-2582-4b7f-91c1-c6c5ccc84a7e + modified: '2024-05-03T17:03:45.380Z' + name: My OEM summary: OEM Response description: '' post: - operationId: inventory_oems_create + operationId: v1_inventory_oems_create tags: - - inventory/oems + - inventory/oems requestBody: content: application/json: @@ -6706,7 +7978,7 @@ paths: $ref: '#/components/schemas/OEM' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -6724,19 +7996,19 @@ paths: description: '' /v1/inventory/oems/{id}/: get: - operationId: inventory_oems_retrieve + operationId: v1_inventory_oems_retrieve parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this oem. + required: true tags: - - inventory/oems + - inventory/oems security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6753,17 +8025,17 @@ paths: summary: OEM Response description: '' put: - operationId: inventory_oems_update + operationId: v1_inventory_oems_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this oem. + required: true tags: - - inventory/oems + - inventory/oems requestBody: content: application/json: @@ -6782,7 +8054,7 @@ paths: $ref: '#/components/schemas/OEM' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6799,17 +8071,17 @@ paths: summary: OEM Response description: '' patch: - operationId: inventory_oems_partial_update + operationId: v1_inventory_oems_partial_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this oem. + required: true tags: - - inventory/oems + - inventory/oems requestBody: content: application/json: @@ -6828,7 +8100,7 @@ paths: $ref: '#/components/schemas/OEM' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6845,48 +8117,48 @@ paths: summary: OEM Response description: '' delete: - operationId: inventory_oems_destroy + operationId: v1_inventory_oems_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this oem. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this oem. + required: true tags: - - inventory/oems + - inventory/oems security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/inventory/oems/{id}/history/: get: - operationId: inventory_oems_history_list + operationId: v1_inventory_oems_history_list parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - inventory/oems + - inventory/oems security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6897,82 +8169,94 @@ paths: SuccessfulResponse: value: count: 123 - next: https://launchpad.api.nvidia.com/example/?page=4 - previous: https://launchpad.api.nvidia.com/example/?page=2 - results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com - summary: Successful Response - description: '' - /v1/inventory/providers/: - get: - operationId: inventory_providers_list - parameters: - - in: query - name: display_name - schema: - type: string - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: query - name: id - schema: - type: string - format: uuid - - in: query - name: instance_limit - schema: - type: integer - - in: query - name: name - schema: - type: string - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response - - name: ordering - required: false - in: query - description: Which field to use when ordering the results. - schema: - type: string - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer - - in: query - name: priority - schema: - type: integer - - name: search - required: false - in: query - description: Search for providers by display_name, id, name - schema: - type: string + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com + summary: Successful Response + description: '' + /v1/inventory/providers/: + get: + operationId: v1_inventory_providers_list + parameters: + - in: query + name: display_name + schema: + type: string + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: instance_limit + schema: + type: integer + - in: query + name: name + schema: + type: string + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - in: query + name: on_demand_speed + schema: + type: string + enum: + - fast + - slow + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - in: query + name: priority + schema: + type: integer + - name: search + required: false + in: query + description: Search for providers by display_name, id, name, on_demand_speed + schema: + type: string tags: - - inventory/providers + - inventory/providers security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -6986,19 +8270,20 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - created: '2024-04-01T06:14:32.602Z' - display_name: My Provider - id: f8bd1b72-c213-43ec-82ad-a56a44757a11 - instance_limit: 250 - modified: '2024-05-03T17:03:45.380Z' - name: my_provider - priority: 50 + - created: '2024-04-01T06:14:32.602Z' + display_name: My Provider + id: f8bd1b72-c213-43ec-82ad-a56a44757a11 + instance_limit: 250 + modified: '2024-05-03T17:03:45.380Z' + name: my_provider + on_demand_speed: slow + priority: 50 summary: Provider Response description: '' post: - operationId: inventory_providers_create + operationId: v1_inventory_providers_create tags: - - inventory/providers + - inventory/providers requestBody: content: application/json: @@ -7010,6 +8295,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Request application/x-www-form-urlencoded: @@ -7020,7 +8306,7 @@ paths: $ref: '#/components/schemas/Provider' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '201': content: @@ -7036,34 +8322,35 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' /v1/inventory/providers/{id}/: get: - operationId: inventory_providers_retrieve + operationId: v1_inventory_providers_retrieve parameters: - - in: query - name: fields - schema: - type: string - description: Include only the specified fields in the response - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true - - in: query - name: omit - schema: - type: string - description: Exclude the specified fields in the response + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response tags: - - inventory/providers + - inventory/providers security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -7079,21 +8366,22 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' put: - operationId: inventory_providers_update + operationId: v1_inventory_providers_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true tags: - - inventory/providers + - inventory/providers requestBody: content: application/json: @@ -7105,6 +8393,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Request application/x-www-form-urlencoded: @@ -7115,7 +8404,7 @@ paths: $ref: '#/components/schemas/Provider' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -7131,21 +8420,22 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' patch: - operationId: inventory_providers_partial_update + operationId: v1_inventory_providers_partial_update parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true tags: - - inventory/providers + - inventory/providers requestBody: content: application/json: @@ -7157,6 +8447,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Request application/x-www-form-urlencoded: @@ -7167,7 +8458,7 @@ paths: $ref: '#/components/schemas/Provider' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -7183,52 +8474,53 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' delete: - operationId: inventory_providers_destroy + operationId: v1_inventory_providers_destroy parameters: - - in: path - name: id - schema: - type: string - format: uuid - description: A UUID string identifying this provider. - required: true + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this provider. + required: true tags: - - inventory/providers + - inventory/providers security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '204': description: No response body /v1/inventory/providers/{id}/history/: get: - operationId: inventory_providers_history_list + operationId: v1_inventory_providers_history_list parameters: - - in: path - name: id - schema: - type: string - format: uuid - required: true - - name: page - required: false - in: query - description: A page number within the paginated result set. - schema: - type: integer - - name: page_size - required: false - in: query - description: Number of results to return per page. - schema: - type: integer + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer tags: - - inventory/providers + - inventory/providers security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -7242,21 +8534,21 @@ paths: next: https://launchpad.api.nvidia.com/example/?page=4 previous: https://launchpad.api.nvidia.com/example/?page=2 results: - - change_type: changed - changes: - - field: notes - new_value: Sample note - old_value: null - created: '2025-01-29T13:20:39.821Z' - id: 123 - username: jane.doe@nvidia.com + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com summary: Successful Response description: '' /v1/inventory/providers/bulk/: patch: - operationId: inventory_providers_bulk_partial_update + operationId: v1_inventory_providers_bulk_partial_update tags: - - inventory/providers + - inventory/providers requestBody: content: application/json: @@ -7267,9 +8559,10 @@ paths: value: display_name: My Provider ids: - - f8bd1b72-c213-43ec-82ad-a56a44757a11 - - 5b528083-ab61-42dd-a6a1-90aa9babb014 + - f8bd1b72-c213-43ec-82ad-a56a44757a11 + - 5b528083-ab61-42dd-a6a1-90aa9babb014 instance_limit: 250 + on_demand_speed: slow priority: 50 summary: Provider Bulk Update Request application/x-www-form-urlencoded: @@ -7280,7 +8573,7 @@ paths: $ref: '#/components/schemas/ProviderBulkUpdate' required: true security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': content: @@ -7296,15 +8589,38 @@ paths: description: '' /v1/inventory/providers/stats/: get: - operationId: inventory_providers_stats_retrieve + operationId: v1_inventory_providers_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - - inventory/providers + - inventory/providers security: - - TokenAuthentication: [] + - TokenAuthentication: [] responses: '200': description: No response body + /version/: + get: + operationId: version_retrieve + tags: + - version + security: + - TokenAuthentication: [] + - {} + responses: + '200': + content: + application/json: + schema: + type: object + properties: + application_version: + type: string + examples: + ExampleResponse: + value: + application_version: 1.0.0 + summary: Example Response + description: '' components: schemas: AuthLogin: @@ -7323,7 +8639,7 @@ components: type: string format: uri required: - - redirect + - redirect AuthToken: type: object properties: @@ -7334,21 +8650,19 @@ components: type: string readOnly: true required: - - token - - username + - token + - username BlankEnum: enum: - - '' - x-enum-varnames: - - Blank + - '' CategoryEnum: enum: - - AI - - Clara - - Data Science - - 3D Design Collaboration and Simulation - - Developer - - Infrastructure Optimization + - AI + - Clara + - Data Science + - 3D Design Collaboration and Simulation + - Developer + - Infrastructure Optimization type: string description: |- * `AI` - AI @@ -7357,13 +8671,6 @@ components: * `3D Design Collaboration and Simulation` - 3D Design Collaboration and Simulation * `Developer` - Developer * `Infrastructure Optimization` - Infrastructure Optimization - x-enum-varnames: - - CategoryAI - - CategoryClara - - CategoryDataScience - - Category3DDesignCollaborationAndSimulation - - CategoryDeveloper - - CategoryInfrastructureOptimization Cluster: type: object properties: @@ -7373,8 +8680,8 @@ components: description: Is the cluster currently available for provisioning? bastion_name: type: - - string - - 'null' + - string + - 'null' description: Name of the bastion assigned to the cluster maxLength: 32 created: @@ -7383,36 +8690,29 @@ components: readOnly: true description: Timestamp of when the object was created deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" + type: string + format: uuid + readOnly: true enabled: type: boolean description: Is the cluster administratively enabled? experience: type: - - string - - 'null' + - string + - 'null' format: uuid description: Experience provisioned onto this cluster free_by: type: - - string - - 'null' + - string + - 'null' format: date-time gpus: type: array items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - x-go-json-tag: "gpus,omitempty" + type: string + format: uuid + readOnly: true gpu_alias: type: string readOnly: true @@ -7427,17 +8727,13 @@ components: instances: type: array items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Instance" - x-go-json-tag: "instance,omitempty" - x-go-json-tag: "instances,omitempty" + type: string + format: uuid + readOnly: true last_used: type: - - string - - 'null' + - string + - 'null' format: date-time readOnly: true description: Timestamp of when the cluster was last in use @@ -7449,8 +8745,8 @@ components: description: Management IP address mgmt_mac: type: - - string - - 'null' + - string + - 'null' description: Management MAC address maxLength: 17 minLength: 17 @@ -7461,50 +8757,60 @@ components: description: Timestamp of when the object was last modified netmask: type: - - integer - - 'null' + - integer + - 'null' maximum: 32 minimum: 0 - description: The subnet mask of the cluster's public IP address in CIDR notation + description: The subnet mask of the cluster's public IP address in CIDR + notation node_count: type: integer readOnly: true nodes: type: array items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Node" - x-go-json-tag: "node,omitempty" - x-go-json-tag: "nodes,omitempty" + type: string + format: uuid notes: type: - - string - - 'null' + - string + - 'null' description: Administrative comments about the cluster persist: type: boolean - description: Is the cluster exempt from provisioning_state timeouts? Can be used to ensure the cluster persists after a provisioning failure. + description: Is the cluster exempt from provisioning_state timeouts? Can + be used to ensure the cluster persists after a provisioning failure. provider_capacity: type: boolean readOnly: true description: Does the provider have capacity to provision this cluster? provision_user: type: - - string - - 'null' + - string + - 'null' description: Username used for provisioning this cluster maxLength: 64 provisioning_attempts: type: integer maximum: 2147483647 minimum: 0 - description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. + description: The number of attempts that have been made to provision this + cluster. Automatically resets to 0 after successful provisioning. + provisioning_config: + type: + - string + - 'null' + format: uuid + description: Applied provisioning configuration for the cluster + provisioning_request: + type: + - string + - 'null' + format: uuid + description: Requested provisioning configuration for the cluster provisioning_state: allOf: - - $ref: '#/components/schemas/ProvisioningStateEnum' + - $ref: '#/components/schemas/ProvisioningStateEnum' description: |- Is the cluster currently provisioned? @@ -7517,15 +8823,16 @@ components: * `unprovisioned` - Cluster has not yet been provisioned public_address: type: - - string - - 'null' + - string + - 'null' description: Public IP address or fully-qualified domain name of this cluster maxLength: 255 request_id: type: - - string - - 'null' - description: 'The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234)' + - string + - 'null' + description: 'The request ID for the lab that is currently provisioned on + this cluster (ex: TRY-1234)' maxLength: 32 reservation: type: boolean @@ -7536,7 +8843,8 @@ components: type: string format: uuid readOnly: true - description: Tenant UUID(s) that have been generated for this cluster during provisioning + description: Tenant UUID(s) that have been generated for this cluster during + provisioning vlan_id: type: integer maximum: 4094 @@ -7547,21 +8855,24 @@ components: description: Is the cluster set aside for use in a workshop? workshop_id: type: - - string - - 'null' + - string + - 'null' description: Identifier of the workshop this cluster is set aside for maxLength: 64 required: - - available - - created - - deployment - - gpus - - id - - instances - - last_used - - modified - - provider_capacity - - tenant_ids + - available + - created + - deployment + - gpu_alias + - gpu_count + - gpus + - id + - instances + - last_used + - modified + - node_count + - provider_capacity + - tenant_ids ClusterBulkUpdate: type: object properties: @@ -7572,8 +8883,8 @@ components: description: Is the cluster currently available for provisioning? bastion_name: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Name of the bastion assigned to the cluster maxLength: 32 @@ -7584,39 +8895,34 @@ components: writeOnly: true description: Timestamp of when the object was created deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" + type: string + format: uuid + readOnly: true + writeOnly: true enabled: type: boolean writeOnly: true description: Is the cluster administratively enabled? experience: type: - - string - - 'null' + - string + - 'null' format: uuid writeOnly: true description: Experience provisioned onto this cluster free_by: type: - - string - - 'null' + - string + - 'null' format: date-time writeOnly: true gpus: type: array items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" - x-go-json-tag: "gpus,omitempty" + type: string + format: uuid + readOnly: true + writeOnly: true gpu_alias: type: string readOnly: true @@ -7634,17 +8940,14 @@ components: instances: type: array items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Instance" - x-go-json-tag: "instance,omitempty" - x-go-json-tag: "instances,omitempty" + type: string + format: uuid + readOnly: true + writeOnly: true last_used: type: - - string - - 'null' + - string + - 'null' format: date-time readOnly: true writeOnly: true @@ -7659,8 +8962,8 @@ components: description: Management IP address mgmt_mac: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Management MAC address maxLength: 17 @@ -7673,12 +8976,13 @@ components: description: Timestamp of when the object was last modified netmask: type: - - integer - - 'null' + - integer + - 'null' maximum: 32 minimum: 0 writeOnly: true - description: The subnet mask of the cluster's public IP address in CIDR notation + description: The subnet mask of the cluster's public IP address in CIDR + notation node_count: type: integer readOnly: true @@ -7686,23 +8990,20 @@ components: nodes: type: array items: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Node" - x-go-json-tag: "node,omitempty" - x-go-json-tag: "nodes,omitempty" + type: string + format: uuid + writeOnly: true notes: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Administrative comments about the cluster persist: type: boolean writeOnly: true - description: Is the cluster exempt from provisioning_state timeouts? Can be used to ensure the cluster persists after a provisioning failure. + description: Is the cluster exempt from provisioning_state timeouts? Can + be used to ensure the cluster persists after a provisioning failure. provider_capacity: type: boolean readOnly: true @@ -7710,8 +9011,8 @@ components: description: Does the provider have capacity to provision this cluster? provision_user: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Username used for provisioning this cluster maxLength: 64 @@ -7720,10 +9021,25 @@ components: maximum: 2147483647 minimum: 0 writeOnly: true - description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. + description: The number of attempts that have been made to provision this + cluster. Automatically resets to 0 after successful provisioning. + provisioning_config: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Applied provisioning configuration for the cluster + provisioning_request: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Requested provisioning configuration for the cluster provisioning_state: allOf: - - $ref: '#/components/schemas/ProvisioningStateEnum' + - $ref: '#/components/schemas/ProvisioningStateEnum' writeOnly: true description: |- Is the cluster currently provisioned? @@ -7737,19 +9053,20 @@ components: * `unprovisioned` - Cluster has not yet been provisioned public_address: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Public IP address or fully-qualified domain name of this cluster maxLength: 255 request_id: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true - description: 'The request ID for the lab that is currently provisioned on this cluster (ex: TRY-1234)' + description: 'The request ID for the lab that is currently provisioned on + this cluster (ex: TRY-1234)' maxLength: 32 reservation: type: boolean @@ -7762,7 +9079,8 @@ components: format: uuid readOnly: true writeOnly: true - description: Tenant UUID(s) that have been generated for this cluster during provisioning + description: Tenant UUID(s) that have been generated for this cluster during + provisioning vlan_id: type: integer maximum: 4094 @@ -7775,8 +9093,8 @@ components: description: Is the cluster set aside for use in a workshop? workshop_id: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Identifier of the workshop this cluster is set aside for maxLength: 64 @@ -7793,69 +9111,108 @@ components: type: string readOnly: true required: - - available - - count - - created - - deployment - - gpu_alias - - gpu_count - - gpus - - id - - ids - - instances - - last_used - - modified - - node_count - - provider_capacity - - public_address - - request_id - - result - - tenant_ids + - available + - count + - created + - deployment + - gpu_alias + - gpu_count + - gpus + - id + - ids + - instances + - last_used + - modified + - node_count + - provider_capacity + - public_address + - request_id + - result + - tenant_ids + ClusterPipelineTrigger: + type: object + properties: + action: + allOf: + - $ref: '#/components/schemas/PipelineAction' + description: |- + Action for the pipeline to run + + * `apply` - apply + * `destroy` - destroy + * `notify` - notify + created: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was created + id: + type: string + format: uuid + readOnly: true + modified: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was last modified + pipeline_id: + type: integer + readOnly: true + description: GitLab pipeline ID + request_id: + type: string + readOnly: true + description: Request ID that the pipeline was triggered for + url: + type: string + format: uri + readOnly: true + description: URL for the pipeline details + required: + - action + - created + - id + - modified + - pipeline_id + - request_id + - url CpuManufacturerEnum: enum: - - amd - - arm - - intel + - amd + - arm + - intel type: string description: |- * `amd` - AMD * `arm` - ARM * `intel` - Intel - x-enum-varnames: - - CpuManufacturerAMD - - CpuManufacturerARM - - CpuManufacturerIntel Deployment: type: object properties: bastion_operating_system: type: - - string - - 'null' - description: Override bastion operating system provisioned and/or configured by Liftoff + - string + - 'null' + description: Override bastion operating system provisioned and/or configured + by Liftoff maxLength: 32 catalog_id: type: string - description: Unique ID for this experience in the sales catalog. Must be unique. writeOnly: true + description: Catalog ID of the experience provisioned to the cluster catalog_id_alias: - type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' + type: string writeOnly: true + description: Catalog ID alias of the experience provisioned to the cluster cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" + type: string + format: uuid collection_branch: type: - - string - - 'null' - description: Override the Ansible collection branch initialized within the pipeline + - string + - 'null' + description: Override the Ansible collection branch initialized within the + pipeline maxLength: 255 created: type: string @@ -7863,70 +9220,84 @@ components: readOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use experience_branch: type: - - string - - 'null' + - string + - 'null' description: Override the experience branch maxLength: 255 experience_id: type: string format: uuid writeOnly: true + description: UUID of the experience provisioned to the cluster expires_at: type: - - string - - 'null' + - string + - 'null' format: date-time flightcontrol_release: type: - - string - - 'null' + - string + - 'null' description: Override the image tag used for Flight Control maxLength: 64 garage_id: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with nodes in the given garage maxLength: 128 gc_branch: type: - - string - - 'null' + - string + - 'null' description: Override the default Ground Control branch maxLength: 255 gpu_alias: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with the given GPU alias maxLength: 64 gpu_count: type: - - integer - - 'null' - maximum: 16 - minimum: 0 + - integer + - 'null' + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with the given GPU model maxLength: 32 gpu_os_name: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 gpu_os_release: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -7938,18 +9309,21 @@ components: description: Host IP addresses that should be allowed to access the deployment lifetime: type: - - integer - - 'null' + - integer + - 'null' maximum: 2147483647 minimum: 0 - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. + description: Set expires_at value to be a given number of days from the + current time. A value of 0 will cause a deployment to remain active indefinitely. min_gpu_count: type: - - integer - - 'null' - maximum: 16 + - integer + - 'null' + default: 0 + description: Require a cluster whose GPU count is greater than or equal + to the given number + maximum: 512 minimum: 0 - description: Require a cluster whose GPU count is greater than or equal to the given number modified: type: string format: date-time @@ -7957,43 +9331,52 @@ components: description: Timestamp of when the object was last modified node_count: type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 + - integer + - 'null' + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - - string - - 'null' + - string + - 'null' description: Require a cluster manufactured by the given OEM name maxLength: 64 org_name: type: string description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true description: Overriden values from the original deployment request persist_on_failure: type: - - boolean - - 'null' - description: Override the default cleanup/destroy behavior when a provisioning failure occurs + - boolean + - 'null' + default: false + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs persona: - type: string + type: + - string + - 'null' + description: Override the defined persona in the experience + maxLength: 32 pipeline: type: - - integer - - 'null' - maximum: 9223372036854775807 + - integer + - 'null' + default: 0 + description: Override the pipeline ID that will be triggered for request + fulfillment minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment pipeline_branch: type: - - string - - 'null' - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline + - string + - 'null' + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline maxLength: 255 pipelines: type: array @@ -8016,11 +9399,11 @@ components: * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' + - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/NullEnum' priority: allOf: - - $ref: '#/components/schemas/PriorityEnum' + - $ref: '#/components/schemas/PriorityEnum' description: |- Priority level for the request @@ -8030,20 +9413,22 @@ components: * `p3` - p3 provider_name: type: - - string - - 'null' + - string + - 'null' description: Require a cluster from the given provider name maxLength: 64 public_key: type: - - string - - 'null' + - string + - 'null' writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. + description: The initial or administrative public key used during deployment + creation. Additional keys can be authorized for access using the `ssh-keys` + endpoint. region: type: - - string - - 'null' + - string + - 'null' description: Require a cluster located in the given region maxLength: 64 request_id: @@ -8062,28 +9447,101 @@ components: type: integer readOnly: true description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this + experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - - string - - 'null' + - string + - 'null' format: date-time sales_id: type: - - string - - 'null' + - string + - 'null' description: Unique identifier for the requester's sales relationship maxLength: 32 sales_owner_email: type: - - string - - 'null' + - string + - 'null' format: email description: Email address of the sales contact associated with the requester maxLength: 254 sales_owner_name: type: - - string - - 'null' + - string + - 'null' description: Name of the sales contact associated with the requester maxLength: 255 services: @@ -8100,7 +9558,7 @@ components: readOnly: true state: allOf: - - $ref: '#/components/schemas/DeploymentState' + - $ref: '#/components/schemas/DeploymentState' readOnly: true description: |- Current state of the deployment @@ -8120,59 +9578,66 @@ components: description: User-defined tags as key/value pairs workshop: type: - - boolean - - 'null' + - boolean + - 'null' + default: false description: Require a cluster whose workshop flag is set workshop_id: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with the given workshop ID maxLength: 64 workshop_override_password: type: - - string - - 'null' - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + - string + - 'null' + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) maxLength: 64 required: - - created - - id - - modified - - org_name - - overrides - - pipelines - - requester_email - - requester_name - - retry_count - - services - - ssh_port - - ssh_user - - state + - created + - experience + - id + - modified + - org_name + - overrides + - pipelines + - requester_email + - requester_name + - retry_count + - services + - ssh_port + - ssh_user + - state DeploymentBulkUpdate: type: object properties: bastion_operating_system: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true - description: Override bastion operating system provisioned and/or configured by Liftoff + description: Override bastion operating system provisioned and/or configured + by Liftoff + maxLength: 32 cluster: type: - - string - - 'null' + - string + - 'null' format: uuid readOnly: true writeOnly: true description: The cluster where the experience has been deployed collection_branch: type: - - string - - 'null' + - string + - 'null' writeOnly: true - description: Override the Ansible collection branch initialized within the pipeline + description: Override the Ansible collection branch initialized within the + pipeline maxLength: 255 created: type: string @@ -8181,88 +9646,98 @@ components: writeOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + writeOnly: true + description: The experience being deployed for use experience_branch: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Override the experience branch maxLength: 255 expires_at: type: - - string - - 'null' + - string + - 'null' format: date-time writeOnly: true flightcontrol_release: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Override the image tag used for Flight Control maxLength: 64 garage_id: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Require a cluster with nodes in the given garage + maxLength: 128 gc_branch: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Override the default Ground Control branch maxLength: 255 gpu_alias: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Require a cluster with the given GPU alias + maxLength: 64 gpu_count: type: - - integer - - 'null' + - integer + - 'null' readOnly: true writeOnly: true + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Require a cluster with the given GPU model + maxLength: 32 gpu_os_name: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Override the GPU node operating system name + maxLength: 16 gpu_os_release: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -8276,18 +9751,23 @@ components: description: Host IP addresses that should be allowed to access the deployment lifetime: type: - - integer - - 'null' + - integer + - 'null' readOnly: true writeOnly: true - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. + description: Set expires_at value to be a given number of days from the + current time. A value of 0 will cause a deployment to remain active indefinitely. min_gpu_count: type: - - integer - - 'null' + - integer + - 'null' readOnly: true writeOnly: true - description: Require a cluster whose GPU count is greater than or equal to the given number + default: 0 + description: Require a cluster whose GPU count is greater than or equal + to the given number + maximum: 512 + minimum: 0 modified: type: string format: date-time @@ -8296,54 +9776,62 @@ components: description: Timestamp of when the object was last modified node_count: type: - - integer - - 'null' + - integer + - 'null' readOnly: true writeOnly: true + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Require a cluster manufactured by the given OEM name + maxLength: 64 org_name: type: string writeOnly: true description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true writeOnly: true description: Overriden values from the original deployment request persist_on_failure: type: - - boolean - - 'null' + - boolean + - 'null' writeOnly: true - description: Override the default cleanup/destroy behavior when a provisioning failure occurs + default: false + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs persona: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Override the defined persona in the experience maxLength: 32 pipeline: type: - - integer - - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 + - integer + - 'null' writeOnly: true - description: Override the pipeline ID that will be triggered for request fulfillment + default: 0 + description: Override the pipeline ID that will be triggered for request + fulfillment + minimum: 0 pipeline_branch: type: - - string - - 'null' + - string + - 'null' writeOnly: true - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline maxLength: 255 pipelines: type: array @@ -8368,11 +9856,11 @@ components: * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' + - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/NullEnum' priority: allOf: - - $ref: '#/components/schemas/PriorityEnum' + - $ref: '#/components/schemas/PriorityEnum' readOnly: true writeOnly: true description: |- @@ -8384,25 +9872,29 @@ components: * `p3` - p3 provider_name: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Require a cluster from the given provider name + maxLength: 64 public_key: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. + description: The initial or administrative public key used during deployment + creation. Additional keys can be authorized for access using the `ssh-keys` + endpoint. region: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Require a cluster located in the given region + maxLength: 64 request_id: type: string readOnly: true @@ -8422,33 +9914,106 @@ components: minimum: 0 writeOnly: true description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this + experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - - string - - 'null' + - string + - 'null' format: date-time readOnly: true writeOnly: true description: Timestamp when the requester's sales relationship was created sales_id: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Unique identifier for the requester's sales relationship sales_owner_email: type: - - string - - 'null' + - string + - 'null' format: email writeOnly: true description: Email address of the sales contact associated with the requester maxLength: 254 sales_owner_name: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Name of the sales contact associated with the requester maxLength: 255 @@ -8461,7 +10026,7 @@ components: writeOnly: true state: allOf: - - $ref: '#/components/schemas/DeploymentState' + - $ref: '#/components/schemas/DeploymentState' writeOnly: true description: |- Current state of the deployment @@ -8482,25 +10047,30 @@ components: description: User-defined tags as key/value pairs workshop: type: - - boolean - - 'null' + - boolean + - 'null' readOnly: true writeOnly: true + default: false description: Require a cluster whose workshop flag is set workshop_id: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Require a cluster with the given workshop ID + maxLength: 64 workshop_override_password: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 count: type: integer readOnly: true @@ -8514,39 +10084,39 @@ components: type: string readOnly: true required: - - bastion_operating_system - - cluster - - count - - created - - experience - - garage_id - - gpu_alias - - gpu_count - - gpu_model - - gpu_os_name - - gpu_os_release - - gpu_os_version - - id - - ids - - lifetime - - min_gpu_count - - modified - - node_count - - oem_name - - overrides - - pipelines - - priority - - provider_name - - public_key - - region - - request_id - - result - - sales_created_date - - sales_id - - services - - workshop - - workshop_id - - workshop_override_password + - bastion_operating_system + - cluster + - count + - created + - experience + - garage_id + - gpu_alias + - gpu_count + - gpu_model + - gpu_os_name + - gpu_os_release + - gpu_os_version + - id + - ids + - lifetime + - min_gpu_count + - modified + - node_count + - oem_name + - overrides + - pipelines + - priority + - provider_name + - public_key + - region + - request_id + - result + - sales_created_date + - sales_id + - services + - workshop + - workshop_id + - workshop_override_password DeploymentInstance: type: object properties: @@ -8565,8 +10135,8 @@ components: description: Unique ID for this instance assigned by its provider name: type: - - string - - 'null' + - string + - 'null' readOnly: true description: User-friendly name of this instance modified: @@ -8576,7 +10146,7 @@ components: description: Timestamp of when the object was last modified state: allOf: - - $ref: '#/components/schemas/InstanceState' + - $ref: '#/components/schemas/InstanceState' readOnly: true description: |- Current lifecycle state of this instance @@ -8598,14 +10168,14 @@ components: readOnly: true description: Tags associated with this instance required: - - created - - id - - instance_id - - modified - - name - - state - - state_modified - - tags + - created + - id + - instance_id + - modified + - name + - state + - state_modified + - tags DeploymentKey: type: object properties: @@ -8615,12 +10185,10 @@ components: readOnly: true description: Timestamp of when the object was created deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" + type: string + format: uuid + writeOnly: true + description: The deployment this key is authorized to access id: type: string format: uuid @@ -8639,12 +10207,12 @@ components: writeOnly: true description: An SSH public key that should be authorized to access the deployment required: - - created - - deployment - - id - - modified - - name - - public_key + - created + - deployment + - id + - modified + - name + - public_key DeploymentNote: type: object properties: @@ -8660,12 +10228,9 @@ components: type: string readOnly: true deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" + type: string + format: uuid + description: The deployment this note is applied to id: type: string format: uuid @@ -8679,35 +10244,34 @@ components: type: string readOnly: true required: - - created - - created_by - - deployment - - id - - modified - - modified_by + - created + - created_by + - deployment + - id + - modified + - modified_by DeploymentPipeline: type: object properties: action: allOf: - - $ref: '#/components/schemas/DeploymentPipelineActionEnum' + - $ref: '#/components/schemas/PipelineAction' description: |- Action for the pipeline to run * `apply` - apply * `destroy` - destroy + * `notify` - notify created: type: string format: date-time readOnly: true description: Timestamp of when the object was created deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" + type: string + format: uuid + writeOnly: true + description: The deployment that triggered the pipeline id: type: string format: uuid @@ -8729,24 +10293,13 @@ components: description: URL for the pipeline details maxLength: 200 required: - - action - - created - - deployment - - id - - modified - - pipeline_id - - url - DeploymentPipelineActionEnum: - enum: - - apply - - destroy - type: string - description: |- - * `apply` - apply - * `destroy` - destroy - x-enum-varnames: - - DeploymentPipelineActionApply - - DeploymentPipelineActionDestroy + - action + - created + - deployment + - id + - modified + - pipeline_id + - url DeploymentService: type: object properties: @@ -8756,12 +10309,10 @@ components: readOnly: true description: Timestamp of when the object was created deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" + type: string + format: uuid + writeOnly: true + description: The deployment that exposes the service id: type: string format: uuid @@ -8781,25 +10332,25 @@ components: description: URL used to reach the service maxLength: 200 required: - - created - - deployment - - id - - modified - - name - - url + - created + - deployment + - id + - modified + - name + - url DeploymentState: enum: - - destroyed - - destroying - - error - - failed - - paused - - ready - - retrying - - starting - - stopped - - stopping - - waiting + - destroyed + - destroying + - error + - failed + - paused + - ready + - retrying + - starting + - stopped + - stopping + - waiting type: string description: |- * `destroyed` - Deployment has been fully destroyed @@ -8813,24 +10364,12 @@ components: * `stopped` - Deployment instances are stopped * `stopping` - Deployment instances are stopping * `waiting` - Waiting for deployment to be ready - x-enum-varnames: - - DeploymentStateDestroyed - - DeploymentStateDestroying - - DeploymentStateError - - DeploymentStateFailed - - DeploymentStatePaused - - DeploymentStateReady - - DeploymentStateRetrying - - DeploymentStateStarting - - DeploymentStateStopped - - DeploymentStateStopping - - DeploymentStateWaiting DeploymentTask: type: object properties: action: allOf: - - $ref: '#/components/schemas/DeploymentTaskActionEnum' + - $ref: '#/components/schemas/DeploymentTaskActionEnum' description: |- The action the task will perform @@ -8842,12 +10381,10 @@ components: readOnly: true description: Timestamp of when the object was created deployment: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Deployment" - x-go-json-tag: "deployment,omitempty" + type: string + format: uuid + writeOnly: true + description: The deployment where the task is being executed id: type: string format: uuid @@ -8863,7 +10400,7 @@ components: description: Number of times the task has been retried status: allOf: - - $ref: '#/components/schemas/StatusEnum' + - $ref: '#/components/schemas/StatusEnum' readOnly: true description: |- Current status of the task @@ -8878,46 +10415,46 @@ components: readOnly: true description: Messages related to the current task status required: - - action - - created - - deployment - - id - - modified - - retries - - status - - status_text + - action + - created + - deployment + - id + - modified + - retries + - status + - status_text DeploymentTaskActionEnum: enum: - - start_instances - - stop_instances + - start_instances + - stop_instances type: string description: |- * `start_instances` - Start all instances in the deployment * `stop_instances` - Stop all instances in the deployment - x-enum-varnames: - - DeploymentTaskActionStartInstances - - DeploymentTaskActionStopInstances DeploymentUpdate: type: object properties: bastion_operating_system: type: - - string - - 'null' + - string + - 'null' readOnly: true - description: Override bastion operating system provisioned and/or configured by Liftoff + description: Override bastion operating system provisioned and/or configured + by Liftoff + maxLength: 32 cluster: type: - - string - - 'null' + - string + - 'null' format: uuid readOnly: true description: The cluster where the experience has been deployed collection_branch: type: - - string - - 'null' - description: Override the Ansible collection branch initialized within the pipeline + - string + - 'null' + description: Override the Ansible collection branch initialized within the + pipeline maxLength: 255 created: type: string @@ -8925,77 +10462,86 @@ components: readOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use experience_branch: type: - - string - - 'null' + - string + - 'null' description: Override the experience branch maxLength: 255 expires_at: type: - - string - - 'null' + - string + - 'null' format: date-time flightcontrol_release: type: - - string - - 'null' + - string + - 'null' description: Override the image tag used for Flight Control maxLength: 64 garage_id: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Require a cluster with nodes in the given garage + maxLength: 128 gc_branch: type: - - string - - 'null' + - string + - 'null' description: Override the default Ground Control branch maxLength: 255 gpu_alias: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Require a cluster with the given GPU alias + maxLength: 64 gpu_count: type: - - integer - - 'null' + - integer + - 'null' readOnly: true + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Require a cluster with the given GPU model + maxLength: 32 gpu_os_name: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Override the GPU node operating system name + maxLength: 16 gpu_os_release: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -9007,16 +10553,21 @@ components: description: Host IP addresses that should be allowed to access the deployment lifetime: type: - - integer - - 'null' + - integer + - 'null' readOnly: true - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. + description: Set expires_at value to be a given number of days from the + current time. A value of 0 will cause a deployment to remain active indefinitely. min_gpu_count: type: - - integer - - 'null' + - integer + - 'null' readOnly: true - description: Require a cluster whose GPU count is greater than or equal to the given number + default: 0 + description: Require a cluster whose GPU count is greater than or equal + to the given number + maximum: 512 + minimum: 0 modified: type: string format: date-time @@ -9024,46 +10575,54 @@ components: description: Timestamp of when the object was last modified node_count: type: - - integer - - 'null' + - integer + - 'null' readOnly: true + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Require a cluster manufactured by the given OEM name + maxLength: 64 org_name: type: string description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true description: Overriden values from the original deployment request persist_on_failure: type: - - boolean - - 'null' - description: Override the default cleanup/destroy behavior when a provisioning failure occurs + - boolean + - 'null' + default: false + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs persona: type: - - string - - 'null' + - string + - 'null' description: Override the defined persona in the experience maxLength: 32 pipeline: type: - - integer - - 'null' - maximum: 9223372036854775807 + - integer + - 'null' + default: 0 + description: Override the pipeline ID that will be triggered for request + fulfillment minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment pipeline_branch: type: - - string - - 'null' - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline + - string + - 'null' + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline maxLength: 255 pipelines: type: array @@ -9086,11 +10645,11 @@ components: * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' + - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/NullEnum' priority: allOf: - - $ref: '#/components/schemas/PriorityEnum' + - $ref: '#/components/schemas/PriorityEnum' readOnly: true description: |- Priority level for the request @@ -9101,22 +10660,26 @@ components: * `p3` - p3 provider_name: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Require a cluster from the given provider name + maxLength: 64 public_key: type: - - string - - 'null' + - string + - 'null' readOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. + description: The initial or administrative public key used during deployment + creation. Additional keys can be authorized for access using the `ssh-keys` + endpoint. region: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Require a cluster located in the given region + maxLength: 64 request_id: type: string readOnly: true @@ -9132,30 +10695,103 @@ components: maximum: 2147483647 minimum: 0 description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this + experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - - string - - 'null' + - string + - 'null' format: date-time readOnly: true description: Timestamp when the requester's sales relationship was created sales_id: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Unique identifier for the requester's sales relationship sales_owner_email: type: - - string - - 'null' + - string + - 'null' format: email description: Email address of the sales contact associated with the requester maxLength: 254 sales_owner_name: type: - - string - - 'null' + - string + - 'null' description: Name of the sales contact associated with the requester maxLength: 255 services: @@ -9166,7 +10802,7 @@ components: readOnly: true state: allOf: - - $ref: '#/components/schemas/DeploymentState' + - $ref: '#/components/schemas/DeploymentState' description: |- Current state of the deployment @@ -9185,84 +10821,85 @@ components: description: User-defined tags as key/value pairs workshop: type: - - boolean - - 'null' + - boolean + - 'null' readOnly: true + default: false description: Require a cluster whose workshop flag is set workshop_id: type: - - string - - 'null' + - string + - 'null' readOnly: true description: Require a cluster with the given workshop ID + maxLength: 64 workshop_override_password: type: - - string - - 'null' + - string + - 'null' readOnly: true - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 required: - - bastion_operating_system - - cluster - - created - - experience - - garage_id - - gpu_alias - - gpu_count - - gpu_model - - gpu_os_name - - gpu_os_release - - gpu_os_version - - id - - lifetime - - min_gpu_count - - modified - - node_count - - oem_name - - overrides - - pipelines - - priority - - provider_name - - public_key - - region - - request_id - - sales_created_date - - sales_id - - services - - workshop - - workshop_id - - workshop_override_password + - bastion_operating_system + - cluster + - created + - experience + - garage_id + - gpu_alias + - gpu_count + - gpu_model + - gpu_os_name + - gpu_os_release + - gpu_os_version + - id + - lifetime + - min_gpu_count + - modified + - node_count + - oem_name + - overrides + - pipelines + - priority + - provider_name + - public_key + - region + - request_id + - sales_created_date + - sales_id + - services + - workshop + - workshop_id + - workshop_override_password DocDeploymentDelete: type: object properties: bastion_operating_system: type: - - string - - 'null' - description: Override bastion operating system provisioned and/or configured by Liftoff + - string + - 'null' + description: Override bastion operating system provisioned and/or configured + by Liftoff maxLength: 32 catalog_id: type: string - description: Unique ID for this experience in the sales catalog. Must be unique. writeOnly: true + description: Catalog ID of the experience provisioned to the cluster catalog_id_alias: - type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' + type: string writeOnly: true + description: Catalog ID alias of the experience provisioned to the cluster cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" + type: string + format: uuid collection_branch: type: - - string - - 'null' - description: Override the Ansible collection branch initialized within the pipeline + - string + - 'null' + description: Override the Ansible collection branch initialized within the + pipeline maxLength: 255 created: type: string @@ -9270,70 +10907,84 @@ components: readOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use experience_branch: type: - - string - - 'null' + - string + - 'null' description: Override the experience branch maxLength: 255 experience_id: type: string format: uuid writeOnly: true + description: UUID of the experience provisioned to the cluster expires_at: type: - - string - - 'null' + - string + - 'null' format: date-time flightcontrol_release: type: - - string - - 'null' + - string + - 'null' description: Override the image tag used for Flight Control maxLength: 64 garage_id: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with nodes in the given garage maxLength: 128 gc_branch: type: - - string - - 'null' + - string + - 'null' description: Override the default Ground Control branch maxLength: 255 gpu_alias: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with the given GPU alias maxLength: 64 gpu_count: type: - - integer - - 'null' - maximum: 16 - minimum: 0 + - integer + - 'null' + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with the given GPU model maxLength: 32 gpu_os_name: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 gpu_os_release: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -9345,18 +10996,21 @@ components: description: Host IP addresses that should be allowed to access the deployment lifetime: type: - - integer - - 'null' + - integer + - 'null' maximum: 2147483647 minimum: 0 - description: Set expires_at value to be a given number of days from the current time. A value of 0 will cause a deployment to remain active indefinitely. + description: Set expires_at value to be a given number of days from the + current time. A value of 0 will cause a deployment to remain active indefinitely. min_gpu_count: type: - - integer - - 'null' - maximum: 16 + - integer + - 'null' + default: 0 + description: Require a cluster whose GPU count is greater than or equal + to the given number + maximum: 512 minimum: 0 - description: Require a cluster whose GPU count is greater than or equal to the given number modified: type: string format: date-time @@ -9364,43 +11018,52 @@ components: description: Timestamp of when the object was last modified node_count: type: - - integer - - 'null' - maximum: 2147483647 - minimum: 0 + - integer + - 'null' + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - - string - - 'null' + - string + - 'null' description: Require a cluster manufactured by the given OEM name maxLength: 64 org_name: type: string description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true description: Overriden values from the original deployment request persist_on_failure: type: - - boolean - - 'null' - description: Override the default cleanup/destroy behavior when a provisioning failure occurs + - boolean + - 'null' + default: false + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs persona: - type: string + type: + - string + - 'null' + description: Override the defined persona in the experience + maxLength: 32 pipeline: type: - - integer - - 'null' - maximum: 9223372036854775807 + - integer + - 'null' + default: 0 + description: Override the pipeline ID that will be triggered for request + fulfillment minimum: 0 - format: int64 - description: Override the pipeline ID that will be triggered for request fulfillment pipeline_branch: type: - - string - - 'null' - description: Override the default pipeline branch ref used when triggering a Fuselage pipeline + - string + - 'null' + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline maxLength: 255 pipelines: type: array @@ -9423,11 +11086,11 @@ components: * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 oneOf: - - $ref: '#/components/schemas/PlatformEnum' - - type: 'null' + - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/NullEnum' priority: allOf: - - $ref: '#/components/schemas/PriorityEnum' + - $ref: '#/components/schemas/PriorityEnum' description: |- Priority level for the request @@ -9437,20 +11100,22 @@ components: * `p3` - p3 provider_name: type: - - string - - 'null' + - string + - 'null' description: Require a cluster from the given provider name maxLength: 64 public_key: type: - - string - - 'null' + - string + - 'null' writeOnly: true - description: The initial or administrative public key used during deployment creation. Additional keys can be authorized for access using the `ssh-keys` endpoint. + description: The initial or administrative public key used during deployment + creation. Additional keys can be authorized for access using the `ssh-keys` + endpoint. region: type: - - string - - 'null' + - string + - 'null' description: Require a cluster located in the given region maxLength: 64 request_id: @@ -9469,28 +11134,101 @@ components: type: integer readOnly: true description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this + experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - - string - - 'null' + - string + - 'null' format: date-time sales_id: type: - - string - - 'null' + - string + - 'null' description: Unique identifier for the requester's sales relationship maxLength: 32 sales_owner_email: type: - - string - - 'null' + - string + - 'null' format: email description: Email address of the sales contact associated with the requester maxLength: 254 sales_owner_name: type: - - string - - 'null' + - string + - 'null' description: Name of the sales contact associated with the requester maxLength: 255 services: @@ -9507,7 +11245,7 @@ components: readOnly: true state: allOf: - - $ref: '#/components/schemas/DeploymentState' + - $ref: '#/components/schemas/DeploymentState' readOnly: true description: |- Current state of the deployment @@ -9527,43 +11265,46 @@ components: description: User-defined tags as key/value pairs workshop: type: - - boolean - - 'null' + - boolean + - 'null' + default: false description: Require a cluster whose workshop flag is set workshop_id: type: - - string - - 'null' + - string + - 'null' description: Require a cluster with the given workshop ID maxLength: 64 workshop_override_password: type: - - string - - 'null' - description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + - string + - 'null' + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) maxLength: 64 required: - - created - - experience - - id - - modified - - org_name - - overrides - - pipelines - - requester_email - - requester_name - - retry_count - - services - - ssh_port - - ssh_user - - state + - created + - experience + - id + - modified + - org_name + - overrides + - pipelines + - requester_email + - requester_name + - retry_count + - services + - ssh_port + - ssh_user + - state Experience: type: object properties: assignee: type: - - string - - 'null' + - string + - 'null' description: User ID who is responsible for manual provisioning maxLength: 32 autoapprove: @@ -9574,20 +11315,23 @@ components: description: Can the experience be provisioned without human intervention? bootstrap: type: boolean - description: Can this experience be used to bootstrap another compatible experience? + description: Can this experience be used to bootstrap another compatible + experience? catalog_id: type: string - description: Unique ID for this experience in the sales catalog. Must be unique. + description: Unique ID for this experience in the sales catalog. Must be + unique. maxLength: 32 catalog_id_alias: type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' + - string + - 'null' + description: 'Human-readable identifier for the experience in the sales + catalog (ex: LP-15). Must be unique.' maxLength: 8 category: allOf: - - $ref: '#/components/schemas/CategoryEnum' + - $ref: '#/components/schemas/CategoryEnum' description: |- Functional group that this experience is targetting @@ -9608,8 +11352,8 @@ components: description: Timestamp of when the object was created description: type: - - string - - 'null' + - string + - 'null' experience: type: string description: Experience name slug @@ -9626,17 +11370,18 @@ components: * `docker` - docker * `k8s` - k8s oneOf: - - $ref: '#/components/schemas/FcPlatformEnum' - - type: 'null' + - $ref: '#/components/schemas/FcPlatformEnum' + - $ref: '#/components/schemas/NullEnum' fc_support: type: boolean writeOnly: true description: Does the experience support Flight Control? garage_id: type: - - string - - 'null' - description: ID of the garage where nodes for this experience should be selected from + - string + - 'null' + description: ID of the garage where nodes for this experience should be + selected from maxLength: 64 gc_branch: type: string @@ -9644,7 +11389,7 @@ components: maxLength: 255 gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 description: Number of GPUs used gpu_os: @@ -9657,14 +11402,17 @@ components: type: integer maximum: 2147483647 minimum: 0 - description: 'Number of days without user interaction before the experience is torn down (default: 3)' + description: 'Number of days without user interaction before the experience + is torn down (default: 3)' lifetime: type: - - integer - - 'null' + - integer + - 'null' maximum: 2147483647 minimum: 0 - description: 'Default number of days a provisioned experience should remain active (default: 3). A null lifetime will cause a deployment to remain active indefinitely.' + description: 'Default number of days a provisioned experience should remain + active (default: 3). A null lifetime will cause a deployment to remain + active indefinitely.' modified: type: string format: date-time @@ -9685,7 +11433,7 @@ components: description: Pipeline ID used for provisioning platform: allOf: - - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/PlatformEnum' description: |- Base platform that the experience will be provisioned onto @@ -9701,13 +11449,13 @@ components: * `vsphere8` - vSphere 8 provider: type: - - string - - 'null' + - string + - 'null' format: uuid description: If set, the experience must be provisioned to the given provider published: allOf: - - $ref: '#/components/schemas/PublishedEnum' + - $ref: '#/components/schemas/PublishedEnum' description: |- Is the experience published for use? @@ -9716,8 +11464,8 @@ components: * `yes` - yes repo: type: - - string - - 'null' + - string + - 'null' format: uri writeOnly: true description: URL of the repository for provisioning automation @@ -9727,13 +11475,21 @@ components: items: type: string format: uuid - description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' + description: 'If set, the experience must be provisioned using one of the + given GPU types. GPU requirements are evaluated in the order they are + set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' + runtime: + type: + - string + - 'null' + format: uuid + description: The default runtime to use when provisioning this experience sa_lab: type: boolean description: Is this a persistent experience for SAs? system_arch: allOf: - - $ref: '#/components/schemas/SystemArchEnum' + - $ref: '#/components/schemas/SystemArchEnum' description: |- Required CPU architecture @@ -9759,21 +11515,21 @@ components: * `platform_only` - platform_only * `vmware_itadmin` - VMware IT admin oneOf: - - $ref: '#/components/schemas/VgpuProfileEnum' - - type: 'null' + - $ref: '#/components/schemas/VgpuProfileEnum' + - $ref: '#/components/schemas/NullEnum' required: - - catalog_id - - category - - created - - experience - - gpu_os - - id - - modified - - persona - - pipeline - - platform - - system_arch - - title + - catalog_id + - category + - created + - experience + - gpu_os + - id + - modified + - persona + - pipeline + - platform + - system_arch + - title ExperienceBulk: type: object properties: @@ -9787,15 +11543,15 @@ components: $ref: '#/components/schemas/Experience' readOnly: true required: - - csv_file - - experiences + - csv_file + - experiences ExperienceBulkUpdate: type: object properties: assignee: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: User ID who is responsible for manual provisioning maxLength: 32 @@ -9810,24 +11566,27 @@ components: bootstrap: type: boolean writeOnly: true - description: Can this experience be used to bootstrap another compatible experience? + description: Can this experience be used to bootstrap another compatible + experience? catalog_id: type: string readOnly: true writeOnly: true - description: Unique ID for this experience in the sales catalog. Must be unique. + description: Unique ID for this experience in the sales catalog. Must be + unique. maxLength: 32 catalog_id_alias: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' + description: 'Human-readable identifier for the experience in the sales + catalog (ex: LP-15). Must be unique.' maxLength: 8 category: allOf: - - $ref: '#/components/schemas/CategoryEnum' + - $ref: '#/components/schemas/CategoryEnum' writeOnly: true description: |- Functional group that this experience is targetting @@ -9851,8 +11610,8 @@ components: description: Timestamp of when the object was created description: type: - - string - - 'null' + - string + - 'null' writeOnly: true experience: type: string @@ -9872,18 +11631,19 @@ components: * `docker` - docker * `k8s` - k8s oneOf: - - $ref: '#/components/schemas/FcPlatformEnum' - - type: 'null' + - $ref: '#/components/schemas/FcPlatformEnum' + - $ref: '#/components/schemas/NullEnum' fc_support: type: boolean writeOnly: true description: Does the experience support Flight Control? garage_id: type: - - string - - 'null' + - string + - 'null' writeOnly: true - description: ID of the garage where nodes for this experience should be selected from + description: ID of the garage where nodes for this experience should be + selected from maxLength: 64 gc_branch: type: string @@ -9892,13 +11652,13 @@ components: maxLength: 255 gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 writeOnly: true description: Number of GPUs used gpu_os: allOf: - - $ref: '#/components/schemas/GpuOs' + - $ref: '#/components/schemas/GpuOs' writeOnly: true id: type: string @@ -9910,15 +11670,18 @@ components: maximum: 2147483647 minimum: 0 writeOnly: true - description: 'Number of days without user interaction before the experience is torn down (default: 3)' + description: 'Number of days without user interaction before the experience + is torn down (default: 3)' lifetime: type: - - integer - - 'null' + - integer + - 'null' maximum: 2147483647 minimum: 0 writeOnly: true - description: 'Default number of days a provisioned experience should remain active (default: 3). A null lifetime will cause a deployment to remain active indefinitely.' + description: 'Default number of days a provisioned experience should remain + active (default: 3). A null lifetime will cause a deployment to remain + active indefinitely.' modified: type: string format: date-time @@ -9943,7 +11706,7 @@ components: description: Pipeline ID used for provisioning platform: allOf: - - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/PlatformEnum' writeOnly: true description: |- Base platform that the experience will be provisioned onto @@ -9960,14 +11723,14 @@ components: * `vsphere8` - vSphere 8 provider: type: - - string - - 'null' + - string + - 'null' format: uuid writeOnly: true description: If set, the experience must be provisioned to the given provider published: allOf: - - $ref: '#/components/schemas/PublishedEnum' + - $ref: '#/components/schemas/PublishedEnum' writeOnly: true description: |- Is the experience published for use? @@ -9977,8 +11740,8 @@ components: * `yes` - yes repo: type: - - string - - 'null' + - string + - 'null' format: uri writeOnly: true description: URL of the repository for provisioning automation @@ -9989,14 +11752,23 @@ components: type: string format: uuid writeOnly: true - description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' + description: 'If set, the experience must be provisioned using one of the + given GPU types. GPU requirements are evaluated in the order they are + set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: The default runtime to use when provisioning this experience sa_lab: type: boolean writeOnly: true description: Is this a persistent experience for SAs? system_arch: allOf: - - $ref: '#/components/schemas/SystemArchEnum' + - $ref: '#/components/schemas/SystemArchEnum' writeOnly: true description: |- Required CPU architecture @@ -10025,8 +11797,8 @@ components: * `platform_only` - platform_only * `vmware_itadmin` - VMware IT admin oneOf: - - $ref: '#/components/schemas/VgpuProfileEnum' - - type: 'null' + - $ref: '#/components/schemas/VgpuProfileEnum' + - $ref: '#/components/schemas/NullEnum' count: type: integer readOnly: true @@ -10040,22 +11812,22 @@ components: type: string readOnly: true required: - - catalog_id - - catalog_id_alias - - category - - count - - created - - experience - - gpu_os - - id - - ids - - modified - - persona - - pipeline - - platform - - result - - system_arch - - title + - catalog_id + - catalog_id_alias + - category + - count + - created + - experience + - gpu_os + - id + - ids + - modified + - persona + - pipeline + - platform + - result + - system_arch + - title ExperienceNote: type: object properties: @@ -10071,12 +11843,9 @@ components: type: string readOnly: true experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: string + format: uuid + description: The experience this note is applied to id: type: string format: uuid @@ -10090,23 +11859,20 @@ components: type: string readOnly: true required: - - created - - created_by - - experience - - id - - modified - - modified_by + - created + - created_by + - experience + - id + - modified + - modified_by FcPlatformEnum: enum: - - docker - - k8s + - docker + - k8s type: string description: |- * `docker` - docker * `k8s` - k8s - x-enum-varnames: - - FcPlatformDocker - - FcPlatformK8s Gpu: type: object properties: @@ -10117,7 +11883,7 @@ components: description: Timestamp of when the object was created form_factor: allOf: - - $ref: '#/components/schemas/InterconnectionTypeEnum' + - $ref: '#/components/schemas/InterconnectionTypeEnum' default: pcie description: |- GPU form factor @@ -10150,12 +11916,15 @@ components: type: integer maximum: 100 minimum: 0 - description: Weighted preference to use in selecting a GPU for a deployment. A higher priority means the GPU is in higher demand. Lower priority values will be preferred over higher ones during cluster selection. + description: Weighted preference to use in selecting a GPU for a deployment. + A higher priority means the GPU is in higher demand. Lower priority values + will be preferred over higher ones during cluster selection. required: - - created - - id - - model - - modified + - created + - id + - model + - modified + - node_count GpuBulkUpdate: type: object properties: @@ -10167,7 +11936,7 @@ components: description: Timestamp of when the object was created form_factor: allOf: - - $ref: '#/components/schemas/InterconnectionTypeEnum' + - $ref: '#/components/schemas/InterconnectionTypeEnum' writeOnly: true default: pcie description: |- @@ -10207,7 +11976,9 @@ components: maximum: 100 minimum: 0 writeOnly: true - description: Weighted preference to use in selecting a GPU for a deployment. A higher priority means the GPU is in higher demand. Lower priority values will be preferred over higher ones during cluster selection. + description: Weighted preference to use in selecting a GPU for a deployment. + A higher priority means the GPU is in higher demand. Lower priority values + will be preferred over higher ones during cluster selection. count: type: integer readOnly: true @@ -10221,14 +11992,14 @@ components: type: string readOnly: true required: - - count - - created - - id - - ids - - model - - modified - - node_count - - result + - count + - created + - id + - ids + - model + - modified + - node_count + - result GpuOs: type: object properties: @@ -10239,9 +12010,9 @@ components: version: type: string required: - - name - - release - - version + - name + - release + - version GpuOsChoice: type: object properties: @@ -10264,29 +12035,28 @@ components: maxLength: 16 release: type: string - description: 'Release name of the OS to be provisioned onto GPU Node(s) (ex: jammy)' + description: 'Release name of the OS to be provisioned onto GPU Node(s) + (ex: jammy)' maxLength: 16 version: type: string - description: 'Version number of the OS to be provisioned onto GPU Node(s) (ex: 22.04)' + description: 'Version number of the OS to be provisioned onto GPU Node(s) + (ex: 22.04)' maxLength: 8 required: - - created - - id - - modified - - name - - release - - version + - created + - id + - modified + - name + - release + - version Instance: type: object properties: cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" + type: string + format: uuid + description: UUID of the associated cluster for this instance created: type: string format: date-time @@ -10302,8 +12072,8 @@ components: maxLength: 128 name: type: - - string - - 'null' + - string + - 'null' description: User-friendly name of this instance maxLength: 64 modified: @@ -10313,7 +12083,7 @@ components: description: Timestamp of when the object was last modified state: allOf: - - $ref: '#/components/schemas/InstanceState' + - $ref: '#/components/schemas/InstanceState' description: |- Current lifecycle state of this instance @@ -10333,22 +12103,20 @@ components: maxLength: 64 description: Tags associated with this instance required: - - cluster - - created - - id - - instance_id - - modified - - state_modified + - cluster + - created + - id + - instance_id + - modified + - state_modified InstanceBulkUpdate: type: object properties: cluster: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Cluster" - x-go-json-tag: "cluster,omitempty" + type: string + format: uuid + writeOnly: true + description: UUID of the associated cluster for this instance created: type: string format: date-time @@ -10368,8 +12136,8 @@ components: maxLength: 128 name: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: User-friendly name of this instance maxLength: 64 @@ -10381,7 +12149,7 @@ components: description: Timestamp of when the object was last modified state: allOf: - - $ref: '#/components/schemas/InstanceState' + - $ref: '#/components/schemas/InstanceState' writeOnly: true description: |- Current lifecycle state of this instance @@ -10416,22 +12184,22 @@ components: type: string readOnly: true required: - - cluster - - count - - created - - id - - ids - - instance_id - - modified - - result - - state_modified + - cluster + - count + - created + - id + - ids + - instance_id + - modified + - result + - state_modified InstanceState: enum: - - running - - starting - - stopped - - stopping - - unknown + - running + - starting + - stopped + - stopping + - unknown type: string description: |- * `running` - Instance is running @@ -10439,12 +12207,6 @@ components: * `stopped` - Instance is stopped * `stopping` - Instance is stopping * `unknown` - Instance state is currently unknown - x-enum-varnames: - - InstanceStateRunning - - InstanceStateStarting - - InstanceStateStopped - - InstanceStateStopping - - InstanceStateUnknown InstanceType: type: object properties: @@ -10452,7 +12214,8 @@ components: type: object additionalProperties: type: integer - description: Key/value pairs of region name and total available capacity for the instance type + description: Key/value pairs of region name and total available capacity + for the instance type cloud: type: string description: Cloud provider name @@ -10470,29 +12233,34 @@ components: type: array items: type: string - description: List of regions names that have available capacity for the instance type + description: List of regions names that have available capacity for the + instance type storage: type: array items: $ref: '#/components/schemas/InstanceTypeStorage' system_arch: allOf: - - $ref: '#/components/schemas/SystemArchEnum' + - $ref: '#/components/schemas/SystemArchEnum' description: |- CPU architecture * `amd64` - amd64 * `arm64` - arm64 + workshop_id: + type: string + description: ID of the workshop this instance type is reserved for required: - - capacity - - cloud - - cpu - - gpu - - memory_gb - - price - - regions - - storage - - system_arch + - capacity + - cloud + - cpu + - gpu + - memory_gb + - price + - regions + - storage + - system_arch + - workshop_id InstanceTypeGpu: type: object properties: @@ -10504,7 +12272,7 @@ components: description: GPU family name interconnection_type: allOf: - - $ref: '#/components/schemas/InterconnectionTypeEnum' + - $ref: '#/components/schemas/InterconnectionTypeEnum' description: |- GPU form factor @@ -10520,12 +12288,12 @@ components: type: string description: GPU model name required: - - count - - family - - interconnection_type - - manufacturer - - memory_gb - - model + - count + - family + - interconnection_type + - manufacturer + - memory_gb + - model InstanceTypePrice: type: object properties: @@ -10537,8 +12305,8 @@ components: format: double description: Price per hour required: - - currency - - on_demand_per_hour + - currency + - on_demand_per_hour InstanceTypeStorage: type: object properties: @@ -10547,26 +12315,23 @@ components: description: System storage size (in GB) type: allOf: - - $ref: '#/components/schemas/TypeEnum' + - $ref: '#/components/schemas/TypeEnum' description: |- Disk type * `nvme` - NVMe * `ssd` - ssd required: - - size_gb - - type + - size_gb + - type InterconnectionTypeEnum: enum: - - pcie - - sxm + - pcie + - sxm type: string description: |- * `pcie` - PCIe * `sxm` - SXM - x-enum-varnames: - - InterconnectionTypePCIe - - InterconnectionTypeSXM Location: type: object properties: @@ -10588,24 +12353,21 @@ components: type: string maxLength: 64 provider: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Provider" - x-go-json-tag: "provider,omitempty" + type: string + format: uuid + description: UUID of the provider for this location region: type: - - string - - 'null' + - string + - 'null' description: Name of the region the location is in maxLength: 64 required: - - created - - id - - modified - - name - - provider + - created + - id + - modified + - name + - provider Logout: type: object properties: @@ -10614,7 +12376,7 @@ components: readOnly: true default: Successfully logged out. required: - - result + - result ModelChange: type: object properties: @@ -10630,20 +12392,20 @@ components: type: string new_value: oneOf: - - type: string - - type: boolean - - type: integer + - type: string + - type: boolean + - type: integer nullable: true old_value: oneOf: - - type: string - - type: boolean - - type: integer + - type: string + - type: boolean + - type: integer nullable: true required: - - field - - new_value - - old_value + - field + - new_value + - old_value readOnly: true created: type: string @@ -10653,53 +12415,50 @@ components: username: type: string required: - - change_type - - changes - - created - - id - - username + - change_type + - changes + - created + - id + - username NetworkTypeEnum: enum: - - ethernet - - infiniband + - ethernet + - infiniband type: string description: |- * `ethernet` - Ethernet * `infiniband` - InfiniBand - x-enum-varnames: - - NetworkTypeEthernet - - NetworkTypeInfiniband Node: type: object properties: bmc_ip: type: - - string - - 'null' + - string + - 'null' description: IP address of the BMC bmc_mac: type: - - string - - 'null' + - string + - 'null' description: MAC address of the BMC maxLength: 17 minLength: 17 bmc_password: type: - - string - - 'null' + - string + - 'null' description: Password for the BMC maxLength: 32 bmc_user: type: - - string - - 'null' + - string + - 'null' description: Username for the BMC maxLength: 64 cluster: type: - - string - - 'null' + - string + - 'null' format: uuid description: UUID of the node's parent cluster cpu: @@ -10715,12 +12474,13 @@ components: * `arm` - ARM * `intel` - Intel oneOf: - - $ref: '#/components/schemas/CpuManufacturerEnum' - - type: 'null' + - $ref: '#/components/schemas/CpuManufacturerEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' cpu_model: type: - - string - - 'null' + - string + - 'null' description: Model information for the node's CPU maxLength: 64 created: @@ -10730,24 +12490,21 @@ components: description: Timestamp of when the object was created garage_id: type: - - string - - 'null' + - string + - 'null' description: ID for the garage where a node is parked when unprovisioned maxLength: 128 gpu: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" + type: string + format: uuid + description: Type of GPU(s) installed gpu_alias: type: string readOnly: true description: Alias for GPU plan (i.e. installed GPU type and count) gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 description: Number of GPUs installed gpu_model: @@ -10756,8 +12513,8 @@ components: description: Model of GPU(s) installed gpu_vbios: type: - - string - - 'null' + - string + - 'null' description: VBIOS version used by installed GPU(s) maxLength: 64 id: @@ -10765,12 +12522,9 @@ components: format: uuid readOnly: true location: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Location" - x-go-json-tag: "location,omitempty" + type: string + format: uuid + description: UUID of the node's location memory: type: integer maximum: 32768 @@ -10781,15 +12535,15 @@ components: description: Management IP address mgmt_mac: type: - - string - - 'null' + - string + - 'null' description: Management MAC address maxLength: 17 minLength: 17 model: type: - - string - - 'null' + - string + - 'null' description: Hardware model of the node maxLength: 64 modified: @@ -10799,7 +12553,7 @@ components: description: Timestamp of when the object was last modified network_type: allOf: - - $ref: '#/components/schemas/NetworkTypeEnum' + - $ref: '#/components/schemas/NetworkTypeEnum' description: |- Type of networking technology used @@ -10813,38 +12567,38 @@ components: description: Prefixes for the node's network interface(s) notes: type: - - string - - 'null' + - string + - 'null' description: Administrative comments about the node oem: type: - - string - - 'null' + - string + - 'null' format: uuid description: UUID of the node's OEM provider_node_id: type: - - string - - 'null' + - string + - 'null' description: Unique ID for this node assigned by its provider maxLength: 128 rack: type: - - string - - 'null' + - string + - 'null' description: Physical rack identifier maxLength: 32 rack_unit: type: - - integer - - 'null' + - integer + - 'null' maximum: 52 minimum: 0 description: The rack unit (RU) within the rack where the node is installed serial_number: type: - - string - - 'null' + - string + - 'null' description: Serial number of the node maxLength: 32 storage: @@ -10854,7 +12608,7 @@ components: minItems: 1 system_arch: allOf: - - $ref: '#/components/schemas/SystemArchEnum' + - $ref: '#/components/schemas/SystemArchEnum' description: |- CPU architecture @@ -10864,15 +12618,15 @@ components: type: boolean description: Does the node support Trusted Execution Environment (TEE)? required: - - created - - gpu - - gpu_alias - - gpu_model - - id - - location - - modified - - storage - - system_arch + - created + - gpu + - gpu_alias + - gpu_model + - id + - location + - modified + - storage + - system_arch NodeBulk: type: object properties: @@ -10886,43 +12640,43 @@ components: $ref: '#/components/schemas/Node' readOnly: true required: - - csv_file - - nodes + - csv_file + - nodes NodeBulkUpdate: type: object properties: bmc_ip: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: IP address of the BMC bmc_mac: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: MAC address of the BMC maxLength: 17 minLength: 17 bmc_password: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Password for the BMC maxLength: 32 bmc_user: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Username for the BMC maxLength: 64 cluster: type: - - string - - 'null' + - string + - 'null' format: uuid writeOnly: true description: UUID of the node's parent cluster @@ -10941,12 +12695,13 @@ components: * `arm` - ARM * `intel` - Intel oneOf: - - $ref: '#/components/schemas/CpuManufacturerEnum' - - type: 'null' + - $ref: '#/components/schemas/CpuManufacturerEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' cpu_model: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Model information for the node's CPU maxLength: 64 @@ -10958,18 +12713,16 @@ components: description: Timestamp of when the object was created garage_id: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: ID for the garage where a node is parked when unprovisioned maxLength: 128 gpu: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Gpu" - x-go-json-tag: "gpu,omitempty" + type: string + format: uuid + writeOnly: true + description: Type of GPU(s) installed gpu_alias: type: string readOnly: true @@ -10977,7 +12730,7 @@ components: description: Alias for GPU plan (i.e. installed GPU type and count) gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 writeOnly: true description: Number of GPUs installed @@ -10988,8 +12741,8 @@ components: description: Model of GPU(s) installed gpu_vbios: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: VBIOS version used by installed GPU(s) maxLength: 64 @@ -10999,12 +12752,10 @@ components: readOnly: true writeOnly: true location: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Location" - x-go-json-tag: "location,omitempty" + type: string + format: uuid + writeOnly: true + description: UUID of the node's location memory: type: integer maximum: 32768 @@ -11017,16 +12768,16 @@ components: description: Management IP address mgmt_mac: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Management MAC address maxLength: 17 minLength: 17 model: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Hardware model of the node maxLength: 64 @@ -11038,7 +12789,7 @@ components: description: Timestamp of when the object was last modified network_type: allOf: - - $ref: '#/components/schemas/NetworkTypeEnum' + - $ref: '#/components/schemas/NetworkTypeEnum' writeOnly: true description: |- Type of networking technology used @@ -11054,43 +12805,43 @@ components: description: Prefixes for the node's network interface(s) notes: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Administrative comments about the node oem: type: - - string - - 'null' + - string + - 'null' format: uuid writeOnly: true description: UUID of the node's OEM provider_node_id: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Unique ID for this node assigned by its provider maxLength: 128 rack: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Physical rack identifier maxLength: 32 rack_unit: type: - - integer - - 'null' + - integer + - 'null' maximum: 52 minimum: 0 writeOnly: true description: The rack unit (RU) within the rack where the node is installed serial_number: type: - - string - - 'null' + - string + - 'null' readOnly: true writeOnly: true description: Serial number of the node @@ -11103,7 +12854,7 @@ components: minItems: 1 system_arch: allOf: - - $ref: '#/components/schemas/SystemArchEnum' + - $ref: '#/components/schemas/SystemArchEnum' writeOnly: true description: |- CPU architecture @@ -11127,19 +12878,19 @@ components: type: string readOnly: true required: - - count - - created - - gpu - - gpu_alias - - gpu_model - - id - - ids - - location - - modified - - result - - serial_number - - storage - - system_arch + - count + - created + - gpu + - gpu_alias + - gpu_model + - id + - ids + - location + - modified + - result + - serial_number + - storage + - system_arch NodeStorage: type: object properties: @@ -11151,14 +12902,14 @@ components: minimum: 0 type: allOf: - - $ref: '#/components/schemas/TypeEnum' + - $ref: '#/components/schemas/TypeEnum' description: |- Disk type * `nvme` - NVMe * `ssd` - ssd required: - - type + - type NullEnum: type: 'null' OEM: @@ -11172,25 +12923,270 @@ components: id: type: string format: uuid - readOnly: true - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string + readOnly: true + modified: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was last modified + name: + type: string + maxLength: 64 + required: + - created + - id + - modified + - name + OnDemandSpeedEnum: + enum: + - fast + - slow + type: string + description: |- + * `fast` - fast + * `slow` - slow + Overrides: + type: object + properties: + bastion_operating_system: + type: + - string + - 'null' + description: Override bastion operating system provisioned and/or configured + by Liftoff + maxLength: 32 + cluster: + type: + - string + - 'null' + format: uuid + description: Target a specific cluster for provisioning + collection_branch: + type: + - string + - 'null' + description: Override the Ansible collection branch initialized within the + pipeline + maxLength: 255 + experience_branch: + type: + - string + - 'null' + description: Override the experience branch + maxLength: 255 + flightcontrol_release: + type: + - string + - 'null' + description: Override the image tag used for Flight Control + maxLength: 64 + garage_id: + type: + - string + - 'null' + description: Require a cluster with nodes in the given garage + maxLength: 128 + gc_branch: + type: + - string + - 'null' + description: Override the default Ground Control branch + maxLength: 255 + gpu_alias: + type: + - string + - 'null' + description: Require a cluster with the given GPU alias + maxLength: 64 + gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster with the given number of GPUs + gpu_model: + type: + - string + - 'null' + description: Require a cluster with the given GPU model + maxLength: 32 + gpu_os_name: + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 + gpu_os_release: + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 + gpu_os_version: + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 + min_gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster whose GPU count is greater than or equal + to the given number + node_count: + type: integer + maximum: 2147483647 + minimum: 0 + description: Require a cluster with the given number of nodes + oem_name: + type: + - string + - 'null' + description: Require a cluster manufactured by the given OEM name + maxLength: 64 + persist_on_failure: + type: + - boolean + - 'null' + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs + persona: + type: + - string + - 'null' + description: Override the defined persona in the experience + maxLength: 32 + pipeline: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + description: Override the pipeline ID that will be triggered for request + fulfillment + pipeline_branch: + type: + - string + - 'null' + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline + maxLength: 255 + platform: + description: |- + Override the default platform selection + + * `air` - NVIDIA Air + * `flight_deck` - Flight Deck + * `kvm_bastion` - KVM Bastion + * `lp-vmware-platform` - lp-vmware-platform + * `minimal` - minimal + * `openshift` - OpenShift + * `vsphere` - vSphere + * `vsphere_horizon` - VMware Horizon + * `vsphere7` - vSphere 7 + * `vsphere8` - vSphere 8 + oneOf: + - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + provider_name: + type: + - string + - 'null' + description: Require a cluster from the given provider name + maxLength: 64 + region: + type: + - string + - 'null' + description: Require a cluster located in the given region + maxLength: 64 + runtime: + type: + - string + - 'null' + format: uuid + description: Use the presets of the given runtime when provisioning this + experience + runtime_branch: + type: + - string + - 'null' + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + description: Override the URL of the runtime repository + maxLength: 200 + workshop: + type: + - boolean + - 'null' + description: Require a cluster whose workshop flag is set + workshop_id: + type: + - string + - 'null' + description: Require a cluster with the given workshop ID + maxLength: 64 + workshop_override_password: + type: + - string + - 'null' + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) maxLength: 64 - required: - - created - - id - - modified - - name PaginatedClusterList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11212,8 +13208,8 @@ components: PaginatedDeploymentInstanceList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11235,8 +13231,8 @@ components: PaginatedDeploymentKeyList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11258,8 +13254,8 @@ components: PaginatedDeploymentList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11281,8 +13277,8 @@ components: PaginatedDeploymentNoteList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11304,8 +13300,8 @@ components: PaginatedDeploymentPipelineList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11327,8 +13323,8 @@ components: PaginatedDeploymentServiceList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11350,8 +13346,8 @@ components: PaginatedDeploymentTaskList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11373,8 +13369,8 @@ components: PaginatedExperienceList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11396,8 +13392,8 @@ components: PaginatedExperienceNoteList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11419,8 +13415,8 @@ components: PaginatedGpuList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11442,8 +13438,8 @@ components: PaginatedGpuOsChoiceList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11465,8 +13461,8 @@ components: PaginatedInstanceList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11488,8 +13484,8 @@ components: PaginatedInstanceTypeList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11511,8 +13507,8 @@ components: PaginatedLocationList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11534,8 +13530,8 @@ components: PaginatedModelChangeList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11557,8 +13553,8 @@ components: PaginatedNodeList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11580,8 +13576,8 @@ components: PaginatedOEMList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11603,8 +13599,8 @@ components: PaginatedPersonaChoiceList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11626,8 +13622,8 @@ components: PaginatedProviderList: type: object required: - - count - - results + - count + - results properties: count: type: integer @@ -11646,6 +13642,29 @@ components: type: array items: $ref: '#/components/schemas/Provider' + PaginatedRuntimeList: + type: object + required: + - count + - results + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: https://launchpad.api.nvidia.com/example/?page=4 + previous: + type: string + nullable: true + format: uri + example: https://launchpad.api.nvidia.com/example/?page=2 + results: + type: array + items: + $ref: '#/components/schemas/Runtime' PasswordChange: type: object properties: @@ -11663,10 +13682,10 @@ components: readOnly: true default: Password changed successfully. required: - - new_password - - password - - result - - username + - new_password + - password + - result + - username PersonaChoice: type: object properties: @@ -11687,22 +13706,32 @@ components: type: string maxLength: 32 required: - - created - - id - - modified - - name + - created + - id + - modified + - name + PipelineAction: + enum: + - apply + - destroy + - notify + type: string + description: |- + * `apply` - apply + * `destroy` - destroy + * `notify` - notify PlatformEnum: enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere_horizon - - vsphere7 - - vsphere8 + - air + - flight_deck + - kvm_bastion + - lp-vmware-platform + - minimal + - openshift + - vsphere + - vsphere_horizon + - vsphere7 + - vsphere8 type: string description: |- * `air` - NVIDIA Air @@ -11715,45 +13744,26 @@ components: * `vsphere_horizon` - VMware Horizon * `vsphere7` - vSphere 7 * `vsphere8` - vSphere 8 - x-enum-varnames: - - PlatformAir - - PlatformFlightDeck - - PlatformKvmBastion - - PlatformLpVmwarePlatformLegacy - - PlatformMinimal - - PlatformOpenshift - - PlatformVsphere - - PlatformVsphereHorizon - - PlatformVsphere7 - - PlatformVsphere8 PreferredThemeEnum: enum: - - light - - dark + - light + - dark type: string description: |- * `light` - light * `dark` - dark - x-enum-varnames: - - PreferredThemeLight - - PreferredThemeDark PriorityEnum: enum: - - p0 - - p1 - - p2 - - p3 + - p0 + - p1 + - p2 + - p3 type: string description: |- * `p0` - p0 * `p1` - p1 * `p2` - p2 * `p3` - p3 - x-enum-varnames: - - PriorityP0 - - PriorityP1 - - PriorityP2 - - PriorityP3 Profile: type: object properties: @@ -11783,18 +13793,19 @@ components: * `light` - light * `dark` - dark oneOf: - - $ref: '#/components/schemas/PreferredThemeEnum' - - type: 'null' + - $ref: '#/components/schemas/PreferredThemeEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' preferred_view_settings: description: Preferred user view settings username: type: string required: - - created - - groups - - id - - modified - - username + - created + - groups + - id + - modified + - username Provider: type: object properties: @@ -11805,8 +13816,8 @@ components: description: Timestamp of when the object was created display_name: type: - - string - - 'null' + - string + - 'null' description: Human-friendly version of name. Used for display purposes. maxLength: 64 id: @@ -11817,7 +13828,8 @@ components: type: integer maximum: 2147483647 minimum: 0 - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) + description: The maximum number of provisionined instances allowed globally + for the provider (0 = unlimited) modified: type: string format: date-time @@ -11826,16 +13838,25 @@ components: name: type: string maxLength: 64 + on_demand_speed: + allOf: + - $ref: '#/components/schemas/OnDemandSpeedEnum' + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow priority: type: integer maximum: 100 minimum: 0 - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. + description: Weighted preference to use in selecting a provider for a deployment. + Higher priority values will be preferred over lower ones. required: - - created - - id - - modified - - name + - created + - id + - modified + - name ProviderBulkUpdate: type: object properties: @@ -11847,8 +13868,8 @@ components: description: Timestamp of when the object was created display_name: type: - - string - - 'null' + - string + - 'null' writeOnly: true description: Human-friendly version of name. Used for display purposes. maxLength: 64 @@ -11862,7 +13883,8 @@ components: maximum: 2147483647 minimum: 0 writeOnly: true - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) + description: The maximum number of provisionined instances allowed globally + for the provider (0 = unlimited) modified: type: string format: date-time @@ -11874,12 +13896,22 @@ components: readOnly: true writeOnly: true maxLength: 64 + on_demand_speed: + allOf: + - $ref: '#/components/schemas/OnDemandSpeedEnum' + writeOnly: true + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow priority: type: integer maximum: 100 minimum: 0 writeOnly: true - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. + description: Weighted preference to use in selecting a provider for a deployment. + Higher priority values will be preferred over lower ones. count: type: integer readOnly: true @@ -11893,22 +13925,286 @@ components: type: string readOnly: true required: - - count - - created - - id - - ids - - modified - - name - - result + - count + - created + - id + - ids + - modified + - name + - result + ProvisioningRequest: + type: object + properties: + bastion_operating_system: + type: + - string + - 'null' + description: Override bastion operating system provisioned and/or configured + by Liftoff + maxLength: 32 + catalog_id: + type: string + writeOnly: true + description: Catalog ID of the experience provisioned to the cluster + catalog_id_alias: + type: string + writeOnly: true + description: Catalog ID alias of the experience provisioned to the cluster + cluster: + type: + - string + - 'null' + format: uuid + description: Target a specific cluster for provisioning + collection_branch: + type: + - string + - 'null' + description: Override the Ansible collection branch initialized within the + pipeline + maxLength: 255 + experience: + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use + experience_branch: + type: + - string + - 'null' + description: Override the experience branch + maxLength: 255 + experience_id: + type: string + format: uuid + writeOnly: true + description: UUID of the experience provisioned to the cluster + flightcontrol_release: + type: + - string + - 'null' + description: Override the image tag used for Flight Control + maxLength: 64 + garage_id: + type: + - string + - 'null' + description: Require a cluster with nodes in the given garage + maxLength: 128 + gc_branch: + type: + - string + - 'null' + description: Override the default Ground Control branch + maxLength: 255 + gpu_alias: + type: + - string + - 'null' + description: Require a cluster with the given GPU alias + maxLength: 64 + gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster with the given number of GPUs + gpu_model: + type: + - string + - 'null' + description: Require a cluster with the given GPU model + maxLength: 32 + gpu_os_name: + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 + gpu_os_release: + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 + gpu_os_version: + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 + min_gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster whose GPU count is greater than or equal + to the given number + node_count: + type: integer + maximum: 2147483647 + minimum: 0 + description: Require a cluster with the given number of nodes + oem_name: + type: + - string + - 'null' + description: Require a cluster manufactured by the given OEM name + maxLength: 64 + persist_on_failure: + type: + - boolean + - 'null' + description: Override the default cleanup/destroy behavior when a provisioning + failure occurs + persona: + type: + - string + - 'null' + description: Override the defined persona in the experience + maxLength: 32 + pipeline: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + description: Override the pipeline ID that will be triggered for request + fulfillment + pipeline_branch: + type: + - string + - 'null' + description: Override the default pipeline branch ref used when triggering + a Fuselage pipeline + maxLength: 255 + platform: + description: |- + Override the default platform selection + + * `air` - NVIDIA Air + * `flight_deck` - Flight Deck + * `kvm_bastion` - KVM Bastion + * `lp-vmware-platform` - lp-vmware-platform + * `minimal` - minimal + * `openshift` - OpenShift + * `vsphere` - vSphere + * `vsphere_horizon` - VMware Horizon + * `vsphere7` - vSphere 7 + * `vsphere8` - vSphere 8 + oneOf: + - $ref: '#/components/schemas/PlatformEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + provider_name: + type: + - string + - 'null' + description: Require a cluster from the given provider name + maxLength: 64 + region: + type: + - string + - 'null' + description: Require a cluster located in the given region + maxLength: 64 + request_id: + type: string + description: 'Trial request ID (ex: TRY-1234)' + maxLength: 32 + runtime: + type: + - string + - 'null' + format: uuid + description: Use the presets of the given runtime when provisioning this + experience + runtime_branch: + type: + - string + - 'null' + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + description: Override the URL of the runtime repository + maxLength: 200 + workshop: + type: + - boolean + - 'null' + description: Require a cluster whose workshop flag is set + workshop_id: + type: + - string + - 'null' + description: Require a cluster with the given workshop ID + maxLength: 64 + workshop_override_password: + type: + - string + - 'null' + description: Override the deployment's default authentication to use a static + password. This is useful for workshops when you'd like an identical password + associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 + required: + - experience + - request_id ProvisioningStateEnum: enum: - - deployed - - deploying - - destroying - - pending - - ready - - reserved - - unprovisioned + - deployed + - deploying + - destroying + - pending + - ready + - reserved + - unprovisioned type: string description: |- * `deployed` - Cluster is in use by a deployment @@ -11918,35 +14214,92 @@ components: * `ready` - Provisioning has completed and is ready for a deployment * `reserved` - Cluster is unprovisioned but reserved for later use * `unprovisioned` - Cluster has not yet been provisioned - x-enum-varnames: - - ProvisioningStateDeployed - - ProvisioningStateDeploying - - ProvisioningStateDestroying - - ProvisioningStatePending - - ProvisioningStateReady - - ProvisioningStateReserved - - ProvisioningStateUnprovisioned PublishedEnum: enum: - - draft - - 'no' - - 'yes' + - draft + - 'no' + - 'yes' type: string description: |- * `draft` - draft * `no` - no * `yes` - yes - x-enum-varnames: - - PublishedDraft - - PublishedNo - - PublishedYes + Runtime: + type: object + properties: + branch: + type: string + description: Runtime repository branch + maxLength: 255 + cns_addon_pack: + type: boolean + description: Include CNS add-ons? + cns_docker: + type: boolean + description: Include Docker with CNS? + cns_driver_version: + type: + - string + - 'null' + description: GPU driver version + maxLength: 11 + cns_k8s: + type: boolean + description: Include Kubernetes with CNS? + cns_nvidia_driver: + type: boolean + description: Include NVIDIA driver with CNS? + cns_version: + type: + - string + - 'null' + description: NVIDIA Cloud Native Stack version + maxLength: 11 + created: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was created + id: + type: string + format: uuid + readOnly: true + mig: + type: boolean + description: Include MIG support with CNS? + mig_profile: + type: + - string + - 'null' + description: MIG profile name + maxLength: 32 + modified: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was last modified + name: + type: string + description: Human-readable name of the runtime + maxLength: 64 + url: + type: string + format: uri + description: URL of the runtime repository + maxLength: 200 + required: + - created + - id + - modified + - name + - url StatusEnum: enum: - - completed - - failed - - pending - - processing - - retrying + - completed + - failed + - pending + - processing + - retrying type: string description: |- * `completed` - completed @@ -11954,23 +14307,14 @@ components: * `pending` - pending * `processing` - processing * `retrying` - retrying - x-enum-varnames: - - StatusCompleted - - StatusFailed - - StatusPending - - StatusProcessing - - StatusRetrying SystemArchEnum: enum: - - amd64 - - arm64 + - amd64 + - arm64 type: string description: |- * `amd64` - amd64 * `arm64` - arm64 - x-enum-varnames: - - SystemArchAMD64 - - SystemArchARM64 Tenant: type: object properties: @@ -11979,33 +14323,30 @@ components: format: uuid writeOnly: true required: - - id + - id TypeEnum: enum: - - nvme - - ssd + - nvme + - ssd type: string description: |- * `nvme` - NVMe * `ssd` - ssd - x-enum-varnames: - - TypeNVMe - - TypeSSD VgpuProfileEnum: enum: - - air - - bright_cluster - - bright-cluster - - flight_deck - - flight-deck - - nvidia_a40-48q - - nvidia-ai-enterprise - - nvidia_l40s-48q - - nvidia_rtx_pro_6000_blackwell_dc-4-96q - - nvidia_rtx_pro_6000_blackwell_dc-96q - - openshift - - platform_only - - vmware_itadmin + - air + - bright_cluster + - bright-cluster + - flight_deck + - flight-deck + - nvidia_a40-48q + - nvidia-ai-enterprise + - nvidia_l40s-48q + - nvidia_rtx_pro_6000_blackwell_dc-4-96q + - nvidia_rtx_pro_6000_blackwell_dc-96q + - openshift + - platform_only + - vmware_itadmin type: string description: |- * `air` - NVIDIA Air @@ -12021,23 +14362,10 @@ components: * `openshift` - OpenShift * `platform_only` - platform_only * `vmware_itadmin` - VMware IT admin - x-enum-varnames: - - VgpuProfileAir - - VgpuProfileBrightCluster - - VgpuProfileBrightClusterLegacy - - VgpuProfileFlightDeck - - VgpuProfileFlightDeckLegacy - - VgpuProfileNvidiaA4048QLegacy - - VgpuProfileNvidiaAiEnterpriseLegacy - - VgpuProfileNvidiaL40s48QLegacy - - VgpuProfileNvidiaRtxPro6000BlackwellDc496QLegacy - - VgpuProfileNvidiaRtxPro6000BlackwellDc96QLegacy - - VgpuProfileOpenshift - - VgpuProfilePlatformOnly - - VgpuProfileVmwareItadmin securitySchemes: TokenAuthentication: type: apiKey in: header name: Authorization - description: 'Authenticate with your user''s API token. Be sure to include a prefix of "Token" (ex: "Token xxxxx").' + description: 'Authenticate with your user''s API token. Be sure to include a + prefix of "Token" (ex: "Token xxxxx").' diff --git a/v1/providers/launchpad/swagger-v2.36.1.yaml b/v1/providers/launchpad/swagger-v2.39.5.yaml.final.yaml similarity index 80% rename from v1/providers/launchpad/swagger-v2.36.1.yaml rename to v1/providers/launchpad/swagger-v2.39.5.yaml.final.yaml index b990db90..42f0faaf 100644 --- a/v1/providers/launchpad/swagger-v2.36.1.yaml +++ b/v1/providers/launchpad/swagger-v2.39.5.yaml.final.yaml @@ -1,12 +1,69 @@ openapi: 3.1.0 info: title: NVIDIA LaunchPad API - version: 2.36.1 + version: 2.39.5 description: RESTful API for interacting with the NVIDIA LaunchPad platform paths: + /health/: + get: + operationId: health_retrieve + tags: + - health + security: + - TokenAuthentication: [] + - {} + responses: + '200': + content: + application/json: + schema: + type: object + properties: + status: + type: string + components: + type: object + properties: + application: + type: string + database: + type: string + examples: + HealthyResponse: + value: + status: healthy + components: + application: ok + database: ok + summary: Healthy Response + description: '' + '503': + content: + application/json: + schema: + type: object + properties: + status: + type: string + components: + type: object + properties: + application: + type: string + database: + type: string + examples: + UnhealthyResponse: + value: + status: unhealthy + components: + application: ok + database: connection failure + summary: Unhealthy Response + description: '' /v1/auth/login/: post: - operationId: auth_login_create + operationId: v1_auth_login_create description: Login with either an authorization code or username and password (deprecated) to generate an API token that can be used with all other API endpoints. tags: - auth @@ -42,7 +99,7 @@ paths: description: '' /v1/auth/logout/: post: - operationId: auth_logout_create + operationId: v1_auth_logout_create description: Logout from the current session. Your API token will no longer be usable and must be regenerated via the login API. tags: - auth @@ -57,7 +114,7 @@ paths: description: '' /v1/auth/password-change/: post: - operationId: auth_password_change_create + operationId: v1_auth_password_change_create description: Change your current password tags: - auth @@ -85,7 +142,7 @@ paths: description: '' /v1/auth/redirect/: get: - operationId: auth_redirect_retrieve + operationId: v1_auth_redirect_retrieve description: Get an HTTP redirect to begin an OAuth login flow. parameters: - in: query @@ -108,7 +165,7 @@ paths: description: No response body /v1/catalog/deployments/: get: - operationId: catalog_deployments_list + operationId: v1_catalog_deployments_list parameters: - in: query name: bastion_operating_system @@ -260,33 +317,7 @@ paths: - in: query name: platform schema: - type: - - string - - 'null' - enum: - - air - - flight_deck - - kvm_bastion - - lp-vmware-platform - - minimal - - openshift - - vsphere - - vsphere7 - - vsphere8 - - vsphere_horizon - description: |- - Override the default platform selection - - * `air` - NVIDIA Air - * `flight_deck` - Flight Deck - * `kvm_bastion` - KVM Bastion - * `lp-vmware-platform` - lp-vmware-platform - * `minimal` - minimal - * `openshift` - OpenShift - * `vsphere` - vSphere - * `vsphere_horizon` - VMware Horizon - * `vsphere7` - vSphere 7 - * `vsphere8` - vSphere 8 + type: string - in: query name: priority schema: @@ -323,6 +354,42 @@ paths: name: requester_name schema: type: string + - in: query + name: runtime_branch + schema: + type: string + - in: query + name: runtime_cns_addon_pack + schema: + type: boolean + - in: query + name: runtime_cns_docker + schema: + type: boolean + - in: query + name: runtime_cns_driver_version + schema: + type: string + - in: query + name: runtime_cns_k8s + schema: + type: boolean + - in: query + name: runtime_cns_nvidia_driver + schema: + type: boolean + - in: query + name: runtime_cns_version + schema: + type: string + - in: query + name: runtime_mig + schema: + type: boolean + - in: query + name: runtime_mig_profile + schema: + type: string - in: query name: sales_id schema: @@ -338,7 +405,7 @@ paths: - name: search required: false in: query - description: Search for deployments by bastion_operating_system, collection_branch, experience_branch, experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, flightcontrol_release, garage_id, gc_branch, gpu_alias, gpu_model, gpu_os_name, gpu_os_release, gpu_os_version, id, oem_name, org_name, persona, pipeline_branch, platform, provider_name, region, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags, workshop_id + description: Search for deployments by experience catalog_id, experience catalog_id_alias, experience id, experience title, expires_at, id, org_name, provisioning_config bastion_operating_system, provisioning_config collection_branch, provisioning_config experience_branch, provisioning_config flightcontrol_release, provisioning_config garage_id, provisioning_config gc_branch, provisioning_config gpu_alias, provisioning_config gpu_model, provisioning_config gpu_os_name, provisioning_config gpu_os_release, provisioning_config gpu_os_version, provisioning_config oem_name, provisioning_config persona, provisioning_config pipeline_branch, provisioning_config platform, provisioning_config provider_name, provisioning_config region, provisioning_config runtime_branch, provisioning_config runtime_cns_driver_version, provisioning_config runtime_cns_version, provisioning_config runtime_mig_profile, provisioning_config runtime_url, provisioning_config workshop_id, provisioning_request bastion_operating_system, provisioning_request collection_branch, provisioning_request experience_branch, provisioning_request flightcontrol_release, provisioning_request garage_id, provisioning_request gc_branch, provisioning_request gpu_alias, provisioning_request gpu_model, provisioning_request gpu_os_name, provisioning_request gpu_os_release, provisioning_request gpu_os_version, provisioning_request oem_name, provisioning_request persona, provisioning_request pipeline_branch, provisioning_request platform, provisioning_request provider_name, provisioning_request region, provisioning_request runtime_branch, provisioning_request runtime_cns_driver_version, provisioning_request runtime_cns_version, provisioning_request runtime_mig_profile, provisioning_request runtime_url, provisioning_request workshop_id, request_id, requester_email, requester_name, sales_id, sales_owner_email, sales_owner_name, services url, state, tags schema: type: string - in: query @@ -375,6 +442,40 @@ paths: * `waiting` - Waiting for deployment to be ready explode: false style: form + - in: query + name: state_not + schema: + type: array + items: + type: string + enum: + - destroyed + - destroying + - error + - failed + - paused + - ready + - retrying + - starting + - stopped + - stopping + - waiting + description: |- + Multiple values may be separated by commas. + + * `destroyed` - Deployment has been fully destroyed + * `destroying` - Deployment is being destroyed + * `error` - Deployment has encountered a fatal error and will not be retried + * `failed` - Deployment has failed but may be retried + * `paused` - Deployment is paused but may be retried later + * `ready` - Deployment is ready and all instances are running + * `retrying` - Deployment is retrying + * `starting` - Deployment instances are starting + * `stopped` - Deployment instances are stopped + * `stopping` - Deployment instances are stopping + * `waiting` - Waiting for deployment to be ready + explode: false + style: form - in: query name: workshop schema: @@ -406,7 +507,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -442,6 +543,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -459,7 +570,7 @@ paths: summary: Successful Response description: '' post: - operationId: catalog_deployments_create + operationId: v1_catalog_deployments_create parameters: - in: query name: expand @@ -481,7 +592,7 @@ paths: cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b collection_branch: my-branch experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -510,10 +621,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -527,7 +649,7 @@ paths: collection_branch: my-branch experience_branch: main experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -556,10 +678,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -573,7 +706,7 @@ paths: cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b collection_branch: my-branch experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -602,10 +735,21 @@ paths: request_id: TRY-123 requester_email: jane.doe@nvidia.com requester_name: Jane Doe + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com sales_owner_name: John Smith + startup_script: '#!/bin/bash echo "Hello world"' tags: sample: test workshop: false @@ -620,6 +764,22 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe summary: Deployment Request (Minimum Required Fields) + DeploymentRequest(MinimumRequiredFieldsW/CatalogID): + value: + catalog_id: aBY3Z000000xBL4NCO + org_name: NVIDIA + request_id: TRY-123 + requester_email: jane.doe@nvidia.com + requester_name: Jane Doe + summary: Deployment Request (Minimum Required Fields w/ Catalog ID) + DeploymentRequest(MinimumRequiredFieldsW/CatalogIDAlias): + value: + catalog_id_alias: LP-15 + org_name: NVIDIA + request_id: TRY-123 + requester_email: jane.doe@nvidia.com + requester_name: Jane Doe + summary: Deployment Request (Minimum Required Fields w/ Catalog ID Alias) application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Deployment' @@ -644,7 +804,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -680,6 +840,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -698,7 +868,7 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/instances/: get: - operationId: catalog_deployments_instances_list + operationId: v1_catalog_deployments_instances_list summary: "\U0001F6A7 [Beta Feature]" parameters: - in: path @@ -802,7 +972,7 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/notes/: get: - operationId: catalog_deployments_notes_list + operationId: v1_catalog_deployments_notes_list parameters: - in: query name: created_by @@ -888,7 +1058,7 @@ paths: summary: DeploymentNote Response description: '' post: - operationId: catalog_deployments_notes_create + operationId: v1_catalog_deployments_notes_create parameters: - in: path name: deployment_id @@ -936,7 +1106,7 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/notes/{id}/: get: - operationId: catalog_deployments_notes_retrieve + operationId: v1_catalog_deployments_notes_retrieve parameters: - in: path name: deployment_id @@ -982,7 +1152,7 @@ paths: summary: DeploymentNote Response description: '' put: - operationId: catalog_deployments_notes_update + operationId: v1_catalog_deployments_notes_update parameters: - in: path name: deployment_id @@ -1035,7 +1205,7 @@ paths: summary: DeploymentNote Response description: '' patch: - operationId: catalog_deployments_notes_partial_update + operationId: v1_catalog_deployments_notes_partial_update parameters: - in: path name: deployment_id @@ -1088,7 +1258,7 @@ paths: summary: DeploymentNote Response description: '' delete: - operationId: catalog_deployments_notes_destroy + operationId: v1_catalog_deployments_notes_destroy parameters: - in: path name: deployment_id @@ -1111,7 +1281,7 @@ paths: description: No response body /v1/catalog/deployments/{deployment_id}/pipelines/: get: - operationId: catalog_deployments_pipelines_list + operationId: v1_catalog_deployments_pipelines_list parameters: - in: query name: action @@ -1120,11 +1290,13 @@ paths: enum: - apply - destroy + - notify description: |- Action for the pipeline to run * `apply` - apply * `destroy` - destroy + * `notify` - notify - in: path name: deployment_id schema: @@ -1191,7 +1363,7 @@ paths: summary: DeploymentPipeline Response description: '' post: - operationId: catalog_deployments_pipelines_create + operationId: v1_catalog_deployments_pipelines_create parameters: - in: path name: deployment_id @@ -1242,7 +1414,7 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/services/: get: - operationId: catalog_deployments_services_list + operationId: v1_catalog_deployments_services_list parameters: - in: path name: deployment_id @@ -1308,7 +1480,7 @@ paths: summary: DeploymentService Response description: '' post: - operationId: catalog_deployments_services_create + operationId: v1_catalog_deployments_services_create parameters: - in: path name: deployment_id @@ -1356,7 +1528,7 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/ssh-keys/: get: - operationId: catalog_deployments_ssh_keys_list + operationId: v1_catalog_deployments_ssh_keys_list parameters: - in: path name: deployment_id @@ -1421,7 +1593,7 @@ paths: summary: DeploymentKey Response description: '' post: - operationId: catalog_deployments_ssh_keys_create + operationId: v1_catalog_deployments_ssh_keys_create parameters: - in: path name: deployment_id @@ -1468,7 +1640,7 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/ssh-keys/{id}/: delete: - operationId: catalog_deployments_ssh_keys_destroy + operationId: v1_catalog_deployments_ssh_keys_destroy parameters: - in: path name: deployment_id @@ -1491,7 +1663,7 @@ paths: description: No response body /v1/catalog/deployments/{deployment_id}/tasks/: get: - operationId: catalog_deployments_tasks_list + operationId: v1_catalog_deployments_tasks_list summary: "\U0001F6A7 [Beta Feature]" parameters: - in: query @@ -1586,7 +1758,7 @@ paths: summary: DeploymentTask Response description: '' post: - operationId: catalog_deployments_tasks_create + operationId: v1_catalog_deployments_tasks_create summary: "\U0001F6A7 [Beta Feature]" parameters: - in: path @@ -1636,7 +1808,7 @@ paths: description: '' /v1/catalog/deployments/{deployment_id}/tasks/{id}/: get: - operationId: catalog_deployments_tasks_retrieve + operationId: v1_catalog_deployments_tasks_retrieve summary: "\U0001F6A7 [Beta Feature]" parameters: - in: path @@ -1675,7 +1847,7 @@ paths: description: '' /v1/catalog/deployments/{id}/: get: - operationId: catalog_deployments_retrieve + operationId: v1_catalog_deployments_retrieve parameters: - in: query name: expand @@ -1723,7 +1895,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -1759,6 +1931,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -1776,7 +1958,7 @@ paths: summary: Successful Response description: '' put: - operationId: catalog_deployments_update + operationId: v1_catalog_deployments_update parameters: - in: path name: id @@ -1797,7 +1979,7 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-18 21:04:45.203550+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ip_allowlist: @@ -1840,7 +2022,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -1876,6 +2058,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -1893,7 +2085,7 @@ paths: summary: Deployment Response description: '' patch: - operationId: catalog_deployments_partial_update + operationId: v1_catalog_deployments_partial_update parameters: - in: path name: id @@ -1914,7 +2106,7 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-18 21:04:45.203550+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ip_allowlist: @@ -1957,7 +2149,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -1993,6 +2185,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -2010,7 +2212,7 @@ paths: summary: Deployment Response description: '' delete: - operationId: catalog_deployments_destroy + operationId: v1_catalog_deployments_destroy parameters: - in: path name: id @@ -2038,7 +2240,7 @@ paths: created: '2024-04-01T06:14:32.602Z' experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc experience_branch: main - expires_at: 2025-09-21 21:04:45.203347+00:00 + expires_at: 2025-11-07 14:20:24.717454+00:00 flightcontrol_release: latest garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd gc_branch: main @@ -2074,6 +2276,16 @@ paths: requester_email: jane.doe@nvidia.com requester_name: Jane Doe retry_count: 0 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb sales_created_date: '2025-04-10T15:08:47.381700Z' sales_id: a6ZYx000001234 sales_owner_email: john.smith@nvidia.com @@ -2094,7 +2306,7 @@ paths: description: No response body /v1/catalog/deployments/{id}/history/: get: - operationId: catalog_deployments_history_list + operationId: v1_catalog_deployments_history_list parameters: - in: path name: id @@ -2143,7 +2355,7 @@ paths: description: '' /v1/catalog/deployments/bulk/: patch: - operationId: catalog_deployments_bulk_partial_update + operationId: v1_catalog_deployments_bulk_partial_update tags: - catalog/deployments requestBody: @@ -2156,7 +2368,7 @@ paths: value: collection_branch: my-branch experience_branch: main - expires_at: 2025-10-18 21:04:45.203550+00:00 + expires_at: 2025-12-04 14:20:24.717624+00:00 flightcontrol_release: latest gc_branch: main ids: @@ -2203,7 +2415,7 @@ paths: description: '' /v1/catalog/deployments/stats/: get: - operationId: catalog_deployments_stats_retrieve + operationId: v1_catalog_deployments_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - catalog/deployments @@ -2214,7 +2426,7 @@ paths: description: No response body /v1/catalog/experiences/: get: - operationId: catalog_experiences_list + operationId: v1_catalog_experiences_list parameters: - in: query name: assignee @@ -2512,6 +2724,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -2519,7 +2732,7 @@ paths: summary: Experience Response description: '' post: - operationId: catalog_experiences_create + operationId: v1_catalog_experiences_create tags: - catalog/experiences requestBody: @@ -2558,6 +2771,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -2612,6 +2826,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -2620,7 +2835,7 @@ paths: description: '' /v1/catalog/experiences/{experience_id}/notes/: get: - operationId: catalog_experiences_notes_list + operationId: v1_catalog_experiences_notes_list parameters: - in: query name: created_by @@ -2706,7 +2921,7 @@ paths: summary: ExperiencetNote Response description: '' post: - operationId: catalog_experiences_notes_create + operationId: v1_catalog_experiences_notes_create parameters: - in: path name: experience_id @@ -2755,7 +2970,7 @@ paths: description: '' /v1/catalog/experiences/{experience_id}/notes/{id}/: get: - operationId: catalog_experiences_notes_retrieve + operationId: v1_catalog_experiences_notes_retrieve parameters: - in: path name: experience_id @@ -2801,7 +3016,7 @@ paths: summary: ExperiencetNote Response description: '' put: - operationId: catalog_experiences_notes_update + operationId: v1_catalog_experiences_notes_update parameters: - in: path name: experience_id @@ -2855,7 +3070,7 @@ paths: summary: ExperiencetNote Response description: '' patch: - operationId: catalog_experiences_notes_partial_update + operationId: v1_catalog_experiences_notes_partial_update parameters: - in: path name: experience_id @@ -2909,7 +3124,7 @@ paths: summary: ExperiencetNote Response description: '' delete: - operationId: catalog_experiences_notes_destroy + operationId: v1_catalog_experiences_notes_destroy parameters: - in: path name: experience_id @@ -2932,7 +3147,7 @@ paths: description: No response body /v1/catalog/experiences/{id}/: get: - operationId: catalog_experiences_retrieve + operationId: v1_catalog_experiences_retrieve parameters: - in: query name: expand @@ -3000,6 +3215,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3007,7 +3223,7 @@ paths: summary: Experience Response description: '' put: - operationId: catalog_experiences_update + operationId: v1_catalog_experiences_update parameters: - in: path name: id @@ -3054,6 +3270,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3108,6 +3325,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3115,7 +3333,7 @@ paths: summary: Experience Response description: '' patch: - operationId: catalog_experiences_partial_update + operationId: v1_catalog_experiences_partial_update parameters: - in: path name: id @@ -3162,6 +3380,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3216,6 +3435,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3223,7 +3443,7 @@ paths: summary: Experience Response description: '' delete: - operationId: catalog_experiences_destroy + operationId: v1_catalog_experiences_destroy parameters: - in: path name: id @@ -3241,7 +3461,7 @@ paths: description: No response body /v1/catalog/experiences/{id}/history/: get: - operationId: catalog_experiences_history_list + operationId: v1_catalog_experiences_history_list parameters: - in: path name: id @@ -3290,7 +3510,7 @@ paths: description: '' /v1/catalog/experiences/bulk/: post: - operationId: catalog_experiences_bulk_create + operationId: v1_catalog_experiences_bulk_create description: Create experiences in bulk via CSV file upload tags: - catalog/experiences @@ -3316,7 +3536,7 @@ paths: $ref: '#/components/schemas/ExperienceBulk' description: '' patch: - operationId: catalog_experiences_bulk_partial_update + operationId: v1_catalog_experiences_bulk_partial_update tags: - catalog/experiences requestBody: @@ -3356,6 +3576,7 @@ paths: published: 'yes' required_gpus: - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 sa_lab: false system_arch: amd64 title: My Experience @@ -3379,7 +3600,7 @@ paths: description: '' /v1/catalog/experiences/stats/: get: - operationId: catalog_experiences_stats_retrieve + operationId: v1_catalog_experiences_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - catalog/experiences @@ -3390,7 +3611,7 @@ paths: description: No response body /v1/catalog/gpu-os-choices/: get: - operationId: catalog_gpu_os_choices_list + operationId: v1_catalog_gpu_os_choices_list parameters: - in: query name: fields @@ -3452,7 +3673,7 @@ paths: summary: GPU OS Choice Response description: '' post: - operationId: catalog_gpu_os_choices_create + operationId: v1_catalog_gpu_os_choices_create tags: - catalog/gpu-os-choices requestBody: @@ -3495,8 +3716,16 @@ paths: description: '' /v1/catalog/instance-types/: get: - operationId: catalog_instance_types_list + operationId: v1_catalog_instance_types_list parameters: + - in: query + name: delivery + schema: + type: string + enum: + - fast + - slow + description: Limit results to instance types that can meet the given delivery timelines. - name: page required: false in: query @@ -3554,7 +3783,7 @@ paths: description: '' /v1/catalog/persona-choices/: get: - operationId: catalog_persona_choices_list + operationId: v1_catalog_persona_choices_list parameters: - in: query name: fields @@ -3614,7 +3843,7 @@ paths: summary: Persona Choice Response description: '' post: - operationId: catalog_persona_choices_create + operationId: v1_catalog_persona_choices_create tags: - catalog/persona-choices requestBody: @@ -3651,11 +3880,87 @@ paths: name: developer summary: Persona Choice Response description: '' - /v1/identity/profile/: + /v1/catalog/runtimes/: get: - operationId: identity_profile_retrieve + operationId: v1_catalog_runtimes_list + parameters: + - in: query + name: branch + schema: + type: string + - in: query + name: cns_addon_pack + schema: + type: boolean + - in: query + name: cns_docker + schema: + type: boolean + - in: query + name: cns_driver_version + schema: + type: string + - in: query + name: cns_k8s + schema: + type: boolean + - in: query + name: cns_nvidia_driver + schema: + type: boolean + - in: query + name: cns_version + schema: + type: string + - in: query + name: fields + schema: + type: string + description: Include only the specified fields in the response + - in: query + name: id + schema: + type: string + format: uuid + - in: query + name: mig + schema: + type: boolean + - in: query + name: mig_profile + schema: + type: string + - in: query + name: omit + schema: + type: string + description: Exclude the specified fields in the response + - name: ordering + required: false + in: query + description: Which field to use when ordering the results. + schema: + type: string + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + - name: search + required: false + in: query + description: Search for runtimes by branch, cns_driver_version, cns_version, mig_profile, id, name, url + schema: + type: string tags: - - identity/profile + - catalog/runtimes security: - TokenAuthentication: [] responses: @@ -3663,92 +3968,434 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/PaginatedRuntimeList' examples: - ProfileResponse: + RuntimeResponse: value: - created: '2024-10-01T07:24:42.702Z' - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: '2024-11-03T18:04:55.480Z' - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - summary: Profile Response + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response description: '' - patch: - operationId: identity_profile_partial_update + post: + operationId: v1_catalog_runtimes_create tags: - - identity/profile + - catalog/runtimes requestBody: content: application/json: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' examples: - ProfileRequest: + RuntimeRequest: value: - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - summary: Profile Request + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Request application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' multipart/form-data: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' required: true security: - TokenAuthentication: [] responses: - '200': + '201': content: application/json: schema: - $ref: '#/components/schemas/Profile' + $ref: '#/components/schemas/Runtime' examples: - ProfileResponse: + RuntimeResponse: value: - created: '2024-10-01T07:24:42.702Z' - groups: - - Reporters - id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc - modified: '2024-11-03T18:04:55.480Z' - preferred_theme: dark - preferred_view_settings: - view_name: - ordering: -column_name - page_size: 50 - username: jdoe@nvidia.com - summary: Profile Response + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response description: '' - /v1/inventory/clusters/: + /v1/catalog/runtimes/{id}/: get: - operationId: inventory_clusters_list + operationId: v1_catalog_runtimes_retrieve parameters: - in: query - name: available - schema: - type: boolean - description: Is the cluster currently available for provisioning? - - in: query - name: bastion_name + name: fields schema: type: string - - in: query - name: deployment + description: Include only the specified fields in the response + - in: path + name: id schema: type: string format: uuid + description: A UUID string identifying this runtime. + required: true - in: query - name: enabled + name: omit + schema: + type: string + description: Exclude the specified fields in the response + tags: + - catalog/runtimes + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeResponse: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response + description: '' + put: + operationId: v1_catalog_runtimes_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this runtime. + required: true + tags: + - catalog/runtimes + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeRequest: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Runtime' + multipart/form-data: + schema: + $ref: '#/components/schemas/Runtime' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeResponse: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response + description: '' + patch: + operationId: v1_catalog_runtimes_partial_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this runtime. + required: true + tags: + - catalog/runtimes + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeRequest: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + mig: true + mig_profile: all-2g.20gb + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Runtime' + multipart/form-data: + schema: + $ref: '#/components/schemas/Runtime' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Runtime' + examples: + RuntimeResponse: + value: + branch: main + cns_addon_pack: false + cns_docker: true + cns_driver_version: 580.65.06 + cns_k8s: true + cns_nvidia_driver: true + cns_version: '16.0' + created: '2024-04-01T06:14:32.602Z' + id: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + mig: true + mig_profile: all-2g.20gb + modified: '2024-05-03T17:03:45.380Z' + name: CNS with Docker and Kubernetes + url: https://gitlab.com/my-project/platform-cns-docker.git + summary: Runtime Response + description: '' + delete: + operationId: v1_catalog_runtimes_destroy + parameters: + - in: path + name: id + schema: + type: string + format: uuid + description: A UUID string identifying this runtime. + required: true + tags: + - catalog/runtimes + security: + - TokenAuthentication: [] + responses: + '204': + description: No response body + /v1/catalog/runtimes/{id}/history/: + get: + operationId: v1_catalog_runtimes_history_list + parameters: + - in: path + name: id + schema: + type: string + format: uuid + required: true + - name: page + required: false + in: query + description: A page number within the paginated result set. + schema: + type: integer + - name: page_size + required: false + in: query + description: Number of results to return per page. + schema: + type: integer + tags: + - catalog/runtimes + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedModelChangeList' + examples: + SuccessfulResponse: + value: + count: 123 + next: https://launchpad.api.nvidia.com/example/?page=4 + previous: https://launchpad.api.nvidia.com/example/?page=2 + results: + - change_type: changed + changes: + - field: notes + new_value: Sample note + old_value: null + created: '2025-01-29T13:20:39.821Z' + id: 123 + username: jane.doe@nvidia.com + summary: Successful Response + description: '' + /v1/identity/profile/: + get: + operationId: v1_identity_profile_retrieve + tags: + - identity/profile + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Profile' + examples: + ProfileResponse: + value: + created: '2024-10-01T07:24:42.702Z' + groups: + - Reporters + id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + modified: '2024-11-03T18:04:55.480Z' + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + username: jdoe@nvidia.com + summary: Profile Response + description: '' + patch: + operationId: v1_identity_profile_partial_update + tags: + - identity/profile + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Profile' + examples: + ProfileRequest: + value: + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + summary: Profile Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/Profile' + multipart/form-data: + schema: + $ref: '#/components/schemas/Profile' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Profile' + examples: + ProfileResponse: + value: + created: '2024-10-01T07:24:42.702Z' + groups: + - Reporters + id: c77f399a-8f69-4a07-b1f5-e35f8654cdfc + modified: '2024-11-03T18:04:55.480Z' + preferred_theme: dark + preferred_view_settings: + view_name: + ordering: -column_name + page_size: 50 + username: jdoe@nvidia.com + summary: Profile Response + description: '' + /v1/inventory/clusters/: + get: + operationId: v1_inventory_clusters_list + parameters: + - in: query + name: available + schema: + type: boolean + description: Is the cluster currently available for provisioning? + - in: query + name: bastion_name + schema: + type: string + - in: query + name: deployment + schema: + type: string + format: uuid + - in: query + name: enabled schema: type: boolean - in: query @@ -4042,6 +4689,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4054,7 +4703,7 @@ paths: summary: Cluster Response description: '' post: - operationId: inventory_clusters_create + operationId: v1_inventory_clusters_create tags: - inventory/clusters requestBody: @@ -4129,6 +4778,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4142,7 +4793,7 @@ paths: description: '' /v1/inventory/clusters/{cluster_id}/tenants/: post: - operationId: inventory_clusters_tenants_create + operationId: v1_inventory_clusters_tenants_create parameters: - in: path name: cluster_id @@ -4201,6 +4852,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4214,7 +4867,7 @@ paths: description: '' /v1/inventory/clusters/{cluster_id}/tenants/{id}/: delete: - operationId: inventory_clusters_tenants_destroy + operationId: v1_inventory_clusters_tenants_destroy parameters: - in: path name: cluster_id @@ -4237,7 +4890,7 @@ paths: description: No response body /v1/inventory/clusters/{id}/: get: - operationId: inventory_clusters_retrieve + operationId: v1_inventory_clusters_retrieve parameters: - in: query name: expand @@ -4300,6 +4953,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4312,7 +4967,7 @@ paths: summary: Cluster Response description: '' put: - operationId: inventory_clusters_update + operationId: v1_inventory_clusters_update parameters: - in: path name: id @@ -4395,6 +5050,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4407,7 +5064,7 @@ paths: summary: Cluster Response description: '' patch: - operationId: inventory_clusters_partial_update + operationId: v1_inventory_clusters_partial_update parameters: - in: path name: id @@ -4490,6 +5147,8 @@ paths: provider_capacity: true provision_user: nvidia provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec provisioning_state: pending public_address: 203.0.113.1 request_id: TRY-1234 @@ -4502,7 +5161,7 @@ paths: summary: Cluster Response description: '' delete: - operationId: inventory_clusters_destroy + operationId: v1_inventory_clusters_destroy parameters: - in: path name: id @@ -4520,7 +5179,7 @@ paths: description: No response body /v1/inventory/clusters/{id}/history/: get: - operationId: inventory_clusters_history_list + operationId: v1_inventory_clusters_history_list parameters: - in: path name: id @@ -4567,27 +5226,355 @@ paths: username: jane.doe@nvidia.com summary: Successful Response description: '' - /v1/inventory/clusters/bulk/: - patch: - operationId: inventory_clusters_bulk_partial_update + /v1/inventory/clusters/{id}/pipelines/trigger/: + post: + operationId: v1_inventory_clusters_pipelines_trigger_create + parameters: + - in: path + name: id + schema: + type: string + format: uuid + required: true tags: - inventory/clusters requestBody: content: application/json: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ClusterPipelineTrigger' examples: - ClusterBulkUpdateRequest: + ClusterPipelineTriggerRequest: value: - bastion_name: jovial_bastion - enabled: true - experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc - ids: - - 089324a5-708c-4386-9fdc-92dd9aa63d2b - - 3587f151-b02a-46c7-80a4-ac61db6633ed - maintenance: false - mgmt_ip: 172.16.0.11 + action: apply + summary: ClusterPipelineTrigger Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + required: true + security: + - TokenAuthentication: [] + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterPipelineTrigger' + examples: + ClusterPipelineTriggerResponse: + value: + action: apply + created: '2024-04-01T06:14:32.602Z' + id: 84d750af-fa43-4ff1-9198-39535584f83e + modified: '2024-05-03T17:03:45.380Z' + pipeline_id: 2101675388 + request_id: TRY-1234 + url: https://gitlab.com/my-project/-/pipelines/2101675388 + summary: ClusterPipelineTrigger Response + description: '' + /v1/inventory/clusters/{id}/provision/: + patch: + operationId: v1_inventory_clusters_provision_partial_update + parameters: + - in: path + name: id + schema: + type: string + format: uuid + required: true + tags: + - inventory/clusters + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + examples: + ProvisioningRequest(CatalogIDAlias): + value: + bastion_operating_system: ubuntu_22_04 + catalog_id_alias: LP-15 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID Alias) + ProvisioningRequest(ExperienceID): + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Experience ID) + ProvisioningRequest(CatalogID): + value: + bastion_operating_system: ubuntu_22_04 + catalog_id: aBY3Z000000xBL4NCO + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID) + ProvisioningRequest(MinimumRequiredFields): + value: + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogID): + value: + catalog_id: aBY3Z000000xBL4NCO + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog ID) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogIDAlias): + value: + catalog_id_alias: LP-15 + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog ID Alias) + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + examples: + SuccessfulResponse: + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Successful Response + description: '' + delete: + operationId: v1_inventory_clusters_provision_destroy + parameters: + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster,experience").' + - in: path + name: id + schema: + type: string + format: uuid + required: true + tags: + - inventory/clusters + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Cluster' + examples: + ClusterResponse: + value: + available: true + bastion_name: jovial_bastion + created: '2024-04-01T06:14:32.602Z' + deployment: null + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + free_by: '2024-06-13T02:22:06.611Z' + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 2 + gpus: + - c77f399a-8f69-4a07-b1f5-e35f8654cdfc + id: 089324a5-708c-4386-9fdc-92dd9aa63d2b + last_used: '2024-05-03T15:04:44.410Z' + maintenance: false + mgmt_ip: 172.16.0.11 + mgmt_mac: 00:53:FF:00:00:01 + modified: '2024-05-03T17:03:45.380Z' + netmask: 24 + node_count: 1 + nodes: + - d66f5cc1-c861-4c79-8d36-d156e050cb07 + notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + persist: false + provider_capacity: true + provision_user: nvidia + provisioning_attempts: 1 + provisioning_config: de02399f-ca10-4095-b559-85d87362adb4 + provisioning_request: 91471375-dcfa-46ed-9fb7-57509a44aeec + provisioning_state: pending + public_address: 203.0.113.1 + request_id: TRY-1234 + reservation: false + tenant_ids: + - faf0669c-eec2-47a4-a881-5c568be65597 + vlan_id: 1 + workshop: false + workshop_id: January training + summary: Cluster Response + description: '' + /v1/inventory/clusters/bulk/: + patch: + operationId: v1_inventory_clusters_bulk_partial_update + tags: + - inventory/clusters + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + examples: + ClusterBulkUpdateRequest: + value: + bastion_name: jovial_bastion + enabled: true + experience: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + ids: + - 089324a5-708c-4386-9fdc-92dd9aa63d2b + - 3587f151-b02a-46c7-80a4-ac61db6633ed + maintenance: false + mgmt_ip: 172.16.0.11 mgmt_mac: 00:53:FF:00:00:01 netmask: 24 nodes: @@ -4601,32 +5588,244 @@ paths: vlan_id: 1 workshop: false workshop_id: January training - summary: Cluster Bulk Update Request + summary: Cluster Bulk Update Request + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + multipart/form-data: + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + required: true + security: + - TokenAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterBulkUpdate' + examples: + ClusterBulkUpdateResponse: + value: + count: 2 + result: Records updated successfully + summary: Cluster Bulk Update Response + description: '' + /v1/inventory/clusters/provision/: + post: + operationId: v1_inventory_clusters_provision_create + parameters: + - in: query + name: expand + schema: + type: string + description: 'Expand related field(s) instead of only showing a UUID (ex: "cluster,experience").' + tags: + - inventory/clusters + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProvisioningRequest' + examples: + ProvisioningRequest(CatalogIDAlias): + value: + bastion_operating_system: ubuntu_22_04 + catalog_id_alias: LP-15 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID Alias) + ProvisioningRequest(ExperienceID): + value: + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Experience ID) + ProvisioningRequest(CatalogID): + value: + bastion_operating_system: ubuntu_22_04 + catalog_id: aBY3Z000000xBL4NCO + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Provisioning Request (Catalog ID) + ProvisioningRequest(MinimumRequiredFields): + value: + experience_id: c4b62bd4-6c4b-41f2-b4ec-5ad392f6afc + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogID): + value: + catalog_id: aBY3Z000000xBL4NCO + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog ID) + ProvisioningRequest(MinimumRequiredFieldsW/CatalogIDAlias): + value: + catalog_id_alias: LP-15 + request_id: TRY-123 + summary: Provisioning Request (Minimum Required Fields w/ Catalog ID Alias) application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' required: true security: - TokenAuthentication: [] responses: - '200': + '201': content: application/json: schema: - $ref: '#/components/schemas/ClusterBulkUpdate' + $ref: '#/components/schemas/ProvisioningRequest' examples: - ClusterBulkUpdateResponse: + SuccessfulResponse: value: - count: 2 - result: Records updated successfully - summary: Cluster Bulk Update Response + bastion_operating_system: ubuntu_22_04 + cluster: 089324a5-708c-4386-9fdc-92dd9aa63d2b + collection_branch: my-branch + experience_branch: main + flightcontrol_release: latest + garage_id: f15b539b-8b64-46e8-95e3-c70f2f36aabd + gc_branch: main + gpu_alias: nvidia3.l40sx2.medium + gpu_count: 4 + gpu_model: l40s + gpu_os_name: ubuntu + gpu_os_release: jammy + gpu_os_version: '22.04' + min_gpu_count: 2 + node_count: 1 + oem_name: NVIDIA + persist_on_failure: false + persona: developer + pipeline: 5443221 + pipeline_branch: main + platform: flight_deck + provider_name: dmz + region: pdx + request_id: TRY-123 + runtime: 4e76b464-e3e4-4ed9-ba1d-ee14c5cf40a0 + runtime_branch: main + runtime_cns_addon_pack: false + runtime_cns_docker: true + runtime_cns_driver_version: 580.65.06 + runtime_cns_k8s: true + runtime_cns_nvidia_driver: true + runtime_cns_version: '16.0' + runtime_mig: true + runtime_mig_profile: all-2g.20gb + workshop: false + workshop_id: January training + workshop_override_password: nvidia + summary: Successful Response description: '' /v1/inventory/clusters/stats/: get: - operationId: inventory_clusters_stats_retrieve + operationId: v1_inventory_clusters_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - inventory/clusters @@ -4637,7 +5836,7 @@ paths: description: No response body /v1/inventory/gpus/: get: - operationId: inventory_gpus_list + operationId: v1_inventory_gpus_list parameters: - in: query name: fields @@ -4731,7 +5930,7 @@ paths: summary: GPU Response description: '' post: - operationId: inventory_gpus_create + operationId: v1_inventory_gpus_create tags: - inventory/gpus requestBody: @@ -4777,7 +5976,7 @@ paths: description: '' /v1/inventory/gpus/{id}/: get: - operationId: inventory_gpus_retrieve + operationId: v1_inventory_gpus_retrieve parameters: - in: query name: fields @@ -4820,7 +6019,7 @@ paths: summary: GPU Response description: '' put: - operationId: inventory_gpus_update + operationId: v1_inventory_gpus_update parameters: - in: path name: id @@ -4873,7 +6072,7 @@ paths: summary: GPU Response description: '' patch: - operationId: inventory_gpus_partial_update + operationId: v1_inventory_gpus_partial_update parameters: - in: path name: id @@ -4926,7 +6125,7 @@ paths: summary: GPU Response description: '' delete: - operationId: inventory_gpus_destroy + operationId: v1_inventory_gpus_destroy parameters: - in: path name: id @@ -4944,7 +6143,7 @@ paths: description: No response body /v1/inventory/gpus/{id}/history/: get: - operationId: inventory_gpus_history_list + operationId: v1_inventory_gpus_history_list parameters: - in: path name: id @@ -4993,7 +6192,7 @@ paths: description: '' /v1/inventory/gpus/bulk/: patch: - operationId: inventory_gpus_bulk_partial_update + operationId: v1_inventory_gpus_bulk_partial_update tags: - inventory/gpus requestBody: @@ -5035,7 +6234,7 @@ paths: description: '' /v1/inventory/gpus/stats/: get: - operationId: inventory_gpus_stats_retrieve + operationId: v1_inventory_gpus_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - inventory/gpus @@ -5046,7 +6245,7 @@ paths: description: No response body /v1/inventory/instances/: get: - operationId: inventory_instances_list + operationId: v1_inventory_instances_list summary: "\U0001F6A7 [Beta Feature]" parameters: - in: query @@ -5154,7 +6353,7 @@ paths: summary: Instance Response description: '' post: - operationId: inventory_instances_create + operationId: v1_inventory_instances_create summary: "\U0001F6A7 [Beta Feature]" tags: - inventory/instances @@ -5205,7 +6404,7 @@ paths: description: '' /v1/inventory/instances/{id}/: get: - operationId: inventory_instances_retrieve + operationId: v1_inventory_instances_retrieve summary: "\U0001F6A7 [Beta Feature]" parameters: - in: query @@ -5256,7 +6455,7 @@ paths: summary: Instance Response description: '' put: - operationId: inventory_instances_update + operationId: v1_inventory_instances_update summary: "\U0001F6A7 [Beta Feature]" parameters: - in: path @@ -5314,7 +6513,7 @@ paths: summary: Instance Response description: '' patch: - operationId: inventory_instances_partial_update + operationId: v1_inventory_instances_partial_update summary: "\U0001F6A7 [Beta Feature]" parameters: - in: path @@ -5372,7 +6571,7 @@ paths: summary: Instance Response description: '' delete: - operationId: inventory_instances_destroy + operationId: v1_inventory_instances_destroy summary: "\U0001F6A7 [Beta Feature]" parameters: - in: path @@ -5391,7 +6590,7 @@ paths: description: No response body /v1/inventory/instances/{id}/history/: get: - operationId: inventory_instances_history_list + operationId: v1_inventory_instances_history_list summary: "\U0001F6A7 [Beta Feature]" parameters: - in: path @@ -5441,7 +6640,7 @@ paths: description: '' /v1/inventory/instances/bulk/: patch: - operationId: inventory_instances_bulk_partial_update + operationId: v1_inventory_instances_bulk_partial_update summary: "\U0001F6A7 [Beta Feature]" tags: - inventory/instances @@ -5486,7 +6685,7 @@ paths: description: '' /v1/inventory/locations/: get: - operationId: inventory_locations_list + operationId: v1_inventory_locations_list parameters: - in: query name: expand @@ -5571,7 +6770,7 @@ paths: summary: Location Response description: '' post: - operationId: inventory_locations_create + operationId: v1_inventory_locations_create tags: - inventory/locations requestBody: @@ -5614,7 +6813,7 @@ paths: description: '' /v1/inventory/locations/{id}/: get: - operationId: inventory_locations_retrieve + operationId: v1_inventory_locations_retrieve parameters: - in: query name: expand @@ -5660,7 +6859,7 @@ paths: summary: Location Response description: '' put: - operationId: inventory_locations_update + operationId: v1_inventory_locations_update parameters: - in: path name: id @@ -5710,7 +6909,7 @@ paths: summary: Location Response description: '' patch: - operationId: inventory_locations_partial_update + operationId: v1_inventory_locations_partial_update parameters: - in: path name: id @@ -5760,7 +6959,7 @@ paths: summary: Location Response description: '' delete: - operationId: inventory_locations_destroy + operationId: v1_inventory_locations_destroy parameters: - in: path name: id @@ -5778,7 +6977,7 @@ paths: description: No response body /v1/inventory/locations/{id}/history/: get: - operationId: inventory_locations_history_list + operationId: v1_inventory_locations_history_list parameters: - in: path name: id @@ -5827,7 +7026,7 @@ paths: description: '' /v1/inventory/nodes/: get: - operationId: inventory_nodes_list + operationId: v1_inventory_nodes_list parameters: - in: query name: bmc_ip @@ -5837,14 +7036,6 @@ paths: name: bmc_mac schema: type: string - - in: query - name: bmc_password - schema: - type: string - - in: query - name: bmc_user - schema: - type: string - in: query name: cluster schema: @@ -6007,7 +7198,7 @@ paths: - name: search required: false in: query - description: Search for nodes by bmc_ip, bmc_mac, bmc_password, bmc_user, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch + description: Search for nodes by bmc_ip, bmc_mac, cpu_manufacturer, cpu_model, garage_id, gpu_alias, gpu model, gpu_vbios, id, location name, location provider name, memory, mgmt_ip, mgmt_mac, model, network_type, nic_prefixes, notes, oem name, provider_node_id, rack, rack_unit, serial_number, storage, system_arch schema: type: string - in: query @@ -6085,7 +7276,7 @@ paths: summary: Node Response description: '' post: - operationId: inventory_nodes_create + operationId: v1_inventory_nodes_create tags: - inventory/nodes requestBody: @@ -6184,7 +7375,7 @@ paths: description: '' /v1/inventory/nodes/{id}/: get: - operationId: inventory_nodes_retrieve + operationId: v1_inventory_nodes_retrieve parameters: - in: query name: expand @@ -6259,7 +7450,7 @@ paths: summary: Node Response description: '' put: - operationId: inventory_nodes_update + operationId: v1_inventory_nodes_update parameters: - in: path name: id @@ -6365,7 +7556,7 @@ paths: summary: Node Response description: '' patch: - operationId: inventory_nodes_partial_update + operationId: v1_inventory_nodes_partial_update parameters: - in: path name: id @@ -6471,7 +7662,7 @@ paths: summary: Node Response description: '' delete: - operationId: inventory_nodes_destroy + operationId: v1_inventory_nodes_destroy parameters: - in: path name: id @@ -6489,7 +7680,7 @@ paths: description: No response body /v1/inventory/nodes/{id}/history/: get: - operationId: inventory_nodes_history_list + operationId: v1_inventory_nodes_history_list parameters: - in: path name: id @@ -6538,7 +7729,7 @@ paths: description: '' /v1/inventory/nodes/bulk/: post: - operationId: inventory_nodes_bulk_create + operationId: v1_inventory_nodes_bulk_create description: Create nodes in bulk via CSV file upload tags: - inventory/nodes @@ -6564,7 +7755,7 @@ paths: $ref: '#/components/schemas/NodeBulk' description: '' patch: - operationId: inventory_nodes_bulk_partial_update + operationId: v1_inventory_nodes_bulk_partial_update tags: - inventory/nodes requestBody: @@ -6627,7 +7818,7 @@ paths: description: '' /v1/inventory/oems/: get: - operationId: inventory_oems_list + operationId: v1_inventory_oems_list parameters: - in: query name: id @@ -6686,7 +7877,7 @@ paths: summary: OEM Response description: '' post: - operationId: inventory_oems_create + operationId: v1_inventory_oems_create tags: - inventory/oems requestBody: @@ -6725,7 +7916,7 @@ paths: description: '' /v1/inventory/oems/{id}/: get: - operationId: inventory_oems_retrieve + operationId: v1_inventory_oems_retrieve parameters: - in: path name: id @@ -6754,7 +7945,7 @@ paths: summary: OEM Response description: '' put: - operationId: inventory_oems_update + operationId: v1_inventory_oems_update parameters: - in: path name: id @@ -6800,7 +7991,7 @@ paths: summary: OEM Response description: '' patch: - operationId: inventory_oems_partial_update + operationId: v1_inventory_oems_partial_update parameters: - in: path name: id @@ -6846,7 +8037,7 @@ paths: summary: OEM Response description: '' delete: - operationId: inventory_oems_destroy + operationId: v1_inventory_oems_destroy parameters: - in: path name: id @@ -6864,7 +8055,7 @@ paths: description: No response body /v1/inventory/oems/{id}/history/: get: - operationId: inventory_oems_history_list + operationId: v1_inventory_oems_history_list parameters: - in: path name: id @@ -6913,7 +8104,7 @@ paths: description: '' /v1/inventory/providers/: get: - operationId: inventory_providers_list + operationId: v1_inventory_providers_list parameters: - in: query name: display_name @@ -6942,6 +8133,18 @@ paths: schema: type: string description: Exclude the specified fields in the response + - in: query + name: on_demand_speed + schema: + type: string + enum: + - fast + - slow + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow - name: ordering required: false in: query @@ -6967,7 +8170,7 @@ paths: - name: search required: false in: query - description: Search for providers by display_name, id, name + description: Search for providers by display_name, id, name, on_demand_speed schema: type: string tags: @@ -6993,11 +8196,12 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' post: - operationId: inventory_providers_create + operationId: v1_inventory_providers_create tags: - inventory/providers requestBody: @@ -7011,6 +8215,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Request application/x-www-form-urlencoded: @@ -7037,12 +8242,13 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' /v1/inventory/providers/{id}/: get: - operationId: inventory_providers_retrieve + operationId: v1_inventory_providers_retrieve parameters: - in: query name: fields @@ -7080,11 +8286,12 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' put: - operationId: inventory_providers_update + operationId: v1_inventory_providers_update parameters: - in: path name: id @@ -7106,6 +8313,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Request application/x-www-form-urlencoded: @@ -7132,11 +8340,12 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' patch: - operationId: inventory_providers_partial_update + operationId: v1_inventory_providers_partial_update parameters: - in: path name: id @@ -7158,6 +8367,7 @@ paths: display_name: My Provider instance_limit: 250 name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Request application/x-www-form-urlencoded: @@ -7184,11 +8394,12 @@ paths: instance_limit: 250 modified: '2024-05-03T17:03:45.380Z' name: my_provider + on_demand_speed: slow priority: 50 summary: Provider Response description: '' delete: - operationId: inventory_providers_destroy + operationId: v1_inventory_providers_destroy parameters: - in: path name: id @@ -7206,7 +8417,7 @@ paths: description: No response body /v1/inventory/providers/{id}/history/: get: - operationId: inventory_providers_history_list + operationId: v1_inventory_providers_history_list parameters: - in: path name: id @@ -7255,7 +8466,7 @@ paths: description: '' /v1/inventory/providers/bulk/: patch: - operationId: inventory_providers_bulk_partial_update + operationId: v1_inventory_providers_bulk_partial_update tags: - inventory/providers requestBody: @@ -7271,6 +8482,7 @@ paths: - f8bd1b72-c213-43ec-82ad-a56a44757a11 - 5b528083-ab61-42dd-a6a1-90aa9babb014 instance_limit: 250 + on_demand_speed: slow priority: 50 summary: Provider Bulk Update Request application/x-www-form-urlencoded: @@ -7297,7 +8509,7 @@ paths: description: '' /v1/inventory/providers/stats/: get: - operationId: inventory_providers_stats_retrieve + operationId: v1_inventory_providers_stats_retrieve summary: "\U0001F6A7 [Beta Feature]" tags: - inventory/providers @@ -7306,6 +8518,29 @@ paths: responses: '200': description: No response body + /version/: + get: + operationId: version_retrieve + tags: + - version + security: + - TokenAuthentication: [] + - {} + responses: + '200': + content: + application/json: + schema: + type: object + properties: + application_version: + type: string + examples: + ExampleResponse: + value: + application_version: 1.0.0 + summary: Example Response + description: '' components: schemas: AuthLogin: @@ -7503,6 +8738,18 @@ components: maximum: 2147483647 minimum: 0 description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. + provisioning_config: + type: + - string + - 'null' + format: uuid + description: Applied provisioning configuration for the cluster + provisioning_request: + type: + - string + - 'null' + format: uuid + description: Requested provisioning configuration for the cluster provisioning_state: allOf: - $ref: '#/components/schemas/ProvisioningStateEnum' @@ -7722,6 +8969,20 @@ components: minimum: 0 writeOnly: true description: The number of attempts that have been made to provision this cluster. Automatically resets to 0 after successful provisioning. + provisioning_config: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Applied provisioning configuration for the cluster + provisioning_request: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Requested provisioning configuration for the cluster provisioning_state: allOf: - $ref: '#/components/schemas/ProvisioningStateEnum' @@ -7812,6 +9073,53 @@ components: - request_id - result - tenant_ids + ClusterPipelineTrigger: + type: object + properties: + action: + allOf: + - $ref: '#/components/schemas/PipelineAction' + description: |- + Action for the pipeline to run + + * `apply` - apply + * `destroy` - destroy + * `notify` - notify + created: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was created + id: + type: string + format: uuid + readOnly: true + modified: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was last modified + pipeline_id: + type: integer + readOnly: true + description: GitLab pipeline ID + request_id: + type: string + readOnly: true + description: Request ID that the pipeline was triggered for + url: + type: string + format: uri + readOnly: true + description: URL for the pipeline details + required: + - action + - created + - id + - modified + - pipeline_id + - request_id + - url CpuManufacturerEnum: enum: - amd @@ -7837,14 +9145,12 @@ components: maxLength: 32 catalog_id: type: string - description: Unique ID for this experience in the sales catalog. Must be unique. writeOnly: true + description: Catalog ID of the experience provisioned to the cluster catalog_id_alias: - type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' + type: string writeOnly: true + description: Catalog ID alias of the experience provisioned to the cluster cluster: oneOf: - type: @@ -7864,12 +9170,12 @@ components: readOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use experience_branch: type: - string @@ -7880,6 +9186,7 @@ components: type: string format: uuid writeOnly: true + description: UUID of the experience provisioned to the cluster expires_at: type: - string @@ -7913,9 +9220,10 @@ components: type: - integer - 'null' - maximum: 16 - minimum: 0 + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - string @@ -7923,11 +9231,23 @@ components: description: Require a cluster with the given GPU model maxLength: 32 gpu_os_name: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 gpu_os_release: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -7948,9 +9268,10 @@ components: type: - integer - 'null' - maximum: 16 - minimum: 0 + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number + maximum: 512 + minimum: 0 modified: type: string format: date-time @@ -7960,9 +9281,9 @@ components: type: - integer - 'null' - maximum: 2147483647 - minimum: 0 + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - string @@ -7973,23 +9294,29 @@ components: type: string description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true description: Overriden values from the original deployment request persist_on_failure: type: - boolean - 'null' + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs persona: - type: string - pipeline: type: - - integer + - string - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 + description: Override the defined persona in the experience + maxLength: 32 + pipeline: + type: + - integer + - 'null' + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment + minimum: 0 pipeline_branch: type: - string @@ -8063,6 +9390,78 @@ components: type: integer readOnly: true description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - string @@ -8123,6 +9522,7 @@ components: type: - boolean - 'null' + default: false description: Require a cluster whose workshop flag is set workshop_id: type: @@ -8160,6 +9560,7 @@ components: readOnly: true writeOnly: true description: Override bastion operating system provisioned and/or configured by Liftoff + maxLength: 32 cluster: type: - string @@ -8182,12 +9583,13 @@ components: writeOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + writeOnly: true + description: The experience being deployed for use experience_branch: type: - string @@ -8215,6 +9617,7 @@ components: readOnly: true writeOnly: true description: Require a cluster with nodes in the given garage + maxLength: 128 gc_branch: type: - string @@ -8229,13 +9632,17 @@ components: readOnly: true writeOnly: true description: Require a cluster with the given GPU alias + maxLength: 64 gpu_count: type: - integer - 'null' readOnly: true writeOnly: true + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - string @@ -8243,6 +9650,7 @@ components: readOnly: true writeOnly: true description: Require a cluster with the given GPU model + maxLength: 32 gpu_os_name: type: - string @@ -8250,6 +9658,7 @@ components: readOnly: true writeOnly: true description: Override the GPU node operating system name + maxLength: 16 gpu_os_release: type: - string @@ -8257,6 +9666,7 @@ components: readOnly: true writeOnly: true description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: type: - string @@ -8264,6 +9674,7 @@ components: readOnly: true writeOnly: true description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -8288,7 +9699,10 @@ components: - 'null' readOnly: true writeOnly: true + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number + maximum: 512 + minimum: 0 modified: type: string format: date-time @@ -8301,7 +9715,9 @@ components: - 'null' readOnly: true writeOnly: true + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - string @@ -8309,11 +9725,14 @@ components: readOnly: true writeOnly: true description: Require a cluster manufactured by the given OEM name + maxLength: 64 org_name: type: string writeOnly: true description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true writeOnly: true description: Overriden values from the original deployment request @@ -8322,6 +9741,7 @@ components: - boolean - 'null' writeOnly: true + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs persona: type: @@ -8334,11 +9754,10 @@ components: type: - integer - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 writeOnly: true + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment + minimum: 0 pipeline_branch: type: - string @@ -8390,6 +9809,7 @@ components: readOnly: true writeOnly: true description: Require a cluster from the given provider name + maxLength: 64 public_key: type: - string @@ -8404,6 +9824,7 @@ components: readOnly: true writeOnly: true description: Require a cluster located in the given region + maxLength: 64 request_id: type: string readOnly: true @@ -8423,6 +9844,78 @@ components: minimum: 0 writeOnly: true description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - string @@ -8487,6 +9980,7 @@ components: - 'null' readOnly: true writeOnly: true + default: false description: Require a cluster whose workshop flag is set workshop_id: type: @@ -8495,6 +9989,7 @@ components: readOnly: true writeOnly: true description: Require a cluster with the given workshop ID + maxLength: 64 workshop_override_password: type: - string @@ -8502,6 +9997,7 @@ components: readOnly: true writeOnly: true description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 count: type: integer readOnly: true @@ -8691,12 +10187,13 @@ components: properties: action: allOf: - - $ref: '#/components/schemas/DeploymentPipelineActionEnum' + - $ref: '#/components/schemas/PipelineAction' description: |- Action for the pipeline to run * `apply` - apply * `destroy` - destroy + * `notify` - notify created: type: string format: date-time @@ -8737,17 +10234,6 @@ components: - modified - pipeline_id - url - DeploymentPipelineActionEnum: - enum: - - apply - - destroy - type: string - description: |- - * `apply` - apply - * `destroy` - destroy - x-enum-varnames: - - DeploymentPipelineActionApply - - DeploymentPipelineActionDestroy DeploymentService: type: object properties: @@ -8907,6 +10393,7 @@ components: - 'null' readOnly: true description: Override bastion operating system provisioned and/or configured by Liftoff + maxLength: 32 cluster: type: - string @@ -8926,12 +10413,12 @@ components: readOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use experience_branch: type: - string @@ -8955,6 +10442,7 @@ components: - 'null' readOnly: true description: Require a cluster with nodes in the given garage + maxLength: 128 gc_branch: type: - string @@ -8967,36 +10455,44 @@ components: - 'null' readOnly: true description: Require a cluster with the given GPU alias + maxLength: 64 gpu_count: type: - integer - 'null' readOnly: true + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - string - 'null' readOnly: true description: Require a cluster with the given GPU model + maxLength: 32 gpu_os_name: type: - string - 'null' readOnly: true description: Override the GPU node operating system name + maxLength: 16 gpu_os_release: type: - string - 'null' readOnly: true description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: type: - string - 'null' readOnly: true description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -9017,7 +10513,10 @@ components: - integer - 'null' readOnly: true + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number + maximum: 512 + minimum: 0 modified: type: string format: date-time @@ -9028,23 +10527,29 @@ components: - integer - 'null' readOnly: true + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - string - 'null' readOnly: true description: Require a cluster manufactured by the given OEM name + maxLength: 64 org_name: type: string description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true description: Overriden values from the original deployment request persist_on_failure: type: - boolean - 'null' + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs persona: type: @@ -9056,10 +10561,9 @@ components: type: - integer - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment + minimum: 0 pipeline_branch: type: - string @@ -9106,6 +10610,7 @@ components: - 'null' readOnly: true description: Require a cluster from the given provider name + maxLength: 64 public_key: type: - string @@ -9118,6 +10623,7 @@ components: - 'null' readOnly: true description: Require a cluster located in the given region + maxLength: 64 request_id: type: string readOnly: true @@ -9133,6 +10639,78 @@ components: maximum: 2147483647 minimum: 0 description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - string @@ -9189,6 +10767,7 @@ components: - boolean - 'null' readOnly: true + default: false description: Require a cluster whose workshop flag is set workshop_id: type: @@ -9196,12 +10775,14 @@ components: - 'null' readOnly: true description: Require a cluster with the given workshop ID + maxLength: 64 workshop_override_password: type: - string - 'null' readOnly: true description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 required: - bastion_operating_system - cluster @@ -9244,14 +10825,12 @@ components: maxLength: 32 catalog_id: type: string - description: Unique ID for this experience in the sales catalog. Must be unique. writeOnly: true + description: Catalog ID of the experience provisioned to the cluster catalog_id_alias: - type: - - string - - 'null' - description: 'Human-readable identifier for the experience in the sales catalog (ex: LP-15). Must be unique.' + type: string writeOnly: true + description: Catalog ID alias of the experience provisioned to the cluster cluster: oneOf: - type: @@ -9271,12 +10850,12 @@ components: readOnly: true description: Timestamp of when the object was created experience: - oneOf: - - type: - - string - format: uuid - - $ref: "#/components/schemas/Experience" - x-go-json-tag: "experience,omitempty" + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use experience_branch: type: - string @@ -9287,6 +10866,7 @@ components: type: string format: uuid writeOnly: true + description: UUID of the experience provisioned to the cluster expires_at: type: - string @@ -9320,21 +10900,34 @@ components: type: - integer - 'null' - maximum: 16 - minimum: 0 + default: 0 description: Require a cluster with the given number of GPUs + maximum: 512 + minimum: 0 gpu_model: type: - string - 'null' - description: Require a cluster with the given GPU model - maxLength: 32 - gpu_os_name: - type: string - gpu_os_release: - type: string + description: Require a cluster with the given GPU model + maxLength: 32 + gpu_os_name: + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 + gpu_os_release: + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 gpu_os_version: - type: string + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 id: type: string format: uuid @@ -9355,9 +10948,10 @@ components: type: - integer - 'null' - maximum: 16 - minimum: 0 + default: 0 description: Require a cluster whose GPU count is greater than or equal to the given number + maximum: 512 + minimum: 0 modified: type: string format: date-time @@ -9367,9 +10961,9 @@ components: type: - integer - 'null' - maximum: 2147483647 - minimum: 0 + default: 0 description: Require a cluster with the given number of nodes + minimum: 0 oem_name: type: - string @@ -9380,23 +10974,29 @@ components: type: string description: Requester's organization name overrides: + allOf: + - $ref: '#/components/schemas/Overrides' readOnly: true description: Overriden values from the original deployment request persist_on_failure: type: - boolean - 'null' + default: false description: Override the default cleanup/destroy behavior when a provisioning failure occurs persona: - type: string + type: + - string + - 'null' + description: Override the defined persona in the experience + maxLength: 32 pipeline: type: - integer - 'null' - maximum: 9223372036854775807 - minimum: 0 - format: int64 + default: 0 description: Override the pipeline ID that will be triggered for request fulfillment + minimum: 0 pipeline_branch: type: - string @@ -9470,6 +11070,78 @@ components: type: integer readOnly: true description: Number of times the deployment has been retried + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: Use the presets of the given runtime when provisioning this experience + runtime_branch: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + writeOnly: true + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + writeOnly: true + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + writeOnly: true + description: Override the URL of the runtime repository sales_created_date: type: - string @@ -9530,6 +11202,7 @@ components: type: - boolean - 'null' + default: false description: Require a cluster whose workshop flag is set workshop_id: type: @@ -9645,7 +11318,7 @@ components: maxLength: 255 gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 description: Number of GPUs used gpu_os: @@ -9729,6 +11402,12 @@ components: type: string format: uuid description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' + runtime: + type: + - string + - 'null' + format: uuid + description: The default runtime to use when provisioning this experience sa_lab: type: boolean description: Is this a persistent experience for SAs? @@ -9893,7 +11572,7 @@ components: maxLength: 255 gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 writeOnly: true description: Number of GPUs used @@ -9991,6 +11670,13 @@ components: format: uuid writeOnly: true description: 'If set, the experience must be provisioned using one of the given GPU types. GPU requirements are evaluated in the order they are set (ex: ["{l40s_gpu_uuid}", "{a100_gpu_uuid}"] will prefer an l40s).' + runtime: + type: + - string + - 'null' + format: uuid + writeOnly: true + description: The default runtime to use when provisioning this experience sa_lab: type: boolean writeOnly: true @@ -10752,7 +12438,7 @@ components: description: Alias for GPU plan (i.e. installed GPU type and count) gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 description: Number of GPUs installed gpu_model: @@ -10982,7 +12668,7 @@ components: description: Alias for GPU plan (i.e. installed GPU type and count) gpu_count: type: integer - maximum: 16 + maximum: 512 minimum: 0 writeOnly: true description: Number of GPUs installed @@ -11186,11 +12872,249 @@ components: name: type: string maxLength: 64 - required: - - created - - id - - modified - - name + required: + - created + - id + - modified + - name + OnDemandSpeedEnum: + enum: + - fast + - slow + type: string + description: |- + * `fast` - fast + * `slow` - slow + x-enum-varnames: + - OnDemandSpeedFast + - OnDemandSpeedSlow + Overrides: + type: object + properties: + bastion_operating_system: + type: + - string + - 'null' + description: Override bastion operating system provisioned and/or configured by Liftoff + maxLength: 32 + cluster: + type: + - string + - 'null' + format: uuid + description: Target a specific cluster for provisioning + collection_branch: + type: + - string + - 'null' + description: Override the Ansible collection branch initialized within the pipeline + maxLength: 255 + experience_branch: + type: + - string + - 'null' + description: Override the experience branch + maxLength: 255 + flightcontrol_release: + type: + - string + - 'null' + description: Override the image tag used for Flight Control + maxLength: 64 + garage_id: + type: + - string + - 'null' + description: Require a cluster with nodes in the given garage + maxLength: 128 + gc_branch: + type: + - string + - 'null' + description: Override the default Ground Control branch + maxLength: 255 + gpu_alias: + type: + - string + - 'null' + description: Require a cluster with the given GPU alias + maxLength: 64 + gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster with the given number of GPUs + gpu_model: + type: + - string + - 'null' + description: Require a cluster with the given GPU model + maxLength: 32 + gpu_os_name: + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 + gpu_os_release: + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 + gpu_os_version: + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 + min_gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster whose GPU count is greater than or equal to the given number + node_count: + type: integer + maximum: 2147483647 + minimum: 0 + description: Require a cluster with the given number of nodes + oem_name: + type: + - string + - 'null' + description: Require a cluster manufactured by the given OEM name + maxLength: 64 + persist_on_failure: + type: + - boolean + - 'null' + description: Override the default cleanup/destroy behavior when a provisioning failure occurs + persona: + type: + - string + - 'null' + description: Override the defined persona in the experience + maxLength: 32 + pipeline: + type: integer + maximum: 9223372036854775807 + minimum: 0 + format: int64 + description: Override the pipeline ID that will be triggered for request fulfillment + pipeline_branch: + type: + - string + - 'null' + description: Override the default pipeline branch ref used when triggering a Fuselage pipeline + maxLength: 255 + platform: + description: |- + Override the default platform selection + + * `air` - NVIDIA Air + * `flight_deck` - Flight Deck + * `kvm_bastion` - KVM Bastion + * `lp-vmware-platform` - lp-vmware-platform + * `minimal` - minimal + * `openshift` - OpenShift + * `vsphere` - vSphere + * `vsphere_horizon` - VMware Horizon + * `vsphere7` - vSphere 7 + * `vsphere8` - vSphere 8 + oneOf: + - $ref: '#/components/schemas/PlatformEnum' + - type: 'null' + provider_name: + type: + - string + - 'null' + description: Require a cluster from the given provider name + maxLength: 64 + region: + type: + - string + - 'null' + description: Require a cluster located in the given region + maxLength: 64 + runtime: + type: + - string + - 'null' + format: uuid + description: Use the presets of the given runtime when provisioning this experience + runtime_branch: + type: + - string + - 'null' + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + description: Override the URL of the runtime repository + maxLength: 200 + workshop: + type: + - boolean + - 'null' + description: Require a cluster whose workshop flag is set + workshop_id: + type: + - string + - 'null' + description: Require a cluster with the given workshop ID + maxLength: 64 + workshop_override_password: + type: + - string + - 'null' + description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) + maxLength: 64 PaginatedClusterList: type: object required: @@ -11651,6 +13575,29 @@ components: type: array items: $ref: '#/components/schemas/Provider' + PaginatedRuntimeList: + type: object + required: + - count + - results + properties: + count: + type: integer + example: 123 + next: + type: string + nullable: true + format: uri + example: https://launchpad.api.nvidia.com/example/?page=4 + previous: + type: string + nullable: true + format: uri + example: https://launchpad.api.nvidia.com/example/?page=2 + results: + type: array + items: + $ref: '#/components/schemas/Runtime' PasswordChange: type: object properties: @@ -11696,6 +13643,20 @@ components: - id - modified - name + PipelineAction: + enum: + - apply + - destroy + - notify + type: string + description: |- + * `apply` - apply + * `destroy` - destroy + * `notify` - notify + x-enum-varnames: + - PipelineActionApply + - PipelineActionDestroy + - PipelineActionNotify PlatformEnum: enum: - air @@ -11812,99 +13773,370 @@ components: type: - string - 'null' - description: Human-friendly version of name. Used for display purposes. - maxLength: 64 - id: - type: string - format: uuid - readOnly: true - instance_limit: + description: Human-friendly version of name. Used for display purposes. + maxLength: 64 + id: + type: string + format: uuid + readOnly: true + instance_limit: + type: integer + maximum: 2147483647 + minimum: 0 + description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) + modified: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was last modified + name: + type: string + maxLength: 64 + on_demand_speed: + allOf: + - $ref: '#/components/schemas/OnDemandSpeedEnum' + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow + priority: + type: integer + maximum: 100 + minimum: 0 + description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. + required: + - created + - id + - modified + - name + ProviderBulkUpdate: + type: object + properties: + created: + type: string + format: date-time + readOnly: true + writeOnly: true + description: Timestamp of when the object was created + display_name: + type: + - string + - 'null' + writeOnly: true + description: Human-friendly version of name. Used for display purposes. + maxLength: 64 + id: + type: string + format: uuid + readOnly: true + writeOnly: true + instance_limit: + type: integer + maximum: 2147483647 + minimum: 0 + writeOnly: true + description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) + modified: + type: string + format: date-time + readOnly: true + writeOnly: true + description: Timestamp of when the object was last modified + name: + type: string + readOnly: true + writeOnly: true + maxLength: 64 + on_demand_speed: + allOf: + - $ref: '#/components/schemas/OnDemandSpeedEnum' + writeOnly: true + description: |- + Speed of on-demand inventory provisioning + + * `fast` - fast + * `slow` - slow + priority: + type: integer + maximum: 100 + minimum: 0 + writeOnly: true + description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. + count: + type: integer + readOnly: true + ids: + type: array + items: + type: string + format: uuid + writeOnly: true + result: + type: string + readOnly: true + required: + - count + - created + - id + - ids + - modified + - name + - result + ProvisioningRequest: + type: object + properties: + bastion_operating_system: + type: + - string + - 'null' + description: Override bastion operating system provisioned and/or configured by Liftoff + maxLength: 32 + catalog_id: + type: string + writeOnly: true + description: Catalog ID of the experience provisioned to the cluster + catalog_id_alias: + type: string + writeOnly: true + description: Catalog ID alias of the experience provisioned to the cluster + cluster: + type: + - string + - 'null' + format: uuid + description: Target a specific cluster for provisioning + collection_branch: + type: + - string + - 'null' + description: Override the Ansible collection branch initialized within the pipeline + maxLength: 255 + experience: + type: + - string + - 'null' + format: uuid + readOnly: true + description: The experience being deployed for use + experience_branch: + type: + - string + - 'null' + description: Override the experience branch + maxLength: 255 + experience_id: + type: string + format: uuid + writeOnly: true + description: UUID of the experience provisioned to the cluster + flightcontrol_release: + type: + - string + - 'null' + description: Override the image tag used for Flight Control + maxLength: 64 + garage_id: + type: + - string + - 'null' + description: Require a cluster with nodes in the given garage + maxLength: 128 + gc_branch: + type: + - string + - 'null' + description: Override the default Ground Control branch + maxLength: 255 + gpu_alias: + type: + - string + - 'null' + description: Require a cluster with the given GPU alias + maxLength: 64 + gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster with the given number of GPUs + gpu_model: + type: + - string + - 'null' + description: Require a cluster with the given GPU model + maxLength: 32 + gpu_os_name: + type: + - string + - 'null' + description: Override the GPU node operating system name + maxLength: 16 + gpu_os_release: + type: + - string + - 'null' + description: Override the GPU node operating system release + maxLength: 16 + gpu_os_version: + type: + - string + - 'null' + description: Override the GPU node operating system version + maxLength: 8 + min_gpu_count: + type: integer + maximum: 512 + minimum: 0 + description: Require a cluster whose GPU count is greater than or equal to the given number + node_count: type: integer maximum: 2147483647 minimum: 0 - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) - modified: - type: string - format: date-time - readOnly: true - description: Timestamp of when the object was last modified - name: - type: string + description: Require a cluster with the given number of nodes + oem_name: + type: + - string + - 'null' + description: Require a cluster manufactured by the given OEM name maxLength: 64 - priority: + persist_on_failure: + type: + - boolean + - 'null' + description: Override the default cleanup/destroy behavior when a provisioning failure occurs + persona: + type: + - string + - 'null' + description: Override the defined persona in the experience + maxLength: 32 + pipeline: type: integer - maximum: 100 + maximum: 9223372036854775807 minimum: 0 - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. - required: - - created - - id - - modified - - name - ProviderBulkUpdate: - type: object - properties: - created: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was created - display_name: + format: int64 + description: Override the pipeline ID that will be triggered for request fulfillment + pipeline_branch: type: - string - 'null' - writeOnly: true - description: Human-friendly version of name. Used for display purposes. + description: Override the default pipeline branch ref used when triggering a Fuselage pipeline + maxLength: 255 + platform: + description: |- + Override the default platform selection + + * `air` - NVIDIA Air + * `flight_deck` - Flight Deck + * `kvm_bastion` - KVM Bastion + * `lp-vmware-platform` - lp-vmware-platform + * `minimal` - minimal + * `openshift` - OpenShift + * `vsphere` - vSphere + * `vsphere_horizon` - VMware Horizon + * `vsphere7` - vSphere 7 + * `vsphere8` - vSphere 8 + oneOf: + - $ref: '#/components/schemas/PlatformEnum' + - type: 'null' + provider_name: + type: + - string + - 'null' + description: Require a cluster from the given provider name maxLength: 64 - id: + region: + type: + - string + - 'null' + description: Require a cluster located in the given region + maxLength: 64 + request_id: type: string + description: 'Trial request ID (ex: TRY-1234)' + maxLength: 32 + runtime: + type: + - string + - 'null' format: uuid - readOnly: true - writeOnly: true - instance_limit: - type: integer - maximum: 2147483647 - minimum: 0 - writeOnly: true - description: The maximum number of provisionined instances allowed globally for the provider (0 = unlimited) - modified: - type: string - format: date-time - readOnly: true - writeOnly: true - description: Timestamp of when the object was last modified - name: - type: string - readOnly: true - writeOnly: true + description: Use the presets of the given runtime when provisioning this experience + runtime_branch: + type: + - string + - 'null' + description: Override the runtime repository branch + maxLength: 255 + runtime_cns_addon_pack: + type: + - boolean + - 'null' + description: Override the runtime's CNS add-ons flag + runtime_cns_docker: + type: + - boolean + - 'null' + description: Override the runtime's Docker with CNS flag + runtime_cns_driver_version: + type: + - string + - 'null' + description: Override the runtime's GPU driver version + maxLength: 11 + runtime_cns_k8s: + type: + - boolean + - 'null' + description: Override the runtime's Kubernetes with CNS flag + runtime_cns_nvidia_driver: + type: + - boolean + - 'null' + description: Override the runtime's NVIDIA driver with CNS flag + runtime_cns_version: + type: + - string + - 'null' + description: Override the runtime's Cloud Native Stack version + maxLength: 11 + runtime_mig: + type: + - boolean + - 'null' + description: Override the runtime's MIG support with CNS flag + runtime_mig_profile: + type: + - string + - 'null' + description: Override the runtime's MIG profile name + maxLength: 32 + runtime_url: + type: + - string + - 'null' + format: uri + description: Override the URL of the runtime repository + maxLength: 200 + workshop: + type: + - boolean + - 'null' + description: Require a cluster whose workshop flag is set + workshop_id: + type: + - string + - 'null' + description: Require a cluster with the given workshop ID + maxLength: 64 + workshop_override_password: + type: + - string + - 'null' + description: Override the deployment's default authentication to use a static password. This is useful for workshops when you'd like an identical password associated with a collection of environments. (LaunchPad Team only) maxLength: 64 - priority: - type: integer - maximum: 100 - minimum: 0 - writeOnly: true - description: Weighted preference to use in selecting a provider for a deployment. Higher priority values will be preferred over lower ones. - count: - type: integer - readOnly: true - ids: - type: array - items: - type: string - format: uuid - writeOnly: true - result: - type: string - readOnly: true required: - - count - - created - - id - - ids - - modified - - name - - result + - experience + - request_id ProvisioningStateEnum: enum: - deployed @@ -11945,6 +14177,75 @@ components: - PublishedDraft - PublishedNo - PublishedYes + Runtime: + type: object + properties: + branch: + type: string + description: Runtime repository branch + maxLength: 255 + cns_addon_pack: + type: boolean + description: Include CNS add-ons? + cns_docker: + type: boolean + description: Include Docker with CNS? + cns_driver_version: + type: + - string + - 'null' + description: GPU driver version + maxLength: 11 + cns_k8s: + type: boolean + description: Include Kubernetes with CNS? + cns_nvidia_driver: + type: boolean + description: Include NVIDIA driver with CNS? + cns_version: + type: + - string + - 'null' + description: NVIDIA Cloud Native Stack version + maxLength: 11 + created: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was created + id: + type: string + format: uuid + readOnly: true + mig: + type: boolean + description: Include MIG support with CNS? + mig_profile: + type: + - string + - 'null' + description: MIG profile name + maxLength: 32 + modified: + type: string + format: date-time + readOnly: true + description: Timestamp of when the object was last modified + name: + type: string + description: Human-readable name of the runtime + maxLength: 64 + url: + type: string + format: uri + description: URL of the runtime repository + maxLength: 200 + required: + - created + - id + - modified + - name + - url StatusEnum: enum: - completed From b841a4b270e15f416ff4c4ad371cc5ed56326db3 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Tue, 4 Nov 2025 10:02:17 -0800 Subject: [PATCH 2/3] lint --- go.mod | 4 +- .../gen/launchpad/test/api_auth_test.go | 13 +--- .../test/api_catalog_deployments_test.go | 69 +------------------ .../test/api_catalog_experiences_test.go | 25 +------ .../test/api_catalog_gpu_os_choices_test.go | 9 +-- .../test/api_catalog_instance_types_test.go | 7 +- .../test/api_catalog_persona_choices_test.go | 9 +-- .../test/api_catalog_runtimes_test.go | 19 +---- .../gen/launchpad/test/api_health_test.go | 7 +- .../test/api_identity_profile_test.go | 9 +-- .../test/api_inventory_clusters_test.go | 35 +--------- .../launchpad/test/api_inventory_gpus_test.go | 23 +------ .../test/api_inventory_instances_test.go | 21 +----- .../test/api_inventory_locations_test.go | 19 +---- .../test/api_inventory_nodes_test.go | 23 +------ .../launchpad/test/api_inventory_oems_test.go | 19 +---- .../test/api_inventory_providers_test.go | 23 +------ .../gen/launchpad/test/api_version_test.go | 7 +- 18 files changed, 36 insertions(+), 305 deletions(-) diff --git a/go.mod b/go.mod index 652a2535..9df8aa07 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,9 @@ require ( github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.11.0 golang.org/x/crypto v0.41.0 + golang.org/x/text v0.28.0 gopkg.in/validator.v2 v2.0.1 + gopkg.in/yaml.v3 v3.0.1 ) require ( @@ -35,9 +37,7 @@ require ( golang.org/x/net v0.43.0 // indirect golang.org/x/sync v0.16.0 // indirect golang.org/x/sys v0.35.0 // indirect - golang.org/x/text v0.28.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect google.golang.org/grpc v1.75.0 // indirect google.golang.org/protobuf v1.36.8 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go b/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go index f2db4fd2..bb71399b 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_auth_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_AuthAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test AuthAPIService V1AuthLoginCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.AuthAPI.V1AuthLoginCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_AuthAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test AuthAPIService V1AuthLogoutCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.AuthAPI.V1AuthLogoutCreate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_AuthAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test AuthAPIService V1AuthPasswordChangeCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.AuthAPI.V1AuthPasswordChangeCreate(context.Background()).Execute() @@ -55,11 +50,9 @@ func Test_openapi_AuthAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test AuthAPIService V1AuthRedirectRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.AuthAPI.V1AuthRedirectRetrieve(context.Background()).Execute() @@ -67,7 +60,5 @@ func Test_openapi_AuthAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go index 699195d2..bc3f1a70 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_deployments_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsBulkPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsBulkPartialUpdate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsCreate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -57,11 +52,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -71,11 +64,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsInstancesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -85,11 +76,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsList(context.Background()).Execute() @@ -97,11 +86,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -111,11 +98,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -125,11 +110,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -139,11 +122,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -154,11 +135,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -169,11 +148,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsNotesUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -184,11 +161,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -198,11 +173,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsPipelinesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -212,11 +185,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsPipelinesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -226,11 +197,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -240,11 +209,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsServicesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -254,11 +221,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsServicesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -268,11 +233,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsSshKeysCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -282,11 +245,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsSshKeysDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -296,11 +257,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsSshKeysList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -310,22 +269,18 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsStatsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test httpRes, err := apiClient.CatalogDeploymentsAPI.V1CatalogDeploymentsStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsTasksCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -335,11 +290,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsTasksList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -349,11 +302,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsTasksRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var deploymentId string @@ -364,11 +315,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogDeploymentsUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -378,11 +327,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var experienceId string @@ -392,11 +339,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var experienceId string @@ -406,11 +351,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var experienceId string @@ -420,11 +363,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var experienceId string @@ -435,11 +376,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var experienceId string @@ -450,11 +389,9 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogDeploymentsAPIService V1CatalogExperiencesNotesUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var experienceId string @@ -465,7 +402,5 @@ func Test_openapi_CatalogDeploymentsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go index 429ba10c..6accd960 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_experiences_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesBulkCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesBulkCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesBulkPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesBulkPartialUpdate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesCreate(context.Background()).Execute() @@ -55,11 +50,9 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -68,11 +61,9 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -82,11 +73,9 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesList(context.Background()).Execute() @@ -94,11 +83,9 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -108,11 +95,9 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -122,22 +107,18 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesStatsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test httpRes, err := apiClient.CatalogExperiencesAPI.V1CatalogExperiencesStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogExperiencesAPIService V1CatalogExperiencesUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -147,7 +128,5 @@ func Test_openapi_CatalogExperiencesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go index 45859a9a..1efcbd40 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_gpu_os_choices_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_CatalogGpuOsChoicesAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test CatalogGpuOsChoicesAPIService V1CatalogGpuOsChoicesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_CatalogGpuOsChoicesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogGpuOsChoicesAPIService V1CatalogGpuOsChoicesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogGpuOsChoicesAPI.V1CatalogGpuOsChoicesList(context.Background()).Execute() @@ -43,7 +40,5 @@ func Test_openapi_CatalogGpuOsChoicesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go index de184339..2f6a7e78 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_instance_types_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_CatalogInstanceTypesAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test CatalogInstanceTypesAPIService V1CatalogInstanceTypesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogInstanceTypesAPI.V1CatalogInstanceTypesList(context.Background()).Execute() @@ -31,7 +30,5 @@ func Test_openapi_CatalogInstanceTypesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go index 2ed0af88..93b07d2c 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_persona_choices_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_CatalogPersonaChoicesAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test CatalogPersonaChoicesAPIService V1CatalogPersonaChoicesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_CatalogPersonaChoicesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogPersonaChoicesAPIService V1CatalogPersonaChoicesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogPersonaChoicesAPI.V1CatalogPersonaChoicesList(context.Background()).Execute() @@ -43,7 +40,5 @@ func Test_openapi_CatalogPersonaChoicesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go b/v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go index a2719672..b679b5b0 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_catalog_runtimes_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -44,11 +41,9 @@ func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -58,11 +53,9 @@ func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.CatalogRuntimesAPI.V1CatalogRuntimesList(context.Background()).Execute() @@ -70,11 +63,9 @@ func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -84,11 +75,9 @@ func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -98,11 +87,9 @@ func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test CatalogRuntimesAPIService V1CatalogRuntimesUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -112,7 +99,5 @@ func Test_openapi_CatalogRuntimesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_health_test.go b/v1/providers/launchpad/gen/launchpad/test/api_health_test.go index 508bb941..74d62c3a 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_health_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_health_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_HealthAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test HealthAPIService HealthRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.HealthAPI.HealthRetrieve(context.Background()).Execute() @@ -31,7 +30,5 @@ func Test_openapi_HealthAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go b/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go index d5ec9d2f..2045e752 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_identity_profile_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_IdentityProfileAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test IdentityProfileAPIService V1IdentityProfilePartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.IdentityProfileAPI.V1IdentityProfilePartialUpdate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_IdentityProfileAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test IdentityProfileAPIService V1IdentityProfileRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.IdentityProfileAPI.V1IdentityProfileRetrieve(context.Background()).Execute() @@ -43,7 +40,5 @@ func Test_openapi_IdentityProfileAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go index b7421c7b..b05e9495 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_clusters_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_InventoryClustersAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test InventoryClustersAPIService V1InventoryClustersBulkPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersBulkPartialUpdate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersCreate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -56,11 +51,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -70,11 +63,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersList(context.Background()).Execute() @@ -82,11 +73,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -96,11 +85,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersPipelinesTriggerCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -110,11 +97,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersProvisionCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersProvisionCreate(context.Background()).Execute() @@ -122,11 +107,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersProvisionDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -136,11 +119,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersProvisionPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -150,11 +131,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -164,22 +143,18 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersStatsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test httpRes, err := apiClient.InventoryClustersAPI.V1InventoryClustersStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersTenantsCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var clusterId string @@ -189,11 +164,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersTenantsDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var clusterId string @@ -203,11 +176,9 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryClustersAPIService V1InventoryClustersUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -217,7 +188,5 @@ func Test_openapi_InventoryClustersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go index 44748588..e0e4ccab 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_gpus_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_InventoryGpusAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test InventoryGpusAPIService V1InventoryGpusBulkPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusBulkPartialUpdate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusCreate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -56,11 +51,9 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -70,11 +63,9 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusList(context.Background()).Execute() @@ -82,11 +73,9 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -96,11 +85,9 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -110,22 +97,18 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusStatsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test httpRes, err := apiClient.InventoryGpusAPI.V1InventoryGpusStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryGpusAPIService V1InventoryGpusUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -135,7 +118,5 @@ func Test_openapi_InventoryGpusAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go index 078c4ad4..b32544ca 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_instances_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_InventoryInstancesAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesBulkPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesBulkPartialUpdate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesCreate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -56,11 +51,9 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -70,11 +63,9 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryInstancesAPI.V1InventoryInstancesList(context.Background()).Execute() @@ -82,11 +73,9 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -96,11 +85,9 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -110,11 +97,9 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryInstancesAPIService V1InventoryInstancesUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -124,7 +109,5 @@ func Test_openapi_InventoryInstancesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go index fa7658d8..ff7176f5 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_locations_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_InventoryLocationsAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test InventoryLocationsAPIService V1InventoryLocationsCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_InventoryLocationsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryLocationsAPIService V1InventoryLocationsDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -44,11 +41,9 @@ func Test_openapi_InventoryLocationsAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryLocationsAPIService V1InventoryLocationsHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -58,11 +53,9 @@ func Test_openapi_InventoryLocationsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryLocationsAPIService V1InventoryLocationsList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryLocationsAPI.V1InventoryLocationsList(context.Background()).Execute() @@ -70,11 +63,9 @@ func Test_openapi_InventoryLocationsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryLocationsAPIService V1InventoryLocationsPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -84,11 +75,9 @@ func Test_openapi_InventoryLocationsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryLocationsAPIService V1InventoryLocationsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -98,11 +87,9 @@ func Test_openapi_InventoryLocationsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryLocationsAPIService V1InventoryLocationsUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -112,7 +99,5 @@ func Test_openapi_InventoryLocationsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go index 302b4e49..8e3f0e12 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_nodes_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_InventoryNodesAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test InventoryNodesAPIService V1InventoryNodesBulkCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesBulkCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesBulkPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesBulkPartialUpdate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesCreate(context.Background()).Execute() @@ -55,11 +50,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -68,11 +61,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -82,11 +73,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryNodesAPI.V1InventoryNodesList(context.Background()).Execute() @@ -94,11 +83,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -108,11 +95,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -122,11 +107,9 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryNodesAPIService V1InventoryNodesUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -136,7 +119,5 @@ func Test_openapi_InventoryNodesAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go index 3a8a11da..69cb0dcc 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_oems_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_InventoryOemsAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test InventoryOemsAPIService V1InventoryOemsCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsCreate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_InventoryOemsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryOemsAPIService V1InventoryOemsDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -44,11 +41,9 @@ func Test_openapi_InventoryOemsAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryOemsAPIService V1InventoryOemsHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -58,11 +53,9 @@ func Test_openapi_InventoryOemsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryOemsAPIService V1InventoryOemsList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryOemsAPI.V1InventoryOemsList(context.Background()).Execute() @@ -70,11 +63,9 @@ func Test_openapi_InventoryOemsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryOemsAPIService V1InventoryOemsPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -84,11 +75,9 @@ func Test_openapi_InventoryOemsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryOemsAPIService V1InventoryOemsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -98,11 +87,9 @@ func Test_openapi_InventoryOemsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryOemsAPIService V1InventoryOemsUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -112,7 +99,5 @@ func Test_openapi_InventoryOemsAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go b/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go index 20da6146..d64a560e 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_inventory_providers_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_InventoryProvidersAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersBulkPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersBulkPartialUpdate(context.Background()).Execute() @@ -31,11 +30,9 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersCreate", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersCreate(context.Background()).Execute() @@ -43,11 +40,9 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersDestroy", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -56,11 +51,9 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersHistoryList", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -70,11 +63,9 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersList", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersList(context.Background()).Execute() @@ -82,11 +73,9 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersPartialUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -96,11 +85,9 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -110,22 +97,18 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersStatsRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test httpRes, err := apiClient.InventoryProvidersAPI.V1InventoryProvidersStatsRetrieve(context.Background()).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) - }) t.Run("Test InventoryProvidersAPIService V1InventoryProvidersUpdate", func(t *testing.T) { - t.Skip("skip test") // remove to run test var id string @@ -135,7 +118,5 @@ func Test_openapi_InventoryProvidersAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } diff --git a/v1/providers/launchpad/gen/launchpad/test/api_version_test.go b/v1/providers/launchpad/gen/launchpad/test/api_version_test.go index 41a05bf5..617c2c73 100644 --- a/v1/providers/launchpad/gen/launchpad/test/api_version_test.go +++ b/v1/providers/launchpad/gen/launchpad/test/api_version_test.go @@ -11,19 +11,18 @@ package openapi import ( "context" + "testing" + openapiclient "github.com/brevdev/cloud/v1/providers/launchpad/gen/launchpad" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_openapi_VersionAPIService(t *testing.T) { - configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) t.Run("Test VersionAPIService VersionRetrieve", func(t *testing.T) { - t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.VersionAPI.VersionRetrieve(context.Background()).Execute() @@ -31,7 +30,5 @@ func Test_openapi_VersionAPIService(t *testing.T) { require.Nil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) - }) - } From 1d09f71c0c53606bdfe57a7ff9caaa4a585bb5a7 Mon Sep 17 00:00:00 2001 From: Drew Malin Date: Tue, 4 Nov 2025 11:30:30 -0800 Subject: [PATCH 3/3] rename --- v1/providers/launchpad/Makefile | 2 +- ...agger-v2.39.5.yaml.final.yaml => swagger-v2.39.5.final.yaml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename v1/providers/launchpad/{swagger-v2.39.5.yaml.final.yaml => swagger-v2.39.5.final.yaml} (100%) diff --git a/v1/providers/launchpad/Makefile b/v1/providers/launchpad/Makefile index 23e0c506..f218d8f3 100644 --- a/v1/providers/launchpad/Makefile +++ b/v1/providers/launchpad/Makefile @@ -1,6 +1,6 @@ SPEC_VERSION ?= v2.39.5 SPEC_FILE ?= swagger-${SPEC_VERSION}.yaml -SPEC_FILE_FINAL ?= ${SPEC_FILE}.final.yaml +SPEC_FILE_FINAL ?= swagger-${SPEC_VERSION}.final.yaml OUTPUT_DIR ?= launchpad # To understand disallowAdditionalPropertiesIfNotPresent=false # Check out https://openapi-generator.tech/docs/generators/go/#config-options diff --git a/v1/providers/launchpad/swagger-v2.39.5.yaml.final.yaml b/v1/providers/launchpad/swagger-v2.39.5.final.yaml similarity index 100% rename from v1/providers/launchpad/swagger-v2.39.5.yaml.final.yaml rename to v1/providers/launchpad/swagger-v2.39.5.final.yaml