Reputation: 21
To disable an API for a project:
but... error...
[Could not turn off service, as it still has resources in use.] with failed services [compute.googleapis.com]
Upvotes: 1
Views: 4376
Reputation: 75705
Compute API, is much more than compute instance. Look at the gcloud command (perform a gcloud compute
then 2 times TAB for autocomplete proposal)
guillaume_blaquiere@cloudshell:~$ gcloud compute
accelerator-types disk-types instance-templates regions snapshots target-pools
addresses external-vpn-gateways interconnects reservations sole-tenancy target-ssl-proxies
backend-buckets firewall-rules machine-types reset-windows-password ssh target-tcp-proxies
backend-services forwarding-rules network-endpoint-groups resource-policies ssl-certificates target-vpn-gateways
commitments health-checks networks routers ssl-policies tpus
config-ssh http-health-checks operations routes start-iap-tunnel url-maps
connect-to-serial-port https-health-checks os-config scp target-grpc-proxies vpn-gateways
copy-files images os-login security-policies target-http-proxies vpn-tunnels
diagnose instance-groups packet-mirrorings shared-vpc target-https-proxies zones
disks instances project-info sign-url target-instances
Have a check on the most important, such as disks, images, snapshots, templates, MIG, VPN, shared VPC, router, load balancer and VPN.
Upvotes: 3
Reputation: 458
Please double confirm if you still have a GCE instance running, if so please stop the instance first.
Upvotes: 0