'1.0', 'info' => ['style' => 'ROA', 'product' => 'pai-dlc', 'version' => '2020-12-03'], 'components' => [ 'schemas' => [ 'AliyunAccounts' => [ 'type' => 'object', 'properties' => [ 'AliyunUid' => ['type' => 'string'], 'EmployeeId' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], ], ], 'AssignNodeSpec' => [ 'type' => 'object', 'properties' => [ 'EnableAssignNode' => ['type' => 'boolean'], 'NodeNames' => ['type' => 'string'], 'AntiAffinityNodeNames' => ['type' => 'string'], 'HyperNodes' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HyperNodeSpec'], ], 'AntiAffinityHyperNodes' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/HyperNodeSpec'], ], ], ], 'AssumeUserInfo' => [ 'type' => 'object', 'properties' => [ 'SecurityToken' => ['type' => 'string'], 'AccessKeyId' => ['type' => 'string'], 'Type' => ['type' => 'string'], 'Id' => ['type' => 'string'], ], ], 'AutoscalingMetricSpec' => [ 'type' => 'object', 'properties' => [ 'MetricName' => ['type' => 'string'], 'TargetValue' => ['type' => 'integer', 'format' => 'int32'], 'StabilizationWindowSeconds' => ['type' => 'integer', 'format' => 'int32'], 'Tolerance' => ['type' => 'string'], ], ], 'AutoScalingSpec' => [ 'type' => 'object', 'properties' => [ 'ScalingStrategy' => ['type' => 'string'], 'MinReplicas' => ['type' => 'integer', 'format' => 'int32'], 'MaxReplicas' => ['type' => 'integer', 'format' => 'int32'], 'PodsToDelete' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'AutoscalingMetricSpec' => ['$ref' => '#/components/schemas/AutoscalingMetricSpec'], ], ], 'CodeSourceItem' => [ 'type' => 'object', 'properties' => [ 'CodeRepo' => ['type' => 'string'], 'Description' => ['type' => 'string'], 'CodeRepoAccessToken' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], 'UserId' => ['type' => 'string'], 'CodeCommit' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'CodeSourceId' => ['type' => 'string'], 'CodeBranch' => ['type' => 'string'], 'CodeRepoUserName' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], ], ], 'ContainerSpec' => [ 'type' => 'object', 'properties' => [ 'Name' => ['type' => 'string'], 'Image' => ['type' => 'string'], 'Command' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'Args' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'WorkingDir' => ['type' => 'string'], 'Env' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/EnvVar'], ], 'Resources' => ['$ref' => '#/components/schemas/ResourceRequirements'], ], ], 'CredentialConfig' => [ 'type' => 'object', 'properties' => [ 'EnableCredentialInject' => ['type' => 'boolean'], 'AliyunEnvRoleKey' => ['type' => 'string'], 'CredentialConfigItems' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/CredentialConfigItem'], ], ], ], 'CredentialConfigItem' => [ 'type' => 'object', 'properties' => [ 'Key' => ['type' => 'string'], 'Type' => ['type' => 'string'], 'Roles' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/CredentialRole'], ], ], ], 'CredentialRole' => [ 'type' => 'object', 'properties' => [ 'RoleArn' => ['type' => 'string'], 'RoleType' => ['type' => 'string'], 'AssumeRoleFor' => ['type' => 'string'], 'Policy' => ['type' => 'string'], 'AssumeUserInfo' => ['$ref' => '#/components/schemas/AssumeUserInfo'], ], ], 'DataJuicerConfig' => [ 'type' => 'object', 'properties' => [ 'ExecutionMode' => [ 'type' => 'string', 'required' => false, 'enum' => ['standalone', 'distributed'], ], 'CommandType' => [ 'type' => 'string', 'enum' => ['shell', 'config'], ], 'EnableResourceEstimation' => ['type' => 'boolean'], 'ResourceLimit' => ['$ref' => '#/components/schemas/ResourceLimit'], ], ], 'DataSourceItem' => [ 'type' => 'object', 'properties' => [ 'DataSourceType' => ['type' => 'string'], 'DataSourceId' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'Description' => ['type' => 'string'], 'FileSystemId' => ['type' => 'string'], 'Path' => ['type' => 'string'], 'Endpoint' => ['type' => 'string'], 'Options' => ['type' => 'string'], 'MountPath' => ['type' => 'string'], 'UserId' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], ], ], 'DebuggerConfig' => [ 'type' => 'object', 'properties' => [ 'DebuggerConfigId' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'Description' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], 'Content' => ['type' => 'string'], ], ], 'DownloadJobResult' => [ 'type' => 'object', 'properties' => [ 'DownloadJobId' => ['type' => 'string'], 'UserId' => ['type' => 'string'], 'TenantId' => ['type' => 'string'], 'WorkspaceId' => ['type' => 'string'], 'Type' => ['type' => 'string'], 'SourceJobId' => ['type' => 'string'], 'StartTime' => ['type' => 'string'], 'EndTime' => ['type' => 'string'], 'LogCount' => ['type' => 'integer', 'format' => 'int32'], 'Status' => ['type' => 'string'], 'DownloadUrl' => ['type' => 'string'], 'UrlExpireTime' => ['type' => 'string'], 'GmtCreated' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'PodIds' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'PodUids' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'FileType' => ['type' => 'string'], ], ], 'EcsSpec' => [ 'type' => 'object', 'properties' => [ 'InstanceType' => ['type' => 'string'], 'AcceleratorType' => ['type' => 'string'], 'Cpu' => ['type' => 'integer', 'format' => 'int32'], 'Gpu' => ['type' => 'integer', 'format' => 'int32'], 'GpuType' => ['type' => 'string'], 'Memory' => ['type' => 'integer', 'format' => 'int32'], 'GpuMemory' => ['type' => 'integer', 'format' => 'int32'], 'IsAvailable' => ['type' => 'boolean'], 'ResourceType' => ['type' => 'string'], 'DefaultGPUDriver' => ['type' => 'string'], 'SupportedGPUDrivers' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'SpotStockStatus' => ['type' => 'string'], 'NonProtectSpotDiscount' => ['type' => 'number', 'format' => 'float'], 'PaymentTypes' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'ElasticSpotSpec' => [ 'type' => 'object', 'properties' => [ 'InstanceType' => ['type' => 'string'], 'SpotPriceLimit' => ['type' => 'number', 'format' => 'double'], 'SpotDiscountLimit' => ['type' => 'number', 'format' => 'double'], 'SpotStrategy' => ['type' => 'string'], ], ], 'EnvVar' => [ 'type' => 'object', 'properties' => [ 'Name' => ['type' => 'string'], 'Value' => ['type' => 'string'], ], ], 'EventInfo' => [ 'type' => 'object', 'properties' => [ 'PodId' => ['type' => 'string'], 'PodUid' => ['type' => 'string'], 'Id' => ['type' => 'string'], 'Time' => ['type' => 'string'], 'Content' => ['type' => 'string'], ], ], 'ExtraPodSpec' => [ 'type' => 'object', 'properties' => [ 'SideCarContainers' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ContainerSpec'], ], 'InitContainers' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ContainerSpec'], ], 'PodLabels' => [ 'type' => 'object', 'deprecated' => true, 'additionalProperties' => ['type' => 'string'], ], 'PodAnnotations' => [ 'type' => 'object', 'deprecated' => true, 'additionalProperties' => ['type' => 'string'], ], 'SharedVolumeMountPaths' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'Lifecycle' => ['$ref' => '#/components/schemas/Lifecycle'], 'MainContainerSecurityContext' => ['$ref' => '#/components/schemas/SecurityContext'], ], ], 'FreeResourceItem' => [ 'type' => 'object', 'properties' => [ 'FreeResourceId' => ['type' => 'string'], 'RegionID' => ['type' => 'string'], 'ClusterID' => ['type' => 'string'], 'ClusterName' => ['type' => 'string'], 'ResourceType' => ['type' => 'string'], 'AvailableNumber' => ['type' => 'integer', 'format' => 'int64'], 'GmtCreateTime' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], ], ], 'GPUDetail' => [ 'type' => 'object', 'properties' => [ 'GPU' => ['type' => 'string'], 'GPUType' => ['type' => 'string'], 'GPUTypeFullName' => ['type' => 'string'], ], ], 'HyperNodeSpec' => [ 'type' => 'object', 'properties' => [ 'HyperNodeName' => ['type' => 'string'], 'NodeNames' => ['type' => 'string'], ], ], 'ImageConfig' => [ 'type' => 'object', 'properties' => [ 'DockerRegistry' => ['type' => 'string'], 'Username' => ['type' => 'string'], 'Password' => ['type' => 'string'], 'Auth' => ['type' => 'string'], ], ], 'ImageItem' => [ 'type' => 'object', 'properties' => [ 'ImageTag' => ['type' => 'string'], 'ImageUrl' => ['type' => 'string'], 'ImageUrlVpc' => ['type' => 'string'], 'ImageProviderType' => ['type' => 'string'], 'AcceleratorType' => ['type' => 'string'], 'Framework' => ['type' => 'string'], 'AuthorId' => ['type' => 'string'], ], ], 'JobElasticSpec' => [ 'type' => 'object', 'properties' => [ 'EnableElasticTraining' => ['type' => 'boolean'], 'MinParallelism' => ['type' => 'integer', 'format' => 'int32'], 'MaxParallelism' => ['type' => 'integer', 'format' => 'int32'], 'AIMasterType' => ['type' => 'string'], 'AIMasterDockerImage' => ['type' => 'string'], 'EnablePsJobElasticWorker' => ['type' => 'boolean'], 'EnableAIMaster' => ['type' => 'boolean'], 'EnablePsResourceEstimate' => ['type' => 'boolean'], 'EnablePsJobElasticPS' => ['type' => 'boolean'], 'PSMinParallelism' => ['type' => 'integer', 'format' => 'int32'], 'PSMaxParallelism' => ['type' => 'integer', 'format' => 'int32'], 'ElasticStrategy' => ['type' => 'string'], 'EnableEDP' => ['type' => 'boolean'], 'EDPMaxParallelism' => ['type' => 'integer', 'format' => 'int32'], 'EDPMinParallelism' => ['type' => 'integer', 'format' => 'int32'], ], ], 'JobItem' => [ 'type' => 'object', 'properties' => [ 'JobId' => ['type' => 'string'], 'CredentialConfig' => ['$ref' => '#/components/schemas/CredentialConfig'], 'JobType' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'UserVpc' => [ 'type' => 'object', 'properties' => [ 'VpcId' => ['type' => 'string'], 'SwitchId' => ['type' => 'string'], 'SecurityGroupId' => ['type' => 'string'], 'ExtendedCidrs' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'DefaultRoute' => ['type' => 'string'], ], ], 'UserId' => ['type' => 'string'], 'Username' => ['type' => 'string'], 'Status' => ['type' => 'string'], 'WorkspaceId' => ['type' => 'string'], 'WorkspaceName' => ['type' => 'string'], 'ResourceId' => ['type' => 'string'], 'ResourceLevel' => ['type' => 'string'], 'ReasonCode' => ['type' => 'string'], 'ReasonMessage' => ['type' => 'string'], 'JobSpecs' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/JobSpec'], ], 'UserCommand' => ['type' => 'string'], 'DataSources' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DataSourceId' => ['type' => 'string'], 'MountPath' => ['type' => 'string'], ], ], ], 'CodeSource' => [ 'type' => 'object', 'properties' => [ 'CodeSourceId' => ['type' => 'string'], 'Branch' => ['type' => 'string'], 'Commit' => ['type' => 'string'], 'MountPath' => ['type' => 'string'], ], ], 'ThirdpartyLibs' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'NodeNames' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'ThirdpartyLibDir' => ['type' => 'string'], 'Envs' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'SystemEnvs' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'GmtCreateTime' => ['type' => 'string'], 'GmtSubmittedTime' => ['type' => 'string'], 'GmtRunningTime' => ['type' => 'string'], 'GmtSuccessedTime' => ['type' => 'string'], 'GmtStoppedTime' => ['type' => 'string'], 'GmtFailedTime' => ['type' => 'string'], 'GmtFinishTime' => ['type' => 'string'], 'GmtModifiedTime' => ['type' => 'string'], 'Duration' => ['type' => 'integer', 'format' => 'int64'], 'JobMaxRunningTimeMinutes' => ['type' => 'integer', 'format' => 'int64'], 'Settings' => ['$ref' => '#/components/schemas/JobSettings'], 'EnabledDebugger' => ['type' => 'boolean'], 'IsDeleted' => ['type' => 'boolean'], 'EnablePreemptibleJob' => ['type' => 'boolean'], 'ResourceName' => ['type' => 'string'], 'WorkingDir' => ['type' => 'string'], 'UserScript' => ['type' => 'string'], 'RestartTimes' => ['type' => 'string'], 'RequestCPU' => ['type' => 'integer', 'format' => 'int64'], 'RequestMemory' => ['type' => 'string'], 'ResourceQuotaName' => ['type' => 'string'], 'RequestGPU' => ['type' => 'string'], 'NodeCount' => ['type' => 'string'], 'Priority' => ['type' => 'integer', 'format' => 'int32'], 'SubStatus' => ['type' => 'string'], 'UseOversoldResource' => ['type' => 'boolean'], 'ResourceType' => ['type' => 'string'], 'Accessibility' => ['type' => 'string'], 'ClusterId' => ['type' => 'string'], 'TenantId' => ['type' => 'string'], 'StatusHistory' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/StatusTransitionItem'], ], 'ElasticSpec' => ['$ref' => '#/components/schemas/JobElasticSpec'], 'Pods' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/PodItem'], ], 'TemplateId' => ['type' => 'string'], 'TemplateName' => ['type' => 'string'], 'JobReplicaStatuses' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/JobReplicaStatus'], ], 'SchedulingStrategy' => ['type' => 'string'], 'RetryCount' => ['type' => 'integer', 'format' => 'int32'], ], ], 'JobReplicaStatus' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string'], 'Active' => ['type' => 'integer', 'format' => 'int32'], 'EstimatedPodCount' => ['type' => 'integer', 'format' => 'int64'], 'EstimatedAutoScalingSpec' => ['$ref' => '#/components/schemas/AutoScalingSpec'], 'EstimatedResourceConfig' => ['$ref' => '#/components/schemas/ResourceConfig'], 'Queuing' => ['type' => 'integer', 'format' => 'int32'], 'Dequeued' => ['type' => 'integer', 'format' => 'int32'], 'CurrentSpotInstanceType' => ['type' => 'string'], ], ], 'JobSettings' => [ 'type' => 'object', 'properties' => [ 'BusinessUserId' => ['type' => 'string'], 'Caller' => ['type' => 'string'], 'Tags' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'PipelineId' => ['type' => 'string'], 'EnableTideResource' => ['type' => 'boolean'], 'EnableErrorMonitoringInAIMaster' => ['type' => 'boolean'], 'ErrorMonitoringArgs' => ['type' => 'string'], 'EnableRDMA' => ['type' => 'boolean'], 'EnableOssAppend' => ['type' => 'boolean'], 'OversoldType' => ['type' => 'string'], 'AdvancedSettings' => ['type' => 'object'], 'Driver' => ['type' => 'string'], 'EnableSanityCheck' => ['type' => 'boolean'], 'SanityCheckArgs' => ['type' => 'string'], 'JobReservedMinutes' => ['type' => 'integer', 'format' => 'int32'], 'JobReservedPolicy' => [ 'type' => 'string', 'enum' => ['Always', 'OnFailure', 'OnSucceed'], ], 'EnableCPUAffinity' => ['type' => 'boolean'], 'DisableEcsStockCheck' => ['type' => 'boolean'], 'AllocateAllRDMADevices' => ['type' => 'boolean'], 'EnableDSWDev' => ['type' => 'boolean'], 'DataJuicerConfig' => ['$ref' => '#/components/schemas/DataJuicerConfig'], 'ModelConfig' => ['$ref' => '#/components/schemas/ModelConfig'], 'AllowUnschedulableNodes' => ['type' => 'boolean'], 'Shell' => [ 'type' => 'string', 'enum' => ['/bin/sh', '/bin/bash'], ], ], ], 'JobSpec' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string'], 'Image' => ['type' => 'string'], 'ImageConfig' => ['$ref' => '#/components/schemas/ImageConfig'], 'PodCount' => ['type' => 'integer', 'format' => 'int64'], 'ExtraPodSpec' => ['$ref' => '#/components/schemas/ExtraPodSpec'], 'ResourceConfig' => ['$ref' => '#/components/schemas/ResourceConfig'], 'UseSpotInstance' => ['type' => 'boolean', 'deprecated' => true], 'SpotSpec' => ['$ref' => '#/components/schemas/SpotSpec'], 'AssignNodeSpec' => ['$ref' => '#/components/schemas/AssignNodeSpec'], 'LocalMountSpecs' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/LocalMountSpec'], ], 'AutoScalingSpec' => ['$ref' => '#/components/schemas/AutoScalingSpec'], 'ServiceSpec' => ['$ref' => '#/components/schemas/ServiceSpec'], 'IsCheif' => ['type' => 'boolean', 'deprecated' => true], 'IsChief' => ['type' => 'boolean'], 'RestartPolicy' => ['type' => 'string'], 'SystemDisk' => ['$ref' => '#/components/schemas/SystemDisk'], 'EcsSpec' => ['type' => 'string'], 'QuotaId' => ['type' => 'string'], 'ConsiderInSuccessPolicy' => ['type' => 'boolean'], 'StartupDependencies' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/StartupDependency'], ], 'ElasticSpotSpecs' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ElasticSpotSpec'], ], ], ], 'JobTemplateVersionDetail' => [ 'type' => 'object', 'properties' => [ 'Version' => ['type' => 'integer', 'format' => 'int32'], 'Content' => ['type' => 'string'], 'CreatedBy' => ['type' => 'string'], 'GmtCreated' => ['type' => 'string', 'format' => 'iso8601_normal'], 'Constraints' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'Lifecycle' => [ 'type' => 'object', 'properties' => [ 'PreStop' => [ 'type' => 'object', 'properties' => [ 'Exec' => [ 'type' => 'object', 'properties' => [ 'Command' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], ], ], 'PostStart' => [ 'type' => 'object', 'properties' => [ 'Exec' => [ 'type' => 'object', 'properties' => [ 'Command' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], ], ], ], ], 'LocalMountSpec' => [ 'type' => 'object', 'properties' => [ 'MountMode' => ['type' => 'string'], 'LocalPath' => ['type' => 'string'], 'MountPath' => ['type' => 'string'], ], ], 'LogInfo' => [ 'type' => 'object', 'properties' => [ 'PodUid' => ['type' => 'string'], 'Content' => ['type' => 'string'], 'Time' => ['type' => 'string'], 'IsTruncated' => ['type' => 'boolean'], 'PodId' => ['type' => 'string'], 'Id' => ['type' => 'string'], 'Source' => ['type' => 'string'], ], ], 'Member' => [ 'type' => 'object', 'properties' => [ 'MemberId' => ['type' => 'string'], 'MemberType' => ['type' => 'string'], ], ], 'Metric' => [ 'type' => 'object', 'properties' => [ 'Time' => ['type' => 'integer', 'format' => 'int64'], 'Value' => ['type' => 'number', 'format' => 'float'], ], ], 'ModelConfig' => [ 'type' => 'object', 'properties' => [ 'ModelName' => ['type' => 'string'], 'ModelTemplate' => ['$ref' => '#/components/schemas/ModelTemplate'], ], ], 'ModelTemplate' => [ 'type' => 'object', 'properties' => [ 'ModelName' => ['type' => 'string'], 'Provider' => ['type' => 'string'], 'Collections' => ['type' => 'string'], ], ], 'PodItem' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string'], 'PodId' => ['type' => 'string'], 'PodUid' => ['type' => 'string'], 'Status' => ['type' => 'string'], 'Ip' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], 'GmtStartTime' => ['type' => 'string'], 'GmtFinishTime' => ['type' => 'string'], 'HistoryPods' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/PodItem'], ], 'SubStatus' => ['type' => 'string'], 'NodeName' => ['type' => 'string'], 'PodIp' => ['type' => 'string'], 'PodIps' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/PodNetworkInterface'], ], ], ], 'PodMetric' => [ 'type' => 'object', 'properties' => [ 'PodId' => ['type' => 'string'], 'Metrics' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Metric'], ], ], ], 'PodNetworkInterface' => [ 'type' => 'object', 'properties' => [ 'InterfaceName' => ['type' => 'string'], 'Ip' => ['type' => 'string'], ], ], 'Quota' => [ 'type' => 'object', 'properties' => [ 'QuotaId' => ['type' => 'string'], 'QuotaName' => ['type' => 'string'], 'QuotaType' => ['type' => 'string'], 'UsedQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], 'TotalQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], 'ClusterId' => ['type' => 'string'], 'ClusterName' => ['type' => 'string'], 'TotalTideQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], 'UsedTideQuota' => ['$ref' => '#/components/schemas/QuotaDetail'], 'QuotaConfig' => ['$ref' => '#/components/schemas/QuotaConfig'], ], ], 'QuotaConfig' => [ 'type' => 'object', 'properties' => [ 'EnableTideResource' => ['type' => 'boolean'], 'ResourceLevel' => ['type' => 'string'], 'AllowedMaxPriority' => ['type' => 'integer', 'format' => 'int32'], 'EnableDLC' => ['type' => 'boolean'], 'EnableDSW' => ['type' => 'boolean'], ], ], 'QuotaDetail' => [ 'type' => 'object', 'properties' => [ 'CPU' => ['type' => 'string'], 'Memory' => ['type' => 'string'], 'GPU' => ['type' => 'string'], 'GPUType' => ['type' => 'string'], 'GPUTypeFullName' => ['type' => 'string'], 'GPUDetails' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/GPUDetail'], ], ], ], 'ResourceConfig' => [ 'type' => 'object', 'properties' => [ 'CPU' => ['type' => 'string'], 'GPU' => ['type' => 'string'], 'Memory' => ['type' => 'string'], 'SharedMemory' => ['type' => 'string'], 'GPUType' => ['type' => 'string'], ], ], 'ResourceLimit' => [ 'type' => 'object', 'properties' => [ 'CPU' => ['type' => 'string'], 'Memory' => ['type' => 'string'], 'GPU' => ['type' => 'string'], ], ], 'ResourceRequirements' => [ 'type' => 'object', 'properties' => [ 'Limits' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], 'Requests' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'string'], ], ], ], 'Resources' => [ 'type' => 'object', 'properties' => [ 'CPU' => ['type' => 'string'], 'GPU' => ['type' => 'string'], 'Memory' => ['type' => 'string'], ], ], 'SanityCheckResultItem' => [ 'type' => 'object', 'properties' => [ 'Phase' => ['type' => 'string'], 'Message' => ['type' => 'string'], 'Status' => ['type' => 'string'], 'StartedAt' => ['type' => 'string'], 'FinishedAt' => ['type' => 'string'], 'CheckNumber' => ['type' => 'integer', 'format' => 'int32'], ], ], 'SeccompProfile' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string'], 'LocalhostProfile' => ['type' => 'string'], ], ], 'SecurityContext' => [ 'type' => 'object', 'properties' => [ 'RunAsUser' => ['type' => 'integer', 'format' => 'int64'], 'RunAsGroup' => ['type' => 'integer', 'format' => 'int64'], 'SeccompProfile' => ['$ref' => '#/components/schemas/SeccompProfile'], 'Privileged' => ['type' => 'boolean'], 'Capabilities' => ['$ref' => '#/components/schemas/SecurityContextCapabilities'], ], ], 'SecurityContextCapabilities' => [ 'type' => 'object', 'properties' => [ 'Add' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'Drop' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'ServiceExposure' => [ 'type' => 'object', 'properties' => [ 'ServiceId' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'JobId' => ['type' => 'string'], 'PodId' => ['type' => 'string'], 'Type' => ['type' => 'string'], 'Port' => ['type' => 'integer', 'format' => 'int32'], 'Status' => ['type' => 'string'], 'Message' => ['type' => 'string'], ], ], 'ServiceSpec' => [ 'type' => 'object', 'properties' => [ 'DefaultPort' => ['type' => 'integer', 'format' => 'int32'], 'ServiceMode' => ['type' => 'string'], 'ExtraPorts' => [ 'type' => 'array', 'items' => ['type' => 'integer', 'format' => 'int32'], ], ], ], 'SmartCache' => [ 'type' => 'object', 'properties' => [ 'Path' => ['type' => 'string'], 'Status' => ['type' => 'string'], 'Options' => ['type' => 'string'], 'Description' => ['type' => 'string'], 'Duration' => ['type' => 'string'], 'SmartCacheId' => ['type' => 'string'], 'CacheWorkerNum' => ['type' => 'integer', 'format' => 'int64'], 'MountPath' => ['type' => 'string'], 'CacheWorkerSize' => ['type' => 'integer', 'format' => 'int64'], 'Type' => ['type' => 'string'], 'Endpoint' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], 'UserId' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'FileSystemId' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], ], ], 'SpotSpec' => [ 'type' => 'object', 'properties' => [ 'SpotStrategy' => ['type' => 'string'], 'SpotDiscountLimit' => ['type' => 'number', 'format' => 'float'], 'SpotPriceLimit' => ['type' => 'number', 'format' => 'float'], ], ], 'StartupDependency' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string', 'required' => false], 'OnPhase' => ['type' => 'string', 'required' => false], 'MinReplicas' => ['type' => 'string', 'required' => false], ], ], 'StatusTransitionItem' => [ 'type' => 'object', 'properties' => [ 'Status' => ['type' => 'string'], 'StartTime' => ['type' => 'string'], 'EndTime' => ['type' => 'string'], 'ReasonCode' => ['type' => 'string'], 'ReasonMessage' => ['type' => 'string'], ], ], 'SystemDisk' => [ 'type' => 'object', 'properties' => [ 'Size' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'Category' => ['type' => 'string', 'required' => false], 'PerformanceLevel' => ['type' => 'string', 'required' => false], ], ], 'Tensorboard' => [ 'type' => 'object', 'properties' => [ 'TensorboardId' => ['type' => 'string'], 'TensorboardUrl' => ['type' => 'string'], 'Status' => ['type' => 'string'], 'Duration' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], 'GmtFinishTime' => ['type' => 'string'], 'RequestId' => ['type' => 'string'], 'DisplayName' => ['type' => 'string'], 'DataSourceId' => ['type' => 'string'], 'SummaryPath' => ['type' => 'string'], 'UserId' => ['type' => 'string'], 'Username' => ['type' => 'string'], 'ReasonCode' => ['type' => 'string'], 'ReasonMessage' => ['type' => 'string'], 'JobId' => ['type' => 'string'], 'TensorboardDataSources' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TensorboardDataSourceSpec', 'required' => false], ], 'TensorboardSpec' => ['$ref' => '#/components/schemas/TensorboardSpec'], 'QuotaId' => ['type' => 'string'], 'Priority' => ['type' => 'string'], 'QuotaName' => ['type' => 'string'], 'Accessibility' => ['type' => 'string'], ], ], 'TensorboardDataSourceSpec' => [ 'type' => 'object', 'properties' => [ 'DirectoryName' => ['type' => 'string'], 'Name' => ['type' => 'string'], 'Id' => ['type' => 'string'], 'DataSourceType' => ['type' => 'string'], 'Uri' => ['type' => 'string'], 'SourceType' => ['type' => 'string'], 'SummaryPath' => ['type' => 'string'], 'FullSummaryPath' => ['type' => 'string'], ], ], 'TensorboardSpec' => [ 'type' => 'object', 'properties' => [ 'VpcId' => ['type' => 'string'], 'EcsType' => ['type' => 'string'], 'SecurityGroupId' => ['type' => 'string'], 'SwitchId' => ['type' => 'string'], ], ], 'Workspace' => [ 'type' => 'object', 'properties' => [ 'WorkspaceId' => ['type' => 'string'], 'WorkspaceName' => ['type' => 'string'], 'Creator' => ['type' => 'string'], 'GmtCreateTime' => ['type' => 'string'], 'GmtModifyTime' => ['type' => 'string'], 'Quotas' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Quota'], ], 'TotalResources' => ['$ref' => '#/components/schemas/Resources'], 'Members' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Member'], ], 'WorkspaceAdmins' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Member'], ], ], ], ], ], 'apis' => [ 'CreateJob' => [ 'path' => '/api/v1/jobs', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'DisplayName' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024], 'JobType' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 32], 'JobSpecs' => [ 'type' => 'array', 'required' => true, 'items' => ['$ref' => '#/components/schemas/JobSpec', 'required' => false], 'minItems' => 1, ], 'UserCommand' => ['type' => 'string', 'required' => true], 'DataSources' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'DataSourceId' => ['type' => 'string', 'required' => false], 'MountPath' => ['type' => 'string', 'required' => false], 'Uri' => ['type' => 'string', 'required' => false], 'Options' => ['type' => 'string', 'required' => false], 'DataSourceVersion' => ['type' => 'string', 'required' => false], 'MountAccess' => ['type' => 'string', 'required' => false], 'EnableCache' => ['type' => 'boolean', 'required' => false], 'AccessPointId' => ['type' => 'string'], 'RoleChain' => ['type' => 'string'], ], ], ], 'CodeSource' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'CodeSourceId' => ['type' => 'string', 'required' => false], 'Branch' => ['type' => 'string', 'required' => false], 'Commit' => ['type' => 'string', 'required' => false], 'MountPath' => ['type' => 'string', 'required' => false], ], ], 'UserVpc' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'VpcId' => ['type' => 'string', 'required' => false], 'SwitchId' => ['type' => 'string', 'required' => false], 'SecurityGroupId' => ['type' => 'string', 'required' => false], 'ExtendedCIDRs' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'DefaultRoute' => ['type' => 'string', 'required' => false], ], ], 'ThirdpartyLibs' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'ThirdpartyLibDir' => ['type' => 'string', 'required' => false], 'Envs' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], 'JobMaxRunningTimeMinutes' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1'], 'WorkspaceId' => ['type' => 'string', 'required' => false], 'ResourceId' => ['type' => 'string', 'required' => false], 'Priority' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Settings' => ['$ref' => '#/components/schemas/JobSettings', 'required' => false], 'ElasticSpec' => ['$ref' => '#/components/schemas/JobElasticSpec', 'required' => false], 'DebuggerConfigContent' => ['type' => 'string', 'required' => false], 'Options' => ['type' => 'string', 'required' => false], 'SuccessPolicy' => ['type' => 'string', 'required' => false], 'CredentialConfig' => ['$ref' => '#/components/schemas/CredentialConfig', 'required' => false], 'Accessibility' => ['type' => 'string', 'required' => false], 'TemplateId' => ['type' => 'string', 'required' => false], 'TemplateVersion' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Description' => ['type' => 'string'], 'SchedulingStrategy' => [ 'type' => 'string', 'enum' => ['Auto', 'Binpack', 'Spread'], ], 'CustomEnvs' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Key' => ['type' => 'string', 'required' => false], 'Value' => ['type' => 'string', 'required' => false], 'Visible' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], ], 'CreateJobTemplate' => [ 'path' => '/api/v1/jobtemplates', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'TemplateName' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 1024], 'Description' => ['type' => 'string', 'required' => false], 'WorkspaceId' => ['type' => 'string', 'required' => true, 'maxLength' => 128], 'Metadata' => ['type' => 'object', 'required' => false], 'Content' => ['type' => 'string', 'required' => true], 'Constraints' => ['type' => 'object', 'required' => false], ], ], ], ], ], 'CreateRayHistoryServer' => [ 'path' => '/api/v1/rayhistoryservers', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'DisplayName' => ['type' => 'string', 'required' => true], 'StoragePath' => ['type' => 'string', 'required' => true], 'WorkspaceId' => ['type' => 'string', 'required' => true], 'ResourceId' => ['type' => 'string', 'required' => false], 'EcsSpec' => ['type' => 'string', 'required' => false], 'MaxRuntimeMinutes' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Accessibility' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateTensorboard' => [ 'path' => '/api/v1/tensorboards', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'WorkspaceId' => ['type' => 'string', 'required' => false], 'JobId' => ['type' => 'string', 'required' => false], 'DataSourceId' => ['type' => 'string', 'required' => false], 'DataSourceType' => ['type' => 'string', 'required' => false], 'Uri' => ['type' => 'string', 'required' => false], 'Options' => ['type' => 'string', 'required' => false], 'SummaryPath' => ['type' => 'string', 'required' => false], 'SummaryRelativePath' => ['type' => 'string', 'required' => false], 'DisplayName' => ['type' => 'string', 'required' => false], 'SourceType' => ['type' => 'string', 'required' => false], 'SourceId' => ['type' => 'string', 'required' => false], 'MaxRunningTimeMinutes' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'DataSources' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/DataSourceItem', 'required' => false], ], 'Cpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'Memory' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'TensorboardDataSources' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/TensorboardDataSourceSpec', 'required' => false], ], 'TensorboardSpec' => ['$ref' => '#/components/schemas/TensorboardSpec', 'required' => false], 'QuotaId' => ['type' => 'string', 'required' => false], 'Priority' => ['type' => 'string', 'required' => false], 'Accessibility' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'DeleteJob' => [ 'path' => '/api/v1/jobs/{JobId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteJobTemplate' => [ 'path' => '/api/v1/jobtemplates/{TemplateId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], ], ], ], 'DeleteRayHistoryServer' => [ 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'RayHistoryServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteTensorboard' => [ 'path' => '/api/v1/tensorboards/{TensorboardId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], ], ], 'GetDashboard' => [ 'path' => '/api/v1/jobs/{jobId}/dashboard', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'jobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'isShared', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, 'enum' => ['true', 'false'], ], ], [ 'name' => 'token', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetJob' => [ 'path' => '/api/v1/jobs/{JobId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], [ 'name' => 'NeedDetail', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetJobEvents' => [ 'path' => '/api/v1/jobs/{JobId}/events', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'MaxEventsNum', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '10000'], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetJobMetrics' => [ 'path' => '/api/v1/jobs/{JobId}/metrics', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TimeStep', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MetricType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Token', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetJobSanityCheckResult' => [ 'path' => '/api/v1/jobs/{JobId}/sanitycheckresult', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SanityCheckNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1'], ], [ 'name' => 'SanityCheckPhase', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Token', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetJobTemplate' => [ 'path' => '/api/v1/jobtemplates/{TemplateId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], ], [ 'name' => 'Version', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetMetrics' => [ 'path' => '/api/v1/cms/metrics', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Namespace', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Dimensions', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Length', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MetricName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Token', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetPodEvents' => [ 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/events', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PodId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PodUid', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxEventsNum', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetPodLogs' => [ 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/logs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PodId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PodUid', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxLines', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DownloadToFile', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetRayDashboard' => [ 'path' => '/api/v1/jobs/{jobId}/rayDashboard', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'jobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'isShared', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, 'enum' => ['true', 'false'], ], ], [ 'name' => 'token', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetRayHistoryServer' => [ 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'RayHistoryServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetTensorboard' => [ 'path' => '/api/v1/tensorboards/{TensorboardId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], [ 'name' => 'JodId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Token', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetTensorboardSharedUrl' => [ 'path' => '/api/v1/tensorboards/{TensorboardId}/sharedurl', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TensorboardId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ExpireTimeSeconds', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetToken' => [ 'path' => '/api/v1/tokens', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TargetType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ExpireTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'GetWebTerminal' => [ 'path' => '/api/v1/jobs/{JobId}/pods/{PodId}/webterminal', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PodId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PodUid', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IsShared', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'ListEcsSpecs' => [ 'path' => '/api/v1/ecsspecs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'AcceleratorType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'InstanceTypes', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListJobSanityCheckResults' => [ 'path' => '/api/v1/jobs/{JobId}/sanitycheckresults', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListJobTemplates' => [ 'path' => '/api/v1/jobtemplates', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], ], [ 'name' => 'TemplateName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 256], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['GmtCreateTime', 'GmtModifyTime', 'TemplateName'], ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['asc', 'desc'], ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], ], ], ], 'ListJobs' => [ 'path' => '/api/v1/jobs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'DisplayName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 1024], ], [ 'name' => 'JobType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 32], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '1000'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ShowOwn', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BusinessUserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Caller', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string'], ], ], [ 'name' => 'PipelineId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FromAllWorkspaces', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserIdForFilter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Username', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceQuotaName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Accessibility', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OversoldInfo', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PaymentType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'JobIds', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DisplayNameSearchMode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ReasonSearch', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserCommandSearch', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ImageSearch', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TimeRangeField', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NumericRangeField', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NumericRangeMin', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'NumericRangeMax', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'EnableAssignNode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string'], ], ], ], 'ListRayHistoryServers' => [ 'path' => '/api/v1/rayhistoryservers', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DisplayName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ShowOwn', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ModifiedAfter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PaymentType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IdPrefix', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserIdForFilter', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Username', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StoragePath', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListTensorboards' => [ 'path' => '/api/v1/tensorboards', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Verbose', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SourceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DisplayName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '1000'], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'JobId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ShowOwn', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'PaymentType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Username', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QuotaId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Accessibility', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'SetJobTemplateDefaultVersion' => [ 'path' => '/api/v1/jobtemplates/{TemplateId}/defaultversion', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Version' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1'], ], ], ], ], ], 'StartRayHistoryServer' => [ 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}/start', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RayHistoryServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'StartTensorboard' => [ 'path' => '/api/v1/tensorboards/{TensorboardId}/start', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], ], ], 'StopJob' => [ 'path' => '/api/v1/jobs/{JobId}/stop', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'StopRayHistoryServer' => [ 'path' => '/api/v1/rayhistoryservers/{RayHistoryServerId}/stop', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RayHistoryServerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'StopTensorboard' => [ 'path' => '/api/v1/tensorboards/{TensorboardId}/stop', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], ], ], 'UpdateJob' => [ 'path' => '/api/v1/jobs/{JobId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Priority' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Accessibility' => ['type' => 'string', 'required' => false], 'JobSpecs' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/JobSpec', 'required' => false], ], 'Description' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateJobTemplate' => [ 'path' => '/api/v1/jobtemplates/{TemplateId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'TemplateName' => ['type' => 'string', 'required' => false], 'Description' => ['type' => 'string', 'required' => false], 'Metadata' => ['type' => 'object', 'required' => false], 'Content' => ['type' => 'string', 'required' => false], 'Constraints' => ['type' => 'object', 'required' => false], 'SetAsDefault' => ['type' => 'boolean', 'required' => false], 'version' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'UpdateTensorboard' => [ 'path' => '/api/v1/tensorboards/{TensorboardId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'WorkspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TensorboardId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 256], ], [ 'name' => 'MaxRunningTimeMinutes', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'Accessibility', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Priority', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-shenzhen.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-wulanchabu.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-wulanchabu.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-beijing.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-beijing.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-northeast-1.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-northeast-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-shanghai.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-shanghai.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-guangzhou.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-guangzhou.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-guangzhou.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-hongkong.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-hongkong.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-1.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-3.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-3.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-3.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-5.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-5.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-7.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-7.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-7.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-hangzhou.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'pai-dlc.ap-southeast-8.aliyuncs.com', 'endpoint' => 'pai-dlc.ap-southeast-8.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.ap-southeast-8.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.us-west-1.aliyuncs.com', 'endpoint' => 'pai-dlc.us-west-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.us-west-1.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.us-east-1.aliyuncs.com', 'endpoint' => 'pai-dlc.us-east-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'us-southeast-1', 'regionName' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.us-southeast-1.aliyuncs.com', 'endpoint' => 'pai-dlc.us-southeast-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.us-southeast-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'pai-dlc.eu-central-1.aliyuncs.com', 'endpoint' => 'pai-dlc.eu-central-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.eu-central-1.aliyuncs.com'], ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'pai-dlc.me-east-1.aliyuncs.com', 'endpoint' => 'pai-dlc.me-east-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.me-east-1.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'pai-dlc.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'pai-dlc.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'pai-dlc-vpc.cn-shanghai-finance-1.aliyuncs.com'], ], ];