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,570 @@
|
|
|
1
|
+
#
|
|
2
|
+
# NVIDIA CORPORATION and its licensors retain all intellectual property
|
|
3
|
+
# and proprietary rights in and to this software, related documentation
|
|
4
|
+
# and any modifications thereto. Any use, reproduction, disclosure or
|
|
5
|
+
# distribution of this software and related documentation without an express
|
|
6
|
+
# license agreement from NVIDIA CORPORATION is strictly prohibited.
|
|
7
|
+
from dataclasses import asdict, dataclass, field
|
|
8
|
+
from datetime import datetime
|
|
9
|
+
import enum
|
|
10
|
+
import json
|
|
11
|
+
import posixpath
|
|
12
|
+
from typing import List
|
|
13
|
+
|
|
14
|
+
from dateutil import parser as date_parser
|
|
15
|
+
|
|
16
|
+
PAGE_SIZE = 100
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class JobType(str, enum.Enum):
|
|
20
|
+
COPY = "copy"
|
|
21
|
+
SYNC = "sync"
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class ObjectProtocol(str, enum.Enum):
|
|
25
|
+
S3 = "s3"
|
|
26
|
+
OCI_PREAUTH = "ocipreauth"
|
|
27
|
+
AZUREBLOB = "azureblob"
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class StorageLocationType(str, enum.Enum):
|
|
31
|
+
CEPHFS = "cephfs"
|
|
32
|
+
DDN = "ddn"
|
|
33
|
+
S3 = "s3"
|
|
34
|
+
LOCAL = "local"
|
|
35
|
+
OCIPREAUTH = "ocipreauth"
|
|
36
|
+
AZUREBLOB = "azureblob"
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class JobState(str, enum.Enum):
|
|
40
|
+
NOT_STARTED = "not started"
|
|
41
|
+
STARTED = "started"
|
|
42
|
+
FINISHED = "finished"
|
|
43
|
+
FINISHED_WITH_ERRORS = "finished with errors"
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
FINAL_JOB_STATES = {JobState.FINISHED, JobState.FINISHED_WITH_ERRORS}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class BcpJobType(str, enum.Enum):
|
|
50
|
+
IMPORT = "import"
|
|
51
|
+
EXPORT = "export"
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class BcpResourceType(str, enum.Enum):
|
|
55
|
+
DATASET = "dataset"
|
|
56
|
+
RESULTSET = "resultset"
|
|
57
|
+
WORKSPACE = "workspace"
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class BcpCopyType(str, enum.Enum):
|
|
61
|
+
IMPORT = "import"
|
|
62
|
+
EXPORT = "export"
|
|
63
|
+
ACE2ACE = "ace_to_ace"
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class BcpCopyActionType(str, enum.Enum):
|
|
67
|
+
CREATE = "create_bcp_job"
|
|
68
|
+
FINISH = "finish"
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
@dataclass
|
|
72
|
+
class BcpJob:
|
|
73
|
+
job_id: str = None
|
|
74
|
+
origin_resource_type: str = None
|
|
75
|
+
origin_resource_id: str = None
|
|
76
|
+
tmp_resource_type: BcpResourceType = None
|
|
77
|
+
tmp_resource_id: str = None
|
|
78
|
+
destination_resource_type: BcpResourceType = None
|
|
79
|
+
destination_resource_id: str = None
|
|
80
|
+
|
|
81
|
+
@staticmethod
|
|
82
|
+
def from_dict(data):
|
|
83
|
+
kwargs = {}
|
|
84
|
+
for k, v in data.items():
|
|
85
|
+
if k in {
|
|
86
|
+
"job_id",
|
|
87
|
+
"origin_resource_type",
|
|
88
|
+
"origin_resource_id",
|
|
89
|
+
"tmp_resource_type",
|
|
90
|
+
"tmp_resource_id",
|
|
91
|
+
"destination_resource_type",
|
|
92
|
+
"destination_resource_id",
|
|
93
|
+
}:
|
|
94
|
+
# With this we're protecting against future new fields in the BcpJob response, as we're only parsing the
|
|
95
|
+
# ones we know about. Future versions of the CLI will add whatever new fields they care about.
|
|
96
|
+
kwargs[k] = v
|
|
97
|
+
return BcpJob(**kwargs)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
@dataclass
|
|
101
|
+
class JobSettingsCephFS:
|
|
102
|
+
endpoint: []
|
|
103
|
+
path: []
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
@dataclass
|
|
107
|
+
class JobSettingsDDN:
|
|
108
|
+
endpoint: []
|
|
109
|
+
filesystem: str
|
|
110
|
+
path: []
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@dataclass
|
|
114
|
+
class JobSettingsLocal:
|
|
115
|
+
path: []
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
@dataclass
|
|
119
|
+
class JobSettingsOciPreauth:
|
|
120
|
+
prefix: [] = field(default_factory=list)
|
|
121
|
+
|
|
122
|
+
def __str__(self):
|
|
123
|
+
prefixes = [p.removeprefix("/") for p in self.prefix if p.removeprefix("/")]
|
|
124
|
+
ret = "OCI PreAuth URL"
|
|
125
|
+
if prefixes:
|
|
126
|
+
ret += f":{','.join(prefixes)}"
|
|
127
|
+
return ret
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
@dataclass
|
|
131
|
+
class JobSettingsS3:
|
|
132
|
+
endpoint: str
|
|
133
|
+
bucket: str
|
|
134
|
+
prefix: [] = field(default_factory=list)
|
|
135
|
+
region: str = None
|
|
136
|
+
|
|
137
|
+
def __str__(self):
|
|
138
|
+
prefixes = [p.removeprefix("/") for p in self.prefix if p.removeprefix("/")]
|
|
139
|
+
path = "/".join([self.endpoint, self.bucket, ",".join(prefixes)])
|
|
140
|
+
return f"s3:{path}"
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
@dataclass
|
|
144
|
+
class JobSettingsAzureBlob:
|
|
145
|
+
account_name: str
|
|
146
|
+
container: str
|
|
147
|
+
service_url: str = None
|
|
148
|
+
prefix: [] = field(default_factory=list)
|
|
149
|
+
|
|
150
|
+
def __str__(self):
|
|
151
|
+
prefixes = [p.removeprefix("/") for p in self.prefix if p.removeprefix("/")]
|
|
152
|
+
path = "/".join([self.account_name, self.container, ",".join(prefixes)])
|
|
153
|
+
return f"azb:{path}"
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
@dataclass
|
|
157
|
+
class DataMoverTeam:
|
|
158
|
+
id: str
|
|
159
|
+
name: str
|
|
160
|
+
individual: bool
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
@dataclass
|
|
164
|
+
class DataMoverBcpCopyAction:
|
|
165
|
+
type: BcpCopyActionType
|
|
166
|
+
job_index: int
|
|
167
|
+
|
|
168
|
+
@staticmethod
|
|
169
|
+
def from_dict(data):
|
|
170
|
+
kwargs = data
|
|
171
|
+
for k, v in kwargs.items():
|
|
172
|
+
if k == "type":
|
|
173
|
+
kwargs[k] = BcpCopyActionType(v)
|
|
174
|
+
return DataMoverBcpCopyAction(**kwargs)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
@dataclass
|
|
178
|
+
class DataMoverJob:
|
|
179
|
+
id: str
|
|
180
|
+
type: JobType
|
|
181
|
+
origin: object
|
|
182
|
+
destination: object
|
|
183
|
+
state: JobState
|
|
184
|
+
team: DataMoverTeam
|
|
185
|
+
copy_start_time: datetime = None
|
|
186
|
+
copy_end_time: datetime = None
|
|
187
|
+
bytes_copied: int = None
|
|
188
|
+
bytes_found: int = None
|
|
189
|
+
files_copied: int = None
|
|
190
|
+
files_found: int = None
|
|
191
|
+
files_skipped: int = None
|
|
192
|
+
directories_found: int = None
|
|
193
|
+
directories_enumerated: int = None
|
|
194
|
+
errors: int = None
|
|
195
|
+
directory_errors: int = None
|
|
196
|
+
jobs_queue_url: str = None
|
|
197
|
+
metrics_queue_url: str = None
|
|
198
|
+
bcp_job: BcpJob = None
|
|
199
|
+
|
|
200
|
+
@staticmethod
|
|
201
|
+
def from_dict(data):
|
|
202
|
+
kwargs = {}
|
|
203
|
+
for k, v in data.items():
|
|
204
|
+
if k in {"origin", "destination"}:
|
|
205
|
+
parser = MAP_TO_JOB_SETTINGS_CLASSES[v["type"]]
|
|
206
|
+
del v["type"]
|
|
207
|
+
kwargs[k] = parser(**v)
|
|
208
|
+
elif k == "team":
|
|
209
|
+
kwargs[k] = DataMoverTeam(**v)
|
|
210
|
+
elif k == "bcp_job" and v is not None:
|
|
211
|
+
kwargs[k] = BcpJob.from_dict(v)
|
|
212
|
+
elif k in {"copy_start_time", "copy_end_time"}:
|
|
213
|
+
kwargs[k] = date_parser.isoparse(v) if v else None
|
|
214
|
+
elif k == "state":
|
|
215
|
+
kwargs[k] = JobState(v)
|
|
216
|
+
elif k == "type":
|
|
217
|
+
kwargs[k] = JobType(v)
|
|
218
|
+
elif k in {
|
|
219
|
+
"id",
|
|
220
|
+
"bytes_copied",
|
|
221
|
+
"bytes_found",
|
|
222
|
+
"files_copied",
|
|
223
|
+
"files_found",
|
|
224
|
+
"files_skipped",
|
|
225
|
+
"directories_found",
|
|
226
|
+
"directories_enumerated",
|
|
227
|
+
"errors",
|
|
228
|
+
"directory_errors",
|
|
229
|
+
"jobs_queue_url",
|
|
230
|
+
"metrics_queue_url",
|
|
231
|
+
}:
|
|
232
|
+
# With this we're protecting against future new fields in the Job response, as we're only parsing the
|
|
233
|
+
# ones we know about. Future versions of the CLI will add whatever new fields they care about.
|
|
234
|
+
kwargs[k] = v
|
|
235
|
+
return DataMoverJob(**kwargs)
|
|
236
|
+
|
|
237
|
+
@staticmethod
|
|
238
|
+
def collection_from_dicts(jobs):
|
|
239
|
+
return [DataMoverJob.from_dict(j) for j in jobs]
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
def job_type(self):
|
|
243
|
+
if isinstance(self.origin, JobSettingsLocal):
|
|
244
|
+
return BcpJobType.EXPORT
|
|
245
|
+
if isinstance(self.destination, JobSettingsLocal):
|
|
246
|
+
return BcpJobType.IMPORT
|
|
247
|
+
raise RuntimeError("Unexpected data mover job type")
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
MAP_TO_JOB_SETTINGS_CLASSES = {
|
|
251
|
+
StorageLocationType.CEPHFS: JobSettingsCephFS,
|
|
252
|
+
StorageLocationType.DDN: JobSettingsDDN,
|
|
253
|
+
StorageLocationType.LOCAL: JobSettingsLocal,
|
|
254
|
+
StorageLocationType.OCIPREAUTH: JobSettingsOciPreauth,
|
|
255
|
+
StorageLocationType.S3: JobSettingsS3,
|
|
256
|
+
StorageLocationType.AZUREBLOB: JobSettingsAzureBlob,
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
@dataclass
|
|
261
|
+
class DataMoverMultiStageJob:
|
|
262
|
+
state: JobState = None
|
|
263
|
+
team: DataMoverTeam = None
|
|
264
|
+
jobs: List[DataMoverJob] = None
|
|
265
|
+
id: str = None
|
|
266
|
+
total_stage_count: int = None
|
|
267
|
+
current_stage_count: int = None
|
|
268
|
+
current_job_index: int = None
|
|
269
|
+
|
|
270
|
+
@staticmethod
|
|
271
|
+
def from_dict(data):
|
|
272
|
+
kwargs = {}
|
|
273
|
+
for k, v in data.items():
|
|
274
|
+
if k == "team":
|
|
275
|
+
kwargs[k] = DataMoverTeam(**v)
|
|
276
|
+
if k == "jobs":
|
|
277
|
+
kwargs[k] = DataMoverJob.collection_from_dicts(v)
|
|
278
|
+
elif k == "state":
|
|
279
|
+
kwargs[k] = JobState(v)
|
|
280
|
+
elif k in {
|
|
281
|
+
"id",
|
|
282
|
+
"total_stage_count",
|
|
283
|
+
"current_stage_count",
|
|
284
|
+
"current_job_index",
|
|
285
|
+
}:
|
|
286
|
+
# With this we're protecting against future new fields in the MultiStageJob response, as we're only
|
|
287
|
+
# parsing the ones we know about. Future versions of the CLI will add whatever new fields they care
|
|
288
|
+
# about.
|
|
289
|
+
kwargs[k] = v
|
|
290
|
+
|
|
291
|
+
return DataMoverMultiStageJob(**kwargs)
|
|
292
|
+
|
|
293
|
+
@staticmethod
|
|
294
|
+
def collection_from_dicts(jobs):
|
|
295
|
+
return [DataMoverMultiStageJob.from_dict(j) for j in jobs]
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
@dataclass
|
|
299
|
+
class DataMoverBcpCopy:
|
|
300
|
+
resource_type: BcpResourceType
|
|
301
|
+
protocol: ObjectProtocol
|
|
302
|
+
bcp_copy_type: BcpCopyType
|
|
303
|
+
team: DataMoverTeam
|
|
304
|
+
multi_stage_job: DataMoverMultiStageJob
|
|
305
|
+
prefix: str = None
|
|
306
|
+
bucket: str = None
|
|
307
|
+
action: DataMoverBcpCopyAction = None
|
|
308
|
+
resource_id: str = None
|
|
309
|
+
bcp_org: str = None
|
|
310
|
+
bcp_team: str = None
|
|
311
|
+
origin_ace: str = None
|
|
312
|
+
origin_instance: str = None
|
|
313
|
+
destination_ace: str = None
|
|
314
|
+
destination_instance: str = None
|
|
315
|
+
secret: str = None
|
|
316
|
+
endpoint: str = None
|
|
317
|
+
region: str = None
|
|
318
|
+
account_name: str = None
|
|
319
|
+
container: str = None
|
|
320
|
+
service_url: str = None
|
|
321
|
+
id: str = None
|
|
322
|
+
|
|
323
|
+
@staticmethod
|
|
324
|
+
def from_dict(data):
|
|
325
|
+
kwargs = {}
|
|
326
|
+
for k, v in data.items():
|
|
327
|
+
if k == "resource_type":
|
|
328
|
+
kwargs[k] = BcpResourceType(v)
|
|
329
|
+
elif k == "protocol":
|
|
330
|
+
kwargs[k] = ObjectProtocol(v)
|
|
331
|
+
elif k == "bcp_copy_type":
|
|
332
|
+
kwargs[k] = BcpCopyType(v)
|
|
333
|
+
elif k == "action" and v is not None:
|
|
334
|
+
kwargs[k] = DataMoverBcpCopyAction(**v)
|
|
335
|
+
elif k == "multi_stage_job" and v is not None:
|
|
336
|
+
kwargs[k] = DataMoverMultiStageJob.from_dict(v)
|
|
337
|
+
elif k == "team":
|
|
338
|
+
kwargs[k] = DataMoverTeam(**v)
|
|
339
|
+
elif k in {
|
|
340
|
+
"prefix",
|
|
341
|
+
"bucket",
|
|
342
|
+
"resource_id",
|
|
343
|
+
"bcp_org",
|
|
344
|
+
"bcp_team",
|
|
345
|
+
"origin_ace",
|
|
346
|
+
"origin_instance",
|
|
347
|
+
"destination_ace",
|
|
348
|
+
"destination_instance",
|
|
349
|
+
"secret",
|
|
350
|
+
"endpoint",
|
|
351
|
+
"region",
|
|
352
|
+
"account_name",
|
|
353
|
+
"container",
|
|
354
|
+
"service_url",
|
|
355
|
+
"id",
|
|
356
|
+
}:
|
|
357
|
+
# With this we're protecting against future new fields in the BCP Copy response, as we're only parsing
|
|
358
|
+
# the ones we know about. Future versions of the CLI will add whatever new fields they care about.
|
|
359
|
+
kwargs[k] = v
|
|
360
|
+
|
|
361
|
+
return DataMoverBcpCopy(**kwargs)
|
|
362
|
+
|
|
363
|
+
@staticmethod
|
|
364
|
+
def collection_from_dicts(jobs):
|
|
365
|
+
return [DataMoverBcpCopy.from_dict(j) for j in jobs]
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
class DataMoverAPI:
|
|
369
|
+
endpoint_version = "v1"
|
|
370
|
+
|
|
371
|
+
def __init__(self, connection):
|
|
372
|
+
self.connection = connection
|
|
373
|
+
|
|
374
|
+
@staticmethod
|
|
375
|
+
def _get_base_jobs_endpoint():
|
|
376
|
+
"""Create the base jobs URL: `/v1/jobs`"""
|
|
377
|
+
parts = [DataMoverAPI.endpoint_version, "jobs"]
|
|
378
|
+
return posixpath.join(*parts)
|
|
379
|
+
|
|
380
|
+
@staticmethod
|
|
381
|
+
def _get_job_endpoint(job_id):
|
|
382
|
+
"""Create the URL for a single job: `/v1/jobs/<job_id>`"""
|
|
383
|
+
parts = [DataMoverAPI._get_base_jobs_endpoint(), job_id]
|
|
384
|
+
return posixpath.join(*parts)
|
|
385
|
+
|
|
386
|
+
@staticmethod
|
|
387
|
+
def _get_base_bcpcopies_endpoint():
|
|
388
|
+
"""Create the base jobs URL: `/v1/bcp-copies`"""
|
|
389
|
+
parts = [DataMoverAPI.endpoint_version, "bcp-copies"]
|
|
390
|
+
return posixpath.join(*parts)
|
|
391
|
+
|
|
392
|
+
@staticmethod
|
|
393
|
+
def _get_base_bcpcopies_batch_endpoint():
|
|
394
|
+
"""Create the base jobs URL: `/v1/bcp-copies/batch`"""
|
|
395
|
+
parts = [DataMoverAPI._get_base_bcpcopies_endpoint(), "batch"]
|
|
396
|
+
return posixpath.join(*parts)
|
|
397
|
+
|
|
398
|
+
@staticmethod
|
|
399
|
+
def _construct_job_list_params(job_type=None, complete=None):
|
|
400
|
+
params = {}
|
|
401
|
+
if job_type is not None:
|
|
402
|
+
if job_type not in ("import", "export"):
|
|
403
|
+
raise RuntimeError("Invalid data movement job type")
|
|
404
|
+
params["bcp_job_type"] = job_type
|
|
405
|
+
if complete is not None:
|
|
406
|
+
params["completed_bcp_import"] = complete
|
|
407
|
+
return params
|
|
408
|
+
|
|
409
|
+
def list_jobs(self, org_name, team_name=None, job_type=None, complete=None, page_size=PAGE_SIZE):
|
|
410
|
+
endpoint = self._get_base_jobs_endpoint()
|
|
411
|
+
params = self._construct_job_list_params(job_type, complete)
|
|
412
|
+
operation_name = "list data mover jobs"
|
|
413
|
+
response = self._pagination_helper(endpoint, org_name, team_name, operation_name, page_size, params)
|
|
414
|
+
for page in response:
|
|
415
|
+
yield DataMoverJob.collection_from_dicts(page)
|
|
416
|
+
|
|
417
|
+
def get_job(self, job_id, org_name, team_name=None, bcp_job=False):
|
|
418
|
+
endpoint = self._get_job_endpoint(job_id)
|
|
419
|
+
response = self.connection.make_api_request(
|
|
420
|
+
"GET",
|
|
421
|
+
endpoint,
|
|
422
|
+
auth_org=org_name,
|
|
423
|
+
auth_team=team_name,
|
|
424
|
+
operation_name="get data mover job",
|
|
425
|
+
params={"bcp_job": bcp_job},
|
|
426
|
+
)
|
|
427
|
+
return DataMoverJob.from_dict(response)
|
|
428
|
+
|
|
429
|
+
def create_job(
|
|
430
|
+
self,
|
|
431
|
+
origin,
|
|
432
|
+
destination,
|
|
433
|
+
org_name,
|
|
434
|
+
team_name=None,
|
|
435
|
+
type=JobType.COPY, # pylint: disable=redefined-builtin
|
|
436
|
+
generate_manifest=False,
|
|
437
|
+
):
|
|
438
|
+
endpoint = self._get_base_jobs_endpoint()
|
|
439
|
+
response = self.connection.make_api_request(
|
|
440
|
+
"POST",
|
|
441
|
+
endpoint,
|
|
442
|
+
auth_org=org_name,
|
|
443
|
+
auth_team=team_name,
|
|
444
|
+
operation_name="create data mover job",
|
|
445
|
+
payload=json.dumps(
|
|
446
|
+
{"type": type, "origin": origin, "destination": destination, "generate_manifest": generate_manifest}
|
|
447
|
+
),
|
|
448
|
+
)
|
|
449
|
+
return DataMoverJob.from_dict(response)
|
|
450
|
+
|
|
451
|
+
def update_job(self, job, org_name, team_name=None):
|
|
452
|
+
endpoint = self._get_job_endpoint(job.id)
|
|
453
|
+
response = self.connection.make_api_request(
|
|
454
|
+
"PUT",
|
|
455
|
+
endpoint,
|
|
456
|
+
auth_org=org_name,
|
|
457
|
+
auth_team=team_name,
|
|
458
|
+
operation_name="update data mover job",
|
|
459
|
+
payload=json.dumps({"bcp_job": asdict(job.bcp_job)}),
|
|
460
|
+
)
|
|
461
|
+
return DataMoverJob.from_dict(response)
|
|
462
|
+
|
|
463
|
+
def delete_job(self, job_id, org_name, team_name=None, force=False):
|
|
464
|
+
endpoint = self._get_job_endpoint(job_id)
|
|
465
|
+
self.connection.make_api_request(
|
|
466
|
+
"DELETE",
|
|
467
|
+
endpoint,
|
|
468
|
+
auth_org=org_name,
|
|
469
|
+
auth_team=team_name,
|
|
470
|
+
operation_name="delete data mover job",
|
|
471
|
+
params={"force": force},
|
|
472
|
+
)
|
|
473
|
+
|
|
474
|
+
@classmethod
|
|
475
|
+
def _get_bcpcopies_payload(self, org_name, team_name, resources, args):
|
|
476
|
+
|
|
477
|
+
# initial required args
|
|
478
|
+
payload = {
|
|
479
|
+
"bcp_org": org_name,
|
|
480
|
+
"resource_type": args.resource_type,
|
|
481
|
+
"secret": args.secret,
|
|
482
|
+
"protocol": args.protocol,
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
if team_name:
|
|
486
|
+
payload["bcp_team"] = team_name
|
|
487
|
+
|
|
488
|
+
if args.origin_ace:
|
|
489
|
+
payload["origin_ace"] = args.origin_ace
|
|
490
|
+
payload["origin_instance"] = args.origin_instance
|
|
491
|
+
|
|
492
|
+
if args.destination_ace:
|
|
493
|
+
payload["destination_ace"] = args.destination_ace
|
|
494
|
+
payload["destination_instance"] = args.destination_instance
|
|
495
|
+
|
|
496
|
+
if args.endpoint and args.protocol == ObjectProtocol.S3:
|
|
497
|
+
payload["endpoint"] = args.endpoint
|
|
498
|
+
|
|
499
|
+
if args.buckets and args.protocol == ObjectProtocol.S3:
|
|
500
|
+
payload["buckets"] = args.buckets
|
|
501
|
+
|
|
502
|
+
if args.prefixes:
|
|
503
|
+
payload["prefixes"] = args.prefixes
|
|
504
|
+
|
|
505
|
+
if args.region and args.protocol == ObjectProtocol.S3:
|
|
506
|
+
payload["region"] = args.region
|
|
507
|
+
|
|
508
|
+
if args.account_name and args.protocol == ObjectProtocol.AZUREBLOB:
|
|
509
|
+
payload["account_name"] = args.account_name
|
|
510
|
+
|
|
511
|
+
if args.containers and args.protocol == ObjectProtocol.AZUREBLOB:
|
|
512
|
+
payload["containers"] = args.containers
|
|
513
|
+
|
|
514
|
+
if args.service_url and args.protocol == ObjectProtocol.AZUREBLOB:
|
|
515
|
+
payload["service_url"] = args.service_url
|
|
516
|
+
|
|
517
|
+
if resources:
|
|
518
|
+
payload["resource_ids"] = resources
|
|
519
|
+
|
|
520
|
+
if hasattr(args, "generate_manifest"):
|
|
521
|
+
payload["generate_manifest"] = args.generate_manifest
|
|
522
|
+
|
|
523
|
+
return json.dumps(payload, sort_keys=True)
|
|
524
|
+
|
|
525
|
+
def create_bcpcopies(self, org_name, team_name, resources, args):
|
|
526
|
+
|
|
527
|
+
endpoint = self._get_base_bcpcopies_batch_endpoint()
|
|
528
|
+
_payload = self._get_bcpcopies_payload(org_name, team_name, resources, args)
|
|
529
|
+
|
|
530
|
+
return self.connection.make_api_request(
|
|
531
|
+
"POST",
|
|
532
|
+
endpoint,
|
|
533
|
+
auth_org=org_name,
|
|
534
|
+
auth_team=team_name,
|
|
535
|
+
operation_name="create data mover bcp batch job",
|
|
536
|
+
payload=_payload,
|
|
537
|
+
)
|
|
538
|
+
|
|
539
|
+
def get_bcpcopies(self, org_name, team_name, page_size=PAGE_SIZE, pending_action=False):
|
|
540
|
+
|
|
541
|
+
endpoint = self._get_base_bcpcopies_endpoint()
|
|
542
|
+
|
|
543
|
+
params = {"pending_action": pending_action}
|
|
544
|
+
operation_name = "list data mover bcp copies"
|
|
545
|
+
|
|
546
|
+
response = self._pagination_helper(endpoint, org_name, team_name, operation_name, page_size, params)
|
|
547
|
+
for page in response:
|
|
548
|
+
yield DataMoverBcpCopy.collection_from_dicts(page)
|
|
549
|
+
|
|
550
|
+
def _pagination_helper(self, endpoint, org_name, team_name, operation_name, page_size=PAGE_SIZE, params=None):
|
|
551
|
+
|
|
552
|
+
if not params:
|
|
553
|
+
params = {}
|
|
554
|
+
|
|
555
|
+
current_offset = 0
|
|
556
|
+
params["limit"] = page_size
|
|
557
|
+
while True:
|
|
558
|
+
params["offset"] = current_offset
|
|
559
|
+
response = self.connection.make_api_request(
|
|
560
|
+
"GET",
|
|
561
|
+
endpoint,
|
|
562
|
+
auth_org=org_name,
|
|
563
|
+
auth_team=team_name,
|
|
564
|
+
params=params,
|
|
565
|
+
operation_name=operation_name,
|
|
566
|
+
)
|
|
567
|
+
yield response
|
|
568
|
+
current_offset = current_offset + page_size
|
|
569
|
+
if len(response) < page_size:
|
|
570
|
+
break
|