Managed Service for Apache Airflow™ API, REST: Cluster.get
Returns the specified Apache Airflow Cluster resource.
HTTP request
GET https://airflow.api.cloud.yandex.net/managed-airflow/v1/clusters/{clusterId}
Path parameters
Parameter | Description |
---|---|
clusterId | Required. ID of the Apache Airflow Cluster resource to return. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"monitoring": [
{
"name": "string",
"description": "string",
"link": "string"
}
],
"config": {
"versionId": "string",
"airflow": {
"config": "object"
},
"webserver": {
"count": "string",
"resources": {
"resourcePresetId": "string"
}
},
"scheduler": {
"count": "string",
"resources": {
"resourcePresetId": "string"
}
},
"triggerer": {
"count": "string",
"resources": {
"resourcePresetId": "string"
}
},
"worker": {
"minCount": "string",
"maxCount": "string",
"resources": {
"resourcePresetId": "string"
}
},
"dependencies": {
"pipPackages": [
"string"
],
"debPackages": [
"string"
]
},
"lockbox": {
"enabled": true
}
},
"health": "string",
"status": "string",
"network": {
"subnetIds": [
"string"
],
"securityGroupIds": [
"string"
]
},
"codeSync": {
"s3": {
"bucket": "string"
}
},
"deletionProtection": true,
"webserverUrl": "string",
"serviceAccountId": "string",
"logging": {
"enabled": true,
"minLevel": "string",
// `logging` includes only one of the fields `folderId`, `logGroupId`
"folderId": "string",
"logGroupId": "string",
// end of the list of possible fields`logging`
}
}
Apache Airflow cluster.
Field | Description |
---|---|
id | string Unique ID of the Apache Airflow cluster. This ID is assigned by Cloud during cluster creation. |
folderId | string ID of the folder that the Apache Airflow cluster belongs to. |
createdAt | string (date-time) The time when the Apache Airflow cluster was created. 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 Apache Airflow cluster. The name is unique within the folder. 1-64 characters long. |
description | string Description of the Apache Airflow cluster. 0-256 characters long. |
labels | object Resource labels as |
monitoring[] | object Monitoring systems relevant to the Apache Airflow cluster. |
monitoring[]. name |
string Name of the monitoring system. |
monitoring[]. description |
string Description of the monitoring system. |
monitoring[]. link |
string Link to the monitoring system. |
config | object Configuration of Apache Airflow components. |
config. versionId |
string Version of Apache that runs on the cluster. |
config. airflow |
object Configuration of the Apache Airflow application itself. |
config. airflow. config |
object Properties to be passed to Apache Airflow configuration file. |
config. webserver |
object Required. Configuration of webserver instances. |
config. webserver. count |
string (int64) The number of webserver instances in the cluster. Acceptable values are 1 to 512, inclusive. |
config. webserver. resources |
object Resources allocated to webserver instances. |
config. webserver. resources. resourcePresetId |
string ID of the preset for computational resources available to an instance (CPU, memory etc.). |
config. scheduler |
object Required. Configuration of scheduler instances. |
config. scheduler. count |
string (int64) The number of scheduler instances in the cluster. Acceptable values are 1 to 512, inclusive. |
config. scheduler. resources |
object Resources allocated to scheduler instances. |
config. scheduler. resources. resourcePresetId |
string ID of the preset for computational resources available to an instance (CPU, memory etc.). |
config. triggerer |
object Configuration of triggerer instances. |
config. triggerer. count |
string (int64) The number of triggerer instances in the cluster. Acceptable values are 0 to 512, inclusive. |
config. triggerer. resources |
object Resources allocated to triggerer instances. |
config. triggerer. resources. resourcePresetId |
string ID of the preset for computational resources available to an instance (CPU, memory etc.). |
config. worker |
object Required. Configuration of worker instances. |
config. worker. minCount |
string (int64) The minimum number of worker instances in the cluster. Acceptable values are 0 to 512, inclusive. |
config. worker. maxCount |
string (int64) The maximum number of worker instances in the cluster. Acceptable values are 1 to 512, inclusive. |
config. worker. resources |
object Resources allocated to worker instances. |
config. worker. resources. resourcePresetId |
string ID of the preset for computational resources available to an instance (CPU, memory etc.). |
config. dependencies |
object The list of additional packages installed in the cluster. |
config. dependencies. pipPackages[] |
string Python packages that are installed in the cluster. |
config. dependencies. debPackages[] |
string System packages that are installed in the cluster. |
config. lockbox |
object Configuration of Lockbox Secret Backend. |
config. lockbox. enabled |
boolean (boolean) The setting allows to enable Lockbox Secret Backend. |
health | string Aggregated cluster health.
|
status | string Cluster status.
|
network | object Network related configuration options. |
network. subnetIds[] |
string IDs of VPC network subnets where instances of the cluster are attached. |
network. securityGroupIds[] |
string User security groups. |
codeSync | object Parameters of the location and access to the code that will be executed in the cluster. |
codeSync. s3 |
object |
codeSync. s3. bucket |
string The name of the Object Storage bucket that stores DAG files used in the cluster. |
deletionProtection | boolean (boolean) Deletion Protection inhibits deletion of the cluster. |
webserverUrl | string Address of Apache Airflow web UI. |
serviceAccountId | string Service account used to access Cloud resources. For more information, see documentation. The maximum string length in characters is 50. |
logging | object Cloud Logging configuration. |
logging. enabled |
boolean (boolean) Logs generated by the Airflow components are delivered to Cloud Logging. |
logging. minLevel |
string Minimum log entry level. See [LogLevel.Level] for details.
|
logging. folderId |
string logging includes only one of the fields folderId , logGroupId Logs should be written to default log group for specified folder. Value must match the regular expression |
logging. logGroupId |
string logging includes only one of the fields folderId , logGroupId Logs should be written to log group resolved by ID. Value must match the regular expression |