Description Usage Arguments Details Value See Also
Changes the machine type for a stopped instance to the machine type specified in the request.
1 2 | gce_set_machinetype(predefined_type, cpus, memory, instance,
project = gce_get_global_project(), zone = gce_get_global_zone())
|
predefined_type |
A predefined machine type from gce_list_machinetype |
cpus |
If not defining |
memory |
If not defining |
instance |
Name of the instance resource to change |
project |
Project ID for this request, default as set by gce_get_global_project |
zone |
The name of the zone for this request, default as set by gce_get_global_zone |
Authentication scopes used by this function are:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/compute
A zone operation job
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.