tests.system.google.cloud.compute.example_compute

一个 Airflow DAG 示例,用于启动、停止和设置 Google Compute Engine 实例的机器类型。

属性

ENV_ID

PROJECT_ID

DAG_ID

LOCATION

REGION

GCE_INSTANCE_NAME

SHORT_MACHINE_TYPE_NAME

TEMPLATE_NAME

INSTANCE_TEMPLATE_BODY

GCE_INSTANCE_BODY

GCE_INSTANCE_FROM_TEMPLATE_BODY

gce_instance_insert

test_run

模块内容

tests.system.google.cloud.compute.example_compute.ENV_ID[source]
tests.system.google.cloud.compute.example_compute.PROJECT_ID[source]
tests.system.google.cloud.compute.example_compute.DAG_ID = 'cloud_compute'[source]
tests.system.google.cloud.compute.example_compute.LOCATION = 'europe-west2-b'[source]
tests.system.google.cloud.compute.example_compute.REGION = 'europe-west2'[source]
tests.system.google.cloud.compute.example_compute.GCE_INSTANCE_NAME = 'instance-compute-test'[source]
tests.system.google.cloud.compute.example_compute.SHORT_MACHINE_TYPE_NAME = 'n1-standard-1'[source]
tests.system.google.cloud.compute.example_compute.TEMPLATE_NAME = 'instance-template'[source]
tests.system.google.cloud.compute.example_compute.INSTANCE_TEMPLATE_BODY[source]
tests.system.google.cloud.compute.example_compute.GCE_INSTANCE_BODY[source]
tests.system.google.cloud.compute.example_compute.GCE_INSTANCE_FROM_TEMPLATE_BODY[source]
tests.system.google.cloud.compute.example_compute.gce_instance_insert[source]
tests.system.google.cloud.compute.example_compute.test_run[source]

本条目有帮助吗?