DataSphere API v2, REST: Project.get
Returns the specified project.
HTTP request
GET https://datasphere.api.cloud.yandex.net/datasphere/v2/projects/{projectId}
Path parameters
Parameter | Description |
---|---|
projectId | Required. ID of the Project resource to return. To get the project ID use a list request. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"createdById": "string",
"settings": {
"serviceAccountId": "string",
"subnetId": "string",
"dataProcClusterId": "string",
"commitMode": "string",
"securityGroupIds": [
"string"
],
"earlyAccess": true,
"ide": "string",
"defaultFolderId": "string",
"staleExecTimeoutMode": "string",
"ideExecutionMode": "string",
"vmInactivityTimeout": "string",
"defaultDedicatedSpec": "string"
},
"limits": {
"maxUnitsPerHour": "integer",
"maxUnitsPerExecution": "integer"
},
"communityId": "string"
}
A Project resource.
Field | Description |
---|---|
id | string ID of the project. |
createdAt | string (date-time) String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Name of the project. 1-63 characters long. |
description | string Description of the project. 0-256 characters long. |
labels | object |
createdById | string |
settings | object Settings of the project. |
settings. serviceAccountId |
string ID of the service account, on whose behalf all operations with clusters will be performed. |
settings. subnetId |
string ID of the subnet where the DataProc cluster resides. Currently only subnets created in the availability zone ru-central1-a are supported. |
settings. dataProcClusterId |
string ID of the DataProc cluster. |
settings. commitMode |
string Commit mode that is assigned to the project.
|
settings. securityGroupIds[] |
string Network interfaces security groups. |
settings. earlyAccess |
boolean (boolean) Is early access preview enabled for the project. |
settings. ide |
string Project IDE.
|
settings. defaultFolderId |
string Default project folder ID. |
settings. staleExecTimeoutMode |
string Timeout to automatically stop stale executions.
|
settings. ideExecutionMode |
string VM allocation mode.
|
settings. vmInactivityTimeout |
string Timeout for VM deallocation. |
settings. defaultDedicatedSpec |
string Default VM configuration for DEDICATED mode. |
limits | object Limits of the project. |
limits. maxUnitsPerHour |
integer (int64) The number of units that can be spent per hour. |
limits. maxUnitsPerExecution |
integer (int64) The number of units that can be spent on the one execution. |
communityId | string ID of the community that the project belongs to. |