instances_referrers
Creates, updates, deletes, gets or lists a instances_referrers
resource.
Overview
Name | instances_referrers |
Type | Resource |
Id | google.compute.instances_referrers |
Fields
Name | Datatype | Description |
---|---|---|
kind | string | [Output Only] Type of the resource. Always compute#reference for references. |
referenceType | string | A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF |
referrer | string | URL of the resource which refers to the target. |
target | string | URL of the resource to which this reference points. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_referrers | SELECT | instance, project, zone | Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances. |
SELECT
examples
Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances.
SELECT
kind,
referenceType,
referrer,
target
FROM google.compute.instances_referrers
WHERE instance = '{{ instance }}'
AND project = '{{ project }}'
AND zone = '{{ zone }}';