gcp.compute resources¶
gcp.disk¶
Actions¶
snapshot¶
Invoke an api call on each resource.
Quite a number of procedural actions are simply invoking an api call on a filtered set of resources. The exact handling is mostly boilerplate at that point following an 80/20 rule. This class is an encapsulation of the 80%.
properties:
type:
enum:
- snapshot
required:
- type
gcp.firewall¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/firewalls
Actions¶
gcp.image¶
Actions¶
delete¶
Invoke an api call on each resource.
Quite a number of procedural actions are simply invoking an api call on a filtered set of resources. The exact handling is mostly boilerplate at that point following an 80/20 rule. This class is an encapsulation of the 80%.
properties:
type:
enum:
- delete
required:
- type
gcp.instance¶
Actions¶
delete¶
Invoke an api call on each resource.
Quite a number of procedural actions are simply invoking an api call on a filtered set of resources. The exact handling is mostly boilerplate at that point following an 80/20 rule. This class is an encapsulation of the 80%.
properties:
type:
enum:
- delete
required:
- type
start¶
Invoke an api call on each resource.
Quite a number of procedural actions are simply invoking an api call on a filtered set of resources. The exact handling is mostly boilerplate at that point following an 80/20 rule. This class is an encapsulation of the 80%.
properties:
type:
enum:
- start
required:
- type
stop¶
Invoke an api call on each resource.
Quite a number of procedural actions are simply invoking an api call on a filtered set of resources. The exact handling is mostly boilerplate at that point following an 80/20 rule. This class is an encapsulation of the 80%.
properties:
type:
enum:
- stop
required:
- type
gcp.interconnect¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/interconnects
Actions¶
gcp.interconnect-attachment¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/interconnectAttachments
Actions¶
gcp.loadbalancer-address¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/addresses
Actions¶
gcp.loadbalancer-backend-bucket¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/backendBuckets
Actions¶
delete¶
The action is used for Load Balancing Backend Buckets delete. GCP action is https://cloud.google.com/compute/docs/reference/rest/v1/backendBuckets/delete.
Example:
policies:
- name: gcp-loadbalancer-backend-buckets-delete
resource: gcp.loadbalancer-backend-bucket
filters:
- type: value
key: bucketName
op: eq
value: custodian-bucket-0
actions:
- type: delete
properties:
type:
enum:
- delete
required:
- type
gcp.loadbalancer-backend-service¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/backendServices
Actions¶
gcp.loadbalancer-forwarding-rule¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/addresses
Actions¶
gcp.loadbalancer-global-address¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/globalAddresses
Actions¶
gcp.loadbalancer-global-forwarding-rule¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules
Actions¶
gcp.loadbalancer-health-check¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
Actions¶
gcp.loadbalancer-http-health-check¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/httpHealthChecks
Actions¶
gcp.loadbalancer-https-health-check¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/httpsHealthChecks
Actions¶
gcp.loadbalancer-ssl-certificate¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/sslCertificates
Actions¶
gcp.loadbalancer-ssl-policy¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/sslPolicies
Actions¶
gcp.loadbalancer-target-http-proxy¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/targetHttpProxies
Actions¶
gcp.loadbalancer-target-https-proxy¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/targetHttpsProxies
Actions¶
gcp.loadbalancer-target-instance¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/targetInstances
Actions¶
gcp.loadbalancer-target-pool¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/targetPools
Actions¶
gcp.loadbalancer-target-ssl-proxy¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/targetSslProxies
Actions¶
gcp.loadbalancer-target-tcp-proxy¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/targetTcpProxies
Actions¶
gcp.loadbalancer-url-map¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/urlMaps
Actions¶
gcp.snapshot¶
Actions¶
delete¶
Invoke an api call on each resource.
Quite a number of procedural actions are simply invoking an api call on a filtered set of resources. The exact handling is mostly boilerplate at that point following an 80/20 rule. This class is an encapsulation of the 80%.
properties:
type:
enum:
- delete
required:
- type
gcp.subnet¶
GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks
Actions¶
set-flow-log¶
Enable vpc flow logs on a subnet.
- example
Enable flow logs on all subnets
properties:
state:
default: true
type: boolean
type:
enum:
- set-flow-log
required:
- type
set-gcp-private¶
Enable/Disable GCP Private IP Access for a subnet
properties:
state:
default: true
type: boolean
type:
enum:
- set-gcp-private
required:
- type