Google Cloud Compute
Google Compute Engine delivers virtual machines running in Google's innovative data centers and worldwide fiber network. Compute Engine's tooling and workflow support enable scaling from single instances to global, load-balanced cloud computing.
IT Services · Google Cloud Compute
Configuration parameters
service— Service Account Private Key file contents (JSON)credentials_service_account_json—proxy— Use system proxy settingsdefault_search_scope— Default Search Scope
Commands (83)
-
gcp-compute-add-network-tagAdd network tag for the specified instance.
-
gcp-compute-aggregated-list-addressesRetrieves an aggregated list of addresses.
-
gcp-compute-aggregated-list-disk-typesRetrieves an aggregated list of disk types.
-
gcp-compute-aggregated-list-disksRetrieves an aggregated list of persistent disks.
-
gcp-compute-aggregated-list-instance-groupsRetrieves the list of instance groups and sorts them by zone.
-
gcp-compute-aggregated-list-instancesRetrieves aggregated list of all of the instances in your project across all regions and zones.
-
gcp-compute-aggregated-list-instances-by-ipRetrieves instance information based on public IP in your project across all regions and zones.
-
gcp-compute-aggregated-list-machine-typesRetrieves an aggregated list of machine types.
-
gcp-compute-create-disk-snapshotCreates a snapshot of a specified persistent disk.
-
gcp-compute-delete-addressDeletes the specified address resource.
-
gcp-compute-delete-diskDeletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
-
gcp-compute-delete-firewallDeletes the specified firewall.
-
gcp-compute-delete-global-addressDeletes the specified address resource.
-
gcp-compute-delete-global-operationDeletes the specified Operations resource.
-
gcp-compute-delete-imageDeletes the specified image.
-
gcp-compute-delete-instanceDeletes the specified Instance resource. For more information, see Stopping or Deleting an Instance.
-
gcp-compute-delete-instance-groupDeletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. HTTP.
-
gcp-compute-delete-networkDeletes the specified network.
-
gcp-compute-delete-region-operationDeletes the specified region-specific Operations resource.
-
gcp-compute-delete-snapshotDeletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot.
-
gcp-compute-delete-zone-operationDeletes the specified zone-specific Operations resource.
-
gcp-compute-get-addressReturns the specified address resource.
-
gcp-compute-get-diskReturns a specified persistent disk. Gets a list of available persistent disks by making a list() request.
-
gcp-compute-get-disk-typeReturns the specified disk type. Gets a list of available disk types by making a list() request.
-
gcp-compute-get-firewallReturns the specified firewall.
-
gcp-compute-get-global-addressDeletes the specified address resource.
-
gcp-compute-get-global-operationRetrieves the specified Operations resource. Gets a list of operations by making a list() request.
-
gcp-compute-get-imageReturns the specified image. Gets a list of available images by making a list() request.
-
gcp-compute-get-image-from-familyReturns the latest image that is part of an image family and is not deprecated.
-
gcp-compute-get-instanceReturns the specified Instance resource. Gets a list of available instances by making a list() request.
-
gcp-compute-get-instance-groupReturns the specified instance group. Gets a list of available instance groups by making a list() request.
-
gcp-compute-get-machine-typeReturns the specified machine type. Gets a list of available machine types by making a list() request.
-
gcp-compute-get-networkReturns the specified network.
-
gcp-compute-get-regionReturns the specified Region resource. Gets a list of available regions by making a list() request.
-
gcp-compute-get-region-operationRetrieves the specified region-specific Operations resource.
-
gcp-compute-get-snapshotReturns the specified Snapshot resource.
-
gcp-compute-get-zoneReturns the specified Zone resource. Gets a list of available zones by making a list() request.
-
gcp-compute-get-zone-operationRetrieves the specified zone-specific Operations resource.
-
gcp-compute-insert-addressCreates an address resource in the specified project using the data included in the request.
-
gcp-compute-insert-diskCreates a persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property.
-
gcp-compute-insert-firewallCreates a firewall rule in the specified project using the data included in the request.
-
gcp-compute-insert-global-addressCreates an address resource in the specified project using the data included in the request.
-
gcp-compute-insert-imageCreates an image in the specified project using the data included in the request.
-
gcp-compute-insert-instanceCreates an instance resource in the specified project using the data included in the request.
-
gcp-compute-insert-instance-groupCreates an instance group in the specified project using the parameters that are included in the request.
-
gcp-compute-insert-networkCreates a network in the specified project using the data included in the request.
-
gcp-compute-instance-groups-add-instancesAdds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.
-
gcp-compute-instance-groups-remove-instancesRemoves one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted.
-
gcp-compute-list-addressesRetrieves a list of addresses contained within the specified region.
-
gcp-compute-list-disk-typesRetrieves a list of disk types available to the specified project.
-
gcp-compute-list-disksRetrieves a list of persistent disks contained within the specified zone.
-
gcp-compute-list-firewallRetrieves the list of firewall rules available to the specified project.
-
gcp-compute-list-global-addressesRetrieves a list of global addresses.
-
gcp-compute-list-global-operationRetrieves a list of Operation resources contained within the specified project.
-
gcp-compute-list-imagesRetrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.
-
gcp-compute-list-instance-group-instancesLists the instances in the specified instance group.
-
gcp-compute-list-instance-groupsRetrieves the list of instance groups that are located in the specified project and zone.
-
gcp-compute-list-instancesRetrieves the list of instances contained within the specified zone.
-
gcp-compute-list-machine-typesRetrieves a list of machine types available to the specified project.
-
gcp-compute-list-networksRetrieves the list of networks available to the specified project.
-
gcp-compute-list-region-operationRetrieves a list of Operation resources contained within the specified region.
-
gcp-compute-list-regionsRetrieves the list of region resources available to the specified project.
-
gcp-compute-list-snapshotsRetrieves the list of Snapshot resources contained within the specified project.
-
gcp-compute-list-zone-operationRetrieves a list of Operation resources contained within the specified zone.
-
gcp-compute-list-zonesRetrieves the list of Zone resources available to the specified project.
-
gcp-compute-networks-add-peeringAdds a peering to the specified network.
-
gcp-compute-networks-remove-peeringRemoves a peering from the specified network.
-
gcp-compute-patch-firewallUpdates the specified firewall rule with the data included in the request.
-
gcp-compute-project-info-add-metadataAdd or update project wide metadata.
-
gcp-compute-reset-instancePerforms a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. For more information, see Resetting an instance.
-
gcp-compute-resize-diskResizes the specified persistent disk. You can only increase the size of the disk.
-
gcp-compute-set-disk-labelsSets the labels on a disk.
-
gcp-compute-set-group-instance-named-portsSets the named ports for the specified instance group.
-
gcp-compute-set-image-labelsSets the labels on an image.
-
gcp-compute-set-instance-labelsSets labels on an instance. To learn more about labels, read the Labeling Resources documentation.
-
gcp-compute-set-instance-machine-typeChanges the machine type for a stopped instance to the machine type specified in the request.
-
gcp-compute-set-instance-metadataSets metadata for the specified instance to the data included in the request.
-
gcp-compute-set-snapshot-labelsSets the labels on a snapshot.
-
gcp-compute-start-instanceStarts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.
-
gcp-compute-stop-instanceStops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance.
-
gcp-compute-wait-for-global-operationWait for a global operation to complete ,NOTE this command will occupy a system resource.
-
gcp-compute-wait-for-region-operationWait for a region operation to complete ,NOTE this command will occupy a system resource.
-
gcp-compute-wait-for-zone-operationWait for a zone operation to complete ,NOTE this command will occupy a system resource.