airflow.providers.google.cloud.links.compute

This module contains Google Compute Engine links.

Attributes

COMPUTE_BASE_LINK

COMPUTE_LINK

COMPUTE_TEMPLATE_LINK

COMPUTE_GROUP_MANAGER_LINK

Classes

ComputeInstanceDetailsLink

Helper class for constructing Compute Instance details Link.

ComputeInstanceTemplateDetailsLink

Helper class for constructing Compute Instance Template details Link.

ComputeInstanceGroupManagerDetailsLink

Helper class for constructing Compute Instance Group Manager details Link.

Module Contents

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Compute Instance details Link.

name = 'Compute Instance details'[source]

Name of the link. This will be the button name on the task UI.

key = 'compute_instance_details'[source]
format_str = 'https://console.cloud.google.com/compute/instancesDetail/zones/{location_id}/instances/{resource...[source]
static persist(context, task_instance, location_id, resource_id, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Compute Instance Template details Link.

name = 'Compute Instance Template details'[source]

Name of the link. This will be the button name on the task UI.

key = 'compute_instance_template_details'[source]
format_str = 'https://console.cloud.google.com/compute/instanceTemplates/details/{resource_id}?project={project_id}'[source]
static persist(context, task_instance, resource_id, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Compute Instance Group Manager details Link.

name = 'Compute Instance Group Manager'[source]

Name of the link. This will be the button name on the task UI.

key = 'compute_instance_group_manager_details'[source]
format_str = 'https://console.cloud.google.com/compute/instanceGroups/details/{location_id}/{resource_id}?proj...[source]
static persist(context, task_instance, location_id, resource_id, project_id)[source]

Was this entry helpful?