ngcsdk 3.41.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- basecommand/api/__init__.py +11 -0
- basecommand/api/aces.py +136 -0
- basecommand/api/basecommand.py +85 -0
- basecommand/api/datamover.py +570 -0
- basecommand/api/dataset.py +868 -0
- basecommand/api/dockerwrappers.py +270 -0
- basecommand/api/jobs.py +858 -0
- basecommand/api/kubewrappers.py +85 -0
- basecommand/api/measurements.py +177 -0
- basecommand/api/quickstart.py +49 -0
- basecommand/api/quickstart_cluster.py +943 -0
- basecommand/api/quickstart_project.py +503 -0
- basecommand/api/resource.py +493 -0
- basecommand/api/resultset.py +337 -0
- basecommand/api/search.py +93 -0
- basecommand/api/utils.py +309 -0
- basecommand/api/workspace.py +729 -0
- basecommand/command/__init__.py +11 -0
- basecommand/command/aces.py +110 -0
- basecommand/command/all_commands.py +27 -0
- basecommand/command/args_validation.py +427 -0
- basecommand/command/base_command.py +19 -0
- basecommand/command/batch.py +1249 -0
- basecommand/command/completers.py +47 -0
- basecommand/command/data.py +460 -0
- basecommand/command/datamover/__init__.py +0 -0
- basecommand/command/datamover/export_dataset.py +230 -0
- basecommand/command/datamover/export_workspace.py +230 -0
- basecommand/command/datamover/import_dataset.py +290 -0
- basecommand/command/datamover/import_workspace.py +269 -0
- basecommand/command/datamover/utils.py +565 -0
- basecommand/command/datamover_command.py +523 -0
- basecommand/command/quickstart.py +32 -0
- basecommand/command/quickstart_cluster.py +614 -0
- basecommand/command/quickstart_project.py +854 -0
- basecommand/command/resource.py +337 -0
- basecommand/command/result.py +211 -0
- basecommand/command/workspace.py +589 -0
- basecommand/constants.py +136 -0
- basecommand/environ.py +17 -0
- basecommand/errors.py +17 -0
- basecommand/model/dataset.py +73 -0
- basecommand/printer/__init__.py +11 -0
- basecommand/printer/aces.py +205 -0
- basecommand/printer/batch.py +637 -0
- basecommand/printer/datamover.py +367 -0
- basecommand/printer/dataset.py +101 -0
- basecommand/printer/quickstart_cluster.py +256 -0
- basecommand/printer/quickstart_project.py +254 -0
- basecommand/printer/resource.py +236 -0
- basecommand/printer/result.py +52 -0
- basecommand/printer/workspace.py +102 -0
- basecommand/transfer/__init__.py +11 -0
- basecommand/transfer/upload_manager.py +512 -0
- basecommand/transformer/__init__.py +11 -0
- basecommand/transformer/dataset.py +28 -0
- basecommand/transformer/workspace.py +24 -0
- forge/__init__.py +0 -0
- forge/api/__init__.py +0 -0
- forge/api/allocation.py +232 -0
- forge/api/constraint.py +103 -0
- forge/api/forge.py +169 -0
- forge/api/infiniband.py +125 -0
- forge/api/instance.py +171 -0
- forge/api/instance_type.py +278 -0
- forge/api/ipblock.py +138 -0
- forge/api/machine.py +85 -0
- forge/api/operating_system.py +170 -0
- forge/api/provider.py +59 -0
- forge/api/rule.py +139 -0
- forge/api/site.py +181 -0
- forge/api/ssh_key.py +111 -0
- forge/api/ssh_key_group.py +119 -0
- forge/api/subnet.py +181 -0
- forge/api/tenant.py +50 -0
- forge/api/tenant_account.py +180 -0
- forge/api/user.py +33 -0
- forge/api/vpc.py +163 -0
- forge/command/__init__.py +0 -0
- forge/command/all_commands.py +20 -0
- forge/command/allocation.py +201 -0
- forge/command/args_validation.py +51 -0
- forge/command/constraint.py +178 -0
- forge/command/forge.py +18 -0
- forge/command/infiniband.py +157 -0
- forge/command/instance.py +286 -0
- forge/command/instance_type.py +189 -0
- forge/command/ipblock.py +210 -0
- forge/command/machine.py +83 -0
- forge/command/operating_system.py +289 -0
- forge/command/provider.py +39 -0
- forge/command/rule.py +165 -0
- forge/command/site.py +209 -0
- forge/command/ssh_key.py +152 -0
- forge/command/ssh_key_group.py +183 -0
- forge/command/subnet.py +159 -0
- forge/command/tenant.py +39 -0
- forge/command/tenant_account.py +106 -0
- forge/command/user.py +39 -0
- forge/command/vpc.py +123 -0
- forge/printer/__init__.py +0 -0
- forge/printer/allocation.py +171 -0
- forge/printer/constraint.py +106 -0
- forge/printer/infiniband.py +178 -0
- forge/printer/instance.py +424 -0
- forge/printer/instance_type.py +280 -0
- forge/printer/ipblock.py +171 -0
- forge/printer/machine.py +269 -0
- forge/printer/operating_system.py +194 -0
- forge/printer/provider.py +142 -0
- forge/printer/rule.py +217 -0
- forge/printer/site.py +185 -0
- forge/printer/ssh_key.py +149 -0
- forge/printer/ssh_key_group.py +275 -0
- forge/printer/subnet.py +189 -0
- forge/printer/tenant.py +139 -0
- forge/printer/tenant_account.py +200 -0
- forge/printer/user.py +62 -0
- forge/printer/vpc.py +153 -0
- ngcbpc/api/__init__.py +11 -0
- ngcbpc/api/authentication.py +762 -0
- ngcbpc/api/configuration.py +1621 -0
- ngcbpc/api/connection.py +536 -0
- ngcbpc/api/pagination.py +228 -0
- ngcbpc/api/search.py +122 -0
- ngcbpc/api/utils.py +213 -0
- ngcbpc/command/__init__.py +11 -0
- ngcbpc/command/args_validation.py +353 -0
- ngcbpc/command/clicommand.py +340 -0
- ngcbpc/command/completers.py +43 -0
- ngcbpc/command/config.py +535 -0
- ngcbpc/command/global_args.py +122 -0
- ngcbpc/command/parser.py +282 -0
- ngcbpc/constants.py +411 -0
- ngcbpc/data/api/Ace.py +840 -0
- ngcbpc/data/api/AceCreateRequest.py +681 -0
- ngcbpc/data/api/AceHealth.py +90 -0
- ngcbpc/data/api/AceInstance.py +860 -0
- ngcbpc/data/api/AceInstancePrices.py +167 -0
- ngcbpc/data/api/AceInstancePricesResponse.py +99 -0
- ngcbpc/data/api/AceInstanceTypeEnum.py +3 -0
- ngcbpc/data/api/AceListResponse.py +126 -0
- ngcbpc/data/api/AceNodeRemapRequest.py +69 -0
- ngcbpc/data/api/AceProvider.py +3 -0
- ngcbpc/data/api/AceResponse.py +94 -0
- ngcbpc/data/api/AceSimplified.py +111 -0
- ngcbpc/data/api/AceStorageInfo.py +310 -0
- ngcbpc/data/api/AceType.py +3 -0
- ngcbpc/data/api/AceUpdate.py +730 -0
- ngcbpc/data/api/AlertAggregationType.py +3 -0
- ngcbpc/data/api/AlertDeliveryMode.py +150 -0
- ngcbpc/data/api/AlternateContact.py +114 -0
- ngcbpc/data/api/Analysis.py +136 -0
- ngcbpc/data/api/AuditLogs.py +281 -0
- ngcbpc/data/api/AuditLogsEventRequest.py +262 -0
- ngcbpc/data/api/AuditLogsEventResponse.py +229 -0
- ngcbpc/data/api/AuditLogsPresignedUrlResponse.py +92 -0
- ngcbpc/data/api/AuditLogsRequest.py +98 -0
- ngcbpc/data/api/AuditLogsResponse.py +99 -0
- ngcbpc/data/api/BannerEvent.py +151 -0
- ngcbpc/data/api/BannerEventCreateRequest.py +204 -0
- ngcbpc/data/api/BannerEventCreateResponse.py +345 -0
- ngcbpc/data/api/BannerEventIncident.py +264 -0
- ngcbpc/data/api/BannerEventIncidentMeta.py +235 -0
- ngcbpc/data/api/BannerEventIncidentSeverityEnum.py +3 -0
- ngcbpc/data/api/BannerEventIncidentStatusEnum.py +3 -0
- ngcbpc/data/api/BannerEventListResponse.py +123 -0
- ngcbpc/data/api/BannerEventResponse.py +119 -0
- ngcbpc/data/api/BannerEventTypeEnum.py +3 -0
- ngcbpc/data/api/BannerEventUpdateRequest.py +170 -0
- ngcbpc/data/api/BannerEventUpdateResponse.py +345 -0
- ngcbpc/data/api/BatchResourceTypeEnum.py +3 -0
- ngcbpc/data/api/CelestialErrorDetail.py +87 -0
- ngcbpc/data/api/CelestialFilters.py +68 -0
- ngcbpc/data/api/ConfigRequest.py +223 -0
- ngcbpc/data/api/ContainerResources.py +94 -0
- ngcbpc/data/api/CreditsHistory.py +63 -0
- ngcbpc/data/api/CreditsHistoryResponse.py +95 -0
- ngcbpc/data/api/CurrencyCode.py +3 -0
- ngcbpc/data/api/Dataset.py +771 -0
- ngcbpc/data/api/DatasetAddFilesRequest.py +77 -0
- ngcbpc/data/api/DatasetCreateRequest.py +252 -0
- ngcbpc/data/api/DatasetFile.py +191 -0
- ngcbpc/data/api/DatasetFileBatch.py +71 -0
- ngcbpc/data/api/DatasetFileEventRequest.py +184 -0
- ngcbpc/data/api/DatasetFilePath.py +84 -0
- ngcbpc/data/api/DatasetListResponse.py +160 -0
- ngcbpc/data/api/DatasetResponse.py +155 -0
- ngcbpc/data/api/DatasetSimplified.py +622 -0
- ngcbpc/data/api/DatasetStatusEnum.py +3 -0
- ngcbpc/data/api/DatasetUpdateRequest.py +226 -0
- ngcbpc/data/api/DeviceLoginRequest.py +116 -0
- ngcbpc/data/api/DeviceLoginResponse.py +133 -0
- ngcbpc/data/api/DownloadTokenMetadata.py +112 -0
- ngcbpc/data/api/EarlyAccessOrgCreateRequest.py +199 -0
- ngcbpc/data/api/Entitlement.py +172 -0
- ngcbpc/data/api/EntitlementProduct.py +112 -0
- ngcbpc/data/api/Env.py +103 -0
- ngcbpc/data/api/ErrorResponse.py +66 -0
- ngcbpc/data/api/Eula.py +99 -0
- ngcbpc/data/api/EulaSubmitResponse.py +93 -0
- ngcbpc/data/api/ExpTrackingParams.py +125 -0
- ngcbpc/data/api/FcOnboardingEventRequest.py +67 -0
- ngcbpc/data/api/GetRepositoryTagVexResponse.py +123 -0
- ngcbpc/data/api/Health.py +134 -0
- ngcbpc/data/api/HealthResponse.py +96 -0
- ngcbpc/data/api/HttpGet.py +87 -0
- ngcbpc/data/api/IPAddress.py +80 -0
- ngcbpc/data/api/InfinityManagerSettings.py +91 -0
- ngcbpc/data/api/Job.py +981 -0
- ngcbpc/data/api/JobArrayTypeEnum.py +3 -0
- ngcbpc/data/api/JobContainerProperties.py +364 -0
- ngcbpc/data/api/JobContainerResources.py +89 -0
- ngcbpc/data/api/JobCreateRequest.py +1153 -0
- ngcbpc/data/api/JobDataLocation.py +292 -0
- ngcbpc/data/api/JobDatasetMountInfo.py +117 -0
- ngcbpc/data/api/JobDefinition.py +1119 -0
- ngcbpc/data/api/JobFlowTypeEnum.py +3 -0
- ngcbpc/data/api/JobHealthCheck.py +143 -0
- ngcbpc/data/api/JobInitContainer.py +363 -0
- ngcbpc/data/api/JobLabelDeleteRequest.py +116 -0
- ngcbpc/data/api/JobLabelResponse.py +168 -0
- ngcbpc/data/api/JobLabelUpdateRequest.py +137 -0
- ngcbpc/data/api/JobLabels.py +147 -0
- ngcbpc/data/api/JobListResponse.py +159 -0
- ngcbpc/data/api/JobNodeCreateRequest.py +329 -0
- ngcbpc/data/api/JobNodeDeleteRequest.py +98 -0
- ngcbpc/data/api/JobNodePreemptRequest.py +68 -0
- ngcbpc/data/api/JobNodeResumeRequest.py +69 -0
- ngcbpc/data/api/JobPortMapping.py +199 -0
- ngcbpc/data/api/JobPriorityEnum.py +3 -0
- ngcbpc/data/api/JobResponse.py +151 -0
- ngcbpc/data/api/JobResultsetMountInfo.py +125 -0
- ngcbpc/data/api/JobRunPolicy.py +165 -0
- ngcbpc/data/api/JobSidecarContainer.py +450 -0
- ngcbpc/data/api/JobStatus.py +560 -0
- ngcbpc/data/api/JobStatusChangedEvent.py +88 -0
- ngcbpc/data/api/JobStatusCount.py +88 -0
- ngcbpc/data/api/JobStatusCountResponse.py +99 -0
- ngcbpc/data/api/JobStatusEnum.py +3 -0
- ngcbpc/data/api/JobStatusSyncRequest.py +77 -0
- ngcbpc/data/api/JobStatusUpdateRequest.py +256 -0
- ngcbpc/data/api/JobSubmitResponse.py +96 -0
- ngcbpc/data/api/JobTemplate.py +212 -0
- ngcbpc/data/api/JobTemplateCreateRequest.py +149 -0
- ngcbpc/data/api/JobTemplateResponse.py +96 -0
- ngcbpc/data/api/JobTemplateUpdateRequest.py +178 -0
- ngcbpc/data/api/JobTypeEnum.py +3 -0
- ngcbpc/data/api/JobVolume.py +67 -0
- ngcbpc/data/api/JobVolumeMount.py +124 -0
- ngcbpc/data/api/JobWorkspaceMountInfo.py +124 -0
- ngcbpc/data/api/Measurement.py +63 -0
- ngcbpc/data/api/MeasurementAggregationType.py +3 -0
- ngcbpc/data/api/MeasurementAlert.py +298 -0
- ngcbpc/data/api/MeasurementAlertCreateRequest.py +269 -0
- ngcbpc/data/api/MeasurementAlertCriteria.py +141 -0
- ngcbpc/data/api/MeasurementAlertListResponse.py +127 -0
- ngcbpc/data/api/MeasurementAlertResponse.py +95 -0
- ngcbpc/data/api/MeasurementQueryParams.py +188 -0
- ngcbpc/data/api/MeasurementQueryRequest.py +71 -0
- ngcbpc/data/api/MeasurementResult.py +71 -0
- ngcbpc/data/api/MeasurementResultListResponse.py +99 -0
- ngcbpc/data/api/MeasurementSeries.py +152 -0
- ngcbpc/data/api/MeasurementTag.py +87 -0
- ngcbpc/data/api/MeasurementType.py +3 -0
- ngcbpc/data/api/MetaData.py +98 -0
- ngcbpc/data/api/MeteringQueryParams.py +189 -0
- ngcbpc/data/api/MeteringQueryRequest.py +71 -0
- ngcbpc/data/api/MeteringResourceUtilizationEvent.py +258 -0
- ngcbpc/data/api/MeteringResultListResponse.py +99 -0
- ngcbpc/data/api/MeteringType.py +3 -0
- ngcbpc/data/api/MoveNodeRequest.py +68 -0
- ngcbpc/data/api/NetworkProtocolEnum.py +3 -0
- ngcbpc/data/api/NetworkTypeEnum.py +3 -0
- ngcbpc/data/api/Node.py +356 -0
- ngcbpc/data/api/NodeCommand.py +116 -0
- ngcbpc/data/api/NodeCommandRequest.py +91 -0
- ngcbpc/data/api/NodeCreateResponse.py +171 -0
- ngcbpc/data/api/NodeListResponse.py +126 -0
- ngcbpc/data/api/NodeResponse.py +122 -0
- ngcbpc/data/api/NodeSimplified.py +113 -0
- ngcbpc/data/api/NodeStatus.py +865 -0
- ngcbpc/data/api/NodeStatusChangedEvent.py +64 -0
- ngcbpc/data/api/NodeStatusUpdate.py +123 -0
- ngcbpc/data/api/NodeType.py +3 -0
- ngcbpc/data/api/OrgAdminUserCreatedEvent.py +112 -0
- ngcbpc/data/api/OrgCreateRequest.py +418 -0
- ngcbpc/data/api/OrgCreateResponse.py +95 -0
- ngcbpc/data/api/OrgCreatedEvent.py +64 -0
- ngcbpc/data/api/OrgEnablementCreateRequest.py +102 -0
- ngcbpc/data/api/OrgListEntitlementResponse.py +100 -0
- ngcbpc/data/api/OrgListResponse.py +127 -0
- ngcbpc/data/api/OrgOwner.py +149 -0
- ngcbpc/data/api/OrgProfileUpdateRequest.py +105 -0
- ngcbpc/data/api/OrgResponse.py +95 -0
- ngcbpc/data/api/OrgType.py +3 -0
- ngcbpc/data/api/OrgUpdateRequest.py +541 -0
- ngcbpc/data/api/Organization.py +629 -0
- ngcbpc/data/api/OrganizationEntitlement.py +95 -0
- ngcbpc/data/api/PackageVersion.py +135 -0
- ngcbpc/data/api/PackageVersionListResponse.py +99 -0
- ngcbpc/data/api/PaginationInfo.py +161 -0
- ngcbpc/data/api/PasswordChangeRequest.py +114 -0
- ngcbpc/data/api/PhysicalNodeCreateRequest.py +159 -0
- ngcbpc/data/api/PoolMeasurementQueryParams.py +186 -0
- ngcbpc/data/api/PoolMeasurementQueryRequest.py +71 -0
- ngcbpc/data/api/PoolMeasurementType.py +3 -0
- ngcbpc/data/api/PostStorageProvision.py +145 -0
- ngcbpc/data/api/Price.py +138 -0
- ngcbpc/data/api/PriceType.py +3 -0
- ngcbpc/data/api/ProductEnablement.py +166 -0
- ngcbpc/data/api/ProductEnablementTypeEnum.py +3 -0
- ngcbpc/data/api/ProductNameEnum.py +3 -0
- ngcbpc/data/api/ProductSubscription.py +213 -0
- ngcbpc/data/api/PurchaseOrder.py +88 -0
- ngcbpc/data/api/Replica.py +353 -0
- ngcbpc/data/api/ReplicaListResponse.py +127 -0
- ngcbpc/data/api/ReplicaResponse.py +127 -0
- ngcbpc/data/api/RepoScanSettings.py +192 -0
- ngcbpc/data/api/RepositoryTagVexByDigest.py +94 -0
- ngcbpc/data/api/RepositoryTagVexDetail.py +90 -0
- ngcbpc/data/api/RequestStatus.py +137 -0
- ngcbpc/data/api/ReservedLabels.py +63 -0
- ngcbpc/data/api/Response.py +66 -0
- ngcbpc/data/api/Resultset.py +368 -0
- ngcbpc/data/api/ResultsetFile.py +203 -0
- ngcbpc/data/api/ResultsetFileBatch.py +71 -0
- ngcbpc/data/api/ResultsetFileEventRequest.py +132 -0
- ngcbpc/data/api/ResultsetListResponse.py +161 -0
- ngcbpc/data/api/ResultsetResponse.py +156 -0
- ngcbpc/data/api/ResultsetToDatasetConversionEvent.py +114 -0
- ngcbpc/data/api/RoleChangeRequest.py +157 -0
- ngcbpc/data/api/RoleProduct.py +89 -0
- ngcbpc/data/api/RoleType.py +3 -0
- ngcbpc/data/api/SCPJobDetails.py +64 -0
- ngcbpc/data/api/Saml.py +86 -0
- ngcbpc/data/api/SamlResponse.py +93 -0
- ngcbpc/data/api/Secret.py +133 -0
- ngcbpc/data/api/SecretKVEnv.py +142 -0
- ngcbpc/data/api/SecretKeySpec.py +106 -0
- ngcbpc/data/api/SecretSpec.py +132 -0
- ngcbpc/data/api/ServiceAccess.py +93 -0
- ngcbpc/data/api/StatusCode.py +3 -0
- ngcbpc/data/api/StorageAccessInfo.py +140 -0
- ngcbpc/data/api/StorageAuthenticationResponse.py +189 -0
- ngcbpc/data/api/StorageCephInfo.py +88 -0
- ngcbpc/data/api/StorageClusterCreateRequest.py +336 -0
- ngcbpc/data/api/StorageClusterListResponse.py +99 -0
- ngcbpc/data/api/StorageClusterResponse.py +95 -0
- ngcbpc/data/api/StorageClusterUpdateRequest.py +290 -0
- ngcbpc/data/api/StorageEngineTypeEnum.py +3 -0
- ngcbpc/data/api/StorageLocation.py +128 -0
- ngcbpc/data/api/StorageLocationStorageTypeEnum.py +3 -0
- ngcbpc/data/api/StorageLustreInfo.py +66 -0
- ngcbpc/data/api/StorageNfsv3Info.py +66 -0
- ngcbpc/data/api/StorageProxyfsInfo.py +66 -0
- ngcbpc/data/api/StorageResource.py +525 -0
- ngcbpc/data/api/StorageResourceStatusEnum.py +3 -0
- ngcbpc/data/api/StorageServiceConfig.py +149 -0
- ngcbpc/data/api/StorageServiceConfigDetails.py +403 -0
- ngcbpc/data/api/StorageYarofsInfo.py +163 -0
- ngcbpc/data/api/SuggestedNamesResponse.py +91 -0
- ngcbpc/data/api/SystemLabels.py +63 -0
- ngcbpc/data/api/TargetSystemUserIdentifier.py +207 -0
- ngcbpc/data/api/Team.py +191 -0
- ngcbpc/data/api/TeamCreateRequest.py +119 -0
- ngcbpc/data/api/TeamCreateResponse.py +94 -0
- ngcbpc/data/api/TeamCreatedEvent.py +111 -0
- ngcbpc/data/api/TeamListResponse.py +126 -0
- ngcbpc/data/api/TeamResponse.py +94 -0
- ngcbpc/data/api/TeamUpdateRequest.py +125 -0
- ngcbpc/data/api/TelemetryClientCreateResponse.py +116 -0
- ngcbpc/data/api/TokenResponse.py +91 -0
- ngcbpc/data/api/UpdateAceRequest.py +67 -0
- ngcbpc/data/api/UpdateNodeRequest.py +87 -0
- ngcbpc/data/api/User.py +889 -0
- ngcbpc/data/api/UserCreateRequest.py +280 -0
- ngcbpc/data/api/UserCreatedEvent.py +88 -0
- ngcbpc/data/api/UserInvitation.py +304 -0
- ngcbpc/data/api/UserInvitationListResponse.py +127 -0
- ngcbpc/data/api/UserInvitationResponse.py +94 -0
- ngcbpc/data/api/UserKeyResponse.py +176 -0
- ngcbpc/data/api/UserLabels.py +63 -0
- ngcbpc/data/api/UserListResponse.py +126 -0
- ngcbpc/data/api/UserMetadata.py +257 -0
- ngcbpc/data/api/UserOrgRegisterRequest.py +293 -0
- ngcbpc/data/api/UserRegisterRequest.py +206 -0
- ngcbpc/data/api/UserResponse.py +152 -0
- ngcbpc/data/api/UserRole.py +199 -0
- ngcbpc/data/api/UserRoleDefinition.py +171 -0
- ngcbpc/data/api/UserRoleDefinitionsResponse.py +100 -0
- ngcbpc/data/api/UserSession.py +64 -0
- ngcbpc/data/api/UserSessionResponse.py +94 -0
- ngcbpc/data/api/UserStorageClusterUpdateRequest.py +178 -0
- ngcbpc/data/api/UserStorageQuota.py +388 -0
- ngcbpc/data/api/UserStorageQuotaListResponse.py +177 -0
- ngcbpc/data/api/UserStorageQuotaResponse.py +96 -0
- ngcbpc/data/api/UserStorageQuotaUpdateRequest.py +123 -0
- ngcbpc/data/api/UserTopicEvent.py +208 -0
- ngcbpc/data/api/UserUpdateRequest.py +460 -0
- ngcbpc/data/api/UsersInfo.py +63 -0
- ngcbpc/data/api/ValidateOrgQueryParams.py +139 -0
- ngcbpc/data/api/VirtualNodeCreateRequest.py +91 -0
- ngcbpc/data/api/WebSocket.py +92 -0
- ngcbpc/data/api/WebSocketReceipt.py +115 -0
- ngcbpc/data/api/Webhook.py +293 -0
- ngcbpc/data/api/WebhookCreateRequest.py +267 -0
- ngcbpc/data/api/WebhookEventType.py +3 -0
- ngcbpc/data/api/WebhookListResponse.py +127 -0
- ngcbpc/data/api/WebhookResponse.py +94 -0
- ngcbpc/data/api/WorkspaceCreateRequest.py +163 -0
- ngcbpc/data/api/WorkspaceListResponse.py +160 -0
- ngcbpc/data/api/WorkspaceResponse.py +95 -0
- ngcbpc/data/api/WorkspaceUpdateRequest.py +109 -0
- ngcbpc/data/api/__init__.py +2 -0
- ngcbpc/data/search/AccessTypeEnum.py +3 -0
- ngcbpc/data/search/CountParams.py +109 -0
- ngcbpc/data/search/CountParamsField.py +106 -0
- ngcbpc/data/search/CountResponse.py +109 -0
- ngcbpc/data/search/CountResponseCount.py +134 -0
- ngcbpc/data/search/CountResponseParams.py +71 -0
- ngcbpc/data/search/Health.py +134 -0
- ngcbpc/data/search/HealthResponse.py +68 -0
- ngcbpc/data/search/LabelGroup.py +119 -0
- ngcbpc/data/search/LabelGroupValue.py +117 -0
- ngcbpc/data/search/LabelResponseGlobal.py +71 -0
- ngcbpc/data/search/LabelResponseOrgTeam.py +99 -0
- ngcbpc/data/search/LabelSet.py +280 -0
- ngcbpc/data/search/LabelSetCreateRequest.py +181 -0
- ngcbpc/data/search/LabelSetResponse.py +271 -0
- ngcbpc/data/search/LabelSetUpdateRequest.py +132 -0
- ngcbpc/data/search/LabelValue.py +113 -0
- ngcbpc/data/search/ListLabelSetsResponse.py +71 -0
- ngcbpc/data/search/MetaData.py +98 -0
- ngcbpc/data/search/Resource.py +707 -0
- ngcbpc/data/search/ResourceAttribute.py +107 -0
- ngcbpc/data/search/ResourceEventEnum.py +3 -0
- ngcbpc/data/search/ResourceLabel.py +101 -0
- ngcbpc/data/search/ResourcePopularityTypeEnum.py +3 -0
- ngcbpc/data/search/ResourcePopularityUpdate.py +158 -0
- ngcbpc/data/search/ResourceTypeEnum.py +3 -0
- ngcbpc/data/search/SearchFilterCategory.py +135 -0
- ngcbpc/data/search/SearchFilterValue.py +126 -0
- ngcbpc/data/search/SearchParamFilter.py +105 -0
- ngcbpc/data/search/SearchParamOrderBy.py +106 -0
- ngcbpc/data/search/SearchParamOrderByEnum.py +3 -0
- ngcbpc/data/search/SearchParams.py +311 -0
- ngcbpc/data/search/SearchPopularityUpdateQueueMsg.py +109 -0
- ngcbpc/data/search/SearchQueueMsg.py +104 -0
- ngcbpc/data/search/SearchResponse.py +165 -0
- ngcbpc/data/search/SearchResponseResult.py +144 -0
- ngcbpc/data/search/SearchResponseResultResource.py +660 -0
- ngcbpc/data/search/__init__.py +2 -0
- ngcbpc/environ.py +185 -0
- ngcbpc/errors.py +170 -0
- ngcbpc/expiring_cache.py +63 -0
- ngcbpc/logger.py +53 -0
- ngcbpc/printer/__init__.py +11 -0
- ngcbpc/printer/config.py +40 -0
- ngcbpc/printer/formatter.py +206 -0
- ngcbpc/printer/nvPrettyPrint.py +1007 -0
- ngcbpc/printer/prettytableWrap.py +124 -0
- ngcbpc/printer/transfer.py +223 -0
- ngcbpc/printer/utils.py +39 -0
- ngcbpc/singleton.py +33 -0
- ngcbpc/timer.py +26 -0
- ngcbpc/tracing.py +290 -0
- ngcbpc/transfer/__init__.py +11 -0
- ngcbpc/transfer/adapter.py +537 -0
- ngcbpc/transfer/async_download.py +954 -0
- ngcbpc/transfer/controller.py +191 -0
- ngcbpc/transfer/download.py +572 -0
- ngcbpc/transfer/file_cache.py +104 -0
- ngcbpc/transfer/grpc/__init__.py +11 -0
- ngcbpc/transfer/grpc/proto_py/__init__.py +11 -0
- ngcbpc/transfer/grpc/proto_py/upload_pb2.py +1018 -0
- ngcbpc/transfer/grpc/proto_py/upload_pb2_grpc.py +124 -0
- ngcbpc/transfer/http_uploader.py +617 -0
- ngcbpc/transfer/manager.py +393 -0
- ngcbpc/transfer/task.py +404 -0
- ngcbpc/transfer/upload.py +551 -0
- ngcbpc/transfer/utils.py +327 -0
- ngcbpc/transformer/__init__.py +26 -0
- ngcbpc/util/__init__.py +11 -0
- ngcbpc/util/base_utils.py +41 -0
- ngcbpc/util/datetime_utils.py +143 -0
- ngcbpc/util/db_util.py +20 -0
- ngcbpc/util/file_utils.py +512 -0
- ngcbpc/util/io_utils.py +140 -0
- ngcbpc/util/ssh_utils.py +146 -0
- ngcbpc/util/utils.py +542 -0
- ngccli/data/api/Ace.py +840 -0
- ngccli/data/api/AceCreateRequest.py +681 -0
- ngccli/data/api/AceHealth.py +90 -0
- ngccli/data/api/AceInstance.py +860 -0
- ngccli/data/api/AceInstancePrices.py +167 -0
- ngccli/data/api/AceInstancePricesResponse.py +99 -0
- ngccli/data/api/AceInstanceTypeEnum.py +3 -0
- ngccli/data/api/AceListResponse.py +126 -0
- ngccli/data/api/AceNodeRemapRequest.py +69 -0
- ngccli/data/api/AceProvider.py +3 -0
- ngccli/data/api/AceResponse.py +94 -0
- ngccli/data/api/AceSimplified.py +111 -0
- ngccli/data/api/AceStorageInfo.py +310 -0
- ngccli/data/api/AceType.py +3 -0
- ngccli/data/api/AceUpdate.py +730 -0
- ngccli/data/api/AlertAggregationType.py +3 -0
- ngccli/data/api/AlertDeliveryMode.py +150 -0
- ngccli/data/api/AlternateContact.py +114 -0
- ngccli/data/api/Analysis.py +136 -0
- ngccli/data/api/AuditLogs.py +281 -0
- ngccli/data/api/AuditLogsEventRequest.py +262 -0
- ngccli/data/api/AuditLogsEventResponse.py +229 -0
- ngccli/data/api/AuditLogsPresignedUrlResponse.py +92 -0
- ngccli/data/api/AuditLogsRequest.py +98 -0
- ngccli/data/api/AuditLogsResponse.py +99 -0
- ngccli/data/api/BannerEvent.py +151 -0
- ngccli/data/api/BannerEventCreateRequest.py +204 -0
- ngccli/data/api/BannerEventCreateResponse.py +345 -0
- ngccli/data/api/BannerEventIncident.py +264 -0
- ngccli/data/api/BannerEventIncidentMeta.py +235 -0
- ngccli/data/api/BannerEventIncidentSeverityEnum.py +3 -0
- ngccli/data/api/BannerEventIncidentStatusEnum.py +3 -0
- ngccli/data/api/BannerEventListResponse.py +123 -0
- ngccli/data/api/BannerEventResponse.py +119 -0
- ngccli/data/api/BannerEventTypeEnum.py +3 -0
- ngccli/data/api/BannerEventUpdateRequest.py +170 -0
- ngccli/data/api/BannerEventUpdateResponse.py +345 -0
- ngccli/data/api/BatchResourceTypeEnum.py +3 -0
- ngccli/data/api/CelestialErrorDetail.py +87 -0
- ngccli/data/api/CelestialFilters.py +68 -0
- ngccli/data/api/ConfigRequest.py +223 -0
- ngccli/data/api/ContainerResources.py +94 -0
- ngccli/data/api/CreditsHistory.py +63 -0
- ngccli/data/api/CreditsHistoryResponse.py +95 -0
- ngccli/data/api/CurrencyCode.py +3 -0
- ngccli/data/api/Dataset.py +771 -0
- ngccli/data/api/DatasetAddFilesRequest.py +77 -0
- ngccli/data/api/DatasetCreateRequest.py +252 -0
- ngccli/data/api/DatasetFile.py +191 -0
- ngccli/data/api/DatasetFileBatch.py +71 -0
- ngccli/data/api/DatasetFileEventRequest.py +184 -0
- ngccli/data/api/DatasetFilePath.py +84 -0
- ngccli/data/api/DatasetListResponse.py +160 -0
- ngccli/data/api/DatasetResponse.py +155 -0
- ngccli/data/api/DatasetSimplified.py +622 -0
- ngccli/data/api/DatasetStatusEnum.py +3 -0
- ngccli/data/api/DatasetUpdateRequest.py +226 -0
- ngccli/data/api/DeviceLoginRequest.py +116 -0
- ngccli/data/api/DeviceLoginResponse.py +133 -0
- ngccli/data/api/DownloadTokenMetadata.py +112 -0
- ngccli/data/api/EarlyAccessOrgCreateRequest.py +199 -0
- ngccli/data/api/Entitlement.py +172 -0
- ngccli/data/api/EntitlementProduct.py +112 -0
- ngccli/data/api/Env.py +103 -0
- ngccli/data/api/ErrorResponse.py +66 -0
- ngccli/data/api/Eula.py +99 -0
- ngccli/data/api/EulaSubmitResponse.py +93 -0
- ngccli/data/api/ExpTrackingParams.py +125 -0
- ngccli/data/api/FcOnboardingEventRequest.py +67 -0
- ngccli/data/api/GetRepositoryTagVexResponse.py +123 -0
- ngccli/data/api/Health.py +134 -0
- ngccli/data/api/HealthResponse.py +96 -0
- ngccli/data/api/HttpGet.py +87 -0
- ngccli/data/api/IPAddress.py +80 -0
- ngccli/data/api/InfinityManagerSettings.py +91 -0
- ngccli/data/api/Job.py +981 -0
- ngccli/data/api/JobArrayTypeEnum.py +3 -0
- ngccli/data/api/JobContainerProperties.py +364 -0
- ngccli/data/api/JobContainerResources.py +89 -0
- ngccli/data/api/JobCreateRequest.py +1153 -0
- ngccli/data/api/JobDataLocation.py +292 -0
- ngccli/data/api/JobDatasetMountInfo.py +117 -0
- ngccli/data/api/JobDefinition.py +1119 -0
- ngccli/data/api/JobFlowTypeEnum.py +3 -0
- ngccli/data/api/JobHealthCheck.py +143 -0
- ngccli/data/api/JobInitContainer.py +363 -0
- ngccli/data/api/JobLabelDeleteRequest.py +116 -0
- ngccli/data/api/JobLabelResponse.py +168 -0
- ngccli/data/api/JobLabelUpdateRequest.py +137 -0
- ngccli/data/api/JobLabels.py +147 -0
- ngccli/data/api/JobListResponse.py +159 -0
- ngccli/data/api/JobNodeCreateRequest.py +329 -0
- ngccli/data/api/JobNodeDeleteRequest.py +98 -0
- ngccli/data/api/JobNodePreemptRequest.py +68 -0
- ngccli/data/api/JobNodeResumeRequest.py +69 -0
- ngccli/data/api/JobPortMapping.py +199 -0
- ngccli/data/api/JobPriorityEnum.py +3 -0
- ngccli/data/api/JobResponse.py +151 -0
- ngccli/data/api/JobResultsetMountInfo.py +125 -0
- ngccli/data/api/JobRunPolicy.py +165 -0
- ngccli/data/api/JobSidecarContainer.py +450 -0
- ngccli/data/api/JobStatus.py +560 -0
- ngccli/data/api/JobStatusChangedEvent.py +88 -0
- ngccli/data/api/JobStatusCount.py +88 -0
- ngccli/data/api/JobStatusCountResponse.py +99 -0
- ngccli/data/api/JobStatusEnum.py +3 -0
- ngccli/data/api/JobStatusSyncRequest.py +77 -0
- ngccli/data/api/JobStatusUpdateRequest.py +256 -0
- ngccli/data/api/JobSubmitResponse.py +96 -0
- ngccli/data/api/JobTemplate.py +212 -0
- ngccli/data/api/JobTemplateCreateRequest.py +149 -0
- ngccli/data/api/JobTemplateResponse.py +96 -0
- ngccli/data/api/JobTemplateUpdateRequest.py +178 -0
- ngccli/data/api/JobTypeEnum.py +3 -0
- ngccli/data/api/JobVolume.py +67 -0
- ngccli/data/api/JobVolumeMount.py +124 -0
- ngccli/data/api/JobWorkspaceMountInfo.py +124 -0
- ngccli/data/api/Measurement.py +63 -0
- ngccli/data/api/MeasurementAggregationType.py +3 -0
- ngccli/data/api/MeasurementAlert.py +298 -0
- ngccli/data/api/MeasurementAlertCreateRequest.py +269 -0
- ngccli/data/api/MeasurementAlertCriteria.py +141 -0
- ngccli/data/api/MeasurementAlertListResponse.py +127 -0
- ngccli/data/api/MeasurementAlertResponse.py +95 -0
- ngccli/data/api/MeasurementQueryParams.py +188 -0
- ngccli/data/api/MeasurementQueryRequest.py +71 -0
- ngccli/data/api/MeasurementResult.py +71 -0
- ngccli/data/api/MeasurementResultListResponse.py +99 -0
- ngccli/data/api/MeasurementSeries.py +152 -0
- ngccli/data/api/MeasurementTag.py +87 -0
- ngccli/data/api/MeasurementType.py +3 -0
- ngccli/data/api/MetaData.py +98 -0
- ngccli/data/api/MeteringQueryParams.py +189 -0
- ngccli/data/api/MeteringQueryRequest.py +71 -0
- ngccli/data/api/MeteringResourceUtilizationEvent.py +258 -0
- ngccli/data/api/MeteringResultListResponse.py +99 -0
- ngccli/data/api/MeteringType.py +3 -0
- ngccli/data/api/MoveNodeRequest.py +68 -0
- ngccli/data/api/NetworkProtocolEnum.py +3 -0
- ngccli/data/api/NetworkTypeEnum.py +3 -0
- ngccli/data/api/Node.py +356 -0
- ngccli/data/api/NodeCommand.py +116 -0
- ngccli/data/api/NodeCommandRequest.py +91 -0
- ngccli/data/api/NodeCreateResponse.py +171 -0
- ngccli/data/api/NodeListResponse.py +126 -0
- ngccli/data/api/NodeResponse.py +122 -0
- ngccli/data/api/NodeSimplified.py +113 -0
- ngccli/data/api/NodeStatus.py +865 -0
- ngccli/data/api/NodeStatusChangedEvent.py +64 -0
- ngccli/data/api/NodeStatusUpdate.py +123 -0
- ngccli/data/api/NodeType.py +3 -0
- ngccli/data/api/OrgAdminUserCreatedEvent.py +112 -0
- ngccli/data/api/OrgCreateRequest.py +418 -0
- ngccli/data/api/OrgCreateResponse.py +95 -0
- ngccli/data/api/OrgCreatedEvent.py +64 -0
- ngccli/data/api/OrgEnablementCreateRequest.py +102 -0
- ngccli/data/api/OrgListEntitlementResponse.py +100 -0
- ngccli/data/api/OrgListResponse.py +127 -0
- ngccli/data/api/OrgOwner.py +149 -0
- ngccli/data/api/OrgProfileUpdateRequest.py +105 -0
- ngccli/data/api/OrgResponse.py +95 -0
- ngccli/data/api/OrgType.py +3 -0
- ngccli/data/api/OrgUpdateRequest.py +541 -0
- ngccli/data/api/Organization.py +629 -0
- ngccli/data/api/OrganizationEntitlement.py +95 -0
- ngccli/data/api/PackageVersion.py +135 -0
- ngccli/data/api/PackageVersionListResponse.py +99 -0
- ngccli/data/api/PaginationInfo.py +161 -0
- ngccli/data/api/PasswordChangeRequest.py +114 -0
- ngccli/data/api/PhysicalNodeCreateRequest.py +159 -0
- ngccli/data/api/PoolMeasurementQueryParams.py +186 -0
- ngccli/data/api/PoolMeasurementQueryRequest.py +71 -0
- ngccli/data/api/PoolMeasurementType.py +3 -0
- ngccli/data/api/PostStorageProvision.py +145 -0
- ngccli/data/api/Price.py +138 -0
- ngccli/data/api/PriceType.py +3 -0
- ngccli/data/api/ProductEnablement.py +166 -0
- ngccli/data/api/ProductEnablementTypeEnum.py +3 -0
- ngccli/data/api/ProductNameEnum.py +3 -0
- ngccli/data/api/ProductSubscription.py +213 -0
- ngccli/data/api/PurchaseOrder.py +88 -0
- ngccli/data/api/Replica.py +353 -0
- ngccli/data/api/ReplicaListResponse.py +127 -0
- ngccli/data/api/ReplicaResponse.py +127 -0
- ngccli/data/api/RepoScanSettings.py +192 -0
- ngccli/data/api/RepositoryTagVexByDigest.py +94 -0
- ngccli/data/api/RepositoryTagVexDetail.py +90 -0
- ngccli/data/api/RequestStatus.py +137 -0
- ngccli/data/api/ReservedLabels.py +63 -0
- ngccli/data/api/Response.py +66 -0
- ngccli/data/api/Resultset.py +368 -0
- ngccli/data/api/ResultsetFile.py +203 -0
- ngccli/data/api/ResultsetFileBatch.py +71 -0
- ngccli/data/api/ResultsetFileEventRequest.py +132 -0
- ngccli/data/api/ResultsetListResponse.py +161 -0
- ngccli/data/api/ResultsetResponse.py +156 -0
- ngccli/data/api/ResultsetToDatasetConversionEvent.py +114 -0
- ngccli/data/api/RoleChangeRequest.py +157 -0
- ngccli/data/api/RoleProduct.py +89 -0
- ngccli/data/api/RoleType.py +3 -0
- ngccli/data/api/SCPJobDetails.py +64 -0
- ngccli/data/api/Saml.py +86 -0
- ngccli/data/api/SamlResponse.py +93 -0
- ngccli/data/api/Secret.py +133 -0
- ngccli/data/api/SecretKVEnv.py +142 -0
- ngccli/data/api/SecretKeySpec.py +106 -0
- ngccli/data/api/SecretSpec.py +132 -0
- ngccli/data/api/ServiceAccess.py +93 -0
- ngccli/data/api/StatusCode.py +3 -0
- ngccli/data/api/StorageAccessInfo.py +140 -0
- ngccli/data/api/StorageAuthenticationResponse.py +189 -0
- ngccli/data/api/StorageCephInfo.py +88 -0
- ngccli/data/api/StorageClusterCreateRequest.py +336 -0
- ngccli/data/api/StorageClusterListResponse.py +99 -0
- ngccli/data/api/StorageClusterResponse.py +95 -0
- ngccli/data/api/StorageClusterUpdateRequest.py +290 -0
- ngccli/data/api/StorageEngineTypeEnum.py +3 -0
- ngccli/data/api/StorageLocation.py +128 -0
- ngccli/data/api/StorageLocationStorageTypeEnum.py +3 -0
- ngccli/data/api/StorageLustreInfo.py +66 -0
- ngccli/data/api/StorageNfsv3Info.py +66 -0
- ngccli/data/api/StorageProxyfsInfo.py +66 -0
- ngccli/data/api/StorageResource.py +525 -0
- ngccli/data/api/StorageResourceStatusEnum.py +3 -0
- ngccli/data/api/StorageServiceConfig.py +149 -0
- ngccli/data/api/StorageServiceConfigDetails.py +403 -0
- ngccli/data/api/StorageYarofsInfo.py +163 -0
- ngccli/data/api/SuggestedNamesResponse.py +91 -0
- ngccli/data/api/SystemLabels.py +63 -0
- ngccli/data/api/TargetSystemUserIdentifier.py +207 -0
- ngccli/data/api/Team.py +191 -0
- ngccli/data/api/TeamCreateRequest.py +119 -0
- ngccli/data/api/TeamCreateResponse.py +94 -0
- ngccli/data/api/TeamCreatedEvent.py +111 -0
- ngccli/data/api/TeamListResponse.py +126 -0
- ngccli/data/api/TeamResponse.py +94 -0
- ngccli/data/api/TeamUpdateRequest.py +125 -0
- ngccli/data/api/TelemetryClientCreateResponse.py +116 -0
- ngccli/data/api/TokenResponse.py +91 -0
- ngccli/data/api/UpdateAceRequest.py +67 -0
- ngccli/data/api/UpdateNodeRequest.py +87 -0
- ngccli/data/api/User.py +889 -0
- ngccli/data/api/UserCreateRequest.py +280 -0
- ngccli/data/api/UserCreatedEvent.py +88 -0
- ngccli/data/api/UserInvitation.py +304 -0
- ngccli/data/api/UserInvitationListResponse.py +127 -0
- ngccli/data/api/UserInvitationResponse.py +94 -0
- ngccli/data/api/UserKeyResponse.py +176 -0
- ngccli/data/api/UserLabels.py +63 -0
- ngccli/data/api/UserListResponse.py +126 -0
- ngccli/data/api/UserMetadata.py +257 -0
- ngccli/data/api/UserOrgRegisterRequest.py +293 -0
- ngccli/data/api/UserRegisterRequest.py +206 -0
- ngccli/data/api/UserResponse.py +152 -0
- ngccli/data/api/UserRole.py +199 -0
- ngccli/data/api/UserRoleDefinition.py +171 -0
- ngccli/data/api/UserRoleDefinitionsResponse.py +100 -0
- ngccli/data/api/UserSession.py +64 -0
- ngccli/data/api/UserSessionResponse.py +94 -0
- ngccli/data/api/UserStorageClusterUpdateRequest.py +178 -0
- ngccli/data/api/UserStorageQuota.py +388 -0
- ngccli/data/api/UserStorageQuotaListResponse.py +177 -0
- ngccli/data/api/UserStorageQuotaResponse.py +96 -0
- ngccli/data/api/UserStorageQuotaUpdateRequest.py +123 -0
- ngccli/data/api/UserTopicEvent.py +208 -0
- ngccli/data/api/UserUpdateRequest.py +460 -0
- ngccli/data/api/UsersInfo.py +63 -0
- ngccli/data/api/ValidateOrgQueryParams.py +139 -0
- ngccli/data/api/VirtualNodeCreateRequest.py +91 -0
- ngccli/data/api/WebSocket.py +92 -0
- ngccli/data/api/WebSocketReceipt.py +115 -0
- ngccli/data/api/Webhook.py +293 -0
- ngccli/data/api/WebhookCreateRequest.py +267 -0
- ngccli/data/api/WebhookEventType.py +3 -0
- ngccli/data/api/WebhookListResponse.py +127 -0
- ngccli/data/api/WebhookResponse.py +94 -0
- ngccli/data/api/WorkspaceCreateRequest.py +163 -0
- ngccli/data/api/WorkspaceListResponse.py +160 -0
- ngccli/data/api/WorkspaceResponse.py +95 -0
- ngccli/data/api/WorkspaceUpdateRequest.py +109 -0
- ngccli/data/api/__init__.py +2 -0
- ngccli/data/ecm/AdvancedStorage.py +158 -0
- ngccli/data/ecm/AdvancedStorageResponse.py +149 -0
- ngccli/data/ecm/Alert.py +168 -0
- ngccli/data/ecm/ApiKeyCreateRequest.py +68 -0
- ngccli/data/ecm/ApiKeyResponse.py +92 -0
- ngccli/data/ecm/AppConfigCreateRequest.py +117 -0
- ngccli/data/ecm/AppConfigResponse.py +95 -0
- ngccli/data/ecm/AppConfigUpdateRequest.py +67 -0
- ngccli/data/ecm/AppConfigs.py +126 -0
- ngccli/data/ecm/AppConfigsResponse.py +99 -0
- ngccli/data/ecm/Application.py +307 -0
- ngccli/data/ecm/ApplicationRequest.py +66 -0
- ngccli/data/ecm/ApplicationResponse.py +95 -0
- ngccli/data/ecm/ApplicationUpdateRequest.py +66 -0
- ngccli/data/ecm/ApplicationsResponse.py +127 -0
- ngccli/data/ecm/BuildStatus.py +136 -0
- ngccli/data/ecm/BuildStatusEnum.py +3 -0
- ngccli/data/ecm/ComponentResponse.py +63 -0
- ngccli/data/ecm/Console.py +193 -0
- ngccli/data/ecm/ConsoleResponse.py +93 -0
- ngccli/data/ecm/ConsolesResponse.py +98 -0
- ngccli/data/ecm/CreateCustomRootFsRequest.py +96 -0
- ngccli/data/ecm/CreateDeploymentRequest.py +385 -0
- ngccli/data/ecm/CreateLocationRequest.py +269 -0
- ngccli/data/ecm/CreateNodeRequest.py +189 -0
- ngccli/data/ecm/CustomInstaller.py +291 -0
- ngccli/data/ecm/CustomRootFsCreationEvent.py +126 -0
- ngccli/data/ecm/Deployment.py +605 -0
- ngccli/data/ecm/DeploymentLocation.py +514 -0
- ngccli/data/ecm/DeploymentResponse.py +94 -0
- ngccli/data/ecm/DeploymentsResponse.py +126 -0
- ngccli/data/ecm/EmsMetaData.py +208 -0
- ngccli/data/ecm/EmsResponse.py +167 -0
- ngccli/data/ecm/ErrorResponse.py +66 -0
- ngccli/data/ecm/Git.py +212 -0
- ngccli/data/ecm/GitApp.py +114 -0
- ngccli/data/ecm/GitRepositoriesResponse.py +98 -0
- ngccli/data/ecm/GitRepository.py +140 -0
- ngccli/data/ecm/GitRepositoryRequest.py +282 -0
- ngccli/data/ecm/GitRepositoryResponse.py +95 -0
- ngccli/data/ecm/GitRepositoryUpdateRequest.py +258 -0
- ngccli/data/ecm/GpuInfo.py +221 -0
- ngccli/data/ecm/GpuLogStorageUsageResponse.py +140 -0
- ngccli/data/ecm/GpuManagement.py +198 -0
- ngccli/data/ecm/GpuManagementResponse.py +99 -0
- ngccli/data/ecm/Installer.py +86 -0
- ngccli/data/ecm/InstallersResponse.py +102 -0
- ngccli/data/ecm/InstallersValidationRequest.py +66 -0
- ngccli/data/ecm/Iso.py +135 -0
- ngccli/data/ecm/Label.py +86 -0
- ngccli/data/ecm/LabelsResponse.py +126 -0
- ngccli/data/ecm/Location.py +640 -0
- ngccli/data/ecm/LocationAvailabilityEnum.py +3 -0
- ngccli/data/ecm/LocationDeploymentStatusEnum.py +3 -0
- ngccli/data/ecm/LocationHealthEnum.py +3 -0
- ngccli/data/ecm/LocationResponse.py +94 -0
- ngccli/data/ecm/LocationStatusEnum.py +3 -0
- ngccli/data/ecm/LocationsResponse.py +127 -0
- ngccli/data/ecm/Log.py +120 -0
- ngccli/data/ecm/LogsResponse.py +126 -0
- ngccli/data/ecm/ManagedGpus.py +86 -0
- ngccli/data/ecm/MetaData.py +86 -0
- ngccli/data/ecm/MetricQueryResponse.py +308 -0
- ngccli/data/ecm/Metrics.py +86 -0
- ngccli/data/ecm/MetricsBucketsResponse.py +90 -0
- ngccli/data/ecm/MetricsListResponse.py +121 -0
- ngccli/data/ecm/MigProfileInfo.py +87 -0
- ngccli/data/ecm/MigStatusEnum.py +3 -0
- ngccli/data/ecm/NetworkInfo.py +249 -0
- ngccli/data/ecm/NetworkInfoResponse.py +96 -0
- ngccli/data/ecm/NetworkInterface.py +87 -0
- ngccli/data/ecm/Node.py +622 -0
- ngccli/data/ecm/NodeConnectionEnum.py +3 -0
- ngccli/data/ecm/NodeGpuInfoResponse.py +173 -0
- ngccli/data/ecm/NodeHealthEnum.py +3 -0
- ngccli/data/ecm/NodeResponse.py +93 -0
- ngccli/data/ecm/NodeStatusEnum.py +3 -0
- ngccli/data/ecm/NodesResponse.py +125 -0
- ngccli/data/ecm/PaginationInfo.py +161 -0
- ngccli/data/ecm/RemoteApp.py +158 -0
- ngccli/data/ecm/RemoteAppDetail.py +189 -0
- ngccli/data/ecm/RemoteAppResponse.py +94 -0
- ngccli/data/ecm/RemoteAppTunnelResponse.py +156 -0
- ngccli/data/ecm/RemoteConsoleSshRequest.py +67 -0
- ngccli/data/ecm/RemoteConsoleSshResponse.py +156 -0
- ngccli/data/ecm/RemoteManagerStatusTypeEnum.py +3 -0
- ngccli/data/ecm/RequestStatus.py +137 -0
- ngccli/data/ecm/Response.py +66 -0
- ngccli/data/ecm/ScanResultsStatusEnum.py +3 -0
- ngccli/data/ecm/SecurityMinimunSupportedVersion.py +87 -0
- ngccli/data/ecm/SettingsResponse.py +600 -0
- ngccli/data/ecm/SignedContainerKeysRequest.py +70 -0
- ngccli/data/ecm/SignedContainerKeysResponse.py +70 -0
- ngccli/data/ecm/SortOrderEnum.py +3 -0
- ngccli/data/ecm/StatusCode.py +3 -0
- ngccli/data/ecm/TypeVersion.py +110 -0
- ngccli/data/ecm/TypeVersions.py +94 -0
- ngccli/data/ecm/UpdateDeploymentRequest.py +300 -0
- ngccli/data/ecm/UpdateGpuInfo.py +112 -0
- ngccli/data/ecm/UpdateLocationRequest.py +248 -0
- ngccli/data/ecm/UpdateNodeGpuInfoRequest.py +95 -0
- ngccli/data/ecm/UpdateNodeRequest.py +165 -0
- ngccli/data/ecm/UpdateSettingsRequest.py +306 -0
- ngccli/data/ecm/UpdateStatusEnum.py +3 -0
- ngccli/data/ecm/ValidationStatus.py +135 -0
- ngccli/data/ecm/__init__.py +2 -0
- ngccli/data/model/AIFoundationModel.py +227 -0
- ngccli/data/model/AIPlaygroundCreateRequest.py +137 -0
- ngccli/data/model/AIPlaygroundResponse.py +227 -0
- ngccli/data/model/AIPlaygroundUpdateRequest.py +112 -0
- ngccli/data/model/AccessTypeEnum.py +3 -0
- ngccli/data/model/ApplicationType.py +3 -0
- ngccli/data/model/Artifact.py +725 -0
- ngccli/data/model/ArtifactAttribute.py +107 -0
- ngccli/data/model/ArtifactCatalogFlags.py +113 -0
- ngccli/data/model/ArtifactCreateRequest.py +452 -0
- ngccli/data/model/ArtifactDeploymentParameters.py +259 -0
- ngccli/data/model/ArtifactDownloadAllRequest.py +127 -0
- ngccli/data/model/ArtifactDownloadAllResponse.py +179 -0
- ngccli/data/model/ArtifactDownloadRequest.py +156 -0
- ngccli/data/model/ArtifactDownloadResponse.py +120 -0
- ngccli/data/model/ArtifactEvent.py +171 -0
- ngccli/data/model/ArtifactListResponse.py +127 -0
- ngccli/data/model/ArtifactPublishRequest.py +165 -0
- ngccli/data/model/ArtifactResponse.py +95 -0
- ngccli/data/model/ArtifactTypeEnum.py +3 -0
- ngccli/data/model/ArtifactUpdateRequest.py +398 -0
- ngccli/data/model/ArtifactVersion.py +317 -0
- ngccli/data/model/ArtifactVersionCreateRequest.py +124 -0
- ngccli/data/model/ArtifactVersionFileListResponse.py +183 -0
- ngccli/data/model/ArtifactVersionListResponse.py +155 -0
- ngccli/data/model/ArtifactVersionResponse.py +123 -0
- ngccli/data/model/ArtifactVersionUpdateRequest.py +126 -0
- ngccli/data/model/Asset.py +576 -0
- ngccli/data/model/AssetCdnProviderTypeEnum.py +3 -0
- ngccli/data/model/AssetResponse.py +94 -0
- ngccli/data/model/AssetSimplified.py +121 -0
- ngccli/data/model/AssetStatusTypeEnum.py +3 -0
- ngccli/data/model/AssetStorageEvent.py +141 -0
- ngccli/data/model/AssetStorageTypeEnum.py +3 -0
- ngccli/data/model/AssetUpdateRequest.py +221 -0
- ngccli/data/model/CatalogArtifactMetadata.py +164 -0
- ngccli/data/model/CloneArtifactVersionFilesRequest.py +118 -0
- ngccli/data/model/CloneableArtifact.py +135 -0
- ngccli/data/model/CloudServiceProvider.py +312 -0
- ngccli/data/model/CloudServiceProviderCreateRequest.py +220 -0
- ngccli/data/model/CloudServiceProviderListResponse.py +127 -0
- ngccli/data/model/CloudServiceProviderUpdateRequest.py +191 -0
- ngccli/data/model/Collection.py +581 -0
- ngccli/data/model/CollectionCategoryType.py +3 -0
- ngccli/data/model/CollectionCreateRequest.py +408 -0
- ngccli/data/model/CollectionListResponse.py +127 -0
- ngccli/data/model/CollectionOperation.py +108 -0
- ngccli/data/model/CollectionOperationType.py +3 -0
- ngccli/data/model/CollectionPatchRequest.py +77 -0
- ngccli/data/model/CollectionPublishRequest.py +165 -0
- ngccli/data/model/CollectionResponse.py +95 -0
- ngccli/data/model/CollectionSimplified.py +121 -0
- ngccli/data/model/CollectionUpdateRequest.py +349 -0
- ngccli/data/model/CountableResource.py +113 -0
- ngccli/data/model/CustomMetric.py +99 -0
- ngccli/data/model/CustomMetricGroup.py +101 -0
- ngccli/data/model/Dataset.py +128 -0
- ngccli/data/model/DeploymentArtifactParameters.py +218 -0
- ngccli/data/model/DeploymentCpuParameters.py +63 -0
- ngccli/data/model/DeploymentCpuParametersMeta.py +72 -0
- ngccli/data/model/DeploymentGpuParameters.py +87 -0
- ngccli/data/model/DeploymentGpuParametersMeta.py +100 -0
- ngccli/data/model/DeploymentMemoryParameters.py +64 -0
- ngccli/data/model/DeploymentMemoryParametersMeta.py +72 -0
- ngccli/data/model/DeploymentParameters.py +259 -0
- ngccli/data/model/DeploymentParametersCreateRequest.py +235 -0
- ngccli/data/model/DeploymentParametersListResponse.py +180 -0
- ngccli/data/model/DeploymentParametersMeta.py +179 -0
- ngccli/data/model/DeploymentParametersMetaCreateRequest.py +165 -0
- ngccli/data/model/DeploymentParametersMetaListResponse.py +151 -0
- ngccli/data/model/DeploymentParametersMetaUpdateRequest.py +156 -0
- ngccli/data/model/DeploymentParametersUpdateRequest.py +235 -0
- ngccli/data/model/DeploymentStorageParameters.py +64 -0
- ngccli/data/model/DeploymentStorageParametersMeta.py +72 -0
- ngccli/data/model/DeploymentUrlCreateRequest.py +235 -0
- ngccli/data/model/DeploymentUrlResponse.py +144 -0
- ngccli/data/model/EnumerableResource.py +97 -0
- ngccli/data/model/EnumerableResourceItem.py +111 -0
- ngccli/data/model/File.py +196 -0
- ngccli/data/model/FrameworkType.py +3 -0
- ngccli/data/model/Health.py +134 -0
- ngccli/data/model/HealthResponse.py +68 -0
- ngccli/data/model/HelmChartDependency.py +126 -0
- ngccli/data/model/HelmChartMaintainer.py +110 -0
- ngccli/data/model/HelmChartVersion.py +393 -0
- ngccli/data/model/MetaData.py +98 -0
- ngccli/data/model/Model.py +917 -0
- ngccli/data/model/ModelCreateRequest.py +653 -0
- ngccli/data/model/ModelCreateResponse.py +94 -0
- ngccli/data/model/ModelFile.py +163 -0
- ngccli/data/model/ModelFormatType.py +3 -0
- ngccli/data/model/ModelListResponse.py +126 -0
- ngccli/data/model/ModelResponse.py +94 -0
- ngccli/data/model/ModelSimplified.py +121 -0
- ngccli/data/model/ModelUpdateRequest.py +594 -0
- ngccli/data/model/ModelVersion.py +462 -0
- ngccli/data/model/ModelVersionCreateRequest.py +389 -0
- ngccli/data/model/ModelVersionCreateResponse.py +122 -0
- ngccli/data/model/ModelVersionFileListResponse.py +182 -0
- ngccli/data/model/ModelVersionListResponse.py +154 -0
- ngccli/data/model/ModelVersionResponse.py +122 -0
- ngccli/data/model/ModelVersionUpdateRequest.py +347 -0
- ngccli/data/model/MultipartUploadAbortRequest.py +186 -0
- ngccli/data/model/MultipartUploadCompleteRequest.py +216 -0
- ngccli/data/model/MultipartUploadCreateRequest.py +234 -0
- ngccli/data/model/MultipartUploadCreateResponse.py +183 -0
- ngccli/data/model/PaginationInfo.py +161 -0
- ngccli/data/model/PrecisionType.py +3 -0
- ngccli/data/model/ProductNamesEnum.py +3 -0
- ngccli/data/model/Recipe.py +828 -0
- ngccli/data/model/RecipeCreateRequest.py +577 -0
- ngccli/data/model/RecipeFile.py +163 -0
- ngccli/data/model/RecipeListResponse.py +126 -0
- ngccli/data/model/RecipeResponse.py +94 -0
- ngccli/data/model/RecipeUpdateRequest.py +530 -0
- ngccli/data/model/RecipeVersion.py +536 -0
- ngccli/data/model/RecipeVersionCreateRequest.py +451 -0
- ngccli/data/model/RecipeVersionFileListResponse.py +182 -0
- ngccli/data/model/RecipeVersionListResponse.py +154 -0
- ngccli/data/model/RecipeVersionResponse.py +122 -0
- ngccli/data/model/RecipeVersionUpdateRequest.py +409 -0
- ngccli/data/model/RequestStatus.py +138 -0
- ngccli/data/model/Response.py +66 -0
- ngccli/data/model/SortOrderEnum.py +3 -0
- ngccli/data/model/StatusCode.py +3 -0
- ngccli/data/model/VersionStatusEnum.py +3 -0
- ngccli/data/model/__init__.py +2 -0
- ngccli/data/package/Health.py +134 -0
- ngccli/data/package/HealthResponse.py +68 -0
- ngccli/data/package/MetaData.py +98 -0
- ngccli/data/package/Package.py +174 -0
- ngccli/data/package/PackageFile.py +130 -0
- ngccli/data/package/PackageVersion.py +207 -0
- ngccli/data/package/PackageVersionListResponse.py +154 -0
- ngccli/data/package/PackageVersionResponse.py +122 -0
- ngccli/data/package/PaginationInfo.py +161 -0
- ngccli/data/package/RequestStatus.py +138 -0
- ngccli/data/package/Response.py +66 -0
- ngccli/data/package/StatusCode.py +3 -0
- ngccli/data/package/__init__.py +2 -0
- ngccli/data/publishing/AccessTypeEnum.py +3 -0
- ngccli/data/publishing/Artifact.py +172 -0
- ngccli/data/publishing/ArtifactBatch.py +193 -0
- ngccli/data/publishing/ArtifactToCollectionRequest.py +133 -0
- ngccli/data/publishing/ArtifactType.py +3 -0
- ngccli/data/publishing/BatchPublishingRequest.py +305 -0
- ngccli/data/publishing/ProductNamesEnum.py +3 -0
- ngccli/data/publishing/PublishingRequest.py +298 -0
- ngccli/data/publishing/RequestStatus.py +138 -0
- ngccli/data/publishing/Response.py +66 -0
- ngccli/data/publishing/StatusCode.py +3 -0
- ngccli/data/publishing/__init__.py +2 -0
- ngccli/data/pym/AdditionalOpenPortURLs.py +109 -0
- ngccli/data/pym/ClusterComponent.py +113 -0
- ngccli/data/pym/ClusterComponentModifyParams.py +183 -0
- ngccli/data/pym/ClusterComponentParams.py +200 -0
- ngccli/data/pym/ClusterCreateRequest.py +101 -0
- ngccli/data/pym/ClusterInfo.py +228 -0
- ngccli/data/pym/ClusterInfoResponse.py +101 -0
- ngccli/data/pym/ClusterInstance.py +288 -0
- ngccli/data/pym/ClusterInstanceInfo.py +108 -0
- ngccli/data/pym/ClusterInstanceTypesResponse.py +106 -0
- ngccli/data/pym/ClusterListResponse.py +105 -0
- ngccli/data/pym/ClusterModifyParams.py +845 -0
- ngccli/data/pym/ClusterModifyRequest.py +107 -0
- ngccli/data/pym/ClusterParams.py +875 -0
- ngccli/data/pym/ClusterPortMapping.py +199 -0
- ngccli/data/pym/ClusterRequestStatus.py +392 -0
- ngccli/data/pym/ClusterStatusEnum.py +3 -0
- ngccli/data/pym/ClusterSuccessResponse.py +101 -0
- ngccli/data/pym/ClusterTelemetry.py +99 -0
- ngccli/data/pym/ClusterTypeEnum.py +3 -0
- ngccli/data/pym/ClusterURLs.py +163 -0
- ngccli/data/pym/DataInput.py +103 -0
- ngccli/data/pym/Dataset.py +103 -0
- ngccli/data/pym/Env.py +103 -0
- ngccli/data/pym/HealthInfoItem.py +144 -0
- ngccli/data/pym/HealthResponse.py +130 -0
- ngccli/data/pym/ProjectCreateRequest.py +171 -0
- ngccli/data/pym/ProjectDetails.py +239 -0
- ngccli/data/pym/ProjectInfoResponse.py +129 -0
- ngccli/data/pym/ProjectListResponse.py +105 -0
- ngccli/data/pym/ProjectModifyParams.py +99 -0
- ngccli/data/pym/ProjectModifyRequest.py +101 -0
- ngccli/data/pym/ProjectParams.py +109 -0
- ngccli/data/pym/ProjectRequestStatus.py +152 -0
- ngccli/data/pym/ProjectSuccessResponse.py +101 -0
- ngccli/data/pym/ProjectTemplateCreateRequest.py +101 -0
- ngccli/data/pym/ProjectTemplateInfoResponse.py +162 -0
- ngccli/data/pym/ProjectTemplateListParams.py +265 -0
- ngccli/data/pym/ProjectTemplateListResponse.py +105 -0
- ngccli/data/pym/ProjectTemplateModificationRequest.py +102 -0
- ngccli/data/pym/ProjectTemplateModifyParams.py +206 -0
- ngccli/data/pym/ProjectTemplateParams.py +216 -0
- ngccli/data/pym/ProjectTemplateParamsDeprecated.py +480 -0
- ngccli/data/pym/ProjectTemplateRequestStatus.py +97 -0
- ngccli/data/pym/ProjectTemplateSuccessResponse.py +101 -0
- ngccli/data/pym/SecretKeySpec.py +106 -0
- ngccli/data/pym/SecretSpec.py +132 -0
- ngccli/data/pym/Workspace.py +138 -0
- ngccli/data/pym/__init__.py +2 -0
- ngccli/data/registry/AccessTypeEnum.py +3 -0
- ngccli/data/registry/Actor.py +63 -0
- ngccli/data/registry/Allowlist.py +168 -0
- ngccli/data/registry/AllowlistItem.py +112 -0
- ngccli/data/registry/Analysis.py +136 -0
- ngccli/data/registry/AnalysisStatus.py +3 -0
- ngccli/data/registry/AnchoreParameter.py +87 -0
- ngccli/data/registry/AnchorePolicyBundle.py +299 -0
- ngccli/data/registry/AnchorePolicyBundleRecord.py +216 -0
- ngccli/data/registry/BaseImageDetails.py +185 -0
- ngccli/data/registry/BaseImageList.py +63 -0
- ngccli/data/registry/BaseImagesDetailResponse.py +71 -0
- ngccli/data/registry/BlobSum.py +62 -0
- ngccli/data/registry/CatalogArtifactMetadata.py +164 -0
- ngccli/data/registry/Envelope.py +71 -0
- ngccli/data/registry/EventRequest.py +163 -0
- ngccli/data/registry/EventSource.py +89 -0
- ngccli/data/registry/EventTarget.py +210 -0
- ngccli/data/registry/GetManifestByTagResponse.py +261 -0
- ngccli/data/registry/GetRepositoryTagVexResponse.py +123 -0
- ngccli/data/registry/GetTagsResponse.py +115 -0
- ngccli/data/registry/Header.py +90 -0
- ngccli/data/registry/HistoryLayer.py +63 -0
- ngccli/data/registry/ImageArchitectureVariant.py +265 -0
- ngccli/data/registry/ImageDeleteRequest.py +94 -0
- ngccli/data/registry/ImageOwnerDetails.py +262 -0
- ngccli/data/registry/ImageRef.py +87 -0
- ngccli/data/registry/ImageScanDetails.py +327 -0
- ngccli/data/registry/ImageSelectionRule.py +162 -0
- ngccli/data/registry/ImageSignature.py +89 -0
- ngccli/data/registry/Jwk.py +159 -0
- ngccli/data/registry/ManifestByTagV2Response.py +231 -0
- ngccli/data/registry/ManifestListByTagV2Response.py +149 -0
- ngccli/data/registry/ManifestV2Config.py +111 -0
- ngccli/data/registry/ManifestV2Layer.py +111 -0
- ngccli/data/registry/MappingRule.py +213 -0
- ngccli/data/registry/MetaImageDetails.py +388 -0
- ngccli/data/registry/MetaImageDetailsList.py +177 -0
- ngccli/data/registry/OciIndexManifest.py +135 -0
- ngccli/data/registry/OciIndexResponse.py +149 -0
- ngccli/data/registry/PaginationInfo.py +161 -0
- ngccli/data/registry/Platform.py +140 -0
- ngccli/data/registry/PlatformManifest.py +148 -0
- ngccli/data/registry/PolicyRule.py +168 -0
- ngccli/data/registry/ProductNamesEnum.py +3 -0
- ngccli/data/registry/RegistryEvent.py +222 -0
- ngccli/data/registry/Repository.py +839 -0
- ngccli/data/registry/RepositoryCreateRequest.py +342 -0
- ngccli/data/registry/RepositoryImageDetails.py +366 -0
- ngccli/data/registry/RepositoryImageDetailsList.py +126 -0
- ngccli/data/registry/RepositoryImageScanComplete.py +188 -0
- ngccli/data/registry/RepositoryImagesDeletedEvent.py +139 -0
- ngccli/data/registry/RepositoryInfoUpdateRequest.py +495 -0
- ngccli/data/registry/RepositoryLabelsPatchRequest.py +63 -0
- ngccli/data/registry/RepositoryList.py +126 -0
- ngccli/data/registry/RepositoryTagVexByDigest.py +94 -0
- ngccli/data/registry/RepositoryTagVexDetail.py +90 -0
- ngccli/data/registry/RepositoryTagsCountResponse.py +92 -0
- ngccli/data/registry/RequestStatus.py +137 -0
- ngccli/data/registry/Response.py +66 -0
- ngccli/data/registry/RuleSet.py +168 -0
- ngccli/data/registry/ScanIssue.py +235 -0
- ngccli/data/registry/ScanIssueCount.py +87 -0
- ngccli/data/registry/ScanIssueSeverity.py +3 -0
- ngccli/data/registry/ScanStatus.py +3 -0
- ngccli/data/registry/ScanType.py +3 -0
- ngccli/data/registry/SecurityRatingDescription.py +221 -0
- ngccli/data/registry/SecurityRatingType.py +3 -0
- ngccli/data/registry/SecurityRatingsResponse.py +71 -0
- ngccli/data/registry/StatusCode.py +3 -0
- ngccli/data/registry/TagUpdateRequest.py +63 -0
- ngccli/data/registry/__init__.py +2 -0
- ngccli/data/search/AccessTypeEnum.py +3 -0
- ngccli/data/search/CountParams.py +109 -0
- ngccli/data/search/CountParamsField.py +106 -0
- ngccli/data/search/CountResponse.py +109 -0
- ngccli/data/search/CountResponseCount.py +134 -0
- ngccli/data/search/CountResponseParams.py +71 -0
- ngccli/data/search/Health.py +134 -0
- ngccli/data/search/HealthResponse.py +68 -0
- ngccli/data/search/LabelGroup.py +119 -0
- ngccli/data/search/LabelGroupValue.py +117 -0
- ngccli/data/search/LabelResponseGlobal.py +71 -0
- ngccli/data/search/LabelResponseOrgTeam.py +99 -0
- ngccli/data/search/LabelSet.py +280 -0
- ngccli/data/search/LabelSetCreateRequest.py +181 -0
- ngccli/data/search/LabelSetResponse.py +271 -0
- ngccli/data/search/LabelSetUpdateRequest.py +132 -0
- ngccli/data/search/LabelValue.py +113 -0
- ngccli/data/search/ListLabelSetsResponse.py +71 -0
- ngccli/data/search/MetaData.py +98 -0
- ngccli/data/search/Resource.py +707 -0
- ngccli/data/search/ResourceAttribute.py +107 -0
- ngccli/data/search/ResourceEventEnum.py +3 -0
- ngccli/data/search/ResourceLabel.py +101 -0
- ngccli/data/search/ResourcePopularityTypeEnum.py +3 -0
- ngccli/data/search/ResourcePopularityUpdate.py +158 -0
- ngccli/data/search/ResourceTypeEnum.py +3 -0
- ngccli/data/search/SearchFilterCategory.py +135 -0
- ngccli/data/search/SearchFilterValue.py +126 -0
- ngccli/data/search/SearchParamFilter.py +105 -0
- ngccli/data/search/SearchParamOrderBy.py +106 -0
- ngccli/data/search/SearchParamOrderByEnum.py +3 -0
- ngccli/data/search/SearchParams.py +311 -0
- ngccli/data/search/SearchPopularityUpdateQueueMsg.py +109 -0
- ngccli/data/search/SearchQueueMsg.py +104 -0
- ngccli/data/search/SearchResponse.py +165 -0
- ngccli/data/search/SearchResponseResult.py +144 -0
- ngccli/data/search/SearchResponseResultResource.py +660 -0
- ngccli/data/search/__init__.py +2 -0
- ngccli/data/sms/HealthResponse.py +98 -0
- ngccli/data/sms/KV.py +109 -0
- ngccli/data/sms/Secret.py +274 -0
- ngccli/data/sms/SecretCreateRequest.py +163 -0
- ngccli/data/sms/SecretDecryptRequest.py +140 -0
- ngccli/data/sms/SecretDecryptResponse.py +105 -0
- ngccli/data/sms/SecretGetResponse.py +104 -0
- ngccli/data/sms/SecretModifyRequest.py +153 -0
- ngccli/data/sms/SecretNameKV.py +110 -0
- ngccli/data/sms/SecretRequestStatus.py +122 -0
- ngccli/data/sms/SecretSuccessResponse.py +101 -0
- ngccli/data/sms/__init__.py +2 -0
- ngccli/data/subscription_management_service/Action.py +110 -0
- ngccli/data/subscription_management_service/AzureMarketplaceSubscription.py +488 -0
- ngccli/data/subscription_management_service/AzureMarketplaceSubscriptionNotificationEvent.py +358 -0
- ngccli/data/subscription_management_service/AzureMarketplaceSubscriptionTerm.py +136 -0
- ngccli/data/subscription_management_service/AzureMarketplaceSubscriptionUser.py +135 -0
- ngccli/data/subscription_management_service/BusinessContact.py +425 -0
- ngccli/data/subscription_management_service/Charge.py +241 -0
- ngccli/data/subscription_management_service/CreateOrderRequest.py +122 -0
- ngccli/data/subscription_management_service/CreateOrderResponse.py +92 -0
- ngccli/data/subscription_management_service/CreateProductOfferRequest.py +76 -0
- ngccli/data/subscription_management_service/CreateProductOfferResponse.py +99 -0
- ngccli/data/subscription_management_service/CreateProductRequest.py +66 -0
- ngccli/data/subscription_management_service/CreateSubscriptionsRequest.py +71 -0
- ngccli/data/subscription_management_service/CreateSubscriptionsResponse.py +99 -0
- ngccli/data/subscription_management_service/ErrorResponse.py +66 -0
- ngccli/data/subscription_management_service/GetSubscriptionRequestResponse.py +95 -0
- ngccli/data/subscription_management_service/GtsOrderTypeEnum.py +3 -0
- ngccli/data/subscription_management_service/Health.py +134 -0
- ngccli/data/subscription_management_service/HealthResponse.py +96 -0
- ngccli/data/subscription_management_service/LineItem.py +267 -0
- ngccli/data/subscription_management_service/LineItemTypeEnum.py +3 -0
- ngccli/data/subscription_management_service/ListProductOffersResponse.py +99 -0
- ngccli/data/subscription_management_service/ListSubscriptionRequestsResponse.py +127 -0
- ngccli/data/subscription_management_service/ListSubscriptionsResponse.py +99 -0
- ngccli/data/subscription_management_service/ListUserSubscriptionsResponse.py +99 -0
- ngccli/data/subscription_management_service/MetaData.py +98 -0
- ngccli/data/subscription_management_service/Order.py +217 -0
- ngccli/data/subscription_management_service/OrderActionTypeEnum.py +3 -0
- ngccli/data/subscription_management_service/OrderSummary.py +184 -0
- ngccli/data/subscription_management_service/OrgEnablementCreateRequest.py +102 -0
- ngccli/data/subscription_management_service/PaginationInfo.py +161 -0
- ngccli/data/subscription_management_service/PreviewOrder.py +171 -0
- ngccli/data/subscription_management_service/PreviewOrderRequest.py +122 -0
- ngccli/data/subscription_management_service/PreviewOrderResponse.py +95 -0
- ngccli/data/subscription_management_service/PriceFormatEnum.py +3 -0
- ngccli/data/subscription_management_service/Pricing.py +236 -0
- ngccli/data/subscription_management_service/Product.py +631 -0
- ngccli/data/subscription_management_service/ProductEnablement.py +164 -0
- ngccli/data/subscription_management_service/ProductOffer.py +159 -0
- ngccli/data/subscription_management_service/ProductPlan.py +466 -0
- ngccli/data/subscription_management_service/ProductPlansResponse.py +99 -0
- ngccli/data/subscription_management_service/ProductResponse.py +94 -0
- ngccli/data/subscription_management_service/ProductsResponse.py +99 -0
- ngccli/data/subscription_management_service/PurchaseOrder.py +88 -0
- ngccli/data/subscription_management_service/RedeemPreviewSubscriptionRequest.py +68 -0
- ngccli/data/subscription_management_service/RedeemPreviewSubscriptionResponse.py +98 -0
- ngccli/data/subscription_management_service/RedeemSubscriptionRequest.py +96 -0
- ngccli/data/subscription_management_service/RedeemSubscriptionResponse.py +92 -0
- ngccli/data/subscription_management_service/RelatedArtifact.py +215 -0
- ngccli/data/subscription_management_service/RelatedArtifactsResponse.py +99 -0
- ngccli/data/subscription_management_service/RelatedItem.py +86 -0
- ngccli/data/subscription_management_service/RenewSubscriptionResponse.py +95 -0
- ngccli/data/subscription_management_service/RequestCreateSubscriptionRequest.py +89 -0
- ngccli/data/subscription_management_service/RequestCreateSubscriptionResponse.py +95 -0
- ngccli/data/subscription_management_service/RequestStatus.py +137 -0
- ngccli/data/subscription_management_service/Response.py +66 -0
- ngccli/data/subscription_management_service/ReviewSubscriptionRequestRequest.py +162 -0
- ngccli/data/subscription_management_service/StatusCode.py +3 -0
- ngccli/data/subscription_management_service/Subscription.py +577 -0
- ngccli/data/subscription_management_service/SubscriptionRequest.py +526 -0
- ngccli/data/subscription_management_service/SubscriptionRequestActionEnum.py +3 -0
- ngccli/data/subscription_management_service/SubscriptionRequestActionStatusEnum.py +3 -0
- ngccli/data/subscription_management_service/SubscriptionRequestHistory.py +261 -0
- ngccli/data/subscription_management_service/SubscriptionRequestStatusEnum.py +3 -0
- ngccli/data/subscription_management_service/SubscriptionRequestTermUnitEnum.py +3 -0
- ngccli/data/subscription_management_service/SubscriptionResponse.py +95 -0
- ngccli/data/subscription_management_service/SubscriptionStatusEnum.py +3 -0
- ngccli/data/subscription_management_service/Tab.py +86 -0
- ngccli/data/subscription_management_service/Tou.py +86 -0
- ngccli/data/subscription_management_service/UpdateAccountStatusGtsRequest.py +126 -0
- ngccli/data/subscription_management_service/UpdateAccountStatusGtsResponse.py +91 -0
- ngccli/data/subscription_management_service/UpdateProductRequest.py +66 -0
- ngccli/data/subscription_management_service/UserSubscriptions.py +86 -0
- ngccli/data/subscription_management_service/__init__.py +2 -0
- ngccli/data/uis/AccountInfo.py +302 -0
- ngccli/data/uis/AddRolesRequest.py +68 -0
- ngccli/data/uis/AlternateContact.py +114 -0
- ngccli/data/uis/ApiKey.py +296 -0
- ngccli/data/uis/ApiKeyPolicy.py +171 -0
- ngccli/data/uis/ApiKeyRequest.py +164 -0
- ngccli/data/uis/ApiKeyResponse.py +94 -0
- ngccli/data/uis/ApiKeyStatusEnum.py +3 -0
- ngccli/data/uis/ApiKeyTypeEnum.py +3 -0
- ngccli/data/uis/CreateBillingAccountRequest.py +151 -0
- ngccli/data/uis/CreateBillingAccountResponse.py +115 -0
- ngccli/data/uis/CreateUserRolesRequest.py +68 -0
- ngccli/data/uis/EmailTemplateDataSourceEnum.py +3 -0
- ngccli/data/uis/EmailTemplateTypeEnum.py +3 -0
- ngccli/data/uis/ErrorResponse.py +66 -0
- ngccli/data/uis/GetUchIdByOrgResponse.py +91 -0
- ngccli/data/uis/Health.py +134 -0
- ngccli/data/uis/HealthResponse.py +96 -0
- ngccli/data/uis/IdpLock.py +227 -0
- ngccli/data/uis/IdpLockResponse.py +104 -0
- ngccli/data/uis/IdpRule.py +343 -0
- ngccli/data/uis/IdpRuleListResponse.py +137 -0
- ngccli/data/uis/IdpRuleRequest.py +155 -0
- ngccli/data/uis/IdpRuleResponse.py +104 -0
- ngccli/data/uis/InfinityManagerSettings.py +90 -0
- ngccli/data/uis/ListApiKeysResponse.py +98 -0
- ngccli/data/uis/ListRolesResponse.py +92 -0
- ngccli/data/uis/ListUserRolesResponse.py +128 -0
- ngccli/data/uis/MetaData.py +92 -0
- ngccli/data/uis/NvcfCluster.py +162 -0
- ngccli/data/uis/NvcfGpuUsage.py +212 -0
- ngccli/data/uis/NvcfGpuUsageRequest.py +71 -0
- ngccli/data/uis/NvcfGpuUsageResponse.py +99 -0
- ngccli/data/uis/NvcfOrgResponse.py +152 -0
- ngccli/data/uis/NvcfOrgUpdateRequest.py +71 -0
- ngccli/data/uis/OrgAdminUserCreatedEvent.py +112 -0
- ngccli/data/uis/OrgListResponse.py +127 -0
- ngccli/data/uis/OrgOwner.py +173 -0
- ngccli/data/uis/OrgOwnerUpdateRequest.py +97 -0
- ngccli/data/uis/OrgOwnersResponse.py +125 -0
- ngccli/data/uis/OrgProfileUpdateRequest.py +105 -0
- ngccli/data/uis/OrgType.py +3 -0
- ngccli/data/uis/OrgUpdateRequest.py +541 -0
- ngccli/data/uis/Organization.py +721 -0
- ngccli/data/uis/PaginationInfo.py +161 -0
- ngccli/data/uis/ProductEnablement.py +164 -0
- ngccli/data/uis/ProductSubscription.py +214 -0
- ngccli/data/uis/PurchaseOrder.py +88 -0
- ngccli/data/uis/RemoveRolesRequest.py +68 -0
- ngccli/data/uis/RemovedUser.py +354 -0
- ngccli/data/uis/RemovedUserListResponse.py +127 -0
- ngccli/data/uis/RepoScanSettings.py +192 -0
- ngccli/data/uis/RequestStatus.py +137 -0
- ngccli/data/uis/Resource.py +86 -0
- ngccli/data/uis/Response.py +66 -0
- ngccli/data/uis/RoleScopes.py +134 -0
- ngccli/data/uis/RoleScopesRequest.py +71 -0
- ngccli/data/uis/RoleScopesResponse.py +99 -0
- ngccli/data/uis/RoleType.py +3 -0
- ngccli/data/uis/RotateApiKeyRequest.py +68 -0
- ngccli/data/uis/SakCallerInfoRequest.py +68 -0
- ngccli/data/uis/SakCallerInfoResponse.py +191 -0
- ngccli/data/uis/SendTemplatedEmailRequest.py +301 -0
- ngccli/data/uis/ServiceAccess.py +93 -0
- ngccli/data/uis/StatusCode.py +3 -0
- ngccli/data/uis/TargetSystemUserIdentifier.py +183 -0
- ngccli/data/uis/Team.py +191 -0
- ngccli/data/uis/TeamCreateRequest.py +119 -0
- ngccli/data/uis/TeamCreateResponse.py +94 -0
- ngccli/data/uis/TeamCreatedEvent.py +111 -0
- ngccli/data/uis/TeamListResponse.py +126 -0
- ngccli/data/uis/TeamResponse.py +94 -0
- ngccli/data/uis/TeamUpdateRequest.py +125 -0
- ngccli/data/uis/UisOrgInfoResponse.py +95 -0
- ngccli/data/uis/UpdateApiKeyRequest.py +96 -0
- ngccli/data/uis/UpdateUisOrgInfoRequest.py +138 -0
- ngccli/data/uis/User.py +962 -0
- ngccli/data/uis/UserCreateRequest.py +280 -0
- ngccli/data/uis/UserCreatedEvent.py +88 -0
- ngccli/data/uis/UserGdprStatus.py +3 -0
- ngccli/data/uis/UserIdentifierType.py +3 -0
- ngccli/data/uis/UserInvitation.py +304 -0
- ngccli/data/uis/UserInvitationListResponse.py +127 -0
- ngccli/data/uis/UserInvitationResponse.py +94 -0
- ngccli/data/uis/UserKeyResponse.py +176 -0
- ngccli/data/uis/UserListResponse.py +126 -0
- ngccli/data/uis/UserMetadata.py +257 -0
- ngccli/data/uis/UserProfile.py +355 -0
- ngccli/data/uis/UserProfileGetResponse.py +95 -0
- ngccli/data/uis/UserProfileOrgInfo.py +166 -0
- ngccli/data/uis/UserProfileUpdateRequest.py +67 -0
- ngccli/data/uis/UserResponse.py +152 -0
- ngccli/data/uis/UserRole.py +199 -0
- ngccli/data/uis/UserRoleDefinition.py +94 -0
- ngccli/data/uis/UserRoles.py +163 -0
- ngccli/data/uis/UserStatus.py +3 -0
- ngccli/data/uis/UserStorageQuota.py +388 -0
- ngccli/data/uis/UserUpdateRequest.py +631 -0
- ngccli/data/uis/UsersInfo.py +63 -0
- ngccli/data/uis/__init__.py +2 -0
- ngcsdk/__init__.py +115 -0
- ngcsdk-3.41.2.dist-info/METADATA +52 -0
- ngcsdk-3.41.2.dist-info/RECORD +1479 -0
- ngcsdk-3.41.2.dist-info/WHEEL +4 -0
- ngcsdk-3.41.2.dist-info/entry_points.txt +3 -0
- nvcf/api/__init__.py +11 -0
- nvcf/api/asset.py +188 -0
- nvcf/api/deploy.py +215 -0
- nvcf/api/deployment_spec.py +108 -0
- nvcf/api/function.py +512 -0
- nvcf/api/gdn_nvcf_grpc_client/__init__.py +11 -0
- nvcf/api/gdn_nvcf_grpc_client/grpc_service_pb2.py +322 -0
- nvcf/api/gdn_nvcf_grpc_client/grpc_service_pb2_grpc.py +1063 -0
- nvcf/api/gdn_nvcf_grpc_client/model_config_pb2.py +308 -0
- nvcf/api/invocation_handler.py +237 -0
- nvcf/api/nvcf.py +35 -0
- nvcf/api/utils.py +32 -0
- nvcf/command/__init__.py +11 -0
- nvcf/command/all_commands.py +15 -0
- nvcf/command/args_validation.py +37 -0
- nvcf/command/cloud_function.py +39 -0
- nvcf/command/deploy.py +128 -0
- nvcf/command/function.py +257 -0
- nvcf/command/utils.py +100 -0
- nvcf/constants.py +22 -0
- nvcf/printer/__init__.py +11 -0
- nvcf/printer/deploy_printer.py +158 -0
- nvcf/printer/function_printer.py +113 -0
- organization/__init__.py +11 -0
- organization/api/__init__.py +11 -0
- organization/api/alert.py +78 -0
- organization/api/audit.py +135 -0
- organization/api/organization.py +58 -0
- organization/api/orgs.py +59 -0
- organization/api/secrets.py +210 -0
- organization/api/storage.py +35 -0
- organization/api/subscription.py +175 -0
- organization/api/teams.py +125 -0
- organization/api/users.py +462 -0
- organization/command/__init__.py +11 -0
- organization/command/alert.py +193 -0
- organization/command/all_commands.py +19 -0
- organization/command/audit.py +137 -0
- organization/command/org.py +343 -0
- organization/command/secret.py +162 -0
- organization/command/subscription.py +226 -0
- organization/command/team.py +433 -0
- organization/command/user.py +106 -0
- organization/environ.py +15 -0
- organization/printer/__init__.py +11 -0
- organization/printer/alert.py +133 -0
- organization/printer/audit.py +42 -0
- organization/printer/org_team_user.py +407 -0
- organization/printer/secret.py +80 -0
- registry/__init__.py +11 -0
- registry/api/__init__.py +11 -0
- registry/api/chart.py +578 -0
- registry/api/collection.py +226 -0
- registry/api/csp.py +184 -0
- registry/api/deploy.py +135 -0
- registry/api/dockerwrappers.py +166 -0
- registry/api/image.py +987 -0
- registry/api/label_set.py +107 -0
- registry/api/models.py +934 -0
- registry/api/playground.py +93 -0
- registry/api/publish.py +167 -0
- registry/api/registry.py +114 -0
- registry/api/resources.py +860 -0
- registry/api/search.py +107 -0
- registry/api/utils.py +592 -0
- registry/command/__init__.py +11 -0
- registry/command/all_commands.py +26 -0
- registry/command/chart.py +732 -0
- registry/command/collection.py +519 -0
- registry/command/csp.py +378 -0
- registry/command/image.py +541 -0
- registry/command/image_deploy.py +184 -0
- registry/command/label_set.py +294 -0
- registry/command/model.py +918 -0
- registry/command/model_deploy.py +218 -0
- registry/command/model_playground.py +47 -0
- registry/command/publish.py +109 -0
- registry/command/registry.py +21 -0
- registry/command/resource.py +788 -0
- registry/command/resource_deploy.py +226 -0
- registry/constants.py +44 -0
- registry/environ.py +15 -0
- registry/errors.py +34 -0
- registry/printer/__init__.py +11 -0
- registry/printer/artifact_deploy.py +65 -0
- registry/printer/chart.py +256 -0
- registry/printer/collection.py +235 -0
- registry/printer/csp.py +143 -0
- registry/printer/image.py +419 -0
- registry/printer/label_set.py +116 -0
- registry/printer/model.py +352 -0
- registry/printer/playground.py +48 -0
- registry/printer/resource.py +406 -0
- registry/transformer/__init__.py +11 -0
- registry/transformer/chart.py +26 -0
- registry/transformer/collection.py +20 -0
- registry/transformer/image.py +20 -0
- registry/transformer/model.py +20 -0
- registry/transformer/model_script.py +20 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
|
|
3
|
+
#
|
|
4
|
+
# This software product is a proprietary product of Nvidia Corporation and its affiliates
|
|
5
|
+
# (the "Company") and all right, title, and interest in and to the software
|
|
6
|
+
# product, including all associated intellectual property rights, are and
|
|
7
|
+
# shall remain exclusively with the Company.
|
|
8
|
+
#
|
|
9
|
+
# This software product is governed by the End User License Agreement
|
|
10
|
+
# provided with the software product.
|
|
11
|
+
#
|
basecommand/api/aces.py
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
|
|
3
|
+
#
|
|
4
|
+
# This software product is a proprietary product of Nvidia Corporation and its affiliates
|
|
5
|
+
# (the "Company") and all right, title, and interest in and to the software
|
|
6
|
+
# product, including all associated intellectual property rights, are and
|
|
7
|
+
# shall remain exclusively with the Company.
|
|
8
|
+
#
|
|
9
|
+
# This software product is governed by the End User License Agreement
|
|
10
|
+
# provided with the software product.
|
|
11
|
+
|
|
12
|
+
from itertools import chain
|
|
13
|
+
from typing import Literal, Optional
|
|
14
|
+
|
|
15
|
+
from ngcbpc.api.configuration import Configuration
|
|
16
|
+
from ngcbpc.api.pagination import pagination_helper
|
|
17
|
+
from ngcbpc.constants import API_VERSION, PAGE_SIZE
|
|
18
|
+
from ngcbpc.errors import NgcException
|
|
19
|
+
from ngcbpc.util.utils import extra_args, url_encode
|
|
20
|
+
from ngccli.data.api.AceListResponse import AceListResponse
|
|
21
|
+
from ngccli.data.api.AceResponse import AceResponse
|
|
22
|
+
|
|
23
|
+
_NO_ACE_RESOURCES_FOUND_ERROR_MESSAGE = """\
|
|
24
|
+
This ACE has not been configured, and as a result, no usage information is available.
|
|
25
|
+
|
|
26
|
+
Please report this issue: https://nvcrm.my.site.com/ESPCommunity/s/create-case"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class AceAPI:
|
|
30
|
+
def __init__(self, connection):
|
|
31
|
+
self.connection = connection
|
|
32
|
+
self.config = Configuration()
|
|
33
|
+
|
|
34
|
+
@staticmethod
|
|
35
|
+
def _construct_url(org_name, ace_name=None, team_name=None):
|
|
36
|
+
"""Constructs ace url depending on given parameters."""
|
|
37
|
+
|
|
38
|
+
base_method = "{api_version}/org/{org_name}".format(api_version=API_VERSION, org_name=org_name)
|
|
39
|
+
if team_name:
|
|
40
|
+
base_method = f"{base_method}/team/{team_name}"
|
|
41
|
+
if ace_name:
|
|
42
|
+
base_method = "{url_method}/aces/{ace_name}".format(url_method=base_method, ace_name=ace_name)
|
|
43
|
+
else:
|
|
44
|
+
base_method = "{url_method}/aces".format(url_method=base_method)
|
|
45
|
+
return base_method
|
|
46
|
+
|
|
47
|
+
def get_aces(self, org_name, team_name=None):
|
|
48
|
+
"""Get list of ACEs. Given team name filters on basis of it."""
|
|
49
|
+
|
|
50
|
+
query = "{url}?page_size={page_size}".format(
|
|
51
|
+
url=self._construct_url(org_name, team_name=team_name), page_size=PAGE_SIZE
|
|
52
|
+
)
|
|
53
|
+
return chain(
|
|
54
|
+
*[
|
|
55
|
+
AceListResponse(res).aces
|
|
56
|
+
for res in pagination_helper(
|
|
57
|
+
self.connection, query, org_name=org_name, team_name=team_name, operation_name="get aces"
|
|
58
|
+
)
|
|
59
|
+
if AceListResponse(res).aces
|
|
60
|
+
]
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
# TODO: Remove ace_id once backwards compatibility support is removed
|
|
64
|
+
def get_ace_details(self, org_name, ace_name=None, ace_id=None, team_name=None):
|
|
65
|
+
"""Gets detail of an ACE."""
|
|
66
|
+
|
|
67
|
+
if not ace_name and not ace_id:
|
|
68
|
+
raise NgcException("Please provide ACE name.")
|
|
69
|
+
|
|
70
|
+
if ace_name:
|
|
71
|
+
ace_name = url_encode(ace_name)
|
|
72
|
+
else:
|
|
73
|
+
ace_name = ace_id
|
|
74
|
+
|
|
75
|
+
response = self.connection.make_api_request(
|
|
76
|
+
"GET",
|
|
77
|
+
self._construct_url(org_name, ace_name, team_name),
|
|
78
|
+
auth_org=org_name,
|
|
79
|
+
auth_team=team_name,
|
|
80
|
+
operation_name="get ace details",
|
|
81
|
+
)
|
|
82
|
+
return AceResponse(response).ace
|
|
83
|
+
|
|
84
|
+
@extra_args
|
|
85
|
+
def list(self, org: Optional[str] = None, team: Optional[str] = None):
|
|
86
|
+
"""List ACEs in the org."""
|
|
87
|
+
self.config.validate_configuration()
|
|
88
|
+
org = org or self.config.org_name
|
|
89
|
+
team = team or self.config.team_name
|
|
90
|
+
ace_list = self.get_aces(org_name=org, team_name=team)
|
|
91
|
+
return ace_list
|
|
92
|
+
|
|
93
|
+
@extra_args
|
|
94
|
+
def info(self, ace: str, org: Optional[str] = None, team: Optional[str] = None):
|
|
95
|
+
"""Gets detail of an ACE."""
|
|
96
|
+
self.config.validate_configuration()
|
|
97
|
+
org = org or self.config.org_name
|
|
98
|
+
team = team or self.config.team_name
|
|
99
|
+
ace_details = self.get_ace_details(org_name=org, ace_name=ace, team_name=team)
|
|
100
|
+
return ace_details
|
|
101
|
+
|
|
102
|
+
@extra_args
|
|
103
|
+
def usage(
|
|
104
|
+
self,
|
|
105
|
+
ace: str,
|
|
106
|
+
*,
|
|
107
|
+
org: Optional[str] = None,
|
|
108
|
+
team: Optional[str] = None,
|
|
109
|
+
resource_type: Optional[Literal["GPU", "CPU", "MIG"]] = None,
|
|
110
|
+
only_unavailable: bool = False,
|
|
111
|
+
):
|
|
112
|
+
"""Get resource usage information about an ACE."""
|
|
113
|
+
self.config.validate_configuration()
|
|
114
|
+
org = org or self.config.org_name
|
|
115
|
+
team = team or self.config.team_name
|
|
116
|
+
|
|
117
|
+
endpoint = self._construct_url(org, ace, team) + "/usage"
|
|
118
|
+
|
|
119
|
+
response = self.connection.make_api_request(
|
|
120
|
+
"GET",
|
|
121
|
+
endpoint,
|
|
122
|
+
auth_org=org,
|
|
123
|
+
auth_team=team,
|
|
124
|
+
operation_name="get ace usage",
|
|
125
|
+
)
|
|
126
|
+
items = response["resourceUsages"]
|
|
127
|
+
if not items:
|
|
128
|
+
# No items means the ACE isn't configured. That's bad and will likely need our intervention
|
|
129
|
+
raise NgcException(_NO_ACE_RESOURCES_FOUND_ERROR_MESSAGE)
|
|
130
|
+
|
|
131
|
+
if only_unavailable:
|
|
132
|
+
items = [item for item in items if item.get("unavailableCount")]
|
|
133
|
+
if resource_type:
|
|
134
|
+
items = [item for item in items if item["type"] == resource_type]
|
|
135
|
+
|
|
136
|
+
return items
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
|
|
3
|
+
#
|
|
4
|
+
# This software product is a proprietary product of Nvidia Corporation and its affiliates
|
|
5
|
+
# (the "Company") and all right, title, and interest in and to the software
|
|
6
|
+
# product, including all associated intellectual property rights, are and
|
|
7
|
+
# shall remain exclusively with the Company.
|
|
8
|
+
#
|
|
9
|
+
# This software product is governed by the End User License Agreement
|
|
10
|
+
# provided with the software product.
|
|
11
|
+
|
|
12
|
+
from basecommand.api.aces import AceAPI
|
|
13
|
+
from basecommand.api.datamover import DataMoverAPI
|
|
14
|
+
from basecommand.api.dataset import DatasetAPI
|
|
15
|
+
from basecommand.api.jobs import JobsAPI
|
|
16
|
+
from basecommand.api.measurements import MeasurementsAPI
|
|
17
|
+
from basecommand.api.quickstart import BaseQuickStartAPI
|
|
18
|
+
from basecommand.api.resource import ResourceAPI
|
|
19
|
+
from basecommand.api.resultset import ResultsetAPI
|
|
20
|
+
from basecommand.api.search import BaseCommandSearchAPI
|
|
21
|
+
from basecommand.api.utils import get_data_mover_service_url, get_dataset_service_url
|
|
22
|
+
from basecommand.api.workspace import WorkspaceAPI
|
|
23
|
+
from ngcbpc.api.connection import Connection
|
|
24
|
+
from ngcbpc.environ import NGC_CLI_SEARCH_SERVICE_URL
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class BasecommandAPI:
|
|
28
|
+
def __init__(self, connection, api_client):
|
|
29
|
+
self.connection = connection
|
|
30
|
+
self.api_client = api_client
|
|
31
|
+
self.data_mover_connection = Connection(base_url=get_data_mover_service_url())
|
|
32
|
+
self.dataset_service_connection = Connection(base_url=get_dataset_service_url())
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
def jobs(self):
|
|
36
|
+
return JobsAPI(connection=self.connection, api_client=self.api_client)
|
|
37
|
+
|
|
38
|
+
@property
|
|
39
|
+
def measurements(self):
|
|
40
|
+
return MeasurementsAPI(connection=self.connection)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def aces(self):
|
|
44
|
+
return AceAPI(connection=self.connection)
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
def dataset(self):
|
|
48
|
+
return DatasetAPI(
|
|
49
|
+
connection=self.connection,
|
|
50
|
+
api_client=self.api_client,
|
|
51
|
+
dataset_service_connection=self.dataset_service_connection,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def resultset(self):
|
|
56
|
+
return ResultsetAPI(
|
|
57
|
+
connection=self.connection,
|
|
58
|
+
api_client=self.api_client,
|
|
59
|
+
dataset_service_connection=self.dataset_service_connection,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def workspace(self):
|
|
64
|
+
return WorkspaceAPI(
|
|
65
|
+
connection=self.connection,
|
|
66
|
+
api_client=self.api_client,
|
|
67
|
+
dataset_service_connection=self.dataset_service_connection,
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def quickstart(self) -> BaseQuickStartAPI:
|
|
72
|
+
return BaseQuickStartAPI(connection=self.connection)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def data_mover(self):
|
|
76
|
+
return DataMoverAPI(connection=self.data_mover_connection)
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def search(self):
|
|
80
|
+
connection = Connection(base_url=NGC_CLI_SEARCH_SERVICE_URL) if NGC_CLI_SEARCH_SERVICE_URL else self.connection
|
|
81
|
+
return BaseCommandSearchAPI(connection=connection)
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def resource(self):
|
|
85
|
+
return ResourceAPI(connection=self.connection)
|