tests.system.google.cloud.compute.example_compute_igm

範例 Airflow DAG,其功能為: * 建立現有執行個體範本的副本 * 更新執行個體群組管理員中現有的範本

模組內容

tests.system.google.cloud.compute.example_compute_igm.ENV_ID[原始碼]
tests.system.google.cloud.compute.example_compute_igm.PROJECT_ID[原始碼]
tests.system.google.cloud.compute.example_compute_igm.LOCATION = 'europe-west1-b'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.REGION = 'europe-west1'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.SHORT_MACHINE_TYPE_NAME = 'n1-standard-1'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.DAG_ID = 'cloud_compute_igm'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.TEMPLATE_NAME = 'instance-template-igm-test'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.NEW_TEMPLATE_NAME = 'instance-template-test-new'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_TEMPLATE_BODY[原始碼]
tests.system.google.cloud.compute.example_compute_igm.NEW_DESCRIPTION = 'Test new description'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_TEMPLATE_BODY_UPDATE[原始碼]
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_GROUP_MANAGER_NAME = 'instance-group-test'[原始碼]
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_GROUP_MANAGER_BODY[原始碼]
tests.system.google.cloud.compute.example_compute_igm.SOURCE_TEMPLATE_URL[原始碼]
tests.system.google.cloud.compute.example_compute_igm.DESTINATION_TEMPLATE_URL[原始碼]
tests.system.google.cloud.compute.example_compute_igm.UPDATE_POLICY[原始碼]
tests.system.google.cloud.compute.example_compute_igm.gce_instance_template_insert[原始碼]
tests.system.google.cloud.compute.example_compute_igm.test_run[原始碼]

這個條目有幫助嗎?